How to Make Chase Lights with a Decade Counter
Karen is making a robot with lots of flashing lights. But the Arduino she’s using to control the circuit has limited I/O. After learning about 555 timers and decade counters, Karen discovered that she can combine them to animate the lights in her robot reducing the outputs needed on the Arduino from ten, down to one. Decade Counters use a clock signal to cascade a high output signal across 10 outputs. Karen shows how to make an astable oscillator circuit with a 555 timer to create the clock signal needed for the decade counter. Then shows how to set up a circuit with 10 LEDs, one for each output. She also shows how to use transistors and relays for applications that require a higher current draw.
Bill of Material:
Product Name | Manufacturer | Quantity | Buy KitBuy Kit |
---|---|---|---|
74HC4017E -Decade Counter / Divider, 2 V to 6 V, DIP-16 | TEXAS INSTRUMENTS | 1 | Buy NowBuy Now |
CD4026BE -Decade Counter / Divider, 16 MHz, 3 V to 18 V, DIP-16 | TEXAS INSTRUMENTS | 1 | Buy NowBuy Now |
CD74HC4017E -Decade Counter / Divider, HC Family, 60 MHz, 2 V to 6 V, DIP-16 | TEXAS INSTRUMENTS | 1 | Buy NowBuy Now |
CD4022BE -Decade Counter / Divider, 11 MHz, 3 V to 18 V, DIP-16 | TEXAS INSTRUMENTS | 1 | Buy NowBuy Now |
CD74HCT390ECD74HCT390E - Decade Ripple Counter, HCT Family, 27 MHz, 4 Circuits, 4.5 V to 5.5 V, DIP-16 | TEXAS INSTRUMENTS | 1 | Buy NowBuy Now |
Top Comments
Hi! Could you instead connect the LED anodes to the output pins of the 4017 and connect all the cathodes to ground through a single resistor? It seems to have the same effect and takes up less space, but…
Here's the breadboard layout with 10 LEDs for anyone that would like it. (The resistor values may not be accurate.)
That's awesome! Thanks for taking the time to figure that out and for sharing it.