Diy Arduino Radar

114K12720

Intro: Diy Arduino Radar

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 ...

STEP 2: Hardware

1- Take the board and measure where the servo comes
2- Drill the holes for the screws and screw the servo in place. or duct dape the servo in place
3-Put duct tape on the arduino and put it in place.
4-Put the sensor on the thingy and the thingy on the servo
5-Make the connections as in the attached schematics ( for ping plug the sig conector from ping to the 7 pin of arduino
6- Congratulations ! You just finished the hardware part

STEP 3: Software

There are 2 softwares involved in this project:
-The arduino software
-The pc software

The arduino software moves the servo and sends the values of the sensor at each step via Serial to the PC software
The pc software does the drawing of the map. It is written in vb.net and uses trigonometric functions to calculate the length and angle used in the drawing of the map.
The map is then displayed on the form.
The pc software is poor and you are invited to make it better if you want and know how.

The following files are attached:
-vb source
-arduino file for

STEP 4: Conclusions

This in my opinion was a fun to do project from that i learned a lot. Hope you like it. If you have questions you can ask me at cristidragomir97@live.com or ask a comment here. If you like it please vote my project for the microcontroller and toy chellange.

If you would like to see how it works : http://www.youtube.com/watch?v=AaqLJvHIdOE

19 Comments

can you send the electrical design to mwatenhkeem@gmail.com please ?

nice job but i will not take a look on the files after the comments with the viruses... and as it was already said by some people it's not a radar, its a SONAR(SOundNavigation And Ranging) not a RADAR(RAdioDetection and Ranging) though it can be used for the same purpose(an example is detecting objects or obstacels) it is not the same, so please get your facts straight. nevertheless you did a nice job
i here a lot says this is spelled wrong sonar instead of radar

but if you go to youtube and type in "arduino radar" you will see many video's using a sonar with a panning servo as a radar with a RADAR MAP GUI code
some in processing,some in VBNET and some in python

CHRISTI great instructables ,but your code for VBNET has many viruses under email eml ,in every folder has a virus email attachment
Neat little project though on a technical note you're using an ultrasonic sensor which makes it a sonar, not a radar. Your use of radar in the name implies using radio waves which it's not.
by panning a sonar and the right coding it can be used as a radar
more of a imitation radar design

its a very common cheap radar used in robotics

here is how he/she did it
The value of the measurement is sent to the PC and a program written in Vb.Net draws a map using some trigonometrical functions
Please update the title. It's sonar, not radar. Thanks.
sonar can be used like a radar if pans 0-180 and with the right code
its a very common design idea in robotics
Very nice! I might just make this for my nerf-optimized backyard! lol...

I agree with soshimo... my AV flagged the entire radar.vb.zip ...
Please remove the Christi.eml file from your download. My anti virus flagged it as having about 10 trojans. Now I'm SURE you didn't MEAN to put that file there right? Take it out please. I'm also following up with an email to the site admins as I'm sure they wouldn't want their website to be identified as an infection vector.
misto proiect / nice project :) if you want to talk about arduino, add my yahoo id: h3x_your_nightmare. i also have an arduino, uno in my case and i'm pretty newbie in this "bussiness" . anyway, good luck and greetings from Targu-Jiu, Gorj :D
could you plz mail me the folder 'radar.vb.zip' to vishal260191@gmail.com
your download wont work with ie9 maybe it will wit firefox
thanks i got the arduino radar but not the other ie says the file can not be downloaded
i've tried with mozilla 5 with chrome 12 and none of them have problems, you could try with one of these, if it does not work I will email you or upload these files to rapidshare
I just updated to firefox 5.0 and it says the source file can not be read
Genial!

I have two suggestions:
1) Add captions to the video.
2) Change tittle to this Instructable.