In this electronics tutorial we go over how an HC-SR04 ultrasonic distance sensor works with the arduino to determine a distance to an object.

The basic idea is that it send out a sound wave that is reflected by object. Then my measuring the time for the wave to make the trip you can determine distance. We have used the sensors to control the LittleArm arduino robot arm.

For more information visit http://www.littlearmrobot.com/

, https://i.ytimg.com/vi/1jGvzNrtF24/hqdefault.jpg

source

7 Comments

  1. Great explanation!
    I am working on this project in which I want to check dimensions of the metal parts or drilled holes.
    I want to use this sensor for inspection purpose.
    Can you give me some idea related to industry application?

  2. At 2:40, I believe the equation should be: Distance = speed of sound * time to travel to object and back * 0.5 to calculate the one-way distance, not round trip.

  3. A video of how you built that robot arm using the ultrasonic sensor would be very great. Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.