Maker Pro
Maker Pro

Not your typical Up / Down Counter - Need Help

Chris Llewellyn

Jan 12, 2017
2
Joined
Jan 12, 2017
Messages
2
I am trying to make a circuit to control LEDs for a vehicle turn signal. There doesn't seem to be a counter chip that will do what I am proposing.

I need to build an 8 bit (at least, 16 would be better) counter / display where the LEDs will light up in order from the least significant bit to the most significant bit and then turn back off from the most significant bit to the least significant bit. After a short delay if would repeat this process as long as there is an input tot activate the circuit. Please see the attached file LED Pulse GIF.gif for an example.
 

Attachments

  • LED Pulse GIF.gif
    LED Pulse GIF.gif
    70.3 KB · Views: 89

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,505
Joined
Jan 21, 2010
Messages
25,505
A shift register and a couple of 555s could do what you want.

A microcontroller might be easier.
 

Chris Llewellyn

Jan 12, 2017
2
Joined
Jan 12, 2017
Messages
2
Yes, I can do it with the mcu but I was hoping for a more compact and possibly dependable way to do it. Not sure if the mcu would be as reliable with having to run code. Are you thinking dumping a new set of 8 bits into the resister for each update of the LEDs?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,505
Joined
Jan 21, 2010
Messages
25,505
No, one 555 clocks the shift register, the other determines if the input bit will be high or low.
 
Top