Sensors
Ultrasonic sensor is used to measure distance
The HC-SR04 ultrasonic sensor is an affordable and super-popular sensor that measures the distance between itself and an object located in front of the sensor. Very simple to use, it returns the distance in centimeters or inches.
Maintainer: Soldered
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.