I used this video to make this. I’ve been using these kind of projects to help me through mental health problems. Doing things like this help me forget about negative stuff and focus on making something cool. Thank you for this. It means more than you realise.
you should think about getting a 3D printer aswell. You can really sink in hours on fun projects were also your arduino can make some really fun things! good way to also learn circuitry. Can maybe help you alot of your well being!
@@Bradiant exactly. It is SONAR. Edit: You can even read the source code for this. distance = calculateDistance() And the function calculateDistance() uses the very sonar formula to compute distance if the duration is known by multiplying it with the speed of the particular sound used and dividing by 2 because it gets reflected to reach the "radar", travelling twice the same distance.
I spent 11 hours and could only come up with 1/100 of what you have displayed. It is a top of the line Sketch that I have seen so far , and very intuitive , making an autonomous robot has become fairly possible and simple . Thank you for sharing You are a gifted individual , Thank you
This is very cool! A couple of suggestions for similar projects - 1 - an Arduino *sonar*. Would be very cool to test on a local lake! 2 - an Arduino ground-penetrating radar. Would be awesome for learning about local geology and maybe even finding fossils!
Same lol i know how u feel, i wasted so much time on games instead of programming, now I'm 28 and wishing i would have started at 10 lol its gonna be a hard one to learn.
Love this project! I made a similar radar with 4 ultrasonic distance sensors in 4 directions and changed the servo to a stepper motor, and 3D printed the case.
Really cool project! Here's an idea for you; convert the sonic sensor to a lidar sensor. Lidar is much more accurate so in theory you would be able to map the room on one plane(unless you add another servo for vertical panning) by keeping track of what angle your sensor is facing (theta) and multiplying the sine and cosine of the angle by the distance measure to find the components of vector displacement from the sensor. Then you would have visible room dimensions mapped out!
The code you use to calculate the distance is what I found online, however if you put it in a for loop 100 times and average out the readings, it is far more accurate.
You projects are always out of the box. Perfect. Your processing tutorial 06 is not enough, wish you make more on using it, explaining the most important functions
Even though this has been online for 8 years or so this still looks cool and is a great project to practice data transfer through a COM port. I just built it for myself for fun. Thank you.
Simple and brilliant. Thank you very much for the video, you saved me a lot of work. And, of course, I'll give you credit (and publish the links to your site) on my class. Also, I apologize too for the geeks that felt the urgent need to remind you that it's a SONAR, not a RADAR. (SOuNd, not RADio Detection And Ranging)
+Papy Nova (Kamo) I think he used it to keep it simple. The servo can just be clamped to +/- and the third pin to a digital out of the arduino. The servo only needs a PWM signal which you can create with a plain arduino without any other ICs. For a stepper motor you need an IC/driver hardware which drives the motor which is basically the motor shield for arduino. You can also do some funky stuff with ICs on your own cause it draws too much power to directly source it from the digital or analog outputs.
Air temperature affects speed of sound but only a little per +/- 5C. Still, go measure outside when it is -10C or colder with formula for +20C indoors.
Great project. I works on MAC, so I had to modify a couple of instructions of the processing program. The first one related the communication port (myPort = new Serial(this, "/dev/cu.usbmodem1421", 9600); , and the second one related the font (myFont = createFont("Georgia", 32);. I used your second release of the Processing program, to adapt the system to the screen resolution. Everything worked fine. Thank you very much.
He put the title as "Radar" to get more people to watch the video, so he gets more money out of it. Proof of this can be found on his site. He names it Radar(sonar)
Got mine working by changing the font (i.e.Tools/Create Font) and changed it to in my case orcFont = loadFont("Brussels-Light-30.vlw"); Brill looks really nice
Next time use em impulse to determine objects. Metall can reflect em waves... you can abuse this to determine its direction and distance extremely accurate since it its em waves travel with speed of light.
Hi. What modifications do you think should be included to turn your radar into sonar project? I mean underwater presence sensor. Thanks and congratulations.
The problem with sonar/radar based on this kind of ultrasonic distance detector is very small angular resolution. This popular sonar is sensitive in angle about 30 degrees or something. So you cannot "see" things smaller than this.
Good work, Dejan! I wonder if it would be possible to program many of the ultrasonic sensors into an array to gain higher resolution so that an image could be shown? Also, what is the output wattage of the sensors?
I have a question, assuming it rotates 180 degrees and it detects an object in front of the sensor, HOW can i print the angle of the object on the servo?
Interesting project! But I'm a bit confused, how is this a Radar and not a Sodar (A Sonic detection version of the Sonic/Sound navigation Sonar)? I mean... it uses Sonic waves right? And not Radio waves? Or I'm I missing something? LIDAR = Light Detection and Ranging (uses electromagnetic radiation) RADAR = Radio Detection and Ranging (uses electromagnetic radiation) SODAR = Sonic Detection and Ranging (uses acoustic wave (aka Sound) Larger than 20 kHz Sound Waves are known as Ultrasonic) SONAR = Sonic/Sound Navigation and Ranging (uses Sonic and or Sound as it ranges through the whole frequency range (infrasonic->acoustic frequencies->ultrasonic) ... I could be wrong though... (which is why I wrote it as a question)
Thank you sir, l could also create the radar because of you.i learned so many thing from you as a beginner,keep this up,the way that you are demostrating is interesting.thank you again.:-)
Please everyone that is into this stuff please start playing wargames like gta San Andreas and make drones and tanks and wissile defence systems even electronic warfare and have rc maps and AI maps and even human vs ai matches
+Dejan Nedelkovski hello sir Wat if we want to add few things .. I mean Wat if any object is in the radar range it shows up/detected in the radar chart that you have made a
Hi Dejan. First thing - great tutorials. I follow your channel and I found here many interesting tips. I built similar robot to yours and I used your code to check how it works. I noticed that servo slows down from time to time. It does not move smoothly as in your video and tiny delays can be spotted. I think my servo is not damaged as it happens in random position. I read some tutorials and sometimes they reccomend voltage stabilisers. Do you think the voltage may be the problem?
Say you were making this for school, how much voltage would you need battery wise to power the arduino and a 3.5 inch lcd. Would be really helpful as I'm building this for a school project.
Браво Дејан! Не се познаваме ама дозволи да го изразам мојот восхит кон твојата работа! Случајно наидов на твојот профил. Имено, утрово добив известување по мејл дека некој од Јапонија станал мој „subscriber“ на мојот UA-cam канал. Немам навика да гледам кој се тие што стануваат „претплатници“ на мојот канал, но денес, ете, погледнав да видам кој е тој јапонец. На неговиот профил забележав дека неодамна гледал некое од твоите видеа на UA-cam. Го погледнав и јас и пријатно се изненадив кога видов дека си од Македонија, а разгледувајќи ги твоите други видеа, и твојата веб-страница видов колку интересни работи правиш! Уште еднаш БРАВО! Посакувам да има повеќе млади инженери како тебе во Македонија!
Que bien video amigo una pregunta para esto debes descargar algún tipo de librería esta? Y si es si me podrías decir cuales son y que versión usaste en el momento
Been trying for 2 days now, but cant get it to work :(. The Cervo rotates very slowly, tried reducing the delay on the algorithm again and again, but with no sucess :(
i like todo this using your other video where i posted this comment "can we display all serial communication on here? "port.write();/serialWrite();/Serial.println(); & radioWrite(); ?" i have a processing sketch i will like to use here and see my processing web camera in here lcd"
I was thinking of something similar but with more power to be used as a fishing probe. Those that emit the signals in 85 and 200 kilocycles I imagine are piezo electric microphones so you should not have much problem in placing it in contact with water. What do you think Have you thought about taking it beyond?
What is the maximal range of this prototype ? I will try to use it next week to get distances in real time. Is it easy to do it ? But I don't need the automatic rotation .
I used this video to make this. I’ve been using these kind of projects to help me through mental health problems. Doing things like this help me forget about negative stuff and focus on making something cool.
Thank you for this. It means more than you realise.
you should think about getting a 3D printer aswell. You can really sink in hours on fun projects were also your arduino can make some really fun things! good way to also learn circuitry. Can maybe help you alot of your well being!
@@mattlenn100 That's if people want to pay the price tag.
good job for finding alternate things to do shows great I.Q. much love from ohio
🤗
@@codingvio7383 printers are getting pretty cheap now
This is NOT a RADAR (RAdio Detection And Ranging) but a SONAR (SOund Navigation And Ranging).
Radar system operates in UHF or microwaves.
Radar works across the whole radio spectrum. See ITU FAT recommendations and look up over the horizon radar which uses HF.
@@electechyt Old but it says ultraSONIC right in the name. It uses sound waves making it Sonar.
looks like a radar to me
@@Bradiant exactly. It is SONAR.
Edit: You can even read the source code for this.
distance = calculateDistance()
And the function calculateDistance() uses the very sonar formula to compute distance if the duration is known by multiplying it with the speed of the particular sound used and dividing by 2 because it gets reflected to reach the "radar", travelling twice the same distance.
I spent 11 hours and could only come up with 1/100 of what you have displayed. It is a top of the line Sketch that I have seen so far , and very intuitive , making an autonomous robot has become fairly possible and simple . Thank you for sharing You are a gifted individual , Thank you
Stay blessed BRo
Hey 7 year old people
This is very cool!
A couple of suggestions for similar projects -
1 - an Arduino *sonar*. Would be very cool to test on a local lake!
2 - an Arduino ground-penetrating radar. Would be awesome for learning about local geology and maybe even finding fossils!
Great! It's works ...I'm 62 years old, and I am happy like a child...with this toy ...thanks!!!
I hope u still doing this stuff
I should have been doing this rather than playing ps3...
I should be too rather than playing cs
are you doing this now instead of ps4?
Same lol i know how u feel, i wasted so much time on games instead of programming, now I'm 28 and wishing i would have started at 10 lol its gonna be a hard one to learn.
You excited for the ps5 😂😂
@@jarno_r question 9
Love this project! I made a similar radar with 4 ultrasonic distance sensors in 4 directions and changed the servo to a stepper motor, and 3D printed the case.
Really cool project! Here's an idea for you; convert the sonic sensor to a lidar sensor. Lidar is much more accurate so in theory you would be able to map the room on one plane(unless you add another servo for vertical panning) by keeping track of what angle your sensor is facing (theta) and multiplying the sine and cosine of the angle by the distance measure to find the components of vector displacement from the sensor. Then you would have visible room dimensions mapped out!
chain3519 i need to understand this please contact me
How can I contact you to know more about this
As someone that is pretty new to arduino you make this very clear and accessible. Thank you!!!!
The code you use to calculate the distance is what I found online, however if you put it in a for loop 100 times and average out the readings, it is far more accurate.
You projects are always out of the box. Perfect.
Your processing tutorial 06 is not enough, wish you make more on using it, explaining the most important functions
Even though this has been online for 8 years or so this still looks cool and is a great project to practice data transfer through a COM port. I just built it for myself for fun. Thank you.
I have just built this as my first Arduino project. Thank you for posting, it is fantastic!
Best learning platform for everyone thanks to "How to Mechatronics"
Great project! I like how you built the code and described it. I look forward to recreating this project.
Thanks man you speak very good for me i am a spain teenager who has fourteen years and i can understand you, thanks for speak slowly
hey i need to understand this please please contact me
Even though your English isn't perfect, I can understand what you're saying. Keep learning! youre doing good!
Simple and brilliant. Thank you very much for the video, you saved me a lot of work. And, of course, I'll give you credit (and publish the links to your site) on my class. Also, I apologize too for the geeks that felt the urgent need to remind you that it's a SONAR, not a RADAR. (SOuNd, not RADio Detection And Ranging)
I don't know how to thank you. you are the best, keep up the good work
+Dejan Nedelkovski THANK YOU SO MUCH FRIEND :D
Well done compadre, the layout of the video was on point. Short, helpful and easy to understand.
Very cool. Now make one with stereoscopic rangefinders, so it can detect depth too :)
+Papy Nova (Kamo) I think he used it to keep it simple. The servo can just be clamped to +/- and the third pin to a digital out of the arduino. The servo only needs a PWM signal which you can create with a plain arduino without any other ICs.
For a stepper motor you need an IC/driver hardware which drives the motor which is basically the motor shield for arduino. You can also do some funky stuff with ICs on your own cause it draws too much power to directly source it from the digital or analog outputs.
woow, great idea... congratulations, it stayed amazing
Air temperature affects speed of sound but only a little per +/- 5C.
Still, go measure outside when it is -10C or colder with formula for +20C indoors.
My parents would be so proud... thanks man. You just got a new subscriber!
Beautiful project. Greetings from Italy!
Great project. I works on MAC, so I had to modify a couple of instructions of the processing program. The first one related the communication port (myPort = new Serial(this, "/dev/cu.usbmodem1421", 9600); , and the second one related the font (myFont = createFont("Georgia", 32);. I used your second release of the Processing program, to adapt the system to the screen resolution. Everything worked fine. Thank you very much.
Awesome project and great explanation. It's up and running on my desk now. Thanks!!
Jonas Werner hi how to make it display in our monitor
You can increase the resolution of the scan, by using a gear, but also increase the speed to compensate.
it's an active sonar not radar xP
If you tell me you love me, i'll tell you I love you too! ugh.
M R Gamer
Sounds kinda gay. "you stroke me off and I'll stroke you off" 😂
Assuming both are male.
NiceWhenEarned RudeMostlyElse i love me
He put the title as "Radar" to get more people to watch the video, so he gets more money out of it.
Proof of this can be found on his site. He names it Radar(sonar)
Got mine working by changing the font (i.e.Tools/Create Font) and changed it to in my case orcFont = loadFont("Brussels-Light-30.vlw");
Brill looks really nice
Just want to let you know that this is a sonar because it uses sound waves instead of electromagnetic waves, like a radar does.
Cool project, and very nice editing of the video!
Thanks for the tutorial! I actually managed to make it 3D and then visualize it in Unity. Check out the video if you want to see how it turned out!
Could you send the link?....Thanks
Next time use em impulse to determine objects. Metall can reflect em waves... you can abuse this to determine its direction and distance extremely accurate since it its em waves travel with speed of light.
...very cool project and simply and intuitively demonstrated. Thanks!
coming late to the party, but thanks mate ! really enjoyed building my first arduino project !
It's never too late, I'm glad you enjoyed it! :)
I am Russian and I understood this video! Wow!
Continue na pegada você vai longe, valeu mesmo!
Hi. What modifications do you think should be included to turn your radar into sonar project? I mean underwater presence sensor. Thanks and congratulations.
The problem with sonar/radar based on this kind of ultrasonic distance detector is very small angular resolution. This popular sonar is sensitive in angle about 30 degrees or something. So you cannot "see" things smaller than this.
I love you sir, This is what I was looking for, Thank you.
- Thumbs Up
Developed a great electronic project for beginners thanks a lot.
Fun project...I'm going to a similar project. Thanks for the idea!
Good work, Dejan! I wonder if it would be possible to program many of the ultrasonic sensors into an array to gain higher resolution so that an image could be shown? Also, what is the output wattage of the sensors?
I have a question, assuming it rotates 180 degrees and it detects an object in front of the sensor, HOW can i print the angle of the object on the servo?
Interesting project!
But I'm a bit confused, how is this a Radar and not a Sodar (A Sonic detection version of the Sonic/Sound navigation Sonar)?
I mean... it uses Sonic waves right? And not Radio waves? Or I'm I missing something?
LIDAR = Light Detection and Ranging (uses electromagnetic radiation)
RADAR = Radio Detection and Ranging (uses electromagnetic radiation)
SODAR = Sonic Detection and Ranging (uses acoustic wave (aka Sound) Larger than 20 kHz Sound Waves are known as Ultrasonic)
SONAR = Sonic/Sound Navigation and Ranging (uses Sonic and or Sound as it ranges through the whole frequency range (infrasonic->acoustic frequencies->ultrasonic)
... I could be wrong though... (which is why I wrote it as a question)
Hey, great work. I'd like to know thw beam width of the sensor. Thnx is advance.
This is brilliant what I would like to know is, could I use an Arduino screen and power supply to make it portable? Thanks in advance Nick.
Revisiting the "radar" that is a sonar. A reasonable project for my pupils.
Thank you sir, l could also create the radar because of you.i learned so many thing from you as a beginner,keep this up,the way that you are demostrating is interesting.thank you again.:-)
It's a sonar.
Very good!
How can we connect a monitor?
Imma make a little "iron dome" to protect my workspace from paper airplane drones XD
fantastico proyecto amigo digno de un ingeniero, ¿pero sirve para metales mas pequeños?
Please everyone that is into this stuff please start playing wargames like gta San Andreas and make drones and tanks and wissile defence systems even electronic warfare and have rc maps and AI maps and even human vs ai matches
Really cool project! Thank you for sharing!
Very interesting and perfect explanation
+Dejan Nedelkovski hello sir Wat if we want to add few things .. I mean Wat if any object is in the radar range it shows up/detected in the radar chart that you have made a
Hi Dejan. First thing - great tutorials. I follow your channel and I found here many interesting tips.
I built similar robot to yours and I used your code to check how it works. I noticed that servo slows down from time to time. It does not move smoothly as in your video and tiny delays can be spotted. I think my servo is not damaged as it happens in random position. I read some tutorials and sometimes they reccomend voltage stabilisers. Do you think the voltage may be the problem?
What is the maximum range for this sensor? Is it only for the 21"? Or will it go further than that?
your tutorials for arduino very good
Nice code realisation!
Can a company use your idea to teach in schools?
GREAT. now add sound like the Alien movie.
It would be nice to extend this to detect soft matter or water. How do the values change in the radar if you put some objects there filled with water?
+Dejan Nedelkovski Assume you have water vapour between two radars. I know its concentration can be approximated.
how did you connect it to your tv? did you use some jacks or wires something? sorry im a complete beginner
in which ide have you written the code for displaying the radar system?
great work....cheers
Say you were making this for school, how much voltage would you need battery wise to power the arduino and a 3.5 inch lcd. Would be really helpful as I'm building this for a school project.
+Dejan Nedelkovski would I need to programme any differently to get it to display onto the lcd?
Very, very cool project I am new to Arduino and this looks like a nice little project I might do after I get some experience. Thanks.
love the video . was wondering wats the range on the sensor ?
Thank you
Браво Дејан! Не се познаваме ама дозволи да го изразам мојот восхит кон твојата работа! Случајно наидов на твојот профил. Имено, утрово добив известување по мејл дека некој од Јапонија станал мој „subscriber“ на мојот UA-cam канал. Немам навика да гледам кој се тие што стануваат „претплатници“ на мојот канал, но денес, ете, погледнав да видам кој е тој јапонец. На неговиот профил забележав дека неодамна гледал некое од твоите видеа на UA-cam. Го погледнав и јас и пријатно се изненадив кога видов дека си од Македонија, а разгледувајќи ги твоите други видеа, и твојата веб-страница видов колку интересни работи правиш! Уште еднаш БРАВО! Посакувам да има повеќе млади инженери како тебе во Македонија!
Can you write the material list?
Great tutorial,
first time I have used processing.
I have modified the code to make the radar resizable
where can I post it so others can use it?
sure, what is your email address
+stuartmp1974 can you send me the resizable code ?
my mail mikuwabakabaka@gmail.com
+stuartmp1974 can you send me too (nossreyxt919@gmail.com)
What about a tutorial to turn on a LED over a simple Smartphone application with a Arduino WLAN Modul? This would be awesome!
Man !!! You r awesome !!!!
Just a quick question !! How can I maximum the measure distance ?? Mine can only get up to 40cm
Great project... recording the movements makes it interesting. Coding well explained, I will give this shot! Thanks bro
Hello, thank for the great project. If I want range the range from max 40cm to 200cm how should I change on the code?
Bravo! *applause* What a neat thing to do with an Arduino. I have to try this. And I never knew about Processing.org. Thank you!!
great job man! this is fascinating, how long does it took you to prep this up?
i see, that's awesome! keep up on your great ideas! XD
Que bien video amigo una pregunta para esto debes descargar algún tipo de librería esta? Y si es si me podrías decir cuales son y que versión usaste en el momento
Excellent representation. Very impressive.I am looking example of exactly this.Thanks.
can we use an arduino uno instead of mega for this project?????????
Yes, you can
Fantastic craftsmanship! Thank you for your contribution to the community. +++++
Hello ! Cool project. Thank you for your best effort. But I would like to ask you if you have C# version of this project instead of Processing?
Been trying for 2 days now, but cant get it to work :(. The Cervo rotates very slowly, tried reducing the delay on the algorithm again and again, but with no sucess :(
Looking awesome! But didn't start anything yet now.
i like todo this using your other video where i posted this comment
"can we display all serial communication on here?
"port.write();/serialWrite();/Serial.println(); & radioWrite(); ?" i
have a processing sketch i will like to use here and see my processing
web camera in here lcd"
This was awesome! Thanks for making the video.
I was thinking of something similar but with more power to be used as a fishing probe. Those that emit the signals in 85 and 200 kilocycles I imagine are piezo electric microphones so you should not have much problem in placing it in contact with water. What do you think Have you thought about taking it beyond?
What is the maximal range of this prototype ? I will try to use it next week to get distances in real time. Is it easy to do it ?
But I don't need the automatic rotation .
I have subscribed! You are now my sensai
Hi Sir! plz create this project with ESP 32 or ESP 8266 instead of Arduino .Thanks
Nicely done! Thank you for sharing!
Amazing project. GREAT job man !!
sir, can we do this using a stepper motor instead of a servo motor?
and also can we not use the arduino and use a electronic circuit to drive this?
what kind the viasualization use? visual basic, java or what? can share the code with us
what a amazing project, thanks for sharing!
hey good job! But i have a question, why don't you use a stepper motor for a 360° vision?
Wie geil is das denn 😊 damit kannste ne funktionierende version vom lebenszeichenscanner aus dem Film alien machen
whether the image output of the sonar is an application or it is made by the source code?
One question... Can i see with this what is behind the walls, that would be soo cool
No, it's SONAR, It is not even RADAR nor is it X-RAY
Is it possible to make this project using normal motor without using stepper motor. Please reply asap. Thank you sir.