Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a red LED, and a resistor. The LED is connected to the Arduino UNO through a resistor to limit the current. The Arduino UNO is programmed to control the LED.
Component List
LED: Two Pin (red)
- Description: A red LED with two pins: cathode and anode.
- Pins: cathode, anode
Resistor
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
- Properties:
- Resistance: 200 Ohms
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
Wiring Details
LED: Two Pin (red)
- Cathode: Connected to Arduino UNO pin D8
- Anode: Connected to Resistor pin1
Resistor
- Pin1: Connected to LED anode
- Pin2: Connected to Arduino UNO GND
Arduino UNO
- Pin D8: Connected to LED cathode
- GND: Connected to Resistor pin2
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 used to initialize any settings, and the loop() function contains the main code that runs repeatedly. In this case, the code is currently empty and can be modified to control the LED connected to pin D8.
