Flight Controller F405-STD
STM32F405, ICM20602, BMP280, BFOSD, SD Card Slot, VCP+5x UARTs, 6x PWM / DShot outputs
Album & INFO
Spec.& Features
- MCU: 168MHz STM32F405RGT6
- IMU: 32K ICM20602 gyro/accelerometer (SPI)
- Baro: BMP280 (I2C)
- OSD: BetaFlight OSD w/ AT7456E chip
- Blackbox: MicroSD card slot (SD/SDHC)
- VCP, UART1, UART2, UART3, UART4, UART5
- Built in inverter for SBUS input (UART2-RX)
- PPM/UART Shared: UART2-RX
- SoftSerial on TX2, S5 or S6 optional
- Camera control on S6 or DAC optional
- Smartaudio & Tramp VTX protocol supported
- Battery Voltage Sensor: 1:10
- Current Sensor: No (FCHUB-6S, FCHUB-VTX, FCHUB-W option)
- BEC 5V: No (FCHUB-6S, FCHUB-VTX, FCHUB-W option)
- LDO 3.3V: Max.300mA
- I2C1 SDA & SCL: Yes
- WS2812 Led Strip : Yes
- Beeper : Yes
- RSSI: Yes
- 3x LEDs for FC STATUS (Blue, Red) and 3.3V indicator(Red)
- 6x PWM / DShot outputs without conflict
- 2x 2812LED outputs option
- 5x UARTs
- 1x Group of 5V/G/S1/S2/S3/S4 pads for 4in1 ESC Signal/GND
- 4x pairs of corner pads for ESC Signal/GND connections (DSHOT compatible)
- 1x pair I2C1 pads
- 1x Side-press button for BOOT(DFU) mode
- 1x 16pin bottom mounted FFC Slot for FCHUB-6S, FCHUB-VTX or FCHUB-W connection
- 36x36mm PCB with 30.5mm mounting holes
- w/ 2x 0.5mm*16Pin 5cm Flexible Flat Cable
- w/ 4pcs M3 Anti-vibration Standoffs
BF Wiring
Tips: Pull out the plastic locking bar carefully so as not to break it.
BF Pins Definition
Pad/Hole | PIN | TIM | Resource option |
PPM | PA3 | TIM5_CH4 | |
S1 | PC6 | TIM3_CH1 | |
S2 | PC7 | TIM8_CH2 | |
S3 | PC8 | TIM8_CH3 | |
S4 | PC9 | TIM8_CH4 | |
S5 | PA15 | TIM2_CH1 | serial_tx 11, camera_control |
S6 | PA8 | TIM1_CH1 | serial_tx 11, camera_control |
2812 LED Strip | PB6 | TIM4_CH1 | |
S7 | PB8 | TIM4_CH3 | LED_STRIP |
TX4 | PA0 | TIM5_CH1 | serial_tx 12 |
RX4 | PA1 | TIM5_CH2 | serial_rx 12 |
TX2 | PA2 | TIM9_CH1 | serial_tx 11 |
DAC | PA4 | no function |
- S5 (PA15) , S6(PA8) or TX2 (PA2) can be resourced to softserial for Frsky SmartPort
- 2812LED_Strip share I2C1_SCL pad as default. either enable LED_Strip, or enable Baro.
- 2812LED can be resourced to S7 (PB8) if using Baro the same time with BF firmware
- S5 (PA15) or S6 pad (PA8) can be resourced to Camera Control
CLI command
- resource motor 5 none
- resource serial_tx 11 A15
- resource motor 6 none
- resource camera_control A08
- resource motor 7 none
- resource led_strip 1 B08
- save
INAV Wiring
INAV Pins Definition
Pad/Hole | Pin | Inav | INav | INav | INav | INav |
Tricopter | Quad X | Hex X | Flying Wing | Airplane | ||
PPM/RX2 | PA3 | |||||
S1 | PC6 | servo | motor | motor | motor | motor |
S2 | PC7 | motor | motor | motor | servo | servo |
S3 | PC8 | motor | motor | motor | servo | servo |
S4 | PC9 | motor | motor | motor | servo | |
S5 | PA15 | 2812LED | 2812LED | motor | 2812LED | 2812LED |
S6 | PA8 | motor | servo | |||
LED | PB6 | / | / | / | / | / |
S7 | PB8 | motor | motor | |||
SDA/SCL | Mag/Baro | Mag/Baro | Mag/Baro | Mag/Baro | Mag/Baro |
ArduPilot
ArduPilot WIKI
- http://ardupilot.org/copter/docs/common-loading-firmware-onto-chibios-only-boards.html
- https://ardupilot.org/copter/docs/common-matekf405.html
- OSD http://ardupilot.org/plane/docs/common-osd-overview.html
Threads related
Firmware
- http://firmware.ardupilot.org/
- ArduPilot (ChibiOS) Target MatekF405 for F405-CTR
- ArduPilot (ChibiOS) Target MatekF405-STD for F405-STD
PWM outputs
- S1 PWM1 TIM3
- S2 PWM2 TIM8
- S3 PWM3 TIM8
- S4 PWM4 TIM8
- S5 PWM5 TIM2
- S6 PWM6 TIM1
- Motor can’t share same TIM with servo.
Default UART order
- SERIAL0 = console = USB
- SERIAL1 = Telemetry1 = USART3
- SERIAL2 = Telemetry2 = UART4
- SERIAL3 = GPS1 = USART1
- SERIAL4 = GPS2 = UART5
ADC
- BATT_VOLT_PIN 15
- BATT_VOLT_MULT 11.0
- BATT_CURR_PIN 14
- BATT_AMP_PERVLT 56 (F405-CTR/FCHUB-6S)
- BATT_MONITOR 4
- RSSI_ANA_PIN 9
Frsky Smartport Telemetry
- non-inverted (hacked) S.Port signal
- TX4 pad
- SERIAL2_BAUD 57
- SERIAL2_OPTIONS 7
- SERIAL2_PROTOCOL 4
Tips
- CLI “defaults” after reflashing
- Rubber anti-vibration standoffs are necessary to avoid the vibration woes.
- Put a piece of sponge on the barometer to reduce the impact of airflow.
- If you are using 5V VTX, Pls power the VTX via the 5V pad on FCHUB. The ribbon cable can’t bear heavy current.
- BF/ 2812LED_Strip share I2C1_SCL pad as default. either enable LED_Strip, or enable Baro.
- BF/ 2812LED can be resourced to S7 (PB8) if using Baro the same time with BF firmware
- INAV/ Softserial_TX1 is on TX4 pad & Softserial_TX2 is on TX2 pad if CPU based serial port is enabled since 2.0.1
- We have replaced BMP280 with DPS310 in some batches of production.
- If barometer on your flight controller don’t work by default after flashing it with Betaflight, Pls click “firmwares” button to check out customized Betaflight 4.2.x and tips.
- With ArduPilot firmware, you might use the onboard DPS310 as external barometer, set BARO_EXT_BUS ->0, GND_PROBE_EXT ->64, save and reboot F405-STD.