Skip to content

Creating a FlyingF4 from scratch

Murilo Pontes edited this page Jun 7, 2015 · 22 revisions

Step by step

  1. Buy an STM32F4Discovery
  2. Buy a shield with MPU6050, HMC5883, MS5611: GY-86 is a good candidate
  3. Wiring
  4. Flash the bootloader
  5. Flash the firmware

You now have a fully functional FlyingF4. Enjoy!

Walkthroughs

  1. by Lilvinz outdated
  2. by Murix updated

SBUS input

To use UART1 as SBUS invert is required invert SBUS signal.

sbus inverter

** BOM List

  • 1 x 4.7k ohm resistor
  • 1 x 10k ohm resistor
  • 1 x 2N3904 NPN transistor

Diagnostics

Blink codes for the red LED

  • 1 pulse - flash chip
  • 2 pulses - MPU6050
  • 3 pulses - HMC5883
  • 4 pulses - MS5611
  • 5 pulses - gyro I2C bus locked
  • 6 pulses - mag/baro I2C bus locked

Notes about current release

Currently UART4, UART5 and ADC are not implemented.

External SPI flash is disabled in default build.

SBUS input in UART1 require external sbus inverter.

UART1 is RX only

FrSky Hub Sensor in any uart required external single inverter.

FrSky Smart port work only in uart 2 and 3 and require dual inverter.

Wiring setup: GPS, FrSky X8R with external inverters (SBus and SPort)

Flying F4 pinout

Wiring setup: GPS, Frsky D8R-II-Plus, ESP-01

Flying F4 pinout

Clone this wiki locally