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