Access the io ports of the navigator with navigator lib

Hi :slight_smile:
Is there a way to access the io ports on the navigator from the raspberry pi? I would like to read data from the leak sensors and the external barometer, which are connected to the io ports of the navigator but I’m not sure how to access them. I’m not using ArduSub but the navigator lib, which as far as I understood it, does not directly support access to the io ports. Has anyone attempted this before or has any ideas on this topic?

Hi @franka,

This is exposed through the read_leak method included in navigator-lib :slight_smile:

For some context, our Navigator libraries are intended to expose functionality that is enabled by the Navigator hardware. Accessing external peripherals which require using a specific communication protocol will generally require using a library intended for that purpose.

Our other software libraries may be of use here, or you can find a link to relevant libraries in the Technical Details of one of our product pages :slight_smile:

Hi @EliotBR
Thanks for the info, after adjusting the i2cbus from 1 to 6 I was able to read data from the pressure sensor using the library :partying_face:

1 Like