UltraPing

A simple, timer-safe ultrasonic sensor library for Arduino that avoids hardware timer conflicts.

Author
Michael Nixon
Website
https://github.com/EduKits/UltraPing
Category
Sensors
License
MIT
Library Type
Contributed
Architectures
Any

Provides a familiar, blocking API for ultrasonic distance sensors like the HC-SR04. It uses the standard pulseIn() function, making it compatible with other libraries that require specific hardware timers (like tone()). Features include cm/inch conversion, one-pin mode, and a median filter for noise reduction.

Downloads

Filename Release Date File Size
UltraPing-1.0.0.zip 2025-07-19 7.06 KiB