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

Arduino UNO Controlled Blinking LED Circuit

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

Circuit Documentation

Summary of the Circuit

This circuit is designed to power an LED using an Arduino UNO microcontroller. The LED is connected to the Arduino with a series resistor to limit the current. The Arduino is programmed to blink the LED on and off at one-second intervals. The circuit is powered by a 12V battery, which is connected to the Arduino's Vin and GND pins to provide the necessary operating voltage.

Component List

Arduino UNO

LED: Two Pin (red)

Resistor

12v Battery

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

12v Battery

Documented Code

// Code for Arduino UNO
// Filename: sketch.ino

void setup() {
  // Initialize the digital pin as an output.
  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
}

This code is written for the Arduino UNO microcontroller. It initializes pin 13 as an output in the setup() function. The loop() function then turns the LED connected to pin 13 on and off every second, creating a blinking effect.