Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, two red LEDs, and two resistors. The LEDs are connected to the Arduino through the resistors, and the circuit is designed to control the LEDs using the Arduino's digital pins.
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 light-emitting diode.
- Pins: cathode, anode
Resistor
- Description: A resistor with a resistance of 220 Ohms.
- Pins: pin1, pin2
- Properties: Resistance = 220 Ohms
Wiring Details
Arduino UNO
GND is connected to:
- LED (red) cathode
- LED (red) cathode
D9 is connected to:
- Resistor pin2
D10 is connected to:
- Resistor pin2
LED: Two Pin (red)
Cathode is connected to:
- Arduino UNO GND
Anode is connected to:
- Resistor pin1
LED: Two Pin (red)
Cathode is connected to:
- Arduino UNO GND
Anode is connected to:
- Resistor pin1
Resistor
Pin1 is connected to:
- LED (red) anode
Pin2 is connected to:
- Arduino UNO D9
Resistor
Pin1 is connected to:
- LED (red) anode
Pin2 is connected to:
- Arduino UNO D10
Code Documentation
Arduino UNO Code
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 where you initialize your settings, and the loop function is where the main code runs repeatedly. In this circuit, you would typically add code to control the LEDs connected to pins D9 and D10.
