Rotoye Batmon
Rotoye Batmon is a kit for adding smart battery functionality to off-the-shelf Lithium-Ion and LiPo batteries. Його можна придбати як самостійний пристрій або як частину заводсько зібраної розумної батареї.


Де купити
Rotoye Store: Batmon kits, custom smart-batteries, and accessories
Проведення/Підключення
Система Rotoye Batmon використовує роз'єм батареї XT-90 з контактами I2C та оптоволоконно-ізоляційну плату для передачі даних.

More details can be found here
Налаштування програмного забезпечення
Створення прошивки PX4
Clone or download Rotoye's fork of PX4:
shgit clone https://github.com/rotoye/PX4-Autopilot.git cd PX4-AutopilotCheckout the batmon_4.03 branch
shgit fetch origin batmon_4.03 git checkout batmon_4.03Build and upload the firmware for your target board
Налаштування параметрів
In QGroundControl:
Set the following parameters:
BATx_SOURCEtoExternal,SENS_EN_BATtotrue,BAT_SMBUS_MODELto3:Rotoye
Open the MAVLink Console
Start the batt_smbus driver in the console. Наприклад, для запуску двох BatMons у одному підключенні:
shbatt_smbus start -X -b 1 -a 11 # External bus 1, address 0x0b batt_smbus start -X -b 1 -a 12 # External bus 1, address 0x0c