Using a HC-SR04 ultrasonic sensor to track the position of the cart.
Limiting the minima to 10cm and maxima to 45cm (~10mm clearance)
I used a cardboard cut-out to mount the sensor, and also as a rebound surface,
Although the least count is 1cm here, the reading seems to be pretty precise.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.