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 red two-pin LED, and a resistor. The purpose of the circuit is to blink the LED on and off with a one-second interval. The LED is connected to the digital pin 13 of the Arduino UNO through a 330-ohm resistor, which limits the current to protect the LED. The other end of the LED is connected to the ground (GND) pin on the Arduino to complete the circuit.

Component List

Arduino UNO

LED: Two Pin (red)

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

Documented Code

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

void setup() {
  // Initialize digital pin 13 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);
}

File Name: sketch.ino

Description: The code configures pin 13 of the Arduino UNO as an output to control the LED. In the loop() function, it turns the LED on and off with a one-second delay between each state change.