Build Your Own DIY Radar System Using Arduino: A Step-by-Step Guide!

Sdílet
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

Komentáře • 167

  • @mypoortom
    @mypoortom Před 4 dny +1

    Thanks for sharing! Really appreciate.🥰

    • @SciCraft
      @SciCraft  Před 4 dny

      Thank you so much for the Super Thanks! Your support truly touches my heart and boosts my confidence to keep creating great content

  • @stylt7344
    @stylt7344 Před 7 měsíci +8

    tried it and worked completly fine

  • @Bianchi77
    @Bianchi77 Před rokem +5

    Nice video shot, thank you for sharing it, keep it up :)

  • @tsclly2377
    @tsclly2377 Před 2 měsíci +2

    Love the smoky bread-board and quite slow.. add an ASCI and more radar sensors (receivers)

  • @Star88701
    @Star88701 Před 2 měsíci +3

    Id be interested to see something like this upscaled for more advanced radar such as doppler. Navigational doppler radar would be neat.

    • @SciCraft
      @SciCraft  Před 2 měsíci +1

      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!

  • @jamiehenson3385
    @jamiehenson3385 Před měsícem +2

    Thank you! It worked!

  • @amirshahtr9805
    @amirshahtr9805 Před 3 měsíci +4

    How to make a 360° one ?

  • @guppyguy3136
    @guppyguy3136 Před 10 měsíci +4

    life saverrrrrr

  • @user-xh6hk3vw7n
    @user-xh6hk3vw7n Před 8 měsíci +3

    amazing only amazing thank you

    • @SciCraft
      @SciCraft  Před 8 měsíci +1

      Thank you so much 😊

  • @WhaleyHiz
    @WhaleyHiz Před 5 měsíci +5

    i think you should clean your breadboard once in awhile

  • @SeyyedMahdi-pj2pi
    @SeyyedMahdi-pj2pi Před 3 měsíci +5

    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

  • @alexmanolescu2567
    @alexmanolescu2567 Před 2 měsíci +3

    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)

    • @SciCraft
      @SciCraft  Před 2 měsíci +1

      can you explain that to me a little?

    • @alexmanolescu2567
      @alexmanolescu2567 Před 2 měsíci +1

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

    • @SciCraft
      @SciCraft  Před 2 měsíci

      Can you email me this with a straightforward and clear explanation? My Gmail is scicraft90@gmail.com

  • @brisagamarra6831
    @brisagamarra6831 Před 9 měsíci +4

    Hello, how can I make the radar stop spinning without having to disconnect it from my PC port?

    • @SciCraft
      @SciCraft  Před 9 měsíci +2

      instagram.com/scicraft9/ - This is my instagram ID , DM me

  • @santiagoalfredobarcenasric6564
    @santiagoalfredobarcenasric6564 Před 9 měsíci +2

    Thanks 🤞🏽

  • @guppyguy3136
    @guppyguy3136 Před 10 měsíci +5

    greatest of all timeeeeeeeeeeee

    • @SciCraft
      @SciCraft  Před 10 měsíci +1

      Thanks bro❤️

    • @supreethhc2810
      @supreethhc2810 Před 23 dny

      Bro my motor is not rotating what is the problem

  • @SloupyY
    @SloupyY Před 3 měsíci +2

    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 ?

    • @SciCraft
      @SciCraft  Před 3 měsíci

      To achieve that, you simply need to modify the code

  • @Isabellsssss
    @Isabellsssss Před 3 měsíci +3

    My radar is showing all red even when there is no object in front of it.

    • @SciCraft
      @SciCraft  Před 3 měsíci +2

      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

  • @TommysCrib
    @TommysCrib Před 4 měsíci +1

    how do i make my servo go as fast as your's was cause mine is moving a bit slow

    • @SciCraft
      @SciCraft  Před 4 měsíci +1

      You can reach me at scicraft90@gmail.com or connect with me on Instagram using the handle instagram.com/scicraft9/

  • @jahdela2701
    @jahdela2701 Před 2 měsíci +1

    got it to work but its moving very slow, how do i fix that?

    • @SciCraft
      @SciCraft  Před 2 měsíci +1

      It seems like there might be an issue with the voltage

  • @user-hy7nx9gc5x
    @user-hy7nx9gc5x Před 11 měsíci +1

    I am doing in Mac Book and my port is /dev/c..... what should I do

    • @SciCraft
      @SciCraft  Před 11 měsíci +1

      instagram.com/scicraft9/
      Dm me

  • @I_Purple_You-7souls
    @I_Purple_You-7souls Před 4 měsíci +1

    I have a problem with the green signal thing it doesn’t move and I tried everything 😢 what shall I do

    • @SciCraft
      @SciCraft  Před 4 měsíci +1

      instagram.com/scicraft9/ - This is my instagram ID , DM me!

  • @nwa_mondlane
    @nwa_mondlane Před 2 měsíci +1

    please help how to link the arduino IDE and the processing enviroment

    • @SciCraft
      @SciCraft  Před 2 měsíci

      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

  • @jeevedjena
    @jeevedjena Před rokem +3

    😍😍

  • @jesterking1
    @jesterking1 Před rokem +7

    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.

    • @SciCraft
      @SciCraft  Před rokem +2

      Yes bro this is a sonar, I had also mentioned in the video

  • @microbe2221
    @microbe2221 Před měsícem +2

    How can i use the data from the ultrasonic and make it in use not just displaying it

    • @SciCraft
      @SciCraft  Před měsícem

      How do you want to use it??

  • @meghamishra8392
    @meghamishra8392 Před 9 měsíci +3

    my radar is showing everything red but there is no object can you help me please

    • @SciCraft
      @SciCraft  Před 9 měsíci +1

      instagram.com/scicraft9/ - This is my instagram ID , DM me

  • @CursedOnFire
    @CursedOnFire Před 5 měsíci +2

    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

    • @SciCraft
      @SciCraft  Před 5 měsíci +1

      instagram.com/scicraft9/ - This is my instagram ID , DM me!

    • @CursedOnFire
      @CursedOnFire Před 5 měsíci +2

      Im sorry, i figured it out. Turns out the port on my pc didns supply enough power.@@SciCraft

  • @raizendelacruz
    @raizendelacruz Před 7 měsíci +4

    My sensor is moving slowly. What seems to be the problem?

  • @teachindia24
    @teachindia24 Před 11 měsíci +2

    Can you please send me the circuit diagram for this.

    • @SciCraft
      @SciCraft  Před 11 měsíci

      instagram.com/scicraft9/
      Dm me

  • @DCDC-yi7ry
    @DCDC-yi7ry Před 3 měsíci +1

    i got this code in arduino ide: Failed uploading: uploading error: exit status 1

    • @SciCraft
      @SciCraft  Před 3 měsíci

      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.

  • @guppyguy3136
    @guppyguy3136 Před 10 měsíci +1

    goatttttttt

  • @user-kj9hm5fq4c
    @user-kj9hm5fq4c Před 6 měsíci +1

    thank youuuuuuuuuuuuuuuuuu

    • @SciCraft
      @SciCraft  Před 6 měsíci

      Always Welcomeeeeee❤️☺️

  • @user-yg1kk4ms8f
    @user-yg1kk4ms8f Před rokem +2

    hey, can u tell me how to change the distance range to 2 meters or 1 meter

    • @SciCraft
      @SciCraft  Před rokem +3

      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,

    • @user-yg1kk4ms8f
      @user-yg1kk4ms8f Před rokem

      @@SciCraft thanks

    • @user-yg1kk4ms8f
      @user-yg1kk4ms8f Před rokem

      also please send me your discord or instagram i have a doubt i will send picture

    • @SciCraft
      @SciCraft  Před 11 měsíci

      @@user-yg1kk4ms8f instagram.com/scicraft9/

  • @danielbaitler8380
    @danielbaitler8380 Před 2 měsíci +2

    Which program needs for code?

    • @SciCraft
      @SciCraft  Před 2 měsíci +1

      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

  • @yogithagopalreddy6337
    @yogithagopalreddy6337 Před 4 měsíci

    hello can we do same project using stm32, if yes can u give code for it

    • @SciCraft
      @SciCraft  Před 4 měsíci

      instagram.com/scicraft9/ - This is my instagram ID , DM me!

  • @Chernobyl-sj6kf
    @Chernobyl-sj6kf Před 4 měsíci +2

    what is the processing software? what is it's name?

    • @SciCraft
      @SciCraft  Před 4 měsíci +1

      Its name is Processing.

  • @khainisa827
    @khainisa827 Před 5 měsíci

    🥺 i really need help how to add sensors gas? is it possible please helppp me

    • @SciCraft
      @SciCraft  Před 5 měsíci

      instagram.com/scicraft9/ - This is my instagram ID , DM me!

  • @Asamaa_11
    @Asamaa_11 Před 3 dny +2

    Does it also work with an arduino nano?

  • @rionela_games
    @rionela_games Před 3 měsíci +2

    Hi! what type of connector are you using for the servo motor?

    • @SciCraft
      @SciCraft  Před 3 měsíci +1

      Can you please clarify what you are trying to say?

    • @rionela_games
      @rionela_games Před 3 měsíci

      @@SciCraft like what type of connector are you using to connect the servo motor to the arduino? 2:33

    • @SciCraft
      @SciCraft  Před 3 měsíci

      Female-Female jumper wires

    • @rionela_games
      @rionela_games Před 3 měsíci +1

      @@SciCraft Ok. Thanks!

  • @No1sonuk
    @No1sonuk Před rokem +28

    Sonar. Radar uses radio, not sound.

    • @SciCraft
      @SciCraft  Před rokem +3

      Yes,you are right bro

    • @SciCraft
      @SciCraft  Před rokem +1

      But most people of the think it is a radar

    • @jasonmorgan661
      @jasonmorgan661 Před rokem +2

      T.v. antennas used to tell me when someone was walking up to my door lol...

    • @jasonmorgan661
      @jasonmorgan661 Před rokem

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

    • @tylermcnally8232
      @tylermcnally8232 Před rokem +1

      ​@@SciCraftnot if you use the word sonar they wouldn't.

  • @TUPM-ViggoAAvila
    @TUPM-ViggoAAvila Před měsícem

    I keep getting the port busy message what to do?

    • @cybertronacademy
      @cybertronacademy Před měsícem +1

      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.

  • @leipaing7186
    @leipaing7186 Před 11 měsíci +1

    How can I change duration

  • @naitiksoni907
    @naitiksoni907 Před 19 dny +2

    How to add a screen to display that radar

    • @SciCraft
      @SciCraft  Před 17 dny

      Actually, I'm working on this radar with a separate display, and I will upload soon. Make sure to subscribe to the channel.

    • @naitiksoni907
      @naitiksoni907 Před 16 dny +2

      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

    • @naitiksoni907
      @naitiksoni907 Před 16 dny

      Pls 🥺 help

    • @SciCraft
      @SciCraft  Před 16 dny

      ​@@naitiksoni907 Please contact me at my Gmail: scicraft90@gmail.com. We will solve your problem together

  • @vyx6851
    @vyx6851 Před 8 měsíci

    mantap buat steammi sama pak priyo

  • @devmistry4876
    @devmistry4876 Před 9 měsíci

    How to add serial port

    • @SciCraft
      @SciCraft  Před 9 měsíci

      instagram.com/scicraft9/ - This is my instagram ID , DM me

  • @DavidAchukwu-ui6gm
    @DavidAchukwu-ui6gm Před měsícem

    IS good see life of inside

  • @sewaryousef6614
    @sewaryousef6614 Před 6 měsíci

    Is there a way to stop the servo sensor from spinning once it detects an object?

    • @SciCraft
      @SciCraft  Před 6 měsíci +1

      Yes, it is possible instagram.com/scicraft9/ - This is my Instagram ID, DM me

  • @Jirayu.Kaewprateep
    @Jirayu.Kaewprateep Před rokem +5

    🥺💬 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.

    • @SciCraft
      @SciCraft  Před rokem +2

      thank you so much bro for sharing such a important infomation ❤

  • @smart_factory
    @smart_factory Před 2 měsíci

    its good project, but the circuit diagram and video is different,,

    • @SciCraft
      @SciCraft  Před 2 měsíci

      The circuit diagram is the same, but the way of connecting things might be different

  • @JUSTINLEMUELCORREOS
    @JUSTINLEMUELCORREOS Před 2 měsíci +1

    why is mine moving really slow

  • @user-ne9bj2yg2v
    @user-ne9bj2yg2v Před 5 měsíci

    how far it can detect?

  • @blackstargaming3529
    @blackstargaming3529 Před 11 měsíci

    Can you send me processing code in the comment

    • @SciCraft
      @SciCraft  Před 11 měsíci

      instagram.com/scicraft9/
      Dm me

  • @Donxzy
    @Donxzy Před 10 měsíci

    radar or sonar ?

    • @SciCraft
      @SciCraft  Před 10 měsíci +1

      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

  • @E4E
    @E4E Před 3 měsíci +1

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

    • @SciCraft
      @SciCraft  Před 3 měsíci +2

      Thank a lot man for your understanding. I truly appreciate it.

  • @whizkid363
    @whizkid363 Před 11 měsíci

    how to install processor
    can you tell me

    • @SciCraft
      @SciCraft  Před 11 měsíci

      Go to this link processing.org/ and download it

  • @taylancelik8372
    @taylancelik8372 Před rokem

    The parseInt(String) function does not exist.
    Gives a fault

    • @SciCraft
      @SciCraft  Před rokem

      In the code ?

    • @SciCraft
      @SciCraft  Před rokem

      instagram.com/scicraft9?igshid=MzRlODBiNWFlZA== dm me on instagram

    • @taylancelik8372
      @taylancelik8372 Před rokem

      @@SciCraft 47 and 48 processing

    • @CrimsonRoseBDO
      @CrimsonRoseBDO Před rokem

      @@taylancelik8372 Same problem here. Did you solve the problem. Sorunu çözebildiniz mi hocam.

    • @taylancelik8372
      @taylancelik8372 Před rokem

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

  • @rezaazkha8868
    @rezaazkha8868 Před 4 měsíci

    bang kenapa pas di running kok not responding ya

    • @SciCraft
      @SciCraft  Před 4 měsíci

      Okay, you can Gmail me:- scicraft90@gmail.com or here is my Instagram ID:- instagram.com/scicraft9/, contact me.

  • @ENGINEERING0
    @ENGINEERING0 Před 10 měsíci +1

    Can u send the code please ❤

    • @SciCraft
      @SciCraft  Před 10 měsíci +1

      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

  • @AwesomeArnav-ex5li
    @AwesomeArnav-ex5li Před 9 dny

    my processing software is not working it pls help

    • @SciCraft
      @SciCraft  Před 8 dny

      What is the exact issue?

    • @AwesomeArnav-ex5li
      @AwesomeArnav-ex5li Před 8 dny

      @@SciCraft every time i start any code it starts and after 2 mins it says not responding and it closes

    • @SciCraft
      @SciCraft  Před 8 dny

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

    • @AwesomeArnav-ex5li
      @AwesomeArnav-ex5li Před 8 dny

      @@SciCraft the radar project you showed that is working but its not giving the out put on he processing application

    • @AwesomeArnav-ex5li
      @AwesomeArnav-ex5li Před 6 dny +1

      did u find anything tomorrow is my competition pls help

  • @onetrueromanian6003
    @onetrueromanian6003 Před 8 dny

    Isn't this actually a sonar?

  • @mijunakano2955
    @mijunakano2955 Před měsícem

    How can I contact you?

    • @SciCraft
      @SciCraft  Před měsícem

      This is my email - scicraft90@gmail.com

  • @tiernanmorgan
    @tiernanmorgan Před 11 dny

    isn't that a sonar sensor not a radar sensor

  • @sokiasoku-tg3rt
    @sokiasoku-tg3rt Před rokem +1

    How you did this voice

    • @SciCraft
      @SciCraft  Před rokem +1

      In Microsoft clipchamp video editor

  • @talkeetnatattoos
    @talkeetnatattoos Před měsícem +1

    :) hi

  • @real643
    @real643 Před 3 měsíci +1

    it is getting HOT WHAT I DO?????

    • @SciCraft
      @SciCraft  Před 3 měsíci

      Is your Arduino board overheating?

    • @real643
      @real643 Před 3 měsíci

      @@SciCraft yeeeees!

    • @real643
      @real643 Před 3 měsíci

      @@SciCraft what i și wrong and

    • @real643
      @real643 Před 3 měsíci

      @@SciCraft is

    • @real643
      @real643 Před 3 měsíci

      And processing 4 i downloaded and my PC tells "app not found"

  • @STEM12-DFONTANILLASOPHIA
    @STEM12-DFONTANILLASOPHIA Před 4 měsíci +1

    is the jumper wires a male-male or female-female?

    • @SciCraft
      @SciCraft  Před 4 měsíci +1

      I had used all types of jumpers.

  • @kaustubhbisht6277
    @kaustubhbisht6277 Před 9 měsíci

    hello brother I followed your step but my radar is not rotating plz help

    • @SciCraft
      @SciCraft  Před 9 měsíci

      instagram.com/scicraft9/ - This is my instagram ID , DM me

    • @AnkithAL-ei6tr
      @AnkithAL-ei6tr Před 6 měsíci

      Same bro

  • @barnettb901
    @barnettb901 Před rokem +2

    This is not radar…

    • @SciCraft
      @SciCraft  Před rokem

      For this is a sonar but most of people think this is a radar and search for this

    • @barnettb901
      @barnettb901 Před rokem +1

      @@SciCraft right, which makes this misleading AF…

    • @jesterking1
      @jesterking1 Před rokem

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

    • @tubatuba5968
      @tubatuba5968 Před rokem +1

      You Fail! 😂😂. People are so ready to battle. Great video. I made this my first project. Turned out perfect. Thanks You!