LED chaser with a 555 and a CD4017 (Knight Rider scanner)
A light runs out along six LEDs and back, 1 2 3 4 5 6 5 4 3 2, with a knob for the speed.
It opens in your browser without an account, read-only and ready to run.
Every example opens as a schematic too, drawn in KiCad’s style and kept in step with the breadboard: a part added on one shows on the other.
How it works
A 555 astable clocks a CD4017 decade counter, which lights its ten outputs one after the other. Its rate is 1.44 / ((R1 + 2·(RV1 + R2))·C1): the 100 kΩ trimmer sets it between about 5.7 Hz and 27 Hz.
Ten steps go out and back over six LEDs: the OR gates of a CD4071 join the outputs that share an LED on the way back, where diodes usually do it.
Parts
- 1 × 555 timer (astable, 10 kΩ, 22 kΩ, 1 µF, and 10 nF on CTRL)
- 1 × 100 kΩ trimmer for the speed
- 1 × CD4017 decade counter with 10 decoded outputs
- 1 × CD4071 quad 2-input OR
- 6 × red LEDs, each through 470 Ω
- 5 V supply
Run it in BBRouter
- Open the example: it opens in the editor, no account needed.
- Click Power in the toolbar to switch it on.
- Turn the trimmer to change the speed.
- Click Schematic in the toolbar to see it as a schematic, and again to go back to the breadboard.
- To change it, sign in and click Fork: the copy is yours to edit.
More example circuits
Switch it on.
Build your own circuit on breadboards in 3D, simulated as wired. Free to start.