Arduino Radar / Sonar, using Arduino & Processing | Full Tutorial

Поділитися
Вставка
  • Опубліковано 6 сер 2024
  • Mish Mash Labs present our take on the Arduino based Radar project.
    We used the Arduino Uno, the SG90 servo and the HC-SR04 Ultrasonic sensor.
    0:00 Intro
    0:35 Project overview
    1:01 Wiring explanation
    1:45 Wiring
    2:20 Arduino code
    5:15 Processing3 code
    7:58 Demonstration
    You will also need the Processing3 IDE available here:
    processing.org/download/
    A link to the 3d printed servo mount:
    www.thingiverse.com/thing:617...
    Sketch used in this video:
    github.com/mishmashlabs/radar...
    #RADAR #ARDUINO #PROCESSING #tutorial #mishmash
    Instagram: mishmashlabs
    Twitter: mishmashlabs/
    Facebook: / mishmashlabs
  • Розваги

КОМЕНТАРІ • 48

  • @MishMashLabs
    @MishMashLabs  3 роки тому +14

    It's not technically a radar as it doesn't use radio waves, but rather sound. it's actually a sodar system, which stands for sound detection and ranging.

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

      Thank you, amazing project. I would like to ask you, after successfully I create this project, I am trying to do the following project. when the radar detect something I want one of my DJI Mini drone, to flight to that area. Can you please guide me how can I do it? Thank you in advance

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

    thanks for such an amazing sodar system

  • @coffeetablemedia360
    @coffeetablemedia360 3 місяці тому

    hi, this is an awesome and straight forward instructional thankyou so much ive watched so many that dont work, im strugglig at the end it says "make sure that the font has been copied to the data folder of your sketch, and opens the sketch and goes gray.

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

    sir can we connect one LED and one Piezo Buzzer to this .Will Radar work still that same way

  • @christopherboyd952
    @christopherboyd952 4 місяці тому

    Can I use a lidar for the same concept I have a tf mini and keep running into problems

  • @garvit_panwar
    @garvit_panwar Рік тому

    can we use Arduino uno r3

  • @abhiramgopan9041
    @abhiramgopan9041 2 місяці тому

    How can i increase the range above 40 cm..

  • @carolcernea2616
    @carolcernea2616 9 місяців тому +1

    Thank you, amazing project. I would like to ask you, after successfully I create this project, I am trying to do the following project. when the radar detect something I want one of my DJI Mini drone, to flight to that area. Can you please guide me how can I do it? Thank you in advance

    • @NaivedyaGupta
      @NaivedyaGupta 2 місяці тому

      The range is not a lot so that is not practical. You should look at DJI's website and see if they allow you to code for the drones

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

    Is it possible to connect it with gsm when the distance of the object reach certain area and call/sms us?

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

      It sure is, you just need a GSM shield. An easier alternative might be a wifi shield and email alert if wifi is available.

  • @reqruined
    @reqruined 3 місяці тому

    parseİnt(float) does not exist it says can you help me?

  • @thekianshow11
    @thekianshow11 2 місяці тому

    how come my ultrasonic sensor is not working?

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

    hey,
    In my case, the radar is running only for 1 cycle, after that, it gets stuck to the same position
    Any way to solve this error?
    I checked the code as well, didn't found any error in it

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

      Make sure the code is identical and make if you're using a bigger servo motor check the power needed to supply it. Sometimes servos require more than the arduino can supply. You may need an external power source

  • @roberttx0015
    @roberttx0015 Рік тому

    how can u increase the range of the radar and make it display on the processing (ex: 1m)

    • @NaivedyaGupta
      @NaivedyaGupta 2 місяці тому

      You can't increase the range

    • @roberttx0015
      @roberttx0015 2 місяці тому

      @@NaivedyaGupta oh, I successfully did increase it , it was from a project 1 -2 years ago , I changed alors of codes and research , apparently, by frying the arduino boards twice , you can increase the range to max 4m for the sensors and I changed a bunch a codes to make it display longer ranges up to (4m). Also after 2m , the displayed sensor data become very inaccurate on the screen .

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

    Hi man do you know how to solve this problem: error opening serial port COM5(Arduino Uno) : Port not found. I look for the name of the port as you said

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

      Your port may be different to mine. You could restart your computer. if you have never used the arduino before you may need to install drivers for your USB chip, ch340 is a common one. Another possibility is that your Arduino has an error if you cannot upload and may need a bootloader flash.

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

      change the port name to COM5 only, had the same problem and i solved it that way

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

    very nice video. why not to use min. and max. angle 0 to 180? is there any risk related to the limit angles? thx

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

      I didn't use 0-180 as I found my servo was struggling with the weight of the sensor and holder and becoming unstable,
      The only limitations are the ability of your servo as the graphic should handle 0-180.

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

    hello why the processing screen remains gray

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

      Have you setting it up correctly, correct board selected

  • @marinenav8
    @marinenav8 Рік тому

    Have you example rotation 360° ?

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

      ua-cam.com/video/v9FLTmL1GSw/v-deo.html

  • @restyobina.84
    @restyobina.84 Рік тому

    it doesnt work bro, can you help me

  • @lielgoldshtein1740
    @lielgoldshtein1740 Рік тому

    Can you make the detection range higher like 100 m or 1 km?

    • @whistler2000
      @whistler2000 Рік тому

      Not with this sensor you would need an real radar module to do that.

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

    is the sketch missing ?

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

      Thanks for pointing this out. We've fixed the link in the description and here it is too!
      github.com/mishmashlabs/radar_arduino_project

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

    Can you send me the coding of it

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

      Hi, please see the sketch link in the video description

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

    Hey sir...can you give me your processing code... please help me

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

      It's in the git repo linked in the description.

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

      @@MishMashLabs this link for processing software not for code

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

      I'm referring to the GitHub repo
      github.com/mishmashlabs/radar_arduino_project/tree/main/radar_project_processing

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

      @@MishMashLabs thank you so much

  • @SalmanKhan-ks2zo
    @SalmanKhan-ks2zo 2 роки тому

    can i use processing 4

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

      I have never tested it, but please share how it goes

    • @PhillipJFry69420
      @PhillipJFry69420 Рік тому

      yes I am using it now but I am having an issue with; "PFont orcFont" idk what to do about this or how to change it

    • @berenger1002
      @berenger1002 Місяць тому

      @@PhillipJFry69420 Use any other default fonts like 'monaco' etc... - orcFont = createFont("Monaco", 30);
      Should solve the issue

    • @mrblazeygaming
      @mrblazeygaming 14 днів тому

      @@PhillipJFry69420 im having that issue too, im just going to try and use processing 3 instead