Arduino can control the servo motor very accurately because of it has built in 8 bit PWM generator and servo motor library functions. It can rotate servo motor to desire angle very accurately as well as by reading servo motor feed back, it can read exactly the current angle of servo motor. Similarly it is very easy to interface UltraSonic Distance measurement (UDM) sensor with arduino. By connecting UDM with arduino, we can easily detect any object and get its distance.
So the given project combines all three Arduino, UDM and servo motor to build very interesting application called “Ultrasonic Radar”. This radar uses UDM sensor that is continuously rotated from 0o to 180 o and 180 o to 0 o using servo motor. Whenever any object comes within specified range, the angle of object and distance of object are sent to computer / laptop.
Finding it great? So are you interested to build such simple radar? So lets start. First collect following required items.
1. Arduino UNO board with USB cable
2. Laptop or computer
3. DC servo motor – Micro servo (11 g)
4. Ultrasonic sensor with PWM output
5. Connecting wires
6. Bread board
Now before building the circuit you have to make some arrangements. Fix the servo motor on wooden board. Then fix the UDM sensor onto servo motor shaft so that it rotates as motor rotates. Draw the angular pattern on wooden board so that we can identify servo motor angular position. See the snaps of arrangement.