Skip to content

Ping Python library (Blue Robotics sonar)

  • Software
  • Drones and boats
  • Driver or SDK

A Python library for talking to Blue Robotics' Ping sonar, an ultrasonic altimeter for underwater projects. It wraps the device's full set of commands in one interface.

Made by Blue Robotics, United States (checked on github.com/bluerobotics (opens in a new tab)).

Source on GitHub: github.com/bluerobotics/ping-python (opens in a new tab). Facts read at commit 7f27d04 (opens in a new tab).

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 7f27d04 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Connects to a Ping sonar over a serial port or over UDP.
  • Reads distance measurements with a confidence value.
  • Requests profiles and other device data through get_ methods.
  • Changes device settings, such as the speed of sound, through set_ methods.
  • Ships a simplePingExample.py script that reads from a given device path or UDP address.
  • Installs with pip as bluerobotics-ping, and can be built from source.

Written by Robotheca from the project's README (opens in a new tab) at commit 7f27d04.

Getting started

Difficulty
Beginner
Hardware it needs, as the project states it
A Ping sonar device, connected through a serial port (such as /dev/ttyUSB0 or COM1) or over UDP.

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
5 Aug 2026 on master
Latest release
v0.2.5 (5 Aug 2026)

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.