Uploaded November 2015 | Updated November 2026, 3 hours ago
Ultrasonic range finders measure the distance of objects from the sensor using sound waves. The HC-SR04 is the most common ultrasonic range finder used with the Arduino.
In this video, we will first build a minimal parts distance sensor with the Arduino, then we will build a more accurate distance sensor by including temperature measurements into the distance calculation. Then we will build a highly accurate distance sensor using temperature and humidity data taken from a DHT11.
The ultrasonic range finder can be purchased here:
amzn.to/47w59sO
Visit the full tutorial for the example code and wiring diagrams:
circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino
Check out Circuit Basics for more tutorials on the Arduino, Raspberry Pi, and other DIY electronics projects!
circuitbasics.com
Facebook: facebook.com/circuitbasic
Twitter: twitter.com/circuitbasics
Instagram: instagram.com/circuitbasics
Ultrasonic range finders measure the distance of objects from the sensor using sound waves. The HC-SR04 is the most common ultrasonic range finder used with the Arduino.
In this video, we will first build a minimal parts distance sensor with the Arduino, then we will build a more accurate distance sensor by including temperature measurements into the distance calculation. Then we will build a highly accurate distance sensor using temperature and humidity data taken from a DHT11.
The ultrasonic range finder can be purchased here:
amzn.to/47w59sO
Visit the full tutorial for the example code and wiring diagrams:
circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino
Check out Circuit Basics for more tutorials on the Arduino, Raspberry Pi, and other DIY electronics projects!
circuitbasics.com
Facebook: facebook.com/circuitbasic
Twitter: twitter.com/circuitbasics
Instagram: instagram.com/circuitbasics










