The following content is an automatically extracted verbatim text
from the original manufacturer datasheet and is provided for reference purposes only.
View original datasheet text
HCSR04 Ultrasonic Sensor
Elijah J. Morgan Nov. 16 2014
The purpose of this file is to explain how the HCSR04 works. It will give a brief explanation of how ultrasonic sensors work in general. It will also explain how to wire the sensor up to a microcontroller and how to take/interpret readings. It will also discuss some sources of errors and bad readings.
1. How Ultrasonic Sensors Work 2. HCSR04 Specifications 3. Timing chart, Pin explanations and Taking
Distance Measurements 4. Wiring HCSR04 with a microcontroller 5. Errors and Bad Readings 1. How Ultrasonic Sensors Work
Ultrasonic sensors use sound to determine the distance between the sensor and the closest object in its path.