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

Arduino UNO LED Blinker with Serial Output

View and Edit Project In Cirkit DesignerImage of Arduino UNO LED Blinker with Serial Output

Circuit Documentation

Summary

This circuit is designed to blink an LED using an Arduino UNO. The LED is connected to a digital pin on the Arduino through a current-limiting resistor. The Arduino is programmed to turn the LED on and off at one-second intervals, with status messages printed to the serial monitor.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. LED: Two Pin (red)

    • Description: A red LED with two pins: cathode and anode.
    • Pins: cathode, anode
  3. Resistor

    • Description: A resistor with a resistance of 220 Ohms.
    • Pins: pin1, pin2
    • Properties:
      • Resistance: 220 Ohms

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

Code Documentation

Code for Arduino UNO

void setup() {
  pinMode(2, OUTPUT);
  Serial.begin(9600);
}

void loop() 
{
  digitalWrite(2, HIGH);
  delay(1000);
  Serial.println("Led is in ON state");
  digitalWrite(2, LOW);
  delay(1000);
  Serial.println("Led is in off state");
}

Code Explanation: