Turn on, and do stuff with 1 button

Thread Starter

dave_is_sexy

Joined Jan 16, 2005
4
Hey guys

I'm real stuck on getting a circuit which does the following:

press the button once, and the circuit gains power and a blue light comes on
press it again and a purple light replaces the blue
push again and a pink light replaces the purple
push again and it turns off

I was thinking oy maybe some kind of counter combined with a thyristor circuit?
I bought some RGB LEDs so have no problem getting the colours :)

Thanks
Dave
 

Brandon

Joined Dec 14, 2004
306
Originally posted by dave_is_sexy@Apr 25 2005, 08:25 AM
Hey guys

I'm real stuck on getting a circuit which does the following:

press the button once, and the circuit gains power and a blue light comes on
press it again and a purple light replaces the blue
push again and a pink light replaces the purple
push again and it turns off

I was thinking oy maybe some kind of counter combined with a thyristor circuit?
I bought some RGB LEDs so have no problem getting the colours :)

Thanks
Dave
[post=7235]Quoted post[/post]​
A counter, mux, 3 transistors to drive the leds and your resistors should be it. Counter is triggered by the button, Counter connects to the S0,S1,S2 lines of the mux, input of the mux be logic high, output for Y0 would be the trans circuit for the 1st led, y1 would be the next, etc.
 
Top