Community project

Arduino LED Blinker

WMKIDS

Published July 28, 2026

Arduino2 components4 assembly steps
Remix this project
Photo of Arduino LED Blinker

This project demonstrates the fundamentals of Arduino programming by creating a simple LED blinker circuit. The LED turns on and off at regular intervals, providing a hands-on introduction to digital output control and basic microcontroller programming.

The guide includes a complete parts list, wiring diagram showing how to connect the LED and current-limiting resistor to the Arduino Uno, and ready-to-upload firmware. Follow the assembly steps to breadboard the circuit, load the code onto the board, and watch the LED blink.

Wiring diagram

Interactive · read-only
Wiring diagram for Arduino LED Blinker

Pan and zoom to explore the wiring. Remix the project to edit it in your own workspace.

Parts list

Bill of materials
ComponentQtyNotes
LED5 mm LED1Standard 3mm/5mm through-hole LED. A current-limiting series resistor is added automatically.
Resistor220 Ω, 1/4 W1Through-hole resistor (current-limiting in series with an LED)

Assembly

4 steps
  1. Place the LED on the breadboard

    Insert the external LED so its two leads occupy different breadboard rows. The longer lead is the anode (+); the shorter lead and the flat edge of the LED body identify the cathode (−).

    • Tip: Place the LED across the breadboard’s center gap if convenient; this helps keep its leads separate.
    • Do not reverse the LED: it will not light when connected backwards.
  2. Add the current-limiting resistor

    Insert one lead of the 220 Ω resistor into the same row as the LED’s long anode lead. Put its other lead into an unused row. The resistor has no polarity.

    • Tip: A 220 Ω resistor is commonly marked red-red-brown-gold.
    • Do not connect the LED directly to an Arduino output pin; the resistor is required to limit current.
  3. Connect the Arduino Uno

    Connect Arduino Uno digital pin D8 to the free end of the 220 Ω resistor with a jumper wire. Connect an Arduino GND pin to the breadboard row containing the LED’s short cathode lead.

    • Tip: The complete path is D8 → 220 Ω resistor → LED long lead (anode); LED short lead (cathode) → GND.
    • Check that the D8 wire goes to the resistor, not directly to the LED.
  4. Power and deploy

    Connect the Uno by USB. In Schematik, press Deploy to compile and flash the blink firmware.

    • Tip: The external LED will turn on for one second and off for one second repeatedly.
    • Disconnect USB before rearranging breadboard wiring to avoid accidental shorts.

Pin assignments

Board wiring reference
PinConnectionType
GPIO 8resistor_1 P1digital
EXTresistor_1 P2LED ANODEdigital
GNDled_1 GNDground

Firmware

Arduino
main.cppDeploy to device
#include <Arduino.h>

// External LED anode is connected to D8 through a 220 ohm resistor.
const uint8_t LED_PIN = 8;
const unsigned long BLINK_INTERVAL_MS = 1000;

void setup() {
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);
}

void loop() {
  digitalWrite(LED_PIN, HIGH);
  delay(BLINK_INTERVAL_MS);

  digitalWrite(LED_PIN, LOW);
  delay(BLINK_INTERVAL_MS);
}

“Deploy to device” opens this project in Schematik, where you can flash it to your board over USB.

Remix this project

Make it yours in one click

Open a full copy of this project in your own Schematik workspace — diagram, code, parts, and assembly steps included. Swap the sensor, add features, or redesign the whole thing with AI. The author's original stays untouched.

Open in Schematik