The CD4017 is a CMOS decade counter with built-in decode, and one chip runs a ten-light chaser. This page covers the pins, the chaser wiring, speed control and expansion.
Chip character: inside is a 5-stage Johnson counter with decode, so ten outputs Q0 to Q9 walk high in turn, one per clock edge, and only one output is high at any moment, a natural fit for an LED chaser. It has CLK, an inverted CLKbar, RST reset, active high and returning to zero, and EN enable, halting while high. CMOS supply spans 3 to 15V with low static drain.
Chaser wiring: feed CLK from a clock source, a 555 oscillator or an MCU, and wire each of Q0 to Q9 through a current-limiting resistor into an LED to ground. Every pulse advances the lit position by one, and ten positions loop into a running light. Keep RST grounded, pulse it high to restart from the head, and ground EN to enable. The clock sets the speed: a few hertz reads as a moving dot, much faster blurs into a smear.
Expansion and cautions: cascade chips by taking the Q9 of the front chip through an inverter into the CLK of the next, so finishing ten positions advances the following chip for more than ten channels, twenty for example. Never leave CMOS inputs floating, tie unused inputs to ground or supply; outputs only source a few milliamps, so big lamps need a transistor. Do not skimp on supply decoupling.
| Pin | Name | Function |
|---|---|---|
| CLK | Clock | Advances on rising edge |
| CLKbar | Inverted clock | Advances on falling edge |
| RST | Reset | Returns to zero when high |
| EN | Enable | Pauses when high |
| Q0 to Q9 | Outputs | One high, walking |
| VDD and VSS | Supply | 3 to 15V |
Wire each Q through a resistor into an LED for the chaser; cascade by triggering the next chip from Q9. CMOS pins must not float, and big loads need a driver transistor.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Sequential control per GB/T 4728 and IEC 60617 symbols. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.