Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO LED Blinker with 5-Second Interval

View and Edit Project In Cirkit DesignerImage of Arduino UNO LED Blinker with 5-Second Interval

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller, a red LED, and a 220 Ohm resistor. The Arduino UNO is programmed to blink the LED on and off with a 5-second interval.

Component List

Arduino UNO

LED: Two Pin (red)

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

Code Documentation

Arduino UNO Code

void setup() {
  // Initialize digital pin D2 as an output.
  pinMode(2, OUTPUT);
}

void loop() {
  // Turn the LED on (HIGH is the voltage level)
  digitalWrite(2, HIGH);
  // Wait for 5 seconds
  delay(5000);
  // Turn the LED off by making the voltage LOW
  digitalWrite(2, LOW);
  // Wait for 5 seconds
  delay(5000);
}

LED: Two Pin (red) Code

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

This documentation provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code running on the microcontroller.