Not long ago, bought a Srf02 ultrasonic sensor for my hobby projects. The first project that I did was a DIY radar that draws a map.
When I finished it I wanted to share this project and here I am writing this instructable.
The principle of this radar is this:
The servo motor is moving from 0 to 180 degrees and is taking a measurement at each step.
The value of the measurement is sent to the PC and a program written in Vb.Net draws a map using some trigonometrical functions.
I will tell you in the first step what you need to have to do this , in the second how to build the hardware , in the third i will tell you more about the software and in the fourth you will see my version at work and some final conclusions.
Let's go on with the Materials ;)
Step 1: Materials
For this project you will need the following materials :
- An Arduino ( does not matter what arduino )
- A servo motor
- An ultrasonic sensor ( Srf02 in my case. I attached code for the Ping))) too)
- some adaptor wires
- a board on which all parts will go
- and a thingy to connect the sensor to the servo horn
...and the following tools:
-some screwdrivers screws and nuts (if you want to hold the servo in place using screws , like I did )
-double adhesive duct tape ( if you want to hold the servo and the arduino in place using duct tape )
-a soldering gun, iron or station ,some solder (for the wires)
-and a drill for the screws
Ok, if you have all you need let's continue with the hardware part ...