• I think the Hall Effect sensor is probably the best suggestion so far as the IR solutions (even the Sharp GP2Y0A41SK0F) would probably get blocked or interfered with by the walls or the spring. However @allObjects 's resistive tape idea is also good. Thanks for your replies.

    P.S Nice to see your back Gordon, hope you had a nice time.

About

Avatar for MrTimcakes @MrTimcakes started