When you're trying to put the whole thing into an enclosure like this:


You want the most compact parts you can find.
The case is 3D printed and the input shaft is a Bic pen body that's had 1/4-20 threads cut into it. There's Allegro hall effect sensor attached to a small PCB that's hot-glued into the opposite end. There's two 3mm diameter magnets bracketing the sensor as it passes into the center of the Bic pen body.

Thanks to the link you sent, I was able to find something that is pretty much exactly what I was after:
https://www.kjmagnetics.com/proddetail.asp?prod=D42DIA

Thanks! biggrin

g.

Last edited by f15sim; 04/05/15 03:02 AM.

Proud owner of 80-0007
http://www.f15sim.com - The only one of its kind.
http://geneb.simpits.org - the Me-109F/X Project