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

Arduino UNO Blinking LED Circuit

View and Edit Project In Cirkit DesignerImage of Arduino UNO Blinking LED Circuit

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 used to control the LED, turning it on and off at a regular interval. The LED is connected to one of the digital pins of the Arduino (pin D13) and to the ground (GND). The microcontroller is programmed to output a high voltage to the LED, causing it to light up, and then a low voltage to turn it off, creating a blinking effect.

Component List

Arduino UNO

LED: Two Pin (red)

Wiring Details

Arduino UNO

LED: Two Pin (red)

Documented Code

// Define the LED pin
int ledPin = 13;

// The setup function runs once when you press reset or power the board
void setup() {
  // Initialize digital pin 13 as an output.
  pinMode(ledPin, OUTPUT);
}

// The loop function runs over and over again forever
void loop() {
  digitalWrite(ledPin, HIGH);   // Turn the LED on (HIGH is the voltage level)
  delay(1000);                  // Wait for a second
  digitalWrite(ledPin, LOW);    // Turn the LED off by making the voltage LOW
  delay(1000);                  // Wait for a second
}