I need a certain button...
any search terms might help (like I know momentary switch, but I don't know what a.... well, non-momentary switch would be called). I also need a lot of them cheap.
I'm kind of crossing my fingers as to this actually existing....
8
answers
|
Answer it!
|
I think the word you are looking for is "latching", but it refers to a circuit rather than a switch. A latching circuit and a SPST momentary push button work together to do the action you describe, i.e. push the button once and the device turns on. Pushing the button again, after some small amount of time, turns the device off.
By the way, for this trick to work there has to be some small small circuit that is always on. It is the job of this circuit to wait patiently for the button press, and then turn everything else on. However this circuit can be something that uses so little power, that for practical purposes, the device is essentially "off". For those who like to be pedantic, the phrase "sleeping" or "sleep mode", is a better description.
You can make such a circuit with something as simple as a single flip-flop ic, and maybe a few external components to add some hysteresis to it. Reply if you are interested in more details on how to build this circuit.
If you are looking for such a circuit in module form, it may exist somewhere, being sold by someone.
The picture of the momentary switches came from here:
http://en.wikipedia.org/wiki/Switch
I think the traditional way of doing such things is to use a microcontroller to sort of scan through an array of LEDs, briefly turning (or not turning) each one on, and doing it so quickly that each individual LED looks to the eye like it is turned completely on or off.
In a similar way you can also scan through an array of SPST buttons, to determine which one(s) is(are) being pressed.
And if you were really clever, you could maybe figure out a way to sort of merge the switch and the LED into the same element, e.g. by putting a (normally open) switch and LED in parallel. That way you could use less microcontroller pins to do the same task.
Of course this microcontroller approach assumes that you are actually making things cheaper, on a cost per pixel element basis. I mean cheaper than using a single flip-flop, or whatever, for each pixel.
Instructables has a number of examples of microcontroller based LED matrix displays, um here:
http://www.instructables.com/pages/search/search.jsp?q=led+matrix
The usual sizes of these example projects are circa 8*8=64 LEDs.
Also you've got the additional requirement of putting a button on each LED.
Sorry about the lack of picture, but the uploader is giving me difficulties today:
"Could not upload file 'Tactile_switches.jpg'. Please try again as it may simply have been corrupted in transit."
http://www.mouser.com/Electromechanical/Switches/_/N-5g2h/
(Many other good suppliers exist; this is just the first one that came to mind.)
You may have to track down and buy the square switch-caps separately.
![]() |


































