Help with creating a single-axis from two linear hall effect sensors

Thread Starter

carl0s

Joined Apr 25, 2010
40
Hi. I am working on an idea where I need to detect a car's manual gear selector position.
I basically want a joystick-like two axis (X & Y). They will be connected in to an Atmel AVR.

My question is: Rather than each sensor occupying its own analog input on the processor, is there a super-simple method of wiring two or more hall effect sensors together along a single axis, i.e. so that my four sensors only require two channels/inputs ? Also, I might for example want to place three sensors along each axis, and still have each axis only require one input on the AVR.

It would be nice if I could e.g. wire them in series. I realise that is probably not possible, but what might be the simplest way of achieving similar results?.

Here is a picture of my selector. In blue I have marked where I plan to put sensors. In red is a cylindrical magnet attached to the selector shaft.



Thanks very much for reading
cheers,
Carl
 
Top