This is for several uses on a robot. I am looking for a sensor that provides a code for the angular position of a shaft - such as a steering shaft or a disk that rotates a camera mounted on it. The idea is to determine the angle when the shaft is NOT turning. This is not for detecting high-speed changes. What is available?
The total rotation of the range needs to be established for a good solution suggestion. If the stearing shaft only rotates ~45 deg., then a linkage to a pot might suffice. If the cam rotates only 360 deg in range, then a pot might also do using simple gears or a pully setup.