Long measurement tools can be make using microcontroller. here I make a device that can measure distance between two point. It's using tangent measurement concept. to get the value of the angle I use potentiometer as a angle sensor. For distance sensor I use ultrasonic sensor. here I use two ultrasonic sensor to get value of line ''r'' and "x". For tetha angle can be measure by potentio meter. If we can get the three value, we can calculate the distance of line "y".
Step 1: Implementation
here I used ATmega 16 for the controller. for ultrasonic sensor I use SRF05.
here is the program:
Step 2: Coding
Here I attach the program list. hope you can enjoyed it.
Participated in the
Explore Science Contest