harvested a joystick from a fight con, want to use it to take input into an arduino. how do I wire up the switches?

the joystick is just 4 switches around a shaft (up, down, left, right)- 0, 1, or 2 of them are engaged depending on direction the joystick is being pulled.

I came across that site by searching the (id?) number on the switches: AM51630C69N

The full info I'm able to get from reading the switch itself is this:

AM51630C69N
121011E
16A250VAC
Thailand


(This comes up when I search for AM51630C69N schematic, though it seems this doesn't have the same number, and is made by panasonic, which I don't think my switches are (they have a [M] logo on them) http://uk.rs-online.com/web/p/microswitches/5224330/ )

I'm not an electrical engineer, so I'm a bit lost. One thing I noticed is they all share the "pull" pin (er, they're all connected anyways), with a black wire (ground?). and they only have one "throw" pin each.

So, how should I wire this up to take input?

Other questions: what does 16 amps / 250 volts have to do with anything? If I'm connecting to ground + input, where am I putting the voltage? Also- those are waaay higher than anything an arduino can output... does that mean I'm out of luck?

I vaguely remember seeing a problem like this years ago- is the way this gets hooked up something like as follows:

Hook ground to ground. Hook input to an input pin on the arduino. Also, hook that input pin to voltage(?), then you'll read 1 when the switch isn't triggered, and 0 when it is (it will pull the voltage directly to ground when ground is connected?)

Any help/direction would be appreciated!

• Can you provide a picture of your unit? If I read you correctly, all you did was provide links that discuss other examples which have switches on them that yours also has. But things vary a lot and that really doesn't tell us what you have in hand or how to help you with it. A few strategic pictures would help. Or are you saying that your unit is really just the same as those? With only four microswitches? – jonk Jul 31 '17 at 17:22
• @jonk it looks almost identical to the image labeled "Korean - Crown Round Actuator Deco Switches". The only difference is the switches are black, and have different writing on them (which I listed above). But yes- its just 4 switches. The only other difference is that the pins are already wired to leads, and all the "pull" pins are connected by a black wire, and output to a single lead (which I assume ought be connected to ground?) – Phildo Jul 31 '17 at 17:37
• Okay. So it is very simple, then. Yes, it sounds as though they wired up one side of all the switches together (which is sensible.) This would suggest a total of 5 wires. You can connect the common wire either to the + or the - rail. It's just a matter of interpretation for you. You can find a great number of articles about using a switch input to a micro and/or Arduino. So just get started and do it. The rest is just lots of software. – jonk Jul 31 '17 at 17:51
• Standard microswitches - pretty tough industrial switches, but they will switch 5V just fine. – Brian Drummond Jul 31 '17 at 22:15