HC-SR04 Ultrasonic obstacle avoidance range finder with Arduino

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 29

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад +1

    Hello Robojax actually I am using Arduino UNO R3 Atmega328 Conpatable board for my projects I think it's not an Chinese board is it right? Even then my project is not working I have checked all things and done what I can do it means I have updated my driver to COM4 and installed libraries etc but what can be the problem with my project bro plzz tell

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад

    Robojax where did u downloaded that Arduino genuine board in your system I can't find in my board manager plzz tell me?

    • @robojax
      @robojax  3 года назад

      Hi (that is the first thing we say ) When you download the Arduino IDE and extract the zip, there is a folder called "driver". If you want to know how to install driver from a folder, then you can learn it from this video which is for the boards people buy from eBay or aliExpress ruclips.net/video/u_21yNqd03I/видео.html

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад +1

    Hello bro actually I am using a Chinese Arduino of low cost which don't have positive and negative symbol in a infinite loop on it. Is this the reason why my project not working?

    • @robojax
      @robojax  3 года назад

      no. there is only ONE chip everyone use and produce the board. There must be something else.

  • @glewiss6696
    @glewiss6696 4 года назад

    Hello Zep, Why do you instanciate the object "sonar" with the name "NewPing" and keep using in the object name "sonar"?
    Thanks for the video.

    • @robojax
      @robojax  4 года назад

      hello so you can use more than one of this sensor. for example you can make sonar1 and then another one sonar2 but if you are asking about the meaning of the word sonar, then see this page en.wikipedia.org/wiki/Sonar

  • @bbnCRLB
    @bbnCRLB 4 года назад

    Can't there be a way to read the echo pulse width without using microcontroller or some printed circuit board?

    • @robojax
      @robojax  4 года назад

      You can. here is the video ruclips.net/video/mcI6y8mozg0/видео.html

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад

    Bro I am able to perform the TM1637 display and LED blinking with my Arduino but I am unable to do the HC-SR04 ultrasonic sensor and Max6675 thermocouple with my Arduino for both of these I have used your codes and your wirings but I am failing what might be the mistake plzz I have do to these 2 projects for 50 marks help me Robojax bro

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад +1

    Bro I have installed COM4 successfully with your video but even in this com4 I am unable to find distance it's showing ?????? like this question marks what should I do??

    • @robojax
      @robojax  3 года назад

      Please watch this 30 minutes course so all your questions answered ruclips.net/video/Mbb2xa1WcRM/видео.html

  • @umamahesh-nd7yn
    @umamahesh-nd7yn 3 года назад +1

    Hello bro when I am connecting my ultrasonic sensor to my Arduino the chip of Arduino is getting heated how can I fix this problem?

    • @robojax
      @robojax  3 года назад

      it should not get heated. it seems your module is defective.

    • @umamahesh-nd7yn
      @umamahesh-nd7yn 3 года назад

      @@robojax what module bro?

    • @robojax
      @robojax  3 года назад +1

      The ultrasonic sensors is a module

    • @umamahesh-nd7yn
      @umamahesh-nd7yn 3 года назад

      @@robojax should I replace it with new one or can I repair the current one ?

  • @wegsteryt5524
    @wegsteryt5524 4 года назад +1

    Um, when i did the code and stuff it kept saying 0 cm, and never changed.

    • @robojax
      @robojax  4 года назад

      check wiring. who man pins your module has 3 or 4 pins?

    • @wegsteryt5524
      @wegsteryt5524 4 года назад

      @@robojax 4 pins. The board im using is a ELEGOO MEGA 2560 R3.

    • @robojax
      @robojax  4 года назад

      I just watched the video making sure you got the right module. This video is for you. Pay attention to the label on the pins. Some times they change the order of the pins but they should have correct label. If you connect it properly, then the module is bad. I assume you've downloaded the library.

    • @wegsteryt5524
      @wegsteryt5524 4 года назад

      @@robojax i do have the library.

  • @someme3378
    @someme3378 4 года назад

    This code can use to drone?

    • @robojax
      @robojax  4 года назад

      Yes you can use it for anything that you can fit and install.

  • @كثيرالطيب
    @كثيرالطيب 3 года назад

    Thanksشكراً 🇰🇼

  • @bilalzafar3243
    @bilalzafar3243 Год назад

    how can we measure the distance in two dimensions

  • @rhandynastor4866
    @rhandynastor4866 Год назад

    i changed to 9600 at serial begin. it doesnt work in 11 thousand

    • @robojax
      @robojax  Год назад

      Here is a lesson on Serial monitor from my course ruclips.net/video/WyWRGoACWFs/видео.html