Tri-states push button

Hi,

I search a tri-states push button, cf. an push button that can give on it output a 0V, a +5V (or +3V) or an open state, instead only a 0/1 and a open state as alls push buttons that I have found

Something like this, that give a 0V on output when the push button is pushed, +5V when the button is "tired / pushed in the other sens" and a open state when the button is on break

          =====
0V -------- | 
            |---------------- OUTPUT
5V -------- | 
         ======

Where can I find this sort of "push/pop" tri-state button ?

No idea, but you could use a spdt toggle switch of the (on)-off-(on) type; the notation in brackets means the on positions are momentary. Connect the center pin to an analog input, one side to 5V and the other to GND, then put two 20k ohm resistors from the center pin to 5V and ground. With the toggle centered, the input is 2.5 V, with the toggle thrown up or down you get 5V or GND. Easy, simple.
But your needs are vague, and I don't know if this will help or not.
C

Thanks, Camsysca

But what I really want is a very minimalistic system, something a simple than only 4 buttons, 4 leds and the very less minimum number of resistors , not a lot of resistors/analogics read or something else that is "a little more complex" to understand/handle ....
(it's for educationals/beginners/childs undertanding, not for physicians or professionnals electronics persons ...)

So a 3-position switch and two resistors feeding one analog input is too complex? You must be kidding, right?
Suit yourself. I tend to give people more credit than that.
C

Yes, I want a a 3-position button, but really very very little because this is for to use on a electronical breadboard

If it can handle more than 2 reals states (+ one open state), it's of course better
(4 to 8 states/positions for example)

try for a rotary switch, then, I guess. But you'll need to enable pullups. Guess you can do that in a canned sketch, though. Or is this actually not anything to do with an Arduino at all?

The rotatory switch can to be a solution, but no sure
=> I take a look about this

This is for to begin with a system that is is totally external to a Arduino for firsts explanations/tests to beginers/childs, so a very very simple and easy system to make for them
=> I think to add the use of an Arduino only after, but only when persons/childs has entirely understand the system, cf. one thing after the other ...

How many distributors and switch manufacturers have you looked at?

Seems like these are what you're looking for.

Yes, these seem what i'm looking for, thanks