Intermittent Depth Errors with Bar100 Pressure Sensor on Navigator + Raspberry Pi 4

Hello everyone,

I’m facing an intermittent depth-sensor issue with my Blue Robotics Bar100 (100-bar) pressure sensor and would appreciate some suggestions from anyone who has experienced something similar.

My setup

  • Pressure sensor: Blue Robotics Bar100 (100-bar)

  • Flight controller: Navigator

  • Companion computer: Raspberry Pi 4

  • Connection: The pressure sensor is directly connected to the I²C pins on the Navigator.

  • Testing environment: A small water tank/pond

Problem description

After calibrating the depth sensor, it initially works correctly and provides stable depth readings. However, after approximately 10 minutes, depth errors start appearing intermittently.

In some cases, the system works for several hours before the sensor stops being detected altogether.

Interestingly, when I remove the sensor from the hull and connect it externally, it gets detected again. This makes me suspect that the issue could be related to the internal wiring, electrical interference, or the testing environment.

Possible causes I’m considering

1. Particles in the water

The pond Contains small particles, including leaves and tiny pieces of wood. Could these particles accumulate around the pressure sensor’s sensing surface and affect its readings?

2. Loose I²C connections or vibration

Could vibrations inside the hull cause a connector or wire to move slightly, resulting in intermittent I²C communication failures? Since I²C is sensitive to signal integrity, could this explain why the sensor stops being detected after some time?

3. Electrical interference

Could electrical noise from the Navigator, Raspberry Pi, ESCs, or other electronics inside the hull interfere with the I²C communication?

4. Software or configuration issues

Could this also be related to the Navigator firmware, ArduSub parameters, or the Bar100 driver?

Questions

  1. Has anyone experienced similar intermittent Bar100 detection or depth-reading errors with a Navigator and Raspberry Pi 4?

  2. What troubleshooting steps would you recommend to identify whether the issue is electrical, mechanical, or software-related?

  3. Are there any specific checks I should perform on the I²C bus, wiring, or firmware configuration?

Any suggestions or recommendations would be greatly appreciated. I would like to identify the root cause rather than simply recalibrating the sensor every time the error occurs.

Thank you!

Hi @divyansh -
Nothing to be concerned about! Your Bar 100XT uses a Keller sensor that on versions of ArduSub <4.7 may have more frequent depth sensor errors. To start I’d make sure you’re on the latest autopilot version.
That change should reduce the frequency of the error but it may still occur- it is a nuisance message and should not impact your operation of the vehicle. I’d think you’re #3 is the root cause- i2c is a protocol that is not designed for long wires and noisy environments, the exact (standard) situation you face. Adding a ferrite core ring with the cable making a wrap or two through it may further reduce the occurrence frequency.

One more way the error can crop up that I forgot about - if the depth value doesn’t change at all for more than 20 seconds, the error is also reported - this doesn’t mean the sensor is having an issue, just stable. This can occur more often with the Bar100 series, as its larger range makes noise that would change the output even smaller. This timeout used to be 2 seconds, and it was increased to 20 - so make sure you’re on the latest version as these fixes are recent!