Could anyone recommend some light reading on Digital Position Sensing? I need to know the position of a shaft that can rotate through about 90 Degrees. I have tried a rather crude setup with a micro-switch but I require something a little more sophisticated.