LED Marquee

by JessicaTung in Circuits > Arduino

15 Views, 0 Favorites, 0 Comments

LED Marquee

IMG_20250426_134149_156.jpg

This project presents a controllable LED running light system using Arduino, LEDs, and buttons. By interacting with two buttons, users can dynamically change the direction (left-to-right or right-to-left) and speed (fast or slow) of the LED sequence. The goal of the project is to deepen the understanding of sequential LED control, timing functions, and input handling through practical, hands-on experience.

By integrating basic electronic components and programming logic, the project demonstrates how simple hardware can create engaging and interactive lighting effects, making it a fun and educational introduction to embedded system design.

Supplies

Arduino Uno *1

LEDs *5

220Ω Resistors *5

Push Buttons *2

Breadboard *1

Jumper Wires Several

USB Cable *1

Connect the LEDs

  1. Insert five LEDs onto the breadboard.
  2. Connect each LED's longer leg (anode) to Arduino digital pins (e.g., D2 to D6).
  3. Connect a 220Ω resistor between each LED's shorter leg (cathode) and ground (GND).

Connect the Push Buttons

  1. Insert two push buttons onto the breadboard.
  2. Connect one side of each button to Arduino digital pins (e.g., D7 and D8).
  3. Connect the other side of each button to ground (GND).
  4. Use INPUT_PULLUP in code to handle button inputs without external resistors.


Wire the Ground and Power Lines

  1. Connect the Arduino's GND pin to the breadboard ground rail.
  2. If needed, connect 5V to the breadboard power rail.

Test the Basic LED Running Light

  1. Verify that LEDs light up one by one in sequence.
  2. Adjust delay times in code if necessary.

Test Button Functions

  1. Press the direction button to change the running direction.
  2. Press the speed button to switch between fast and slow modes.

Fine-tune and Finalize

  1. Adjust timing, LED brightness, or button sensitivity if needed.
  2. Secure all components neatly on the breadboard or prepare a final soldered version if desired.