Arduino Radar Project

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 807

  • @adultingishard
    @adultingishard 5 років тому +132

    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.

    • @mattlenn100
      @mattlenn100 5 років тому +8

      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!

    • @codingvio7383
      @codingvio7383 4 роки тому +1

      @@mattlenn100 That's if people want to pay the price tag.

    • @jeffcarpenter7721
      @jeffcarpenter7721 3 роки тому +3

      good job for finding alternate things to do shows great I.Q. much love from ohio

    • @blurredlogic916
      @blurredlogic916 3 роки тому

      🤗

    • @awwomegrasscalledalfalfa6437
      @awwomegrasscalledalfalfa6437 2 роки тому +1

      @@codingvio7383 printers are getting pretty cheap now

  • @oficinasuarez4313
    @oficinasuarez4313 5 років тому +223

    This is NOT a RADAR (RAdio Detection And Ranging) but a SONAR (SOund Navigation And Ranging).
    Radar system operates in UHF or microwaves.

    • @electechyt
      @electechyt 5 років тому +10

      Radar works across the whole radio spectrum. See ITU FAT recommendations and look up over the horizon radar which uses HF.

    • @Bradiant
      @Bradiant 4 роки тому +6

      @@electechyt Old but it says ultraSONIC right in the name. It uses sound waves making it Sonar.

    • @amelliamendel2227
      @amelliamendel2227 4 роки тому +1

      looks like a radar to me

    • @Mayank-mf7xr
      @Mayank-mf7xr 3 роки тому +2

      @@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.

  • @DevineIshaq107
    @DevineIshaq107 9 років тому +30

    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

  • @gaius_enceladus
    @gaius_enceladus 2 роки тому +18

    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!

  • @guillermoisidoro4060
    @guillermoisidoro4060 8 років тому +2

    Great! It's works ...I'm 62 years old, and I am happy like a child...with this toy ...thanks!!!

    • @uuyyfdd
      @uuyyfdd 9 місяців тому

      I hope u still doing this stuff

  • @gunfighter3890
    @gunfighter3890 7 років тому +268

    I should have been doing this rather than playing ps3...

    • @dragon_warrior_
      @dragon_warrior_ 5 років тому +1

      I should be too rather than playing cs

    • @jarno_r
      @jarno_r 5 років тому +16

      are you doing this now instead of ps4?

    • @tylerlooney8058
      @tylerlooney8058 4 роки тому +7

      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.

    • @yashjohnas8037
      @yashjohnas8037 4 роки тому +4

      You excited for the ps5 😂😂

    • @manthankumar8764
      @manthankumar8764 3 роки тому +1

      @@jarno_r question 9

  • @ngh3550
    @ngh3550 6 років тому +8

    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.

  • @chain3519
    @chain3519 8 років тому +14

    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!

  • @josephkitchen3059
    @josephkitchen3059 3 роки тому +2

    As someone that is pretty new to arduino you make this very clear and accessible. Thank you!!!!

  • @hippopotamus86
    @hippopotamus86 7 років тому

    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.

  • @hatem0
    @hatem0 2 роки тому +2

    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

  • @wing2999
    @wing2999 8 місяців тому

    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.

  • @RadioAmateurUK
    @RadioAmateurUK 8 років тому +1

    I have just built this as my first Arduino project. Thank you for posting, it is fantastic!

  • @muhammadwaseem9050
    @muhammadwaseem9050 4 роки тому

    Best learning platform for everyone thanks to "How to Mechatronics"

  • @tomaims
    @tomaims 5 років тому +5

    Great project! I like how you built the code and described it. I look forward to recreating this project.

  • @pablofernandezsilva8537
    @pablofernandezsilva8537 8 років тому +10

    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

    • @georgenaseef261
      @georgenaseef261 7 років тому

      hey i need to understand this please please contact me

    • @fusiondew
      @fusiondew 6 років тому +3

      Even though your English isn't perfect, I can understand what you're saying. Keep learning! youre doing good!

  • @JorgeDo
    @JorgeDo 8 років тому +1

    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)

  • @jin5632
    @jin5632 9 років тому +26

    I don't know how to thank you. you are the best, keep up the good work

    • @emtobo
      @emtobo 9 років тому

      +Dejan Nedelkovski THANK YOU SO MUCH FRIEND :D

  • @ryanberry8974
    @ryanberry8974 7 років тому +1

    Well done compadre, the layout of the video was on point. Short, helpful and easy to understand.

  • @illusivec
    @illusivec 9 років тому +1

    Very cool. Now make one with stereoscopic rangefinders, so it can detect depth too :)

  • @burritotrap
    @burritotrap 9 років тому

    +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.

  • @luiscesaremanuelli
    @luiscesaremanuelli 9 років тому +24

    woow, great idea... congratulations, it stayed amazing

  • @buzzwerd8093
    @buzzwerd8093 7 років тому

    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.

  • @ianjia679
    @ianjia679 4 роки тому +3

    My parents would be so proud... thanks man. You just got a new subscriber!

  • @Azimo89
    @Azimo89 2 роки тому

    Beautiful project. Greetings from Italy!

  • @orlandorodriguez3408
    @orlandorodriguez3408 7 років тому +1

    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.

  • @jonaswerner3292
    @jonaswerner3292 8 років тому +3

    Awesome project and great explanation. It's up and running on my desk now. Thanks!!

    • @wildanazlan2564
      @wildanazlan2564 5 років тому +2

      Jonas Werner hi how to make it display in our monitor

  • @LOCKSHADES
    @LOCKSHADES 2 роки тому +1

    You can increase the resolution of the scan, by using a gear, but also increase the speed to compensate.

  • @wrthndr69
    @wrthndr69 9 років тому +193

    it's an active sonar not radar xP

    • @nicewhenearnedrudemostlyel489
      @nicewhenearnedrudemostlyel489 7 років тому +4

      If you tell me you love me, i'll tell you I love you too! ugh.

    • @gunfighter3890
      @gunfighter3890 7 років тому +3

      M R Gamer
      Sounds kinda gay. "you stroke me off and I'll stroke you off" 😂

    • @buzzwerd8093
      @buzzwerd8093 7 років тому +2

      Assuming both are male.

    • @raidzor5452
      @raidzor5452 7 років тому

      NiceWhenEarned RudeMostlyElse i love me

    • @verylongchannelhandle
      @verylongchannelhandle 7 років тому +3

      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)

  • @huwroberts3593
    @huwroberts3593 9 років тому

    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

  • @frodeflem9353
    @frodeflem9353 7 років тому

    Just want to let you know that this is a sonar because it uses sound waves instead of electromagnetic waves, like a radar does.

  • @sallerc
    @sallerc 9 років тому +12

    Cool project, and very nice editing of the video!

  • @piemagaming4183
    @piemagaming4183 6 років тому +1

    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!

  • @onlymyrailgununknown2960
    @onlymyrailgununknown2960 5 років тому

    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.

  • @josecunha731
    @josecunha731 8 років тому +2

    ...very cool project and simply and intuitively demonstrated. Thanks!

  • @cmed9680
    @cmed9680 4 роки тому

    coming late to the party, but thanks mate ! really enjoyed building my first arduino project !

  • @КонстантинК-г7ю

    I am Russian and I understood this video! Wow!

  • @FernandoSantos-nz3ku
    @FernandoSantos-nz3ku 2 роки тому +1

    Continue na pegada você vai longe, valeu mesmo!

  • @joseantonioacostamartinez8858
    @joseantonioacostamartinez8858 7 років тому +2

    Hi. What modifications do you think should be included to turn your radar into sonar project? I mean underwater presence sensor. Thanks and congratulations.

  • @zakrzew75
    @zakrzew75 8 років тому

    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.

  • @AlanMedina314
    @AlanMedina314 7 років тому +5

    I love you sir, This is what I was looking for, Thank you.
    - Thumbs Up

  • @hobbyelectronics2121
    @hobbyelectronics2121 6 років тому

    Developed a great electronic project for beginners thanks a lot.

  • @elcontrastador
    @elcontrastador 4 роки тому

    Fun project...I'm going to a similar project. Thanks for the idea!

  • @guerrillaradio9953
    @guerrillaradio9953 7 років тому +2

    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?

  • @FrejieDrums
    @FrejieDrums 3 роки тому +1

    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?

  • @TheDyingFox
    @TheDyingFox Рік тому +1

    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)

  • @surajbonagiri
    @surajbonagiri 8 років тому +1

    Hey, great work. I'd like to know thw beam width of the sensor. Thnx is advance.

  • @nicholasmacnaughtan4492
    @nicholasmacnaughtan4492 8 років тому

    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.

  • @rursus8354
    @rursus8354 5 років тому

    Revisiting the "radar" that is a sonar. A reasonable project for my pupils.

  • @himalshad5530
    @himalshad5530 6 років тому

    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.:-)

  • @greekgh0st
    @greekgh0st 4 роки тому +1

    Very good!
    How can we connect a monitor?

  • @TheWinnieston
    @TheWinnieston 7 років тому +10

    Imma make a little "iron dome" to protect my workspace from paper airplane drones XD

  • @JouikisShow
    @JouikisShow 8 років тому

    fantastico proyecto amigo digno de un ingeniero, ¿pero sirve para metales mas pequeños?

  • @ShannonJosephGlomb
    @ShannonJosephGlomb 2 місяці тому +1

    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

  • @artrock8175
    @artrock8175 2 роки тому

    Really cool project! Thank you for sharing!

  • @yuvraj9385
    @yuvraj9385 8 років тому +2

    Very interesting and perfect explanation

    • @yuvraj9385
      @yuvraj9385 8 років тому

      +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

  • @pudelosha
    @pudelosha 8 років тому +3

    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?

  • @greyfireocelot6140
    @greyfireocelot6140 6 місяців тому

    What is the maximum range for this sensor? Is it only for the 21"? Or will it go further than that?

  • @Python_Hindi
    @Python_Hindi 8 років тому +3

    your tutorials for arduino very good

  • @basiljaworski6720
    @basiljaworski6720 7 років тому

    Nice code realisation!

  • @KunalSharmaTechSavvy
    @KunalSharmaTechSavvy 4 роки тому +1

    Can a company use your idea to teach in schools?

  • @ayan.debnath
    @ayan.debnath 3 роки тому

    GREAT. now add sound like the Alien movie.

  • @samiforestiere
    @samiforestiere 8 років тому

    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?

    • @samiforestiere
      @samiforestiere 8 років тому

      +Dejan Nedelkovski Assume you have water vapour between two radars. I know its concentration can be approximated.

  • @SantosManuelGabrielC
    @SantosManuelGabrielC 10 місяців тому

    how did you connect it to your tv? did you use some jacks or wires something? sorry im a complete beginner

  • @saswatnanda3481
    @saswatnanda3481 7 років тому

    in which ide have you written the code for displaying the radar system?
    great work....cheers

  • @Quinnandfriends1
    @Quinnandfriends1 8 років тому

    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.

    • @Quinnandfriends1
      @Quinnandfriends1 8 років тому

      +Dejan Nedelkovski would I need to programme any differently to get it to display onto the lcd?

  • @orangekayak78
    @orangekayak78 9 років тому

    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.

  • @mathieudefour5629
    @mathieudefour5629 8 років тому

    love the video . was wondering wats the range on the sensor ?

  • @milekokotov1964
    @milekokotov1964 7 років тому

    Браво Дејан! Не се познаваме ама дозволи да го изразам мојот восхит кон твојата работа! Случајно наидов на твојот профил. Имено, утрово добив известување по мејл дека некој од Јапонија станал мој „subscriber“ на мојот UA-cam канал. Немам навика да гледам кој се тие што стануваат „претплатници“ на мојот канал, но денес, ете, погледнав да видам кој е тој јапонец. На неговиот профил забележав дека неодамна гледал некое од твоите видеа на UA-cam. Го погледнав и јас и пријатно се изненадив кога видов дека си од Македонија, а разгледувајќи ги твоите други видеа, и твојата веб-страница видов колку интересни работи правиш! Уште еднаш БРАВО! Посакувам да има повеќе млади инженери како тебе во Македонија!

  • @AlperTuna-v1z
    @AlperTuna-v1z 8 місяців тому +1

    Can you write the material list?

  • @stuartmp1974
    @stuartmp1974 9 років тому

    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?

    • @stuartmp1974
      @stuartmp1974 9 років тому

      sure, what is your email address

    • @satenuiharu4464
      @satenuiharu4464 9 років тому

      +stuartmp1974 can you send me the resizable code ?
      my mail mikuwabakabaka@gmail.com

    • @fNossrey
      @fNossrey 9 років тому

      +stuartmp1974 can you send me too (nossreyxt919@gmail.com)

  • @MarcelHIC
    @MarcelHIC 9 років тому

    What about a tutorial to turn on a LED over a simple Smartphone application with a Arduino WLAN Modul? This would be awesome!

  • @Charlie_Tsai
    @Charlie_Tsai 8 років тому

    Man !!! You r awesome !!!!
    Just a quick question !! How can I maximum the measure distance ?? Mine can only get up to 40cm

  • @roymaghraj9456
    @roymaghraj9456 3 роки тому +1

    Great project... recording the movements makes it interesting. Coding well explained, I will give this shot! Thanks bro

  • @AKCtronic
    @AKCtronic 8 років тому +1

    Hello, thank for the great project. If I want range the range from max 40cm to 200cm how should I change on the code?

  • @GaryParkin
    @GaryParkin 6 років тому +11

    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!!

  • @sendercopier4290
    @sendercopier4290 9 років тому

    great job man! this is fascinating, how long does it took you to prep this up?

    • @sendercopier4290
      @sendercopier4290 9 років тому

      i see, that's awesome! keep up on your great ideas! XD

  • @andresfelipe8564
    @andresfelipe8564 5 років тому

    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

  • @billfield8300
    @billfield8300 9 років тому

    Excellent representation. Very impressive.I am looking example of exactly this.Thanks.

  • @diyverse528
    @diyverse528 4 роки тому +1

    can we use an arduino uno instead of mega for this project?????????

  • @seanlovesjobo
    @seanlovesjobo 9 років тому

    Fantastic craftsmanship! Thank you for your contribution to the community. +++++

  • @kurtulusbulus6728
    @kurtulusbulus6728 9 років тому

    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?

  • @gui123987
    @gui123987 7 років тому +1

    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 :(

  • @saritacharyya1509
    @saritacharyya1509 7 років тому

    Looking awesome! But didn't start anything yet now.

  • @Jai_Lopez
    @Jai_Lopez 8 років тому

    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"

  • @anthonyroby296
    @anthonyroby296 9 років тому

    This was awesome! Thanks for making the video.

  • @jantofer2000
    @jantofer2000 7 років тому

    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?

  • @immatricule6900
    @immatricule6900 8 років тому

    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 .

  • @abdounyan2271
    @abdounyan2271 7 років тому

    I have subscribed! You are now my sensai

  • @technicalskillz
    @technicalskillz 6 років тому +1

    Hi Sir! plz create this project with ESP 32 or ESP 8266 instead of Arduino .Thanks

  • @thiagoabsc
    @thiagoabsc 3 роки тому

    Nicely done! Thank you for sharing!

  • @kavehchannel
    @kavehchannel 4 роки тому

    Amazing project. GREAT job man !!

  • @purushottambhakat9505
    @purushottambhakat9505 7 років тому

    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?

  • @KingsBunny
    @KingsBunny 9 років тому

    what kind the viasualization use? visual basic, java or what? can share the code with us

  • @birderwang
    @birderwang 9 років тому +1

    what a amazing project, thanks for sharing!

  • @kamo2265
    @kamo2265 9 років тому

    hey good job! But i have a question, why don't you use a stepper motor for a 360° vision?

  • @revmarkus77
    @revmarkus77 5 років тому

    Wie geil is das denn 😊 damit kannste ne funktionierende version vom lebenszeichenscanner aus dem Film alien machen

  • @SarthakCodes
    @SarthakCodes 7 років тому

    whether the image output of the sonar is an application or it is made by the source code?

  • @fswarrior9510
    @fswarrior9510 4 роки тому

    One question... Can i see with this what is behind the walls, that would be soo cool

    • @raymondcowey1041
      @raymondcowey1041 3 роки тому

      No, it's SONAR, It is not even RADAR nor is it X-RAY

  • @SSC-FUNDA
    @SSC-FUNDA 7 років тому

    Is it possible to make this project using normal motor without using stepper motor. Please reply asap. Thank you sir.