loading

In this project we are going to make a simple radar to detect obstacles.
Range depends on the range of the Ultrasonic sensor we used (in this project : 3 meter) .

Step 1: Components

Components :

1 - Arduino Uno
2 - Ultrasonic Distance Sensor ( link : https://www.parallax.com/product/28015).
3- Servo Motor.

Step 2: Wiring and Connections

1- Connect Ultrasonic sensor (5V and GND) to Arduino (5V and GND).
2- Connect Ultrasonic sensor (SIG) to Arduino (Digital pin 8).

3- Connect Servo motor (5V and GND) to Arduino (5V and GND).
4- Connect Servo motor (SIG) to Arduino (Digital pin 9).

5- Connect Arduino Uno to your Computer using USB cable.

Step 3: Coding

There are two code files attached in this step :
The first one for Arduino and the other of MATLAB.

for Arduino code :
you don't need to modify it , just upload it on Arduino.

for MATLAB code :
you need to modify line 28 ( s1 = serial('COM12'); )
to your new com port # .

NOTE : Before closing MATLAB, close the serial port by writing "s1.close()" in MATLAB workspace.

<p>Can you make the radar sensor thing screen show up with Arduino? I've tried uploading the Arduino code to my Arduino Uno, but am not sure how you view the radar using Arduino. I have also tried looking at the Arduino serial monitor. </p>
<p>Great! here's mine: <a href="https://youtu.be/Djrz5XJqu10?list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5-" rel="nofollow">https://youtu.be/Djrz5XJqu10?list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5-</a></p>
<p>project in matlab I do not work properly you can help me...?</p><div>if you could e-mail me oke litang akonwandy@gmail.com</div>
<p>if you can help me in the face a small problem in matlab...?</p>
<p>I WANT TO USE HCSR04 </p><p>PLEASE HELP ME IN CONNECTING WITH ARDUINO</p>
<p>need it yet?</p>
<p>I also want. You've done it yet?</p>
<p>hello.where is the coding for visual?</p>
<p>Hey, </p><p>Nice work there. I like to know if the rotation can be 360' and will it work as same. Can it calculate the distance of objects it pick up too?</p>
<p>Mines still very much work in progress. I am using rPi, got it working through Python and am now trying to port over to Mathematica.</p><p>Ill post updates as and when I get it working</p>
<p>how do i get the my computer to display the radar</p>
<p>hey, when i did the project seeing your site, there was a problem with the speed. the speed of my servo motor while rotating is toooooo slow. how would i solve this problem. please give me a correct suggestion because i need to do it for my science fair. hope for your fast response</p>
<p>Hello, i have a mac, and how do i do to know what its my port#???</p><p>Thanks</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
<p>can you tell me y proxy is needed</p>
nice one
how would you increase the range from 3 meters?
<p>it depends on the range of the Ultrasonic sensor<br>you can use another type</p>
<p>Can i use sr04 instead?</p>
<p>very good</p>
<p>Is there any other option instead of MATLAB?</p><p>Can anyone please guide me to use the codes in an easier way?</p><p>My email is: emailtomajidwahab@gmail.com</p>
<p>Awesome project!</p><p>Can I use SCILAB instead of MATLAB? Is there any change needed?</p>
<p>great project </p><p>i wanna know how do you installed ultrasonic </p>
<p>excuse me, i want to ask about this part &quot;Before closing MATLAB, close the serial port by writing &quot;s1.close()&quot; in MATLAB workspace.&quot; </p><p>honestly, i can't use matlab, but i want make this one, can you help me?<br>thanks</p>
I live it. Great write up
<p>Like the sensor from Aliens, &quot;they're outside the door!&quot;</p>
<p>So cool! Thanks for sharing! </p>

About This Instructable

34,773views

173favorites

More by ahmedelsayed93:Making Radar Using Arduino, Ultrasonic sensor, and MATLAB 
Add instructable to: