ArduPilot supports several types of “smart battery” that communicate using SMBus:
While not yet very common, smart batteries are easier to attach and detach from the vehicle and are capable of providing more information on the state of the battery including capacity, individual cell voltages, temperature, etc.
Setup through Mission Planner¶
Restart the board and connect with a ground station and check the battery voltage appears. The BATT_CAPACITY parameter should be automatically updated to the batteries actual capacity in mAh.
Battery “address discovery” is not supported so the battery must use the I2C address 0x0B (7 bit address). Most smart batteries use this address.