Arduino LED Chaser Circuit: Step-by-Step Beginner Project
SEO Title: Arduino LED Chaser Circuit: Step-by-Step Beginner Project
Meta Description: Learn how to make an Arduino LED chaser circuit using LEDs, resistors, jumper wires, and simple Arduino code. Perfect project for beginners.
Arduino LED Chaser Circuit

An Arduino LED chaser circuit is one of the best beginner projects to understand digital output pins, LED control, resistors, and basic Arduino programming. In this project, multiple LEDs turn ON and OFF one by one, creating a running light or chasing effect.
This type of LED effect is commonly used in decorative lights, indicators, display panels, model projects, and learning circuits. The project is simple, low-cost, and perfect for students, hobbyists, and beginners in Arduino electronics.
What is an Arduino LED Chaser Circuit?
An Arduino LED chaser circuit is a simple electronic circuit where several LEDs are connected to Arduino digital pins. The Arduino turns each LED ON and OFF in a programmed sequence, which creates a moving light effect.
In this tutorial, we will make a basic 6 LED chaser circuit using Arduino Uno. You can also increase the number of LEDs by using more digital pins.
Components Required
| Component | Quantity |
|---|---|
| Arduino Uno | 1 |
| LEDs | 6 |
| 220Ω Resistors | 6 |
| Breadboard | 1 |
| Jumper Wires | As required |
| USB Cable | 1 |
Arduino LED Chaser Circuit Diagram Explanation
Each LED is connected to a separate digital pin of the Arduino. A 220Ω resistor is connected in series with each LED to limit the current and protect the LED from damage.
- LED positive leg is connected to Arduino digital pin through a resistor.
- LED negative leg is connected to Arduino GND.
- Arduino controls the LEDs by sending HIGH and LOW signals.
LED Connection Table
| LED | Arduino Pin | Connection |
|---|---|---|
| LED 1 | Pin 2 | Through 220Ω resistor |
| LED 2 | Pin 3 | Through 220Ω resistor |
| LED 3 | Pin 4 | Through 220Ω resistor |
| LED 4 | Pin 5 | Through 220Ω resistor |
| LED 5 | Pin 6 | Through 220Ω resistor |
| LED 6 | Pin 7 | Through 220Ω resistor |
| All LED Negative Legs | GND | Common ground |
Arduino LED Chaser Code
Upload the following code to your Arduino Uno using the Arduino IDE.
int ledPins[] = {2, 3, 4, 5, 6, 7};
int totalLEDs = 6;
void setup() {
for (int i = 0; i < totalLEDs; i++) {
pinMode(ledPins[i], OUTPUT);
}
}
void loop() {
// Forward LED chasing effect
for (int i = 0; i < totalLEDs; i++) {
digitalWrite(ledPins[i], HIGH);
delay(150);
digitalWrite(ledPins[i], LOW);
}
// Reverse LED chasing effect
for (int i = totalLEDs - 2; i > 0; i--) {
digitalWrite(ledPins[i], HIGH);
delay(150);
digitalWrite(ledPins[i], LOW);
}
}
How the Arduino LED Chaser Code Works
The Arduino code uses an array to store all LED pin numbers. In the setup() function, all LED pins are set as output pins. In the loop() function, the LEDs turn ON one by one with a small delay, creating a chasing light effect.
The first loop moves the light effect from LED 1 to LED 6. The second loop moves the light effect back from LED 5 to LED 2, creating a smooth back-and-forth animation.
Step-by-Step Working Process
- Arduino sends a HIGH signal to the first LED pin.
- The first LED turns ON for a short time.
- Arduino sends a LOW signal, and the LED turns OFF.
- The same process repeats for the next LED.
- This creates a running LED light effect.
Changing the LED Chaser Speed
You can change the speed of the LED chaser by changing the delay value in the code.
delay(150);
For faster speed, use a smaller value like:
delay(80);
For slower speed, use a larger value like:
delay(300);
Important Tips for Beginners
- Always use a resistor with each LED.
- Check LED polarity before connecting.
- The longer leg of the LED is positive.
- The shorter leg of the LED is negative.
- Connect all LED negative legs to Arduino GND.
- Do not connect LEDs directly without resistors.
Common Problems and Solutions
| Problem | Possible Reason | Solution |
|---|---|---|
| LED not glowing | Wrong polarity | Reverse the LED legs |
| Only one LED works | Loose jumper wire | Check breadboard connections |
| LED is very dim | High resistor value | Use 220Ω or 330Ω resistor |
| Code not uploading | Wrong board or port selected | Select correct Arduino board and COM port |
| LEDs stay ON | Code or wiring issue | Check pin numbers and ground connection |
Applications of Arduino LED Chaser Circuit
- Decorative LED lighting
- Running light projects
- Arduino learning experiments
- Indicator light systems
- Model car lighting
- DIY display projects
- School and college electronics projects
Advantages of This Project
- Easy project for beginners
- Low-cost components
- Simple Arduino programming
- Helps understand digital output pins
- Can be modified with more LEDs
- Good for learning loops and arrays in Arduino
Project Upgrades
After completing this basic Arduino LED chaser circuit, you can upgrade it in many ways:
- Add more LEDs.
- Use different LED colors.
- Add a potentiometer to control speed.
- Add push buttons to change LED patterns.
- Use RGB LEDs for colorful effects.
- Use a shift register to control more LEDs with fewer Arduino pins.
Safety Notes
This project works with low voltage from the Arduino board, so it is safe for beginners. However, always avoid short circuits, check your wiring carefully, and never connect LEDs directly to Arduino pins without resistors.
FAQs About Arduino LED Chaser Circuit
Can I make an LED chaser without Arduino?
Yes, you can make an LED chaser circuit using a 555 timer IC and CD4017 decade counter. But using Arduino makes the project easier to program and modify.
Which resistor is best for LEDs in Arduino projects?
A 220Ω or 330Ω resistor is commonly used with LEDs in Arduino projects.
Can I use more than 6 LEDs?
Yes, you can use more LEDs if you have enough available digital pins. You can also use shift registers for larger LED chaser projects.
Why is my LED not turning ON?
The most common reasons are wrong LED polarity, loose wiring, incorrect Arduino pin number, or missing ground connection.
Conclusion
The Arduino LED chaser circuit is a simple and fun project for beginners who want to learn Arduino programming and basic electronics. By connecting LEDs to Arduino digital pins and using a few lines of code, you can create an attractive running light effect.
This project is a great starting point before moving to advanced LED effects, traffic light systems, smart indicators, and Arduino automation projects.