I currenty use a potentiometer value to an analog port of the UNO for the trigger of a slot race controller. It works but............... I like to make it contactless to reduce all possible slack and other issues in the end. We need to sens movement of a rotational object that does an angle of 40 degrees max. So the further away the tip of the trigger end the higher or less a proprotional value should become.
A magent/induction solution would be OK. Something that measures magentic field proportional to the distance of the small magnet to the sensor. Any options to achieve this?