I just ordered some Hall Effect sensors (ALLEGRO MICROSYSTEMS A1302KUA-T) but I am not sure whether they can just act as on-off switch or also as priximity sensors. I need to measure the distance of a moving piece of metal (where i would screw a magnet) while it is moving.
ps: if you want to know what's this is all about. I am just trying to figure out a way to attach a sensor to a bathtub mixer.. after trying (and failing) the potentiometer way i thought it could work measuring the moving distance of the screw which is inside the tap, the one that change the water pressure inside..
thanks a lot!