How to Make LED Night Effects With 555 Timer + CD4017
If you’ve ever seen a row of LEDs light up one after another like a moving wave of light, you’ve already witnessed one of the most satisfying beginner electronics projects in action. These flowing light patterns are often called LED night effects or LED chaser circuits, and the magic behind them can be created with just two classic integrated circuits: the 555 timer and the CD4017 decade counter.
This project is popular among hobbyists because it is simple to build, inexpensive, and visually impressive. Even better, it teaches several important electronics concepts such as clock pulses, counters, timing circuits, and sequential logic.
In this detailed guide, you’ll learn exactly how the circuit works and how to build your own LED night effect circuit using the 555 timer and CD4017. By the end, you’ll understand how these two chips cooperate to produce moving light patterns that can be used in decorative lighting, display boards, DIY electronics projects, and even simple advertising signs.
Understanding the Main Components
Before building the circuit, it helps to understand the two chips that power the entire project.
The 555 Timer
The 555 timer is one of the most famous integrated circuits ever created. It was introduced in the early 1970s and is still used today in thousands of electronic devices.
The 555 timer can operate in several modes, but in this project it works in astable mode. In astable mode, the chip continuously generates a stream of pulses. These pulses act like a clock signal that tells other parts of the circuit when to change state.
Think of the 555 timer as a tiny metronome. It ticks over and over again, producing electrical pulses at regular intervals.
Each pulse generated by the 555 timer is sent to the next chip in the circuit.

The CD4017 Decade Counter
The CD4017 is a decade counter and divider IC. Its job is to count pulses.
Every time it receives a clock pulse, it activates the next output pin in sequence.
The CD4017 has 10 outputs, labeled: Q0 – Q9
Only one output is active at a time.
When the first pulse arrives, Q0 turns on.
The next pulse turns on Q1.
Then Q2 activates.
This sequence continues until Q9, and then the counter resets back to Q0.
When LEDs are connected to these outputs, they light up one at a time in sequence, creating the classic moving light effect.
Why Combine the 555 Timer and CD4017?
Individually, these two chips are useful. But when they are combined, they become extremely powerful.
The 555 timer produces the clock pulses.
The CD4017 counts those pulses and activates outputs sequentially.
The result is a perfect LED chaser circuit.
The timing speed is controlled by the 555 timer, meaning you can adjust how fast the LEDs move simply by changing resistor or capacitor values.
This is why the combination of the 555 timer and CD4017 is one of the most commonly taught circuits in beginner electronics.
Components Required
Here are the components you need to build the circuit:
1 NE555 timer IC
1 CD4017 decade counter IC
10 LEDs
10 resistors (220Ω to 470Ω)
1 resistor (1kΩ)
1 resistor (10kΩ)
1 potentiometer (100kΩ recommended)
1 capacitor (10µF)
1 capacitor (0.01µF optional for stability)
Breadboard
Jumper wires
5V–12V power supply
Most of these components are extremely inexpensive and commonly available in electronics kits.
Basic Circuit Overview
The circuit is divided into two sections.
First is the pulse generator, which is the 555 timer.
Second is the counter section, which is the CD4017.
The 555 timer continuously generates clock pulses. These pulses are fed into the clock input of the CD4017.
Each pulse causes the counter to activate the next output pin. Each output pin drives an LED through a resistor.
As a result, the LEDs turn on one after another, producing the night effect pattern.
Step 1: Setting Up the 555 Timer
Let’s start by wiring the 555 timer in astable mode.
Connect pin 1 to ground.
Connect pin 8 to VCC (5V to 12V).
Pin 4 should also connect to VCC so the chip remains enabled.
Pins 2 and 6 are tied together.
Next, connect a 10k resistor between VCC and pin 7.
Connect the 100k potentiometer between pin 7 and pins 2/6.
Then connect the 10µF capacitor between pins 2/6 and ground.
Pin 3 is the output pin, and this is where the clock pulses appear.
This pin will later connect to the CD4017 clock input.
The capacitor constantly charges and discharges through the resistors. This creates the oscillation that generates clock pulses.
How the Timing Works
The timing of the pulses is controlled by the resistor and capacitor values.
The formula for the oscillation frequency is:
T = 1.1 × R × C
Where:
T = time interval
R = resistance
C = capacitance
By adjusting the potentiometer, you change the resistance in the circuit. This alters how quickly the capacitor charges and discharges.
That means you can control how fast the LEDs move.
Turn the potentiometer one way and the lights chase slowly. Turn it the other way and the pattern speeds up.
Step 2: Connecting the CD4017
Now we connect the CD4017.
Pin 16 connects to VCC.
Pin 8 connects to ground.
Pin 14 is the clock input. This pin receives pulses from the 555 timer.
Connect pin 3 of the 555 timer to pin 14 of the CD4017.
Pin 13 should connect to ground to enable counting.
Pin 15 is the reset pin. Leave it connected to ground if you want all 10 outputs to cycle.
Now the CD4017 will begin counting pulses.
Step 3: Connecting the LEDs
The outputs of the CD4017 drive the LEDs.
Here are the output pins:
Q0 – pin 3
Q1 – pin 2
Q2 – pin 4
Q3 – pin 7
Q4 – pin 10
Q5 – pin 1
Q6 – pin 5
Q7 – pin 6
Q8 – pin 9
Q9 – pin 11
Each output connects to an LED through a resistor.
For example:
Pin 3 → resistor → LED → ground
Pin 2 → resistor → LED → ground
Pin 4 → resistor → LED → ground
Continue this for all outputs.
The resistor protects the LED from excessive current.
Typical values range between 220Ω and 470Ω.
How the LED Night Effect Works
Once everything is connected and power is applied, the circuit begins operating immediately.
The 555 timer produces a series of clock pulses.
Each pulse is sent to the CD4017.
The CD4017 activates the next output pin.
Only one output is active at a time.
That means only one LED lights up.
With each pulse, the next LED turns on and the previous one turns off.
This creates the illusion of a moving light pattern.
Because the pulses occur rapidly, the lights appear to chase each other across the display.
Adjusting the Speed of the LEDs
One of the most fun parts of this project is adjusting the speed.
The potentiometer connected to the 555 timer controls the timing.
Increasing resistance slows the clock pulses.
Decreasing resistance speeds them up.
This means you can easily experiment with different effects.
Slow speeds create a calm decorative lighting effect.
Fast speeds create a dynamic display similar to running lights used in advertising signs.
Limiting the Number of LEDs
The CD4017 has 10 outputs, but you don’t have to use all of them.
You can limit the number of active LEDs by using the reset pin.
For example, if you want only 6 LEDs, connect output Q6 to the reset pin.
When the counter reaches Q6, it immediately resets back to Q0.
This creates a loop of six LEDs instead of ten.
This trick allows you to design many different patterns.
Expanding the Circuit
One interesting feature of the CD4017 is that it can be expanded.
You can connect multiple CD4017 chips together to control more LEDs.
For example:
1 chip = 10 LEDs
2 chips = 20 LEDs
3 chips = 30 LEDs
This allows you to build long LED strips or large lighting displays.
Many decorative lighting systems use this exact technique.
Troubleshooting the Circuit
If the circuit doesn’t work the first time, don’t worry. That’s normal in electronics.
Here are a few things to check.
First, verify the orientation of the 555 timer and CD4017. Installing them backwards will prevent the circuit from working.
Next, check the LED polarity. LEDs only conduct in one direction.
Make sure the long leg (anode) is connected toward the output pin.
Also confirm that the resistors are connected properly.
Another common issue is missing ground connections. Both ICs must share the same ground reference.
Finally, make sure the reset pin on the CD4017 is not accidentally connected to VCC.
Applications of LED Night Effect Circuits
Even though this circuit is simple, it has many practical uses.
It can be used in:
Decorative lighting displays
Electronic signboards
LED running lights
Holiday decorations
DIY art installations
Learning projects for students
Interactive electronic displays
Many commercial LED products use variations of this exact design.
Why This Project Is Perfect for Beginners
The 555 timer and CD4017 combination is often recommended as a first project for electronics students.
It teaches several important concepts including:
Clock signals
Digital counters
Timing circuits
Sequential outputs
LED driving circuits
It also demonstrates how two ICs can cooperate to perform a complex function.
Most importantly, the results are instantly visible. Watching the LEDs move across the board provides immediate feedback that the circuit is working.
Taking the Project Further
Once you’ve built the basic circuit, you can experiment with improvements.
You could add:
Different colored LEDs
High-brightness LEDs
LED strips
Multiple CD4017 counters
Sound-reactive triggers
Light-sensor control
You can even replace the potentiometer with a light-dependent resistor so the LED speed changes based on ambient light.
These variations turn a simple project into a creative electronics experiment.
Conclusion
The LED night effect circuit using the 555 timer and CD4017 is one of the most enjoyable projects in beginner electronics. It combines analog timing with digital counting to produce a visually impressive lighting effect using only a handful of inexpensive components.
With just a breadboard, a few resistors, some LEDs, and two classic ICs, you can build a circuit that demonstrates the fundamentals of electronic timing and sequential logic.
More importantly, this project opens the door to countless other designs. Once you understand how the 555 timer creates clock pulses and how the CD4017 counts them, you can apply the same principle to many other circuits.
For hobbyists, students, and DIY electronics enthusiasts, this project is not just a circuit. It’s a gateway into the deeper world of electronic design.
Frequently Asked Questions
What is the primary role of the CD4017 IC in an LED night effect circuit?
The CD4017 functions as a CMOS decade counter that sequences through ten individual outputs one by one whenever it receives a clock pulse.
How does the 555 timer interact with the CD4017 to create the moving light effect?
The 555 timer is configured in astable mode to provide a continuous pulse stream that acts as the “clock” signal for the CD4017.
Can I adjust the speed at which the LEDs flash or “chase” each other?
You can speed up or slow down the LED sequence by turning a potentiometer to change the RC timing constant of the 555 timer.

Author
Alex Klein is an electrical engineer with more than 15 years of expertise. He is the host of the Electro University YouTube channel, which has thousands of subscribers.
