P
panfilero
Hello,
I'm trying to come up with a way to only have one button, and use that to power my circuit on and off, and also to flip through different modes of operation.
For example, my circuit is suppose to blink an LED in different patterns,
click it once, turns on LED is on
click it again LED is blinking slow
click it again LED is blinking fast
click it again LED is blinking slow (any additional clicking just keeps cycling through these two states)
hold button down for 3 seconds and circuit turns off
I've come up with the circuit below (based it on something I saw on the EEVBlog, video blog)
I haven't breadboarded it yet, I'm not sure if it'll work... does anyone have any better suggestions on how to do this?
the link below shows what I came up with
thanks!
http://s555.photobucket.com/albums/jj477/panfilero/?action=view¤t=Switch1.png
I'm trying to come up with a way to only have one button, and use that to power my circuit on and off, and also to flip through different modes of operation.
For example, my circuit is suppose to blink an LED in different patterns,
click it once, turns on LED is on
click it again LED is blinking slow
click it again LED is blinking fast
click it again LED is blinking slow (any additional clicking just keeps cycling through these two states)
hold button down for 3 seconds and circuit turns off
I've come up with the circuit below (based it on something I saw on the EEVBlog, video blog)
I haven't breadboarded it yet, I'm not sure if it'll work... does anyone have any better suggestions on how to do this?
the link below shows what I came up with
thanks!
http://s555.photobucket.com/albums/jj477/panfilero/?action=view¤t=Switch1.png