HC-SR04

Sensors

Library for HC-SR04 ultrasonic distance sensor.
You can measure distance in microseconds, millimeters, centimeters and inches. It's possible to utilize one trigger with multiple echoes simultaneously.

Author: Dirk Sarodnick

Maintainer: Dirk Sarodnick

Read the documentation

Compatibility

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.