Arduino Tutorial 53: Understanding and Connecting the HC-SR04 Sensor

Ғылым және технология

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
/ paulmcwhorter
IN this lesson we begin to explore the HC-SR04 Ultrasonic Sensor, and show how you can connect and program the sensor. We will get our first sketch, which will measure the ping travel time.
You can get the kit I am using for this series at the following link:
amzn.to/2I7N4Ek
I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:
amzn.to/2WXTC2M
As projects get more complicated in these lessons, you guys really need to get a set of breadboard jumper wires which allow you to make neater connections on the board in your projects. You can pick a pack of these wires up here:
amzn.to/2XrY5Kq
In addition as projects get more complicated, you are going to need a bigger breadboard. This is a reasonable one here:
amzn.to/2IY4d3M
Check out our lessons on our WEB site;
toptechboy.com/arduino-tutori...
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
#Arduino

Пікірлер: 408

  • @stephenmarshall1286
    @stephenmarshall12864 жыл бұрын

    No-one hates you Paul, keep producing these LEGENDARY videos !!!

  • @aaronmilliman7685

    @aaronmilliman7685

    Жыл бұрын

    Paul is amazing, no wait, he is definitely Legendary. I never finished college and had to work and raise my 2 children. Now that they are off to college I can start my education. Thank you very much Paul.

  • @simontopley4771

    @simontopley4771

    6 ай бұрын

    if anyone hates on you, it says more about them, i really struggle with the maths, it is what it is, i can't get it, after 50+ years in academia, i simply don't get that type of maths. As humans we have strengths and weaknesses, it's better to make the best of your strengths. I try, i do.

  • @blainecarvalho8368
    @blainecarvalho83683 жыл бұрын

    The concept of "we are not going to use canned codes" are exactly why I have watched ALL of these videos, moved on to your python videos and have come back to c++ between video releases. I will definitely have to check out the rest of the coding subjects. the knowledge you are sharing here is priceless.

  • @DeeGeeDeFi
    @DeeGeeDeFi3 жыл бұрын

    I want to make a tee shirt, of Paul cringing and holding his breath when uploading the sketch to the arduino.

  • @barbaraorzechowska6479

    @barbaraorzechowska6479

    3 жыл бұрын

    I would buy it ;)

  • @flyingsalmon

    @flyingsalmon

    3 жыл бұрын

    I actually have! But kept couple of the designs to myself...I think I should ask Paul about that ;)

  • @killsme6957

    @killsme6957

    2 жыл бұрын

    I like the" don't let the smoke out, once it's out it's hard to get it back" HAHAHA

  • @emporersteve

    @emporersteve

    10 ай бұрын

    Definitely would buy

  • @emporersteve

    @emporersteve

    10 ай бұрын

    ​@@killsme6957so hard

  • @sobhitdas3071
    @sobhitdas30714 жыл бұрын

    Our new, our epic, our legendary Arduino tutorial series

  • @deivydchile

    @deivydchile

    4 жыл бұрын

    Is true!

  • @prayagagarwal5030

    @prayagagarwal5030

    3 жыл бұрын

    You forgot 'improved' haha

  • @g0fvt
    @g0fvt4 жыл бұрын

    With the current lockdown a fellow radio ham in our village has been playing with an arduino (he is over 80). He messaged me when he had a problem with it, he had been following one of your earlier tutorials. I was able to get him back on the right track but have also ordered an arduino for myself. I already have a selection of compatible sensors. I have a background in electronic design but have steered clear of microprocessors in my projects. Your videos have been very helpful already and I am already planning some practical applications. Thank you for the huge effort in making the videos, extremely useful.

  • @ricklawitzky8311
    @ricklawitzky83112 жыл бұрын

    I love how you connect these lessons with math! I have found the slope "0,0175" for cm and the slope "0,007" for inch.

  • @gilnasty82
    @gilnasty822 жыл бұрын

    I got a slope of 0.006. I do believe the important fact you are getting at, is the speed of sound! Great project!! Anyone that hates you for doing the math and explaining how things work can just skate by in life and keep doing it the easy way! There are plenty of us that enjoy learning from you!! Thank you, Paul!!

  • @aungphyokyaw4475
    @aungphyokyaw4475Ай бұрын

    slope of the line is m=0.00757. Thank you for pushing and making us to think independently. In life, we need to solve our own problems, we are responsible for our lives . The teachers and coaches are only to help us guide. We have to walk our own path.

  • @Gallardo6669
    @Gallardo66698 ай бұрын

    PAUL: thank you from my heart for all these fantastic videos!!!!!!!!!!! Pls continue this series ❤❤❤

  • @scenicwild
    @scenicwild3 жыл бұрын

    Hi Paul, thanks for all the tutorials, they are great. Here in Austria, the equation is y = 0,0174x + 0,365 [y in cm] // or equals y = 0,0069x + 0,1437 [ y in inches] thanks for the good work!

  • @ronkline8726
    @ronkline87262 жыл бұрын

    No haters are allowed in this house. I REALLY appreciate the use of the oscilloscope in the video. It took me a while to observe the changes in pulse with. I recently purchased a small handheld oscilloscope so this is helping me learn the Arduino side of things and also how to use a new piece of test equipment. Thank you !!

  • @libbytardalo2071
    @libbytardalo20713 жыл бұрын

    I ended up with .126, but after I read some of your comments (Thanks, gang!), I realized I had to divide for the two way travel and ended up at .063, which is perfect for my distance. Thanks again for all of this, Paul!

  • @matthewcollins1858
    @matthewcollins1858 Жыл бұрын

    Present. I really do love your tutorials and the fact that you're actually teaching me how to do it on my own. I plan on using the knowledge you have provided in order to build my own toys and inventions, kind of hard to copy and paste if it's somewhat original. So yea thank you very much.

  • @lawrencex5745
    @lawrencex57454 жыл бұрын

    Here from the UK. My slope came in at .064inch/microsecond.After your last lesson glad to see my kit is working. Great work Paul. :-)

  • @stevesykes295
    @stevesykes2952 жыл бұрын

    Love this lesson. We use these sensors to detect the thickness of paper in my equipment. My ruumba also uses them to turn from stairs and not fall down them. I will update on my success with the homework assignment.

  • @carolinedion5126
    @carolinedion51263 жыл бұрын

    The slope I got for inches by µseconds is y = 0,0071x + 0,4424 and for cm by µseconds : y = 0,0179x + 1,1238. Thanks for the tutorials, I really learned a lot since lesson #1. Two thumbs up!

  • @mohsenr4434
    @mohsenr44342 жыл бұрын

    The accuracy of the slope of the line is very important for converting the time data to distance. I did the homework assignment and attached an lcd which shows distance on display. Works perfectly! 👌🙏

  • @hughpatterson1480
    @hughpatterson14802 жыл бұрын

    Great lesson. Most people never think about how this type of sensor works! I have to set up my sensor circuit on a flat surface and use an appropriate object to bouce the signal to in order to do the calculation, but I will. I'll report back. Again, great lesson!

  • @dieseltinus6680
    @dieseltinus66803 жыл бұрын

    You are an excellent teacher; If you explain the imperial system the world might adopt it.

  • @SarkarMotion
    @SarkarMotion4 жыл бұрын

    Hello, hope you are perfectly happy and healthy! Your video is a great relief, since I have been unduly stressed by the ongoing world drama. I have never been so emotionally negative before. So I pray that you remain in high spirits.

  • @idan4848
    @idan48484 жыл бұрын

    thank you! I enjoy from your videos, you make it clear and comprehensible.

  • @rolandberendonck3900
    @rolandberendonck39003 жыл бұрын

    Oh my God, I am enjoying your tutorials so much!!!

  • @banerz
    @banerz3 жыл бұрын

    these lectures are made with love

  • @anujsaini9353
    @anujsaini93534 жыл бұрын

    I have resolved the issue. I think, you have taught so many techniques and I applied and resolved the issue. Thank you

  • @LennyTheRed
    @LennyTheRed4 жыл бұрын

    I'm using these working with my first arduino project and they work pretty good. Next im gonna try the HY-SRF05 Ultrasonic Sensor which is supposedly superior in terms of reliability. We'll see how it goes. Love your videos. Your boomer energy has me in awe.

  • @bigsmokemelvinharris
    @bigsmokemelvinharris4 жыл бұрын

    Crystal clear explanation as always. Big thumbs up👍👍👍

  • @AhmedMohammed-kz6ej
    @AhmedMohammed-kz6ej3 жыл бұрын

    I found the slope after fitting a straight line in MATLAB. The slope equals 0.0181 cm/us which means that the distance traveled in 1 micro second equals 0.0181cm. Thank you, you are a great instructor

  • @kevhopkins984
    @kevhopkins9843 жыл бұрын

    Enjoyable tutorial and I'm slowly getting there, at last!!! Slope = 0.007 I intend to stay with it to the last, so please keep them coming. Many thanks

  • @priyankadhage6483

    @priyankadhage6483

    3 жыл бұрын

    Heyy....i got 0.0075..almost close

  • @matteoetchart7060
    @matteoetchart70604 жыл бұрын

    Thanks for making these classes!!!

  • @thysdelport6782
    @thysdelport6782 Жыл бұрын

    slope = 344 m/s or 155 cm/450us if we divide the time by 2 due to the bidirectional travel time. Thanks Paul. Another great session!

  • @DeeGeeDeFi
    @DeeGeeDeFi3 жыл бұрын

    This is a great job for not the Serial Monitor, but the Serial PLOTTER. it gives you a good graph of readings, you can follow the shape, instead of trying to catch numbers scrolling past.

  • @daveharkin4731
    @daveharkin47314 жыл бұрын

    thankyou Paul, please keep these videos coming.

  • @VocalVibes1440
    @VocalVibes14403 жыл бұрын

    Awesome Lesson. Very detailed and the story line helps a 4th grader like me hooked

  • @killsme6957
    @killsme69572 жыл бұрын

    Thankyou so much sir Paul for teaching us this lesson, I now can have sensor to detect altitude from the ground for my drone.

  • @stephanvb5561
    @stephanvb55613 жыл бұрын

    Northern hemisphere (germany) Slope in cm. m=12,7cm/700ms Was able to calculate it the right way and display distance in cm on the serial monitor. Thanks to the fact that you have been repeating this kinda calculations over all your previous lessons and i can asure you, i aint´t a math pro. Thanks a lot

  • @cbrombaugh
    @cbrombaugh3 жыл бұрын

    Slope is 0.0070 in/microsec. This is 2-way round trip speed. My measurement of the speed of sound becomes 2x583 feet/second = 1166 feet feet second. This was a good lab experiment. Thanks Paul. Keep up the most excellent work.

  • @paulmcwhorter

    @paulmcwhorter

    3 жыл бұрын

    Thanks for sharing

  • @gghutton
    @gghutton4 жыл бұрын

    I just appriciate your style of mistakes. Yes, I yell out when I see your mistakes, but I make mistakes also. So then I have to trouble shoot one line at a time. It is comforting to know how to handle errors.

  • @priyaaj8106
    @priyaaj81063 жыл бұрын

    I got the slope as 0.193.. An absolutely perfect and clear explanation...

  • @eladioh3858
    @eladioh38583 жыл бұрын

    thankyou Paul, please keep these videos coming. yes I agree a Scope is a great tool to have

  • @426F6F
    @426F6F Жыл бұрын

    With my previous message being said, I'm finally getting a reading from my Ultrasonic sensor!! Thanks for another great video Paul! I'm going to run through all of these series in due time! Maybe sometime in the future I'll acquire enough skill to start building some awesome, useful, real-world projects. Hopefully some day I'll get hired somewhere where I can use the programming and electronics experience I will have attained to build some neat systems, because this is so enjoyable and fascinating to me!! 🤞

  • @gurupadmanabhan9238
    @gurupadmanabhan9238 Жыл бұрын

    Thank you for your efforts ..I love watch your videos

  • @physics_n_maths_nerd4204
    @physics_n_maths_nerd42043 жыл бұрын

    the slope i got was 0.0075 Inches per Microseconds😁😁, and the slope means Speed. Mr Paul you make Math and Physics look exciting. WE NEED MORE TEACHERS LIKE YOU!! and i'm in the eastern hemisphere 😊

  • @richardalexander633
    @richardalexander6332 жыл бұрын

    Hi Paul, The slope that I worked out was 0.00679 inches per microsecond. It looks about right compared to some other comments. Proper science experiment. Love it... :-)

  • @martinlewis645
    @martinlewis6453 жыл бұрын

    Thank you so much Paul. I got y= 0.006m + 0.497. Outputting distance to my LCD display.

  • @chrisingram7277
    @chrisingram72774 жыл бұрын

    Wow, I got to play with my cheap usb hantek scope and got some nice square waves on it. Enjoyed the homework. My slope came in at .064 inch/microsecond, which will give the speed of sound there and back.

  • @nahuel3256
    @nahuel32563 жыл бұрын

    The slope of graph Distance vs Time gives you the Velocity. If we divide the time by 2 we can obtain the time it takes the sound to travel one way. Then we can take the integral over time of that new graph to obtain the distance!!!! This is AWESOME!!

  • @KingsleyTart
    @KingsleyTart11 ай бұрын

    You know, you've just made me understand how I could use an Arduino to know when the dog wants to come back inside.

  • @gogeta414
    @gogeta4144 жыл бұрын

    I'm 12 years old and me and my dad are so happy that we are learning this, and this helps me become smarter......?!

  • @farrelmachmoed3045

    @farrelmachmoed3045

    4 жыл бұрын

    meh i'm 11

  • @gabrielstrong2186

    @gabrielstrong2186

    3 жыл бұрын

    I disagree, I think it is bringing the smartness that was already there before an outlet to show itself.

  • @suramyadidwania623
    @suramyadidwania6232 жыл бұрын

    The slope according to my readings is 50. And so my formula to calculate distance becomes; Distance=PingTravelTime/50 And then I verified my distance using a ruler and VOILA! It's all correct. Thank you for the lesson SirJi.

  • @micahhoffman7818
    @micahhoffman7818 Жыл бұрын

    I got a slope of about 0.006833 inches per microsecond. I think this is half the speed of sound because the sound has to travel there and back. I'm really loving these tutorials. Thanks Paul!

  • @robertjennings5558
    @robertjennings55582 жыл бұрын

    Paul, if people hate you due to your content and making them think then they really aren't trying to be an engineer.

  • @internetmoney5983
    @internetmoney59832 жыл бұрын

    who make unlike ? I am sure they are abnormal humans. the way you explained is perfect. you are the best teacher I have ever met. thank you sir.

  • @lorisrobots
    @lorisrobots2 жыл бұрын

    Using the metric system, I got a slope of 0.018 cm/uSec. If I do the math, my estimate of the speed of sound came out to 357 m/sec versus the actual value of 343 m/sec. Not too shabby. FYI ... I got a slope of 0.007 inches/uSec. But I measured using cm, so I just did the conversion here to share my value in inches/uSec. Great lesson!

  • @FRUITPUNCH2609
    @FRUITPUNCH26094 жыл бұрын

    wow, thank you so much for this video, keep them comin'!

  • @donaldwang6924
    @donaldwang69242 жыл бұрын

    Thanks a lot Paul! The eqution I got by linear interpolation is 0.017x + 0.288 ( cm). So the slope would be 0.017.

  • @paulrowe7755
    @paulrowe77558 ай бұрын

    Slope (metrical) 0.1648 => slope for one way distance 0.3296 => speed of sound 329.6 m/sec = an AHA moment for me, thank you Paul!

  • @antrikshfulwani7087
    @antrikshfulwani7087 Жыл бұрын

    I programmed it to measure the distance: distanceIN=(1./148.)*pingTravelTime; //in inches distanceCM=(1./59.)*pingTravelTime; //in cms Great lesson, thank you for this excellent series.

  • @paulmcwhorter

    @paulmcwhorter

    Жыл бұрын

    Excellent

  • @user-dh5hv3lo5h
    @user-dh5hv3lo5h2 жыл бұрын

    Hello paul. i like your lessons..every one of them...I think this sensor is most sencitive in about 4"

  • @axelthieser4712
    @axelthieser47122 жыл бұрын

    After doubling the distance (away and back) and converting to SI base units, I get a gradient (slope) of 355 m/s (we dont use inch in germany). So roughly the speed of sound. I like your way of teaching, a nice experiment. Thank you

  • @user-ob3qd6to1f
    @user-ob3qd6to1fАй бұрын

    Hi Paul tanks for all these math homework love them! My slope of the line is 0.0166 here from South Africa. Tanks Paul and have a great day!

  • @humphreydavis2729
    @humphreydavis27294 жыл бұрын

    Hi, I'm way behind everyone else watching these videos, so you probably won't even read this but I am working my through them and learning a lot. I have previously used the HC-SR04, following an exercise provided by Elegoo. Other than how to wire it up and take a reading, it taught me absolutely nothing. Once again, you have provided a clear explanation of what's going on. Did the homework here in the UK and got a slope of 0.006557143, which, allowing for some pretty inacurate measurements, is roughly half the speed of sound.

  • @kamranibadov9415
    @kamranibadov94154 жыл бұрын

    Slope= 0,0175 for sm Thanky for tutorial. You are the best arduino teacher.

  • @junesiaheng1097
    @junesiaheng10973 жыл бұрын

    Thank you for your kindness Mr Paul..🙏🙏

  • @paulmcwhorter

    @paulmcwhorter

    3 жыл бұрын

    Any time

  • @purvagn
    @purvagn3 жыл бұрын

    I think the slope here in South Australia is 4.76 ms/mm (?) cant wait to watch the next video to find out if it is within ballpark. Thanks PM, you rock!

  • @joematarc5245
    @joematarc52453 жыл бұрын

    great video again! you should make a tutorial, about this sensor, using a minibot with collision avoidance . I've been researching that for sometime now, and all info out there, is just useless. only your tutorials are good to learn something. thanks in advanced.

  • @laxmanrao4554
    @laxmanrao45543 жыл бұрын

    Awesome! It's fun!! I got slope value as 0.0059. so it is 0.0059 inches / microseconds (speed of pulse) . Thank you Sir ❤️

  • @mubinahmed97
    @mubinahmed972 жыл бұрын

    Slope of the best fit line = 0.0061 inches/microS = 508.33 ft/s. We are measuring outgoing distance but measuring outgoing + incoming ping travel time. So, the slope is the half of the velocity of ultrasound. Velocity of ultrasonic sound in this experiment is 2*508.33ft/s = 1016.67 ft/s which is slightly less than the reported speed of 1120 ft/s, probably because of the measurement inaccuracy. Still it is quite impressive. Thanks for the great lessons again.

  • @Noseassapo9053
    @Noseassapo90532 жыл бұрын

    Peru present Paul! My slope of the line was: 0.016 [cm / μs] Please keep doing videos I enjoy them a lot. If you could make another course about python and Arduino (updated) would be great. All the best! 🇵🇪💪

  • @tyl2el
    @tyl2el Жыл бұрын

    Hey Paul, Thanks for these! Going through them a couple years after you put them out! But mu slope for my line was 0.007142 in/mcs.

  • @oljeitulkhagva6288
    @oljeitulkhagva62883 жыл бұрын

    great video

  • @MarvPerk3
    @MarvPerk33 жыл бұрын

    Hi, Paul, I incorporated this project into the DHT11/LCD/9vPower project, as I figured we'd eventually want to hook it up to the LCD and make it portable. I also couldn't help but calculate off the know speed of sound, rather than observed values, so 1125 ft/sec=13500 inches/sec = .0135 inches/microsec. So, after multiplying the microseconds by .0135, I then divided by 2 to compensate for out-and-back travel distance. Interestingly enough, that .0135/2 comes very close to the .007 range that many people reported... .00675 to be exact. Do I get a fail for using the speed of sound, or a star? My LCD displays microseconds on the top line and inches on line two. Walking around the house, it seems pretty accurate, but I don't know the limits of distance it can measure, as when I point down a long hall, the distance is under-reported. maybe it is bouncing off doorknobs or other closer objects. Anyway, another fascinating lesson and exercise... and I loved incorporating it right in with the previous projects (using the Nano and the jumbo breadboard). Thanks, as always.

  • @jimlabissonniere7400
    @jimlabissonniere74004 жыл бұрын

    From Montreal, Canada my calculation for the slope is 0.0067 and the values for time and twicie the distance (ping must come back) seem to represent the speed of sound.

  • @aynursunagatullin7029
    @aynursunagatullin70293 жыл бұрын

    I did it Mr.McWhorter, I got a slope of (15-2)/(868-147)=13/721 I'm using cm and microseconds, Hello from Russia~!

  • @melplishka5978
    @melplishka59782 жыл бұрын

    Hahaha I like that that don’t let the smoke out comparative lol. Reminds me of my transmission repair instructors examples lol.

  • @tameraziz2104
    @tameraziz21044 жыл бұрын

    Thanks Paul.

  • @jaya.rajeshhanni3071
    @jaya.rajeshhanni30713 жыл бұрын

    hi sir, i went through your tutorial and thats great.. i would be happy to know if there are any ways to calculate output of sensor in terms of voltage ??

  • @believer3759
    @believer37592 жыл бұрын

    The slope of the line that I found was 16/28 or .679 in decimal. For me the meaning of the line represents the ability of the sonic sensor to calculate the distance from itself to any object it is aimed at.

  • @alexzhukovsky8361
    @alexzhukovsky8361 Жыл бұрын

    I love your joke about the smoke "these chips don't work without their smoke" 😄

  • @alanfairclough8879
    @alanfairclough88792 жыл бұрын

    It works. My distance =( pingTravel * 0.0069 )+0.134; I added an LED to fire off every time it sends a pulse, delay increased a bit, I also added an if statement that prints out "TOO CLOSE, BACK OFF!" when the distance

  • @hussainalramadan7517
    @hussainalramadan75174 жыл бұрын

    You made my day! :)

  • @tntragan
    @tntragan2 жыл бұрын

    I came up with answers that seem to be close to others. My slope was m=4.437/700 = .00634. Using the point slope value formula that you taught us earlier I came up with a Point Slope Value of y = (4.437/700)(P.T.T) - 1.688, which should give us a "Y" value of distance at any pingTravelTime that is generated by the sensor. (I hope).

  • @khaledazab4730
    @khaledazab47304 жыл бұрын

    Hey Paul thank you for the great video once again, i hope you are doing well ! I was wandering if you know the Cypress PSoc, and if you might be willing to do some videos on it, from what i understand its like an Arduino but with built in components that can be activated with code, is that correct?

  • @brian2007tube
    @brian2007tube4 жыл бұрын

    Getting a slope that approximates to the speed of sound in inches per microseconds divided by 2 - because it has to transmit to target and back. Found it hard to get exact measurements.

  • @kushagrakinra4505
    @kushagrakinra45052 жыл бұрын

    Hello Paul . I got slope for my case as 0.008 and I think it represents speed of sound

  • @mohfa1806
    @mohfa18064 ай бұрын

    Thank you for your great video lessons...i have question please: you connected the sensor to the lower ground connection , so the upper ground connection is not necessary anymore , right ?

  • @jabber2824
    @jabber2824Ай бұрын

    i found my slope (m) to be 0,006 (inch/uS). It's quite hard to get consistent readings from the sensor and its often off by +-100uSeconds. Since the signal travels to the object and back we need to calculate with half the travel time : slope would then be 12 inch/micro second. Close enough to the 13,5 inch per microSecond which is the speed of sound. Great lesson! and much better than the ELEGO tutorial which don't really explain anything.

  • @jimh1611
    @jimh16114 жыл бұрын

    Well, my slope calculated to 0.0064 inches/mS And what does it all mean, I think we are measuring the speed of sound here ?

  • @neilgavins8852
    @neilgavins8852 Жыл бұрын

    I see there are different versions of the Nano; which should I buy to follow your EXCELLENT video series?

  • @harrison4687
    @harrison46873 жыл бұрын

    i got a slope of 6.78 x 10neg3 per microSecond or 6.78 inches per milliSecond. it means that it takes one millisecond for the ping to travel to the object and back so the ping is actually travelling double the distance or 13.57 inches in one milliseconcd. Double checking with the speed of sound at 1100ft/sec gives 13,200 inches per second or 13.2 inches per millisecond. I hail from Bay Area, California. Happy Holidays.

  • @NoCaminhoDele
    @NoCaminhoDele2 жыл бұрын

    Greetings from Brazil! My slope was 0.0175, measuring in centimeters.

  • @callmeandoru2627
    @callmeandoru26273 жыл бұрын

    "Once you let the smoke out, it is very hard to get the smoke back in" (Paul McWhorter, 2020)

  • @mohammedsakr8639

    @mohammedsakr8639

    3 жыл бұрын

    It is an irreversible process.

  • @prashantgunjal5566
    @prashantgunjal55664 жыл бұрын

    paul is it compulsory to keep the trig and echo pins as digital becuse i kept them at analog and it shows one

  • @makeqwd7199
    @makeqwd71994 жыл бұрын

    first one to comment on this video , love ur videos , the way u teach its cool , u explain each step and why these steps , , I didn't reach this video yet im still in video 39 , but i will catch u , ,,great job

  • @gourisankarmondal9214
    @gourisankarmondal9214Ай бұрын

    Can I test echo overlaping using any ultrasonic sensor and esp32? I mean can I check if part the signal bounce back from the surface of a hollow object and other part go through the object and bounce back from the other surface? I need to measure thickness of a pipe.

  • @martinhebben2072
    @martinhebben20724 жыл бұрын

    Looking forwards to the next lesson, i have troubles thit this slope thing. But (pingTravelTime/2) * 0.0343 (speed of sound in cm) works for me.

  • @derekolson9856
    @derekolson98563 жыл бұрын

    Do you have an Amazon aff link to an oscilloscope that you'd recommend?

  • @matthewjones517
    @matthewjones517 Жыл бұрын

    Maybe you cover this in another video, but what should I look for when buying an oscilloscope? Do you have one you'd recommend?

  • @EFoxVN
    @EFoxVN10 ай бұрын

    I have intuitively switched it over to [m/s], and I got a reading of 346 m/s, which is really not bad. 😊 Of course I also first made the mistake of not realizing that I need to use twice the distance, but I am proud to say that I caught my mistake. 🎉

  • @theunit1480
    @theunit14803 жыл бұрын

    Hey Paul. Love your videos mate. I have learned a great deal. Unfortunately, I'm in Australia, so for the coffee, it's a Farmer's Union Iced Coffee or it's nothing (refer to the TV adverts...you'll get it.) However I digress. I have a pair of HY-SRF05 u.s. sensors which can use the ping and echo independently. My aim is to get one to sing out to the other, sort of "Marko!... Polo!" style, then serialPrint what the receiving one is hearing. Any suggestions would be much appreciated. Thanks, Billy.

  • @soup2ru433
    @soup2ru4333 жыл бұрын

    As clean as you are with cables I was shocked you had the USB issue. haha Had sprinkle salt over the wound on that one.

Келесі