How to Make a Simple Arduino Ultrasonic Radar System ..




Introduction: How to Make a Simple Arduino Ultrasonic Radar System ..

About: Mechatronics engineer Author ( Arduino + Visual Basic 6.0: Make your own software to control Arduino Robots ) Twitter account @ujashpatel

i see many project on net about ultrasonic radar system ....finally i made this here i share this project with you which is easy to make with ultrasonic sensor arduino and servo motor ....follow the step ...

part to be required

1.arduino microcontroller uno

2. servo motor

3. ultrasonic sensor

4.basic stucture to mount

5. jumper wires

6.arduino ide

7.processing 2.1 ide

download arduino ide

download processing org.

Step 1: Make a Bread Board Circuit and Rigid Structure to Mount Arduino Board ..

Arduino and processing program

Download program from

Go to Learn page - Make Arduino Radar

first upload the arduino program to arduino board

open processing ide ....

copy past the program i give here for processing .....and press play button ...

if everything is ok then you will see the radar screen as shown in above figure.....

Step 2: Demo Video...



    • Fix It! Contest

      Fix It! Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest

    21 Discussions


    8 months ago

    I cant get the processing code to display anything but a static image it doesn't show anything even when i put my hand in front of the sensor

    the processing software isn,t working pls reply soon

    that is ideal speed i used to make this . if you increase the speed of servo motor then you will not get accurate graph .

    heyya there,we used your coding and technique to make this radar but I didn't understood the last section of coding for processing ide. I f possible could you please send me a more elaborative version of comments for that piece,asap.

    1 reply

    Hello please specify the Position of programming you didn't understand . or mail me your specific query to

    Thanks for sharing this amazing project! I do have one question though:

    Is it possible to display the radar you made on your phone using a bluetooth module?

    1 reply

    everything is possible but the question is same how ? . you can try to plot a graph on visual basic with 2 Hco5 I am doing something similar to this . you will get intractable or complete guidance on my blog after completion of project :)

    Excuse me ,if i want to use two of ultrasonic or more than 2 by to show on radar system which i will to use IDE Processing and IDE Arduino program in working . What should i do. advise me please, thank you.

    1 reply

    Hello you can use 2 ultrasonic sensor but that will be much more complicated . it will take lots of time to interface both and result will be same . because you can only access one serial command at a time so only one will give you graph :)

    arduinoport = new Serial(this, Serial.list()[0], 9600);

    My arduino uno r3 is connected to com6, so i changed the [0] to [6], but it doesn't i fix it?

    3 replies

    hello please change com port of Arduino from device and printer property .

    I'm not familiar with processing but I assume it's quiet the same as in every other programming language. The thing you get by calling Serial.list() is an array and you address thingsis this array like this: "example_array[0]" This will give you the first entry of the list called example_array.

    Now in your case calling the function Serial.list() returns such a list. Let's say something like this: {"COM1", "COM2", "COM6"} Now in order to select the port "COM6" it would be Serial.list()[2] because if you start counting from zero the third entry(COM6) is addressed by the number 2.

    I hope I could help even though the response comes very late ^^

    Hi, This is so far the closest I've seen to displaying ultrasonic visually. What I am trying to do is make my own Ultrasound Device, similar to the machines that are used in hospitals to see a baby in someone's belly. Is this even possible with these components or am I looking for something that is not available?

    please share the program for arduino ide and programming ide thank you in advance.

    Error, disabling serialEvent() for COM5


    please help me with this

    Error, disabling serialEvent() for COM5


    Error, disabling serialEvent() for /dev/cu.usbmodemfa131