Build Your Own DIY Radar System Using Arduino: A Step-by-Step Guide!
Vložit
- čas přidán 30. 07. 2024
- In this tutorial, we'll walk you through step by step how to assemble the components on a breadboard and how to program the Arduino board. We'll use the Arduino IDE to write the code that controls the servo motor and the ultrasonic sensor. By the end of this tutorial, you'll have a fully functional radar system that can detect objects and display their distance on the serial monitor.
*THIS IS A SONAR NOT RADAR
Component Required:-
1. Arduino Uno
2. Servo Motor
3. Breadboard
4. Ultrasonic Sensor (HC-SR04)
5. Jumper Wires
Components Link:-
1. Arduino Uno:-www.amazon.in/Arduino-UNO-boa...
2. Servo Motor:- www.amazon.in/ApTechDeals-Mic...
3. Breadboard:- www.amazon.in/Generic-Element...
4. Ultrasonic Sensor:- www.amazon.in/Robotbanao-HC-S...
Codes:-
Arduino Code :- drive.google.com/file/d/177iK...
Processing Code :- drive.google.com/file/d/1jQ9G...
CIRCUIT DIAGRAM :- drive.google.com/file/d/1aEWd...
My Website:-
scicraft90.wixsite.com/my-sit...
If you're interested in learning more about Arduino projects, be sure to subscribe to our channel for more exciting projects like this one. We hope you enjoy building your own DIY radar system and exploring the endless possibilities of Arduino!
FOLLOW ME:-
- Instagram:- / scicraft9
- Subscribe My CZcams:- / @scicraft
Thank you For Watching!! - Věda a technologie
Thanks for sharing! Really appreciate.🥰
Thank you so much for the Super Thanks! Your support truly touches my heart and boosts my confidence to keep creating great content
tried it and worked completly fine
Nice video shot, thank you for sharing it, keep it up :)
Love the smoky bread-board and quite slow.. add an ASCI and more radar sensors (receivers)
Id be interested to see something like this upscaled for more advanced radar such as doppler. Navigational doppler radar would be neat.
Yeah, I've been researching that too, aiming to create an advanced radar system. If you have any valuable information on this topic, please share. It would help me a lot. Btw thanks for the comment!
Thank you! It worked!
Glad it helped!
How to make a 360° one ?
life saverrrrrr
amazing only amazing thank you
Thank you so much 😊
i think you should clean your breadboard once in awhile
Hi, it was an interesting project.
I just had one question, if I wanted to shine a laser light on an obstacle when the radar detects it
How will the code changes?
any ideas PLEASE on how to add 2-3 random targets on the screen using radars ecuation ?( just for the code only, not for the entire project with components and stuff)
can you explain that to me a little?
Hello and thank you a lot! What I mean is a short simulation of a radar screen that will show or not show some targets(distance, radar cross section or even received power from target) depending on the parameters introduced by the user.(also parameters of the radar range equation, antenna gain, wavelength, transmitted power, etc) So in the end there will be displayed only the targets that fulfill the formulas requirements. What do you think? Thank you a lot ! ❤️
Can you email me this with a straightforward and clear explanation? My Gmail is scicraft90@gmail.com
Hello, how can I make the radar stop spinning without having to disconnect it from my PC port?
instagram.com/scicraft9/ - This is my instagram ID , DM me
Thanks 🤞🏽
Welcome❤️
greatest of all timeeeeeeeeeeee
Thanks bro❤️
Bro my motor is not rotating what is the problem
so how do i make it do things such as turn on a light when an object is detected or play a sound or start a countdown ?
To achieve that, you simply need to modify the code
My radar is showing all red even when there is no object in front of it.
Actually, this problem also happened to me while making this project. After trying everything possible, I came to realize that my ultrasonic sensor was faulty. After replacing it with a new sensor, then everything is working fine
how do i make my servo go as fast as your's was cause mine is moving a bit slow
You can reach me at scicraft90@gmail.com or connect with me on Instagram using the handle instagram.com/scicraft9/
got it to work but its moving very slow, how do i fix that?
It seems like there might be an issue with the voltage
I am doing in Mac Book and my port is /dev/c..... what should I do
instagram.com/scicraft9/
Dm me
I have a problem with the green signal thing it doesn’t move and I tried everything 😢 what shall I do
instagram.com/scicraft9/ - This is my instagram ID , DM me!
please help how to link the arduino IDE and the processing enviroment
You don’t have to link anything basically there are two codes - one for Arduino Uno and the other for graphical representation. To upload the code to the Arduino board, you'll need Arduino IDE. And for the graphical representation, you'll need Processing software
😍😍
interesting that you choose to mute the actual recorded audio. This isn't radar. This is sonar, and I am willing to bet that you can hear an audible beeping form the speakers.
Yes bro this is a sonar, I had also mentioned in the video
How can i use the data from the ultrasonic and make it in use not just displaying it
How do you want to use it??
my radar is showing everything red but there is no object can you help me please
instagram.com/scicraft9/ - This is my instagram ID , DM me
Hey, i built the radar right and so was the code but the board just doesnt turn on (it turns on a very low power led that indicates it is turned on but barely) and it doesnt do anything
instagram.com/scicraft9/ - This is my instagram ID , DM me!
Im sorry, i figured it out. Turns out the port on my pc didns supply enough power.@@SciCraft
My sensor is moving slowly. What seems to be the problem?
My olso
Can you please send me the circuit diagram for this.
instagram.com/scicraft9/
Dm me
i got this code in arduino ide: Failed uploading: uploading error: exit status 1
To resolve the issue, I'll need pictures of the setup and the error. You can easily reach me at scicraft90@gmail.com or connect with me on Instagram using the handle instagram.com/scicraft9. we can work together to solve this problem.
goatttttttt
thank youuuuuuuuuuuuuuuuuu
Always Welcomeeeeee❤️☺️
hey, can u tell me how to change the distance range to 2 meters or 1 meter
yes, replace this line of code
For a range of 2 meters:
distance = duration * 0.034 / 2;
For a range of 1 meter:
distance = duration * 0.017; // Since we want the direct one-way distance,
@@SciCraft thanks
also please send me your discord or instagram i have a doubt i will send picture
@@user-yg1kk4ms8f instagram.com/scicraft9/
Which program needs for code?
So, there are two codes - one for Arduino Uno and the other for graphical representation. To upload the code to the Arduino board, you'll need Arduino IDE. And for the graphical representation, you'll need Processing software
hello can we do same project using stm32, if yes can u give code for it
instagram.com/scicraft9/ - This is my instagram ID , DM me!
what is the processing software? what is it's name?
Its name is Processing.
🥺 i really need help how to add sensors gas? is it possible please helppp me
instagram.com/scicraft9/ - This is my instagram ID , DM me!
Does it also work with an arduino nano?
Yep, it will work
@@SciCraft thanks
Hi! what type of connector are you using for the servo motor?
Can you please clarify what you are trying to say?
@@SciCraft like what type of connector are you using to connect the servo motor to the arduino? 2:33
Female-Female jumper wires
@@SciCraft Ok. Thanks!
Sonar. Radar uses radio, not sound.
Yes,you are right bro
But most people of the think it is a radar
T.v. antennas used to tell me when someone was walking up to my door lol...
@@SciCraftame with metal detectors but they use Eddie currents to pick up metals in those and some have actual sonar as well ....when i think of Radar i think of m.a.s.h. lol....
@@SciCraftnot if you use the word sonar they wouldn't.
I keep getting the port busy message what to do?
This happens when you try to send an Arduino code to a board. In this case, it is because Processing must be running therefore its using the port. So if you get this message, remember to stop the Processing code before you send the code in Arduino.
Hope it helps.
How can I change duration
Which duration?
How to add a screen to display that radar
Actually, I'm working on this radar with a separate display, and I will upload soon. Make sure to subscribe to the channel.
Bro my servo motor is not rotating but vibrating and it's showing red in radar when there is no object also pls tell fast only few days for the tec fair
Pls 🥺 help
@@naitiksoni907 Please contact me at my Gmail: scicraft90@gmail.com. We will solve your problem together
mantap buat steammi sama pak priyo
How to add serial port
instagram.com/scicraft9/ - This is my instagram ID , DM me
IS good see life of inside
Is there a way to stop the servo sensor from spinning once it detects an object?
Yes, it is possible instagram.com/scicraft9/ - This is my Instagram ID, DM me
🥺💬 I think SciLab release code with examples of many application, I used to work with MatLab, SciLab, and scientific program there is more application from location-based. Radar is not applicable for detecting objects only but the information you can align the shape of the object and tell about how objects are related on reflection information and is it possible with assumption. Radar can help the investigation to evidence for investigation or attachment more than catch the flying bird only.
thank you so much bro for sharing such a important infomation ❤
its good project, but the circuit diagram and video is different,,
The circuit diagram is the same, but the way of connecting things might be different
why is mine moving really slow
It's a voltage issue
how far it can detect?
Upto 40cm
can't it move the reach away anymore?
@@SciCraft
Can you send me processing code in the comment
instagram.com/scicraft9/
Dm me
radar or sonar ?
It’s a sonar because the ultrasonic sensor uses sound waves to measure distance and locate the object and Radar uses radio waves to detect and locate objects but sorry to mention it as radar because most people think it is radar and search this project as how to make radar using Arduino so that's why
Well it may 'technically' be a SONAR, but.... I think focusing on that fails to recognise the really good video. It takes ages to produce quality videos. Who gives a shizzle whether it's radio waves or sound waves (Yo' momma??).... exactly! The process is the same anyway! If you'd said "Build your own SONAR" then some daft Next Tuesday would comment "But we don't all live in submarines".
Great video, keep the faith!!!
Thank a lot man for your understanding. I truly appreciate it.
how to install processor
can you tell me
Go to this link processing.org/ and download it
The parseInt(String) function does not exist.
Gives a fault
In the code ?
instagram.com/scicraft9?igshid=MzRlODBiNWFlZA== dm me on instagram
@@SciCraft 47 and 48 processing
@@taylancelik8372 Same problem here. Did you solve the problem. Sorunu çözebildiniz mi hocam.
@@CrimsonRoseBDO bayağı bir uğraştım ama radar görüntüsü var servo hareket ediyor fakat yesil ve kırmızı göstergeler yok onlarda kodda integerler fakat hata alıyorum hala.
bang kenapa pas di running kok not responding ya
Okay, you can Gmail me:- scicraft90@gmail.com or here is my Instagram ID:- instagram.com/scicraft9/, contact me.
Can u send the code please ❤
Codes:-
IDE:-drive.google.com/file/d/177iKPwRGpDglTV7PG5hAgFL8iY_Jm6EP/view?usp=share_link
Processing:- drive.google.com/file/d/1jQ9G55sKmw-xedU3e3QEJNCIltC_npbP/view?usp=drive_link
my processing software is not working it pls help
What is the exact issue?
@@SciCraft every time i start any code it starts and after 2 mins it says not responding and it closes
@@AwesomeArnav-ex5li I need to see some video of the issue so I can understand exactly what's happening. You can share the videos with me through my Gmail at scicraft90@gmail.com
@@SciCraft the radar project you showed that is working but its not giving the out put on he processing application
did u find anything tomorrow is my competition pls help
Isn't this actually a sonar?
How can I contact you?
This is my email - scicraft90@gmail.com
isn't that a sonar sensor not a radar sensor
How you did this voice
In Microsoft clipchamp video editor
:) hi
Hello 👋
it is getting HOT WHAT I DO?????
Is your Arduino board overheating?
@@SciCraft yeeeees!
@@SciCraft what i și wrong and
@@SciCraft is
And processing 4 i downloaded and my PC tells "app not found"
is the jumper wires a male-male or female-female?
I had used all types of jumpers.
hello brother I followed your step but my radar is not rotating plz help
instagram.com/scicraft9/ - This is my instagram ID , DM me
Same bro
This is not radar…
For this is a sonar but most of people think this is a radar and search for this
@@SciCraft right, which makes this misleading AF…
@@SciCraft No, most people search for radar, and you trick them into thinking it's radar by not including the recorded sound and by misnaming the video as "Build Your Own DIY Radar System Using Arduino: A Step-by-Step Guide!" No where do you say it's sonar. The only hint we get of it is in the parts list "ultrasonic sensor".
You Fail! 😂😂. People are so ready to battle. Great video. I made this my first project. Turned out perfect. Thanks You!