Circuit Documentation
Summary
This document provides a detailed overview of a simple circuit involving an Arduino UNO microcontroller and a 5V relay. The Arduino UNO controls the relay through one of its digital output pins. The relay can be used to switch higher power devices on and off.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
- Purpose in Circuit: Acts as the main controller for the circuit, providing control signals to the relay.
5V Relay
- Description: An electromechanical switch that can be controlled by a low voltage signal.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
- Purpose in Circuit: Used to switch higher power devices on and off based on the control signal from the Arduino UNO.
Wiring Details
Arduino UNO
- Vin: Connected to VCC of the 5V relay.
- GND: Connected to GND of the 5V relay.
- D9: Connected to In of the 5V relay.
5V Relay
- VCC: Connected to Vin of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
- In: Connected to D9 of the Arduino UNO.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO.
