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

Arduino UNO LED Blinker: Simple 1-Second Interval

View and Edit Project In Cirkit DesignerImage of Arduino UNO LED Blinker: Simple 1-Second Interval

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller and a red LED. The LED is connected to the Arduino UNO such that it blinks on and off with a delay of 1 second. The Arduino UNO controls the LED through its digital pin D13.

Component List

Arduino UNO

LED: Two Pin (red)

Wiring Details

Arduino UNO

LED: Two Pin (red)

Code Documentation

Arduino Sketch

This Arduino Sketch controls a red LED connected to pin D13. The LED will blink on and off with a delay of 1 second.

/*
 * This Arduino Sketch controls a red LED connected to pin D13.
 * The LED will blink on and off with a delay of 1 second.
 */

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

void loop() {
  // Turn the LED on (HIGH is the voltage level)
  digitalWrite(13, HIGH);
  // Wait for a second
  delay(1000);
  // Turn the LED off by making the voltage LOW
  digitalWrite(13, LOW);
  // Wait for a second
  delay(1000);
}

Code File Information