How to Use HC-SR04 with Arduino (Quick tutorial for beginners)

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2018
  • HC-SR04 is the most popular sensor in robotics and Arduino users, almost every obstacle avoiding robot uses this ultrasonic sensor to detect and avoid obstacles. It is very easy to use and to connect to an Arduino. It produces accurate measurements quickly and can be implemented with few lines of code.
    HC-SR04:
    GearBest: goo.gl/bviyNt
    BangGood: goo.gl/zfR5dj
    Arduino:
    GearBest: goo.gl/P6V6hq
    BangGood: goo.gl/cc8YRF
    Code: github.com/NikodemBartnik/Ard...
    TH-cam: goo.gl/x6Y32E
    Facebook: goo.gl/ZAQJXJ
    Instagram: goo.gl/JLFLtf
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 15

  • @3dcreator429
    @3dcreator429 5 ปีที่แล้ว +1

    wow that was amazing and have always been looking for explanation that was as good as yours. This video really helped me with my project thanks :)

  • @joetke
    @joetke 6 ปีที่แล้ว +8

    Hi Nikodem! Academic explanation (the serious way) is always welcome. You got it! Your viewers have various maths backgrounds but thanks a lot for not forgetting those who understand some minimal maths and signal triggering.Second point: your skills in improving your scripts combined with clear and close shots of your project details are awesome. Keep it up! It's dynamic and EFFECTIVE. By the way, what camera brands do you use to achieve your videos? I rank your quick tuto among the best around. Thanks for taking time to explain.

    • @nikodembartnik
      @nikodembartnik  6 ปีที่แล้ว +3

      Thanks a lot! Nice to hear that you like my videos and my tutorial. When I was starting with Arduino I wanted to see short tutorials that explains how to use some kind of sensor and how it works to implement it quickly in my project, I didn't want to spend 20 minutes just to get too detailed into a sensor. That's why I decided to start this series of videos. I just have to work on my drawing skills :) I will keep those tutorials at this level so that everyone that know some math and other things will be able to quickly understand it. I have to do so to keep things short. Thanks I am doing my best to make those videos look that good :D I am using Sony DSC HX200V it's quite old camera I have it for like 5 or 6 years now. In addition to that I am using Xiaoyi action camera 1. For recording voiceovers I am using blue snowball. And that's my whole gear. I am thinking about upgrading my gear because it is quite old :) Thanks for comment!

    • @joetke
      @joetke 6 ปีที่แล้ว

      Thanks for details of your gear. I have a xiaomi action cam yi 2K too with crispy images. You took as much as possible advantage from your relatively old sony;). You're right, effective tutos should not be too long. Your sketches are OK, don't change anything please.

  • @tipuhasan8438
    @tipuhasan8438 4 ปีที่แล้ว

    love u buddy fir clear explan

  • @Vectif
    @Vectif 2 หลายเดือนก่อน

    How many points can this sensor detect? Is it only a single point or multiple? Would I need multiple of them for detecting a complex shape? I've been trying to look into it and I can't quite figure out if it'll serve my use case since I need multiple distance points. Example given, if I needed to scan a ball or a more complex shape to do some on-the-flight photogrammetry-esque object visualization, rather than a single point of distance. More than using it to measure distance, I'd be using it to detect depth for generating a pseudo-3D object visualization, but it seems like I'd need a stack of these to achieve such use.

  • @oumayma5172
    @oumayma5172 4 ปีที่แล้ว

    thank you for the video! please what kind of cable is that?SPI? THANKS again ^^

  • @ahmedmutalemwa311
    @ahmedmutalemwa311 6 ปีที่แล้ว

    I have made Bluetooth robotic car controlled by android app. I just need your help how to put code of obstacle avoidance when I turn myself the robot whether from left or right...

  • @maxvideodrome4215
    @maxvideodrome4215 ปีที่แล้ว

    Does temperature and sea level pressure affect these measurements?

  • @dvorealestate
    @dvorealestate 4 ปีที่แล้ว

    awesome!

  • @3dcreator429
    @3dcreator429 5 ปีที่แล้ว

    you should also place your coding in your comments so people can copy and paste if they need to

  • @am1ngus
    @am1ngus 8 หลายเดือนก่อน

    bro made me miljonair

  • @am1ngus
    @am1ngus 8 หลายเดือนก่อน

    i sellded it and now im a miljonair

  • @am1ngus
    @am1ngus 8 หลายเดือนก่อน

    and i have my own store

  • @am1ngus
    @am1ngus 8 หลายเดือนก่อน

    no joke