I’m trying to build an ROV which should hold the depth and control the pitch angle in an aquarium.
I’m able to read the ATTITUDE values with a Python-script.
For the depth I tried to connect the new ordered Bar30 to my Pixhawk. For that I needed to change the plug to the new I2C one.
After solder the wires together like the descriptions said, I plugged the sensor in, but calibration fails on ardusub.
I changed the software to ardupilot and there the calibration was succesful, but i cant read any data.
I hope for some help to get the sensor work under ArduSub.
You may need to change BARO_EXT_BUS so it is able to find the sensor in the correct bus.
I’m not sure of what is the correct bus in the Pixhawk 4, so you may need to experiment.
If you get it working, please report back so we can add that as a default in the Firmware.
The Pixhawk 4 hasn’t been supported until very recently, so there isn’t a stable release for it. To use it with ArduSub you’ll need to use the Development release (ArduSub 4.2) or the Bar30 won’t work, as covered in this thread:
Hello,
I’m having trouble getting the bar30 to appear in qgroundcontrol. At first I was facing an issue with the bar30 and the leak sensor. After looking thru the forums, I learned that I needed to flash the dev build for the pixhawk in order for the bar30 and leak sensor to work. Thankfully, the leak sensor worked but not the pressure sensor. I think the issue might be in the parameters. I have set everything to desfault and tried experimenting with the bus number like someone else did but that didn’t work. I set it so that looks for my bar sensor [MS5837] but that didn’t work. I looked in mavlink inspector and confirmed that there was no connection. I have all the hardware stuff down so it’s definitly either software or parameters. Seeing as how I flashed the lastest build and the leak sensor work, I’m sure it’s parameters but I dont know what to do.
Hey @EliotBR . I tried both of the above approaches, I couldn’t get any progress. Could you please let me know any other possible remedies. I have Bar30 pressure sensor and Pixhawk 4.