Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO Controlled Blinking LED Circuit

Image 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

  • Description: A microcontroller board based on the ATmega328P.
  • Pins Used: GND, D13.
  • Purpose: Acts as the control unit for blinking the LED.

LED: Two Pin (red)

  • Description: A basic red light-emitting diode.
  • Pins Used: Anode, Cathode.
  • Purpose: Emits light when powered.

Resistor

  • Description: A passive two-terminal electrical component that implements electrical resistance as a circuit element.
  • Value: 330 Ohms.
  • Pins Used: Pin1, Pin2.
  • Purpose: Limits the current flowing through the LED to prevent damage.

Wiring Details

Arduino UNO

  • GND: Connected to the cathode of the LED.
  • D13: Connected to pin2 of the Resistor.

LED: Two Pin (red)

  • Anode: Connected to pin1 of the Resistor.
  • Cathode: Connected to GND of the Arduino UNO.

Resistor

  • Pin1: Connected to the anode of the LED.
  • Pin2: Connected to D13 of the Arduino UNO.

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.