I have some problems with connecting Baro30 pressure sensor to Pixhawk4 FMU5.
I’ve connected wires from sensor to i2c A port of Pixhawk. Version of ardusub installed is 4.0.3.
As i understand from other topics, i should have seen SCALED_PRESSURE2/3 mavlink packet in mavlink inspector in QGC, but i can see only SCALED_PRESSURE from internal sensor. Changing GND_EXT_BUS parameter gives nothing.
Did any1 able to make this sensor work on PX4? Will be appreciate for any help.
I was able to see SCALED_PRESSURE2 in mavlink inspector (changed default external bus id to 3). But now, messages with depth and temperature mostly consists of repeating garbage values (depth -38.6m, -49m, - 24.1m an temperature(-111,3C, 50C) and sometimes correct values (depth 0.0m and temperature around 26C). Calibration of pressure sensor was successfully done, but still garbage values appear?
If you’re sometimes getting correct values and other times incorrect ones then that seems unlikely to be an issue with ArduSub or your Pixhawk, and more likely to be an issue with the sensor itself. Presumably you don’t have a spare Pixhawk or Bar30 to test with, so could you try hooking up the Bar30 you’ve got to an Arduino or Raspberry Pi (could use the companion computer if need be) and see whether you’re able to get consistently correct readings with it?
If it does turn out to be broken you can contact firstname.lastname@example.org about a potential replacement or refund, and link them to this thread
Interesting. Without having looked too deeply into the sensor firmware, perhaps the bad readings are from data requests while it’s part-way through filling up the reading buffer or something, or if it hasn’t yet had a chance to measure a new value since the last one was asked for.
Hey alex how are you , i am having the same situation you had and i’ve changed the values like you did in AP_BARO lib but i didnt find the AP_Baro_BS5611 file , but i changed the value in the AP_Baro_MS5611 file ,i then compiled and uploaded thr firmware to the pixhawk4 , nothing changed .
Can you help with that ? or recommend a way to solve it ??