Friday, March 30, 2012

LED Chaser; 555N and CD4017BE

I've had a few 555's on hand for a while, but i just recently found a CD4017BE, which allows me to finally make my LED chaser. So, the 555 timer sets an output pin HIGH and LOW based on the period and duty cycle set by two resistors and a cap. The CD4017 will "count" each time its clock pin is brought HIGH after being low; this clock pin is the 555 output. Lets say the 4017 is reset and is starting from the beginning:

1. The 555 output is brought HIGH
2. The 4017 turns the first output pin to HIGH(the LED turns on).
3. Then the 555 goes LOW( the first output on the 4017 is still HIGH). 
4. Next, the 555 output is HIGH again.
5. The 4017 sets output one LOW and sets output two HIGH.
6. Repeat until output 10, then restart at 1 again.
As it counts from one to ten, the ten output pins are also turned on and off. Each time clock pin is brought HIGH, it turns off the previous output and turns on the next. When it reaches "10" in its count and then the 555 output is HIGH again, the 4017 will restart at the first output pin.



No comments:

Post a Comment