Can't switch to depth hold mode

@Jacob, i have checked the BAR30, it is working perfectly fine. The problem is that the PixHawk is not generating the I2C clock for the sensor.

Secondly, the PixHawk I2C port is giving the output of 5V instead of 3.3V. Where seems to be the problem?

@Haider,

The Pixhawk1 I2C port has always provided 5 vdc on that port and not 3.3 vdc.

The BAR30 pressure sensor has a built-in 5 vdc to 3.3 vdc regulator.

Regards,

TCIII AVD

Haider,

The Pixhawk provides +5V supply, but the logic lines are 3.3V. The Bar30 has a 5V to 3.3V regulator for the supply, but the logic lines are only 3.3V tolerant.

Can you please tell us how you verified the BAR30 is still working, and how you determined that the Pixhawk is not providing a clock?

-Jacob

checked the BAR30 with the Arduino, you can see the result in the attached picture.

I checked it with the oscilloscope, it displayed some garbage value. Is there any other way of checking it?

and i also updated the latest version of the ardusub that you mentioned earlier.


Haider,

You may have damaged your pressure sensor by using it with the Arduino. Please contact support@bluerobotics.com for further assistance.

-Jacob