A Chaser Circuit consists of a clocked IC or other electronic unit like an Arduino that drives an array of LEDs in such a way that individual LEDs (or small groups of LEDs) turn on and off in a predetermined and repeating sequence producing a visually attractive pattern.In this tutorial I am going to create a chaser circuit that can drive 20 or more LEDs using 555 timer IC and CD4017 decade counter. Watch this video for detailed step by step instructions on how to build this circuit and for a complete instruction on how the circuit works.
Support My Work ------------------------------ BTC: 1Hrr83W2zu2hmDcmYqZMhgPQ71oLj5b7v5 LTC: LPh69qxUqaHKYuFPJVJsNQjpBHWK7hZ9TZ DOGE: DEU2Wz3TK95119HMNZv2kpU7PkWbGNs9K3 ETH: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4 BAT: 0x9D9E77cA360b53cD89cc01dC37A5314C0113FFc3 BNB: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4 POL: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4 LBC: bZ8ANEJFsd2MNFfpoxBhtFNPboh7PmD7M2 COS: bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23 Memo: 572187879
Thanks, ca again in my next tutorial.
Video Summary
AI Generated
This tutorial demonstrates how to build an LED chaser circuit capable of driving 20 or more LEDs. Using a 555 timer IC as a clock generator and 4017 decade counters to sequence the lights, the project guides the viewer through the circuit logic, breadboard testing, and the fabrication of a custom PCB and HAT for organized assembly.
A chaser circuit consists of a clocked IC or other electronic unit like an Arduino that drives an
array of LEDs in such a way that the individual LEDs or small group of LEDs turn on and off in
a predetermined and repeating sequence. In this tutorial, I am going to create a chaser circuit
that can drive 20 or more LEDs using 555 timer IC and 4017 decade counter. Watch this video
for detailed step-by-step instructions on how to build this circuit
and for a complete instruction on how the circuit works.
This video is sponsored by PCBWay. PCBWay specializes in manufacturing of very high quality
low volume colored PCBs at a very budgetary price. In addition to standard PCBs, you can also order
advanced PCBs, aluminum PCBs, rigid flex PCBs. They also provide PCB assembly and other related
services which can meet your need to the greatest extent. For this tutorial, we need one 555 timer
IC, two 4017 decade counters, one 10k resistor, one 1k resistor, three 220 ohm resistors, one 33
microfarad capacitor, two NPN transistors, 21 LEDs, and a custom built PCB or a breadboard.
The circuit is very simple. The 555 timer IC operates as a clock oscillator or a clock generator.
The signal from the 555 IC clocks the 4017 decade counter. Output from pin number 3 of the 555
timer IC is given as an input to pin number 14 of the 4017 IC. Whenever a pulse is received by the
4017 IC, the counter increments the count and activates the corresponding output pin Q0 to Q9,
causing a shift. This IC can count up to 10. To know more about this IC, please check out my
tutorial number 26. The link is in the description below. Now, to flash more than 10 LEDs, we need
to connect a second decade counter to this setup. The carry out pin, pin 12 of the first 4017 IC
connects to the clock input pin, pin 14 of the second 4017 IC. The carry out pin goes from low
to high when the counter of the first IC reaches 10. By connecting this pin to the clock input of
the second decade counter, we can count numbers higher than 10. In my first setup, I am flashing
the same 10 LEDs using the two decade counters. The Q0 pin of the second IC is connected to a
NPN transistor. A small input current at the base of the transistor allows much higher current to
flow between the collector and emitter. The Q1 pin of the second 4017 IC is connected to the
reset pin, pin 15. By connecting Q1 to the reset pin, we stop the second IC from counting further
up and resetting itself. Now, to add another lot of 10 LEDs, we just need to move the reset pin
from Q1 to Q2 and connect the common cathode of the second lot to pin Q1 via a transistor.
The anodes connect to the first IC exactly the same way the first lot of LEDs are connected.
You can continue adding LEDs to the second IC just by moving the reset pin to the next
corresponding pin and connecting the anodes to the first IC. To change the speed of the LEDs,
go ahead and change the capacitor to a higher or lower value. Before designing the PCB,
I tested the circuit and its logic on a breadboard. Setting up 20 LEDs on a breadboard
along with other components made the board way too crowded. So, this is the 555 timer IC
generating the pulse and these are the two 4017 ICs that will run the chaser circuit.
Firing up the circuit lights up the LEDs and the LEDs appear to chase each other.
Bingo! Everything works as expected. Using an EDA, I designed the circuit board for this project.
The board has three sections. Starting from left to right, the first section is for powering up the
board using a female micro USB socket. The second section generates the clock pulse using the 555
timer IC. The third section is for the 4017 ICs and for connecting the cluster of LEDs.
To create a chasing effect using 10 LEDs, we need to solder one NPN transistor and 100 ohm or 200
ohm resistor in the number 1 socket of the board. Then we need to connect the reset pin to terminal
number 1. After that, connect the positive terminals of the 10 LEDs to the bottom LED array
and then go ahead and solder all their negative terminals together. After soldering the negative
terminals, solder this junction to pin number 1 of the common cathode LED array. That's it.
As simple as that. Now, to chase 20 LEDs, we need to add another lot of transistor and resistor to
socket number 2 of the board and move the reset pin to terminal number 2. Then, connect the positive
terminals of the second lot of LEDs to the bottom LED array and their common cathode to pin number
2 of the common cathode LED array at the top of the board. We can keep on adding more LEDs to the
board just by adding more transistors and resistors and by moving the reset pin to the next one and
by connecting the LED array's common negative terminals to the next port of the common cathode
LED array. To make our life easy, I have also created a hat for this circuit. You can solder
male pin headers to the main board and female pin headers on the hat and then slide the hat
on top of the main board. To flash 10 LEDs using the hat, all you have to do is connect the positive
terminals of the LEDs to 1 to 10 ports on the board and the common negative to the negative
port of the same column. You also need to jump at the top two ports to reset the chaser. To add
another 10 LEDs, just go ahead and connect them to the second column and then jump at the second
column's reset pin. Please make sure you only jump a one column at any given time. Once I had my
design ready, I went ahead and uploaded my Gerber file to the PCBWay's website. After selecting the
dimension and quantity of the board, I just had to select the type, color and any other customization
that I wanted and then send it for fabrication. For my project, I chose the black color. PCBWay
ships from China to most of the countries of the world within three to seven business days.
Talking about the quality, it is absolutely mind-blowing. So, this is what came in the mailbag.
Look at the quality of the board. Isn't it amazing? Let's start soldering the components
from the left to right of the board. Let's first solder the micro USB socket to the board.
Then, let's solder the IC base for the 555 timer IC and the resistances to the board. Next, let's
solder the 3mm red LED and the 33uF capacitor to the board. Now, let's solder the IC bases for the
24017 ICs to the board. Since I care a lot about my ICs and microcontrollers, I never solder them
directly to the board. In case of an IC, I always try to use IC bases or if a base is not available,
I use female pin headers. For this demo, I am going to create a chasing effect using 20 LEDs.
So, I'll be adding 2 transistors and 200 ohm or 200 ohm resistors to the board. Since I will be
using HAT for connecting the LEDs to the board, I need to solder 3 male pin headers to the three
sides of the board. That's pretty much all I have to do on the main board. Now, let's solder the
components to the HAT. To slide the HAT on top of the main board, we need to solder female pin
headers to the sides of the HAT. Since my plan is to create the chasing effect using 20 LEDs,
I am soldering female pin headers to the first two columns of the HAT. As discussed earlier,
we need to jump the second column of the HAT to reset the circuit once it finishes the second
cycle. If we need to add another 10 LEDs, then we would have jumped the third column and so on.
So, this is how my final setup looks like. Let's slide the 20 LEDs into the female pin headers
and fire up the circuit. Bingo! Job done. The possibilities are endless. And I know you guys
have a lot going on in your mind. So, what are you waiting for? Do comment and let me know if
there are any scopes of improvement. Thanks again for watching this video. I hope it helps you. If
you want to support me, you can subscribe to my channel and watch my other videos. Thanks. See
you again in my next video. Bye now.