PDA

View Full Version : Discussion joystick hall effect


hargard
Nov 15, 2006, 04:31 PM
Hi
I have a hall effect joystick that has been removed from a wheelchair, And I need to interface it to my Avr chip Mega 8535.
The joystick has 5 wires red, black, green, blue and yellow
I have no idea what wire does what.
Any help here would be helpful.
Thanks Hargard

Chippie
Nov 15, 2006, 04:37 PM
Can you look inside the j/stick ?

My guess would be....red/black supply.....ummm needs 6 wires for N,S,E,W

back to the drawing board.... :o

ZAGNUT
Nov 15, 2006, 04:44 PM
two axis with a pair of hall pots would only need 4 wires...is there a button or some other control besides the two axis?

dave

hargard
Nov 15, 2006, 05:27 PM
hi
It is a sealed unit No looking.
The stick is a 2 axis unit as far as switches go no ...But the leaver does click is pressed down and clicks again when released.
Regards Hargard

ZAGNUT
Nov 15, 2006, 06:28 PM
so five wires does make sense. shouldn't do any harm to put
+5 volts on the red wire, ground the black and then read the other three while playing with the stick/button.



dave

TheKnife
Nov 15, 2006, 07:39 PM
Before I'd apply power, I'd use an ohmeter and see what you can measure between the wires for each position. The 5 wires and wheelchair origin make me wonder (I don't know) if it might be a switch matrix of some kind. Power comes in on the red wire and gets connected to one or more of the other wires depending on the joystick position. A simple on/off control for the motors ? If not then I'd guess the same as ZAGNUT; power, return, 2 pots and a switch.

ps - What makes you think it's a Hall Effect device ?

hargard
Nov 16, 2006, 01:56 AM
What makes me think it's a Hall Effect device ?
I have tested the outputs with a multimeter and with a standard joystick it is easy to work out what is what.

The source of the joystick said it was a Hall Effect joystick.

Thanks for all the replies will try it out later today.

Regards Hargard