Circuit Documentation
Summary of the Circuit
This circuit consists of an Arduino UNO microcontroller board and a two-pin red LED. The Arduino UNO is programmed to blink the LED at a regular interval of one second. The LED is connected to one of the digital pins (D13) of the Arduino UNO, which is configured as an output. The other pin of the LED is connected to the ground (GND) of the Arduino UNO to complete the circuit.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins Used:
IOREFReset3.3V5VGNDVinA0toA5SCLSDAAREFD13toD0
LED: Two Pin (red)
- Description: A basic red light-emitting diode.
- Pins Used:
cathodeanode
Wiring Details
Arduino UNO
- GND is connected to the
cathodeof the LED. - D13 is connected to the
anodeof the LED.
LED: Two Pin (red)
- cathode is connected to the
GNDon the Arduino UNO. - anode is connected to the
D13on the Arduino UNO.
Documented Code
Arduino UNO Blink Sketch
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
- File Name:
sketch.ino - Description: This code configures pin D13 as an output and toggles it between HIGH and LOW states with a one-second delay between each state change. This results in the LED connected to D13 blinking at a one-second interval.
