Recording ping data onboard

Good morning everyone,

I was just wondering how easy it would be for me to record the ping sonar data in this simple format in a .csv or .txt:
Timestamp Depth

I was thinking about using a Raspberry Pi onboard of my Hydrone as we already have some here.

Also, is the Ping sold with a usb connector?

Thank you,

Hi @Samanto,

That would be quite simple - you could use one of the code libraries that are linked to in the technical details on the product page (Python is likely easiest) :slight_smile:

The code in this comment pretty much does what you were after.

The sensor itself has four loose wires for TTL Serial communication. The BLUART USB to TTL Serial adaptor (which you can select to include on the Ping Sonar page) has a micro-USB port, which you can connect to with any USB-A to micro-USB cable. If you’d like an extra short one for using in small spaces (e.g. an enclosure) you can scroll down to the “You may also need” section on the Ping Sonar page and add our 6" micro USB cable :slight_smile:

1 Like