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

Arduino UNO LED Blinker with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO LED Blinker with Battery Power

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller, a red LED, a 5V battery, and a 200 Ohm resistor. The Arduino UNO is powered by the 5V battery and controls the LED, which is connected through the resistor to limit the current.

Component List

Arduino UNO

LED: Two Pin (red)

5V Battery

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

5V Battery

Resistor

Code

Arduino UNO Code (sketch.ino)

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

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  delay(1000);
}

This code sets up pin 13 as an output and toggles it high and low every second, causing the LED to blink.