.. | ||
defaults.parm | ||
hwdef-bl.dat | ||
hwdef.dat | ||
README.md |
BETAFPV F405 AIO Flight Controller
The BETAFPV F405 AIO is a flight controller produced by BETAFPV.
Features
- MCU: STM32F405RGT6, 168MHz
- Gyro: ICM42688-P
- 16Mb Onboard Flash
- BEC output: 5V, 2A@4V
- Barometer: DPS310
- OSD: AT7456E
- 5 UARTS: (UART1, UART3, UART4, UART5, UART6)
- 5 PWM outputs (4 motor outputs used internally for integrated 4-in-1 ESC and 1 integrated LED)
- Integrated 4-in-1 BlueJay ESC
This version supports a compass via the TX3 (SCL) and RX3 (SDA) pins, but requires a hardware mod - see https://betafpv.com/products/f4-2-3s-20a-aio-fc-v1?_pos=1&_sid=a0000be76&_ss=r
Pinout
UART Mapping
The UARTs are marked Rn and Tn in the above pinouts. The Rn pin is the receive pin for UARTn. The Tn pin is the transmit pin for UARTn.
Name | Pin | Function |
---|---|---|
SERIAL0 | COMPUTER | USB |
SERIAL1 | RX1/TX1 | UART1 (RX, DMA-enabled) |
SERIAL4 | TX4/RX4 | UART4 (MSP DisplayPort) |
SERIAL5 | RX5 | UART5 (SBUS, inverted and connected to RX-only) |
SERIAL6 | TX6/RX6 | UART6 (GPS, DMA-enabled) |
RC Input
RC input is configured on the on-board ELRS on UART3 or through (UART6_RX/UART6_TX) pins. It supports all serial RC protocols.
OSD Support
The BETAFPV F405 AIO supports OSD using OSD_TYPE 1 (MAX7456 driver).
PWM Output
The BETAFPV F405 AIO has 4 PWM outputs internally connected to its 4-in-1 ESC. The pads for motor output are M1 to M4 on the board. All 4 outputs support bi-directional DShot and DShot, as well as all PWM types. The default configuration is for bi-directional DShot using the already installed BlueJay firmware.
The PWM are in in two groups:
- PWM 1-2 in group1
- PWM 3-4 in group2
- PWM 5 in group3
Channels within the same group need to use the same output rate. If any channel in a group uses DShot then all channels in the group need to use DShot.
Battery Monitoring
The board has a builtin voltage sensor and a current sensor input tied to its 4 in 1 ESC current sensor. The voltage sensor can handle up to 6S LiPo batteries.
The correct battery setting parameters are:
- BATT_MONITOR 4
- BATT_VOLT_PIN 12
- BATT_VOLT_MULT 10.9
- BATT_CURR_PIN 13
- BATT_CURR_MULT 50
These are set by default in the firmware and shouldn't need to be adjusted
Compass
The BETAFPV F405 AIO does not have a builtin compass.
GPIO Pin / Relay
The board has an IO pin on RELAY2 (GPIO pin 81). This then turns Buzz+ into a relay which can be used for controlling an external LED (e.g. on the Pavo 20 Pro)
NeoPixel LED
The board includes a NeoPixel LED on the underside which is pre-configured to output ArduPilot sequences. This is the fifth PWM output.
Loading Firmware
Initial firmware load can be done with DFU by plugging in USB with the bootloader button pressed. Then you should load the "with_bl.hex" firmware, using your favourite DFU loading tool.
Once the initial firmware is loaded you can update the firmware using any ArduPilot ground station software. Updates should be done with the *.apj firmware files.