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 consists of an Arduino UNO microcontroller, a resistor, and a red two-pin LED. The Arduino UNO is used to control the LED, turning it on and off at one-second intervals. The resistor is connected in series with the LED to limit the current flowing through the LED, protecting it from damage due to excessive current.

Component List

Arduino UNO

Resistor

LED: Two Pin (red)

Wiring Details

Arduino UNO

Resistor

LED: Two Pin (red)

Documented Code

The following code is written for the Arduino UNO microcontroller to control the LED:

int LEDPin = 13; // Define the LED pin

void setup() {
  pinMode(LEDPin, OUTPUT); // Set the LED pin as an output
  Serial.begin(9600); // Start serial communication at 9600 baud
}

void loop() {
  digitalWrite(LEDPin, HIGH); // Turn the LED on
  Serial.println("ON"); // Print "ON" to the serial monitor
  delay(1000); // Wait for a second
  digitalWrite(LEDPin, LOW); // Turn the LED off
  Serial.println("OFF"); // Print "OFF" to the serial monitor
  delay(1000); // Wait for a second
}

This code sets up the Arduino to send a high signal to pin 13, turning the LED on, and then a low signal, turning it off, with a one-second delay between each state. The serial monitor will display "ON" when the LED is on and "OFF" when it is off.