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.
here are some images showing what I'm talking about: http://forums.shoryuken.com/discussion/196736/korean-arcade-parts-discussion/p2
I came across that site by searching the (id?) number on the switches:
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!