https://howtomechatronics.com/tutorials/arduino/ultrasonic-sensor-hc-sr04/ ► Find more details, circuit schematics and source codes from my official website.
Please note, circuit diagram at 0:56 should be: 5v to VCC, GND to GND, D10 to Trig, D9 to Echo.

In this Arduino Tutorial you will learn how to use the HC-SR04 Ultrasonic sensor. It can measure distance from 2 cm to 4 meters with a ranging accuracy up to 3mm. The working principle of this module is quite simple.

Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► https://howtomechatronics.com/

Like my page on Facebook:
► https://www.facebook.com/howtomechatronics

Add me on Google+:
►https://plus.google.com/+Howtomechatronics

Music: Aduro by Jens Kiilstofte (machinimasound.com/music)

Source

Leave a Reply