NewPing

Sensors

A library that makes working with ultrasonic sensors easy.
When I first received an ultrasonic sensor I was not happy with how poorly it performed. I soon realized the problem was not the sensor, it was the available ping and ultrasonic libraries causing the problem. The NewPing library totally fixes these problems, adds many new features, and breathes new life into these very affordable distance sensors.

Author: Tim Eckel

Maintainer: Tim Eckel

Read the documentation

Go to repository

Compatibility

This library is compatible with the avr, arm architectures so you should be able to use it on the following Arduino boards:

Releases

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