mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:48:54 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2.2 KiB
2.2 KiB
Rotoye Batmon
Rotoye Batmon is a kit for adding smart battery functionality to off-the-shelf Lithium-Ion and LiPo batteries. It can be purchased as a standalone unit or as part of a factory-assembled smart-battery.
::: info At time of writing you can only use Batmon by building a custom branch of PX4. Support in the codeline is pending PR approval. :::
Where to Buy
Rotoye Store: Batmon kits, custom smart-batteries, and accessories
Wiring/Connections
The Rotoye Batmon system uses an XT-90 battery connector with I2C pins, and an opti-isolator board to transmit data.
More details can be found here
Software Setup
Build PX4 Firmware
- Clone or download Rotoye's fork of PX4:
git clone https://github.com/rotoye/PX4-Autopilot.git cd PX4-Autopilot - Checkout the batmon_4.03 branch
git fetch origin batmon_4.03 git checkout batmon_4.03 - Build and upload the firmware for your target board
Configure Parameters
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.
For example, to run two BatMons on the same bus:
batt_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
Further Information
Quick Start Guide (Rotoye)


