Support for external barometers was released with Copter-3.6. The instructions below have been verified for the Drotek MS5611 and BMP280 types.
Most flight controllers include a barometer directly on the flight controller but attaching an external barometer can be useful in order to place the barometer away from air pressure disturbances.
Copter users can partially reduce the effect of air pressure disurbances by enabling Ground Effect Compensation
Besides providing pressure readings for altitude estimation, an additional barometer can be used for monitoring the environmental or an internal component’s temperature within a typical range of -40 - +85°C.
Connecting and Configuring¶
Connect the barometer to the flight controller’s I2C port as shown below
On the top of the Drotek MS5611 board, the “I2C” jumper should be soldered. Look for “I2C/SPI” written on the board.
Real-time pressure and temperature from the barometer are sent to the ground station. If using Mission Planner they are visible on the Flight Data >> Status tab, look for “press_abs2” and “press_temp2”.
Mission Planner’s MAVLink Inspector can also be used to view the data. From the Flight Data screen press Ctrl-F, then push the “MAVLink In” button and then expand the view and look for SCALED_PRESSURE2.
If using ArduPilot onboard OSD, the secondary barometer’s temperature reading can be displayed using the OSDn_BTEMP panel.