Hi there
I have a 10 LED light bar and i would like to be able to turn each LED on sequentially from left to right. I would push one button (up) to turn a led on and another (down) to turn them off. If I push the up button ten times then all 10 leds would be on, if i pushed it 5 times then only the left most 5 leds would be on. The only way to turn them off would be to push the down button until all LEDS are off.
One solution I can think of that is close to what i need are those led drivers used for vu meters. The problems is that I don't see where push buttons could be used to adjust the reference voltage.
Another solution might be to use asynchronous up/down counters with the switches used to provide the clock pulses but the difficult part would be in decoding the BCD output to the sequence required.
Does anyone have any ideas on how I can implement this? I'd like to be able to fit this into a small package.
Thanks
I have a 10 LED light bar and i would like to be able to turn each LED on sequentially from left to right. I would push one button (up) to turn a led on and another (down) to turn them off. If I push the up button ten times then all 10 leds would be on, if i pushed it 5 times then only the left most 5 leds would be on. The only way to turn them off would be to push the down button until all LEDS are off.
One solution I can think of that is close to what i need are those led drivers used for vu meters. The problems is that I don't see where push buttons could be used to adjust the reference voltage.
Another solution might be to use asynchronous up/down counters with the switches used to provide the clock pulses but the difficult part would be in decoding the BCD output to the sequence required.
Does anyone have any ideas on how I can implement this? I'd like to be able to fit this into a small package.
Thanks