This circuit involves an Arduino UNO microcontroller, multiple LEDs of different colors, pushbuttons, and resistors. The circuit is designed to control the LEDs using the pushbuttons, with each LED connected to a specific digital pin on the Arduino. The resistors are used to limit the current flowing through the LEDs.
Arduino UNO
Pushbutton
LED: Two Pin (red)
LED: Two Pin (green)
LED: Two Pin (yellow)
Resistor
GND is connected to:
5V is connected to:
D12 is connected to:
D11 is connected to:
D10 is connected to:
D9 is connected to:
D8 is connected to:
D7 is connected to:
D3 is connected to:
D2 is connected to:
Pin 1 (in) is connected to:
Pin 3 (out) is connected to:
Pin 1 (in) of another pushbutton is connected to:
Pin 3 (out) of another pushbutton is connected to:
cathode is connected to:
anode is connected to:
cathode of another red LED is connected to:
anode of another red LED is connected to:
cathode is connected to:
anode is connected to:
cathode of another green LED is connected to:
anode of another green LED is connected to:
cathode is connected to:
anode is connected to:
cathode of another yellow LED is connected to:
anode of another yellow LED is connected to:
pin1 is connected to:
pin2 is connected to:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup
function is used to initialize any settings or configurations, and the loop
function contains the main code that runs repeatedly.