mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 00:39:59 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -5,7 +5,8 @@ This allows for more more reliable flight planning notification of failure condi
|
||||
The information may include some of: remaining charge, time-to-empty (estimated), cell voltages (rated max/min, current voltage, etc.), temperature, currents, fault information, battery vendor, chemistry, etc.
|
||||
|
||||
PX4 supports (at least) following smart batteries:
|
||||
* [Rotoye Batmon](../smart_batteries/rotoye_batmon.md)
|
||||
|
||||
- [Rotoye Batmon](../smart_batteries/rotoye_batmon.md)
|
||||
|
||||
### Further Information
|
||||
|
||||
|
||||
@@ -7,12 +7,10 @@ It can be purchased as a standalone unit or as part of a factory-assembled smart
|
||||
|
||||

|
||||
|
||||
|
||||
## Where to Buy
|
||||
|
||||
[Rotoye Store](https://rotoye.com/batmon/): 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.
|
||||
@@ -21,7 +19,6 @@ The Rotoye Batmon system uses an XT-90 battery connector with I2C pins, and an o
|
||||
|
||||
More details can be found [here](https://github.com/rotoye/batmon_reader)
|
||||
|
||||
|
||||
## Software Setup
|
||||
|
||||
### Build PX4 Firmware
|
||||
@@ -31,7 +28,7 @@ More details can be found [here](https://github.com/rotoye/batmon_reader)
|
||||
git clone https://github.com/rotoye/PX4-Autopilot.git
|
||||
cd PX4-Autopilot
|
||||
```
|
||||
1. Checkout the *batmon_4.03* branch
|
||||
1. Checkout the _batmon_4.03_ branch
|
||||
```sh
|
||||
git fetch origin batmon_4.03
|
||||
git checkout batmon_4.03
|
||||
@@ -40,16 +37,17 @@ More details can be found [here](https://github.com/rotoye/batmon_reader)
|
||||
|
||||
### Configure Parameters
|
||||
|
||||
In *QGroundControl*:
|
||||
In _QGroundControl_:
|
||||
|
||||
1. Set the following [parameters](../advanced_config/parameters.md):
|
||||
- `BATx_SOURCE` to `External`,
|
||||
- `SENS_EN_BAT` to `true`,
|
||||
- `SENS_EN_BAT` to `true`,
|
||||
- `BAT_SMBUS_MODEL` to `3:Rotoye`
|
||||
1. Open the [MAVLink Console](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/analyze_view/mavlink_console.html)
|
||||
1. Start the [batt_smbus driver](../modules/modules_driver.md) in the console.
|
||||
For example, to run two BatMons on the same bus:
|
||||
```sh
|
||||
batt_smbus start -X -b 1 -a 11 # External bus 1, address 0x0b
|
||||
```sh
|
||||
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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user