Arduino UNO LED Control Circuit with Red, Green, and Yellow LEDs
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller connected to three LEDs (red, green, and yellow) through resistors. The LEDs are controlled by the Arduino's digital pins, and each LED has a current-limiting resistor connected to its cathode. The resistors are all connected to the ground pin of the Arduino.
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
LED: Two Pin (red)
- Description: A red LED with two pins: anode and cathode.
LED: Two Pin (green)
- Description: A green LED with two pins: anode and cathode.
LED: Two Pin (yellow)
- Description: A yellow LED with two pins: anode and cathode.
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
Wiring Details
Arduino UNO
- GND: Connected to pin1 of all three resistors.
- D2: Connected to the anode of the red LED.
- D3: Connected to the anode of the yellow LED.
- D4: Connected to the anode of the green LED.
LED: Two Pin (red)
- Anode: Connected to D2 of the Arduino UNO.
- Cathode: Connected to pin2 of a 200 Ohm resistor.
LED: Two Pin (green)
- Anode: Connected to D4 of the Arduino UNO.
- Cathode: Connected to pin2 of a 200 Ohm resistor.
LED: Two Pin (yellow)
- Anode: Connected to D3 of the Arduino UNO.
- Cathode: Connected to pin2 of a 200 Ohm resistor.
Resistor (200 Ohms)
Resistor 1:
- pin1: Connected to GND of the Arduino UNO.
- pin2: Connected to the cathode of the red LED.
Resistor 2:
- pin1: Connected to GND of the Arduino UNO.
- pin2: Connected to the cathode of the yellow LED.
Resistor 3:
- pin1: Connected to GND of the Arduino UNO.
- pin2: Connected to the cathode of the green LED.
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt