These notes show you how to calculate servo position based on measured distance.
These notes show how I calculate the servo position based on measured distance to the target. This calculation allows you to correctly point at the right number on the scale based on how far target is from sensor.
Making The World a Better Place One High Tech Project at a Time. Enjoy!