chrisricard.com
Archive aisle lined with shelves of case boxes and card-catalog drawers

Ultrasonic Distance Measurement Principles HC-SR04

July 27, 2026 · 1.5 MB

A four-page user guide to the HC-SR04 ultrasonic distance sensor module, covering how it measures distance, its features, pins, electrical specifications and operation with a microcontroller.

Overview

The HC-SR04 measures distance by sending out eight bursts of 40 kHz ultrasound and timing how long the echo takes to return from an object. Since sound travels at about 340 m per second in air, the distance is the speed multiplied by the time, divided by two because the sound makes a round trip. This short guide lists the module's uses, including robotics, level detection, security systems and vehicle obstacle avoidance, along with its four pins and specifications. It runs on 5 V DC at 15 mA, has a range of 2 cm to 4 m and a measuring angle of 15 degrees. To take a reading, a microcontroller sends a trigger pulse of at least 10 µs and times the echo pulse. The guide warns users never to connect the module with power applied, and notes that objects should be larger than 0.5 m² for the best range.

Page 1 of Ultrasonic Distance Measurement Principles HC-SR04
Page 1 · click to open the full PDF
Open full PDF (1.5 MB) ↗

More from Physical Sciences, Math & Engineering

See all 164 in Physical Sciences, Math & Engineering →