
How To Make An Arduino Radar System
This project works using Arduino & the main reason it's able to scan is due to the HCSR04 ultrasonic sensor


How The Project Works
The ultrasonic sensor. That's the main component
which detects the obstacle
The ultrasonic sensor emits ultrasonic waves whilst rotating 180°. The sensor rotates because it is stuck on top of the servo motor which rotates. If there is an object in front of the sensor, the ultrasonic sensor picks up this data and sends it to arduino which processes how to present this to the viewer on screen using the software 'Processing 3'
(This project gives you
a basic understanding of how military
radars work)
Codes & Connections
Now you may ask, why not use the arduino's serial monitor itself to show the detection.
That is obviously because arduino's software does not support presenting images, rather only basic data. Therefore, we use another software- 'Processing 3' installed and run the code
Connecting your breadboard is a breeze! Just place the positive terminal pins in their respective column, followed by the negative ones. For signal pins, refer to our tutorial for a clearer understanding. It's that simple!
Link To The Tutorial
(Circuit connection and codes given here)


What Does The Code Say?
There are 2 codes in this project-
This time, the arduino code isn't the main code. The Arduino code just gets the data from the ultrasonic sensor by first making the SG90 rotate 180° back and forth while the ultrasonic sensor reads the object distance and size. Arduino just grabs all of the data
Processing 3's job here is to
collect all the data and present
it in a smooth and organized manner.
Easy right? Absolutely Not
The software first has to receive all of the data from arduino without which it cannot work. After that, ahhh the presentation right? Well..... here we go
1. Deciding a font
2. It has to know your screen resolution
3. It has to know which COM Port you've connected the radar to
4. Then it has to draw the radar and for that, many other complications too
And this is not all
So Processing 3 is definitely not sleeping on it's couch
But, you need not worry about the code so much, as we have provided the link to the codes in our tutorial
Cost Cap Of The Project
The project can be made at a price of Rs. 1000(If you are able to find cheap resources)
01
Arduino Uno R3
Rs. 550
02
HCSR04 Ultrasonic Sensor
Rs. 250
03
SG90 Servo Motor
Rs. 200
04
Breadboard
Rs. 100-200(Depending on size)
You should typically buy from trusted services like Amazon, these prices which have been approximated to you are from Amazon
