Arduino Tutorials | How to measure distance with arduino using ultrasonic sensor(HC-SR04)

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ค. 2019
  • note ultrasonic sensor vcc= arduino 5v
    Hello!
    Today I'll show How to measure distance with arduino
    Materials:-
    Arduino uno
    LCD display
    Breadboard
    Jumper wires
    code:-mrarduinoprojects.blogspot.co...
    Previous:-
    How to use`ultrasonic sensor(HC-SR04) with arduino
    • Arduino Tutorials | Ho...
    How to control LCD display using arduino
    • Arduino Tutorials | Ho...
    SUBSCRIBE FOR MORE VIDEOS
    thank you

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

  • @schoolagers133
    @schoolagers133 3 ปีที่แล้ว +4

    This looks really nice and the code works too without any modification i am now gonna make it:)

  • @hackerschool-nt6vz
    @hackerschool-nt6vz ปีที่แล้ว

    bhai maine bohot sari vidios dekhi par koi kaam nahi aayi teri vidio to kamal nikli bilkul mast u ar great ❣❣❣🙉🙉🙉🙉🙉❤‍🔥❤‍🔥❤‍🔥🤩

  • @devanshjhamnani5038
    @devanshjhamnani5038 3 ปีที่แล้ว +4

    This is perfectly working program I will suggest this video great work bro keep it up 😉😉

    • @isaiasdouglas2668
      @isaiasdouglas2668 2 ปีที่แล้ว

      I realize it's pretty off topic but do anyone know a good site to watch newly released movies online ?

    • @yehudabrennan9420
      @yehudabrennan9420 2 ปีที่แล้ว

      @Isaias Douglas I watch on flixzone. Just google for it =)

    • @rhettkellen7104
      @rhettkellen7104 2 ปีที่แล้ว

      @Isaias Douglas I watch on flixzone. Just search on google for it :)

  • @robsemuthu7802
    @robsemuthu7802 3 ปีที่แล้ว +2

    Best ,Best and Best.

  • @iqbalkhairi5598
    @iqbalkhairi5598 2 ปีที่แล้ว +1

    do we need 12c module at the lcd display??

  • @bobbysingh5666
    @bobbysingh5666 4 ปีที่แล้ว +1

    we dont need a lcd screen for this right? it just displays the distance?

  • @31shashwatmohanty8-h6
    @31shashwatmohanty8-h6 3 ปีที่แล้ว +10

    sir in the place of 10k potentiometre I am using 10K PRESET .
    I think that they are the same thing
    is it okay for the project

  • @baala2739
    @baala2739 2 ปีที่แล้ว

    pls make the video with 16X04LCD for getting the result 1)Millimeter 2)Centimeter 3)Inches 4)Ft at the same time
    also CM, Inch, ft must read the decimal points too brother

  • @srikanthb926
    @srikanthb926 4 ปีที่แล้ว +2

    what is the formula for distance in millimeter

  • @ramikakiriella5131
    @ramikakiriella5131 ปีที่แล้ว +1

    really good it worked for me thank you

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

      Check if the LCD screen is working or if you have put the jumper wires to the correct pins in the Arduino Board.

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

    nice

  • @parasjain4324
    @parasjain4324 10 หลายเดือนก่อน

    thanku bhiya

  • @Rai.Ayush_67
    @Rai.Ayush_67 3 ปีที่แล้ว +1

    You are incredible

    • @mr.arduino1397
      @mr.arduino1397  3 ปีที่แล้ว +1

      Thanks ♥️

    • @Rai.Ayush_67
      @Rai.Ayush_67 3 ปีที่แล้ว

      @@mr.arduino1397 I am now just only in class 5 but your project is very nice quite easy and also you gave the link for codes and library now whenever I have to make project I will see your videos only. Thanks bro

    • @Rai.Ayush_67
      @Rai.Ayush_67 3 ปีที่แล้ว

      But I want to ask a question in your project in display it is showing cmmm instead of only cm how can this be correct

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

    have a pseudocode for this project?

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

    why are your pins facing upward on your lcd?

  • @simranpalsingh9488
    @simranpalsingh9488 2 ปีที่แล้ว

    How can we correct(cmm) in this?

  • @anurag5874
    @anurag5874 4 ปีที่แล้ว +2

    Please make a vedio on temperature measure sensor using arduino

    • @mr.arduino1397
      @mr.arduino1397  4 ปีที่แล้ว

      I'll upload the video as soon as possible🤛

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

      Thanks bro.

    • @TechGeniusYK
      @TechGeniusYK 2 ปีที่แล้ว

      hi bro @ANURAG I have one on my channel if u want pls check it out

  • @mohannadqer615
    @mohannadqer615 3 ปีที่แล้ว +2

    thank you it is amazing

  • @SIlverNoobster
    @SIlverNoobster 10 หลายเดือนก่อน

    Hello sir the lcd is not showing anything but a blank line how do i fix it

  • @ponnalasandeep5389
    @ponnalasandeep5389 3 ปีที่แล้ว +2

    How much long it can measure

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

    How to purchase this material can you suggest please

  • @saminaalam2416
    @saminaalam2416 2 ปีที่แล้ว

    Error occur while uploading the code how we can solve it??

  • @giuliocomerci3277
    @giuliocomerci3277 5 ปีที่แล้ว

    Bravissimo!

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

    Values are not displaying on LCD,while code is succefully uploaded plz help

  • @HariKrishnan-ew1dn
    @HariKrishnan-ew1dn 4 ปีที่แล้ว +2

    Sir where we get the program of this experiment

  • @mohit-kf6sq
    @mohit-kf6sq 2 ปีที่แล้ว

    Sir why we use 10k potentiometer?

    • @pescetv8371
      @pescetv8371 2 ปีที่แล้ว +1

      I will explain it for you since he won’t: it’s for the regulation of the contrast in the lcd display

  • @atta2k
    @atta2k 4 ปีที่แล้ว +1

    Ultrasonic VCC = 5V Arduino
    -> at 4:53 is correct.
    Otherwise the sensor won't work.

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

      Do you know what I should change to make the cm and inch change less frequently?

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

      exactly!

    • @fan-gumi5127
      @fan-gumi5127 3 ปีที่แล้ว

      it work after changing it,thanks!

    • @TechGeniusYK
      @TechGeniusYK 2 ปีที่แล้ว

      @@viktor7807 change the delay in the code

  • @itsnewsgalaxy5626
    @itsnewsgalaxy5626 3 ปีที่แล้ว

    will it work without potentiometer?

  • @31shashwatmohanty8-h6
    @31shashwatmohanty8-h6 3 ปีที่แล้ว +1

    hi sir i am from 7 th class and doing this project but only the screen has light up but there are no readings on it can u help me plz

  • @TheMightyDuck1000
    @TheMightyDuck1000 4 ปีที่แล้ว +1

    Hello.
    Where can I find the code for this vid?

  • @jayshelar607
    @jayshelar607 2 ปีที่แล้ว

    What is range of sensor??

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

      should be around 4 metres maybe a bit more

  • @indianpiratedgamer1800
    @indianpiratedgamer1800 4 ปีที่แล้ว +1

    Ka naihi kar ta 0 cm play karta hy

  • @adityajagtap4553
    @adityajagtap4553 4 ปีที่แล้ว +1

    Why POT is needed

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

    sir is this program right which you have given in source code

  • @milano3829
    @milano3829 4 ปีที่แล้ว +2

    BRothEr the source code is wrong ....... reply to this if u get it
    soo 1st mistake is in the connection section of ur blog u have written trigpin = 10 , echopin = 11 and in code it is 8,9 resp
    2nd mistake in source code in 2nd line >>>> LiquidCrystal lcd(1, 2, 3, 4, 5, 6) but the pin 3 is empty on board replace it with (7)
    i dono how u got the o/p (had to dislike this video for this ) , but i figured out the problem thank good

    • @mr.arduino1397
      @mr.arduino1397  4 ปีที่แล้ว +1

      code is correct But the connections in the blog are wrong. Thanks. 🤝🙏

  • @frotix3067
    @frotix3067 2 ปีที่แล้ว

    For some reason my display is blank

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

    whats the code

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

    @everybody

  • @aniketshinde409
    @aniketshinde409 3 ปีที่แล้ว

    Project cost

    • @gxgamingandtech2017
      @gxgamingandtech2017 3 ปีที่แล้ว

      Since I have done this can say it will be about 2000 ruppes

  • @ThFustratedPianist
    @ThFustratedPianist 2 ปีที่แล้ว

    not working

  • @JohnJohn-gy2st
    @JohnJohn-gy2st 11 หลายเดือนก่อน

    Hello 600 2dollar

  • @anurag5874
    @anurag5874 4 ปีที่แล้ว +1

    Please make vedio on my topic it's very urgent

  • @ThFustratedPianist
    @ThFustratedPianist 2 ปีที่แล้ว

    i am getting question marks

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

    distance is coming 0cm

  • @paramveerghelani6793
    @paramveerghelani6793 3 ปีที่แล้ว

    How to make a distance measuring gun
    th-cam.com/video/mpCdYnXxpx8/w-d-xo.html

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

    Not working bro help plz