Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a resistor, and a red LED. The Arduino UNO provides power to the LED through the resistor, which limits the current to protect the LED.
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
Resistor
- Description: A passive electrical component that implements electrical resistance as a circuit element.
- Pins: pin1, pin2
- Properties:
- Resistance: 200 Ohms
LED: Two Pin (red)
- Description: A light-emitting diode that emits red light.
- Pins: cathode, anode
Wiring Details
Arduino UNO
- 5V: Connected to Resistor pin1
- GND: Connected to LED cathode
Resistor
- pin1: Connected to Arduino UNO 5V
- pin2: Connected to LED anode
LED: Two Pin (red)
- cathode: Connected to Arduino UNO GND
- anode: 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 called once when the program starts and is used to initialize any settings. The loop() function runs continuously after setup() and is used to execute the main logic of the program. Currently, both functions are empty and can be filled with the desired functionality for the circuit.
