Chasing LEDs

Requires

This project creates a sequential lighting pattern where LEDs turn on and off one after another, creating a “chasing” effect.

The system works by cycling through 4 LEDs connected to digital pins 2 through 5, turning each LED on for one second before turning it off and moving to the next LED. This process repeats forever, creating a continuous animation that appears to “chase” along the line of LEDs.

Parts List

  • Arduino Uno
  • 4× LEDs (any color)
  • 4× 220Ω resistors
  • Breadboard
  • Jumper wires
  • USB cable

Assembly Instructions

  1. Insert the LEDs into the breadboard, keeping track of the longer leg (anode) and shorter leg (cathode)
  2. Connect a 220Ω resistor to each LED’s cathode
  3. Connect the other end of each resistor to the breadboard’s ground rail
  4. Connect Arduino’s GND pin to the breadboard’s ground rail
  5. Connect Arduino pins 2, 3, 4, and 5 to each LED’s anode using jumper wires
  6. Double-check all connections before powering on