mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
Merge branch 'Battery_monitoring' of git://github.com/MJ666/cleanflight into MJ666-Battery_monitoring
This commit is contained in:
commit
d33e4e6afd
5 changed files with 45 additions and 12 deletions
|
@ -6,18 +6,19 @@ Here are the hardware specifications:
|
|||
|
||||
- STM32F103CBT6 MCU (ALIENWIIF1)
|
||||
- STM32F303CCT6 MCU (ALIENWIIF3)
|
||||
- optional integrated serial/ppm receiver (ALIENWIIF3 only, future enhancement)
|
||||
- MPU6050 accelerometer/gyro sensor unit
|
||||
- 8x 4.2A brushed ESCs, integrated, to run the strongest micro motors
|
||||
- extra-wide traces on the PCB, for maximum power throughput
|
||||
- USB port, integrated
|
||||
- (*) serial connection for external DSM2/DSMX sat receiver (e.g. Spektrum SAT, OrangeRx R100 or Lemon RX)
|
||||
- alternatively PPM receiver connection (i.e. Deltang Rx31)
|
||||
- (*) serial connection for external DSM2/DSMX sat receiver (e.g. Spektrum SAT, OrangeRx R100, Lemon RX or Deltang Rx31)
|
||||
- ground and 3.3V for the receiver
|
||||
- hardware bind plug for easy binding
|
||||
- motor connections are at the corners for a clean look with reduced wiring
|
||||
- dimensions: 29x33mm
|
||||
- direct operation from an single cell lipoly battery
|
||||
- 3.3V LDO power regulator (ALIENWIIF1 only)
|
||||
- 3.3V buck-boost power converter (ALIENWIIF3 only)
|
||||
- battery monitoring with an white LED for buzzer functionality (ALIENWIIF3 only)
|
||||
|
||||
(*) Spektrum Compatible DSM2 satellites are supported out of the box. DSMX sat will work with DSM2 protocol with default settings (DSM2, 11bit, 11ms is preset).
|
||||
|
||||
|
|
|
@ -17,12 +17,15 @@ Flyable!
|
|||
Tested with revision 1 board.
|
||||
|
||||
## TODO
|
||||
* ADC
|
||||
* Sonar
|
||||
* Display (via Flex port)
|
||||
* SoftSerial - though having 3 hardware serial ports makes it a little redundant.
|
||||
* Airplane PWM mappings.
|
||||
|
||||
# Voltage and current monitoring (ADC support)
|
||||
|
||||
Voltage monitoring is possible when enabled via PWM9 pin and current can be monitored via PWM8 pin. The voltage divider and current sensor need to be connected externally. The vbatscale cli parameter need to be adjusted to fit the sensor specification. For more details regarding the sensor hardware you can check here: https://github.com/TauLabs/TauLabs/wiki/User-Guide:-Battery-Configuration
|
||||
|
||||
# Flashing
|
||||
|
||||
## Via Device Firmware Upload (DFU, USB) - Windows
|
||||
|
@ -165,11 +168,11 @@ Flashing cleanflight will erase the TauLabs bootloader, this is not a problem an
|
|||
|
||||
# Serial Ports
|
||||
|
||||
| Value | Identifier | RX | TX | Notes |
|
||||
| ----- | ------------ | --------- | ---------- | ------------------------------------------------------------------------------------------- |
|
||||
| 1 | USB VCP | RX (USB) | TX (USB) | |
|
||||
| 2 | USART1 | RX / PB7 | TX / PB6 | Conn1 / Flexi Port. |
|
||||
| 3 | USART2 | RX / PA3 | PWM6 / PA2 | On RX is on INPUT header. Best port for Serial RX input |
|
||||
| Value | Identifier | RX | TX | Notes |
|
||||
| ----- | ------------ | --------- | ---------- | -------------------------------------------------------------- |
|
||||
| 1 | USB VCP | RX (USB) | TX (USB) | |
|
||||
| 2 | USART1 | RX / PB7 | TX / PB6 | Conn1 / Flexi Port. |
|
||||
| 3 | USART2 | RX / PA3 | PWM6 / PA2 | On RX is on INPUT header. Best port for Serial RX input |
|
||||
| 4 | USART3 | RX / PB11 | TX / PB10 | RX/TX is on one end of the 6-pin header about the PWM outputs. |
|
||||
|
||||
USB VCP *can* be used at the same time as other serial ports (unlike Naze32).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue