Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

#227 555Timer/KnightRider

The familiar "Knight-Rider" LED circuit using a 555 and 4017

▶️ return to the LEAP Catalog

Notes

This is a well-known LED effects circuit using the 555 timer and 4017 decade counter.

This project is a variation of the circuit published on 555-timer-circuits.com - I've added steering diodes rather than allowing paired outputs to sink each other.

Clock Generator

The 555 timer is configured as an astable multivibrator, with a frequancy of 10.5 Hz at ~50% duty cycle.

Decoding the LED Display

The clock signal from the 555 drives the 4017 decade counter, providing 10 signal lines. The 10 outputs of the 4017 (Q0 to Q9) are wired to the appropriate LEDs per the table below to generate the "Knight-Rider" pattern:

Q high LED1 LED2 LED3 LED4 LED5 LED6
Q0 off off off off off ON
Q1 off off off off ON off
Q2 off off off ON off off
Q3 off off ON off off off
Q4 off ON off off off off
Q5 ON off off off off off
Q6 off ON off off off off
Q7 off off ON off off off
Q8 off off off ON off off
Q9 off off off off ON off

Steering diodes are used to prevent 4017 outputs sinking current back to another pin connected to the same LED.

NB: diodes are omitted for LED1 and LED6 since they are only driven by one output. This does mean LED1 and LED6 are driven with a slightly higher current than other LEDs, but the difference is not noticeable; to even up the current, redundant steering diodes could be added, or the current-limiting resistor increased propoertionally.

Construction

Breadboard

The Schematic

The Build

Credits and References