Maker Pro
Maker Pro

Led light bar

Hello this is my first post but i will be posting more due to upcoming projects.
I was wondering if anyone can tell me an easy circuit for a light bar, what i want it to do is light up one bar at a time with the press of one button then go down with the press of another, the project is a startrek phaser.
i will also be wiring in a laser module and another led but that will be the easy part ''i hope''
I just have no idea on how to do this part of it.

Any help would be greatly appreciated, thank you.

This is the type.
https://www.sparkfun.com/products/9938
 
A universal shift register should do the job for you.
If you had used only 8 LEDs the 74HC299 would be a perfect choice.

One side input is permanently shifting in "1"s ,
the other is permanently shifting in "0".
You will control the direction of the shift with S0,S1 lines(via switches).
And clock the device with a low speed clock.
 
You can add another IC to get 10 bits
,not a problem.
Would a "volume knob" instead of the switches be o.k?
 
So,
You need to cascade two 74HC299 to get 10 bits.

That would be a nice little project for you.
Try it and you can get some help here as well.

If you knew some VHDL you could program a small PLA to do the all thing.
It can be done with a uC as well,some software knowledge is needed for that.
 
Top