FC 회로도


어디?
현재 열린 Flux 프로젝트의 Schematic 탭에서 확인할 수 있습니다. 왼쪽 상단의 Schematic을 선택한 뒤 화면 맞춤(Zoom to Fit)을 누르세요: STM32F4 FC 프로젝트 열기
어딜 말하는거야?
제가 말한 건 Flux 편집기 안의 회로도 캔버스입니다. 지금 보고 있는 화면에서 채팅창을 닫거나 줄이면 뒤쪽에 회로도가 보입니다.
직접 열기: STM32F4 Flight Controller 회로도 프로젝트 → 상단에서 Schematic 선택.

image

맞습니다. 제가 메뉴를 잘못 안내했습니다. 현재 화면에서는 상단의 Symbol 탭( Pins 오른쪽, Layout 왼쪽)을 클릭하면 FC 회로도 심볼/회로 연결 화면을 볼 수 있습니다. 지금은 Files → README 화면입니다.

image

지금 보이는 것은 Symbol 탭의 보드 심볼이며 회로도가 아닙니다. 상단 **3D View 오른쪽의 +**를 클릭한 뒤 Schematic 뷰를 추가·선택하세요. 목록에 Schematic이 없다면 이 공개 템플릿에서는 내부 회로도 뷰가 노출되지 않은 것입니다.

README
STM32F4 Flight Controller
Сompact template of the STM32F4 flight controller, modular platform designed for rapid prototyping of quadcopters and experiments with sensors and flight algorithms.

image (2)


Inspiration & Idea
I was inspired by projects like this glove-controlled drone (https://www.hackster.io/news/building-a-glove-controlled-drone-8faecd3fe50b) and wanted to build a platform that lets me implement whatever control logic I imagine — simple commands (forward, left, right) or advanced autonomous behaviors. I therefore built a flight controller on the STM32F405RGT6 and a companion ESC to give me full hardware control — a compact, configurable base ready for adding AI-based object detection and tracking.
Complementary ESC project: readme
Drone

image

You can view the drone's build here - skeleton-and-muscles-of-a-quadcopter

Board Specs
The design includes the core subsystems typically needed in a multirotor controller:
  • MCU: STM32F405RGT6 (Cortex-M4, FPU)
  • Input voltage: VIN 5V (on-board regulators for 5V/3.3V)
  • On-board sensors: IMU (SPI/I2C) support; no barometer included
  • Sensor interfaces: SPI, I2C, I2S (for IMU/compass/other)
  • Motor outputs: 4–8 PWM / DShot-capable outputs (ESC control)
  • Communication: UART (telemetry/config), USB (DFU/serial), CAN optional
  • Firmware: modular structure (drivers, sensors, control, comms), RTOS-ready (FreeRTOS compatible)
  • Telemetry: supports DShot telemetry / UART telemetry to GCS
  • Protections: failsafe, arming checks, sensor calibration routines
  • Expandability: external barometer/GPS/camera/AI module via UART/I2C/SPI/USB
  • Documentation: schematic, BOM, configuration files, and flash/build instructions (link to files to be added)
  • Complementary ESC project: readme
Flight Through Failures
Warning: Always remove propellers before adjusting hardware or firmware!!!
Overview
I started as an experiment — I wanted a working platform to quickly develop flight logic, so I soldered a controller based on the STM32F405RGT6 and simultaneously designed my own ESC to have full control over the hardware. The modular firmware architecture let me work in parallel on drivers, sensors, and motor control.
You can find out why I chose this particular STM32 here - why-the-stm32f405rgt6

image

Hardware Challenges
The hardest issues were hardware-related: routing pins for all interfaces without conflicts, eliminating motor-induced power noise with a VIN = 5V supply, and thermal/current problems on the ESC under load. Electromagnetic interference from motors affected the IMU, so I tested filters, shielding, and sensor placement. The OSD chip initially failed because it was on “slow” MCU pins — I solved it by lowering the SPI clock for that interface (or by remapping the OSD to a faster pin).
Firmware & Calibration
Firmware work required synchronizing PWM/DShot, calibrating the IMU and magnetometer correctly, and implementing failsafe and arming procedures. These features needed extensive bench testing before mounting propellers.
I documented the main Betaflight settings in the betaflight-firmware
Test Flights
I conducted many test flights, including several flyaways caused by unsynchronized motors, which forced improvements to motor timing, ESC calibration, and safety logic. ESC testing also highlighted the need for additional over-current protection and more accurate shunt measurement.
Current Status & Next Steps
The platform now flies and enables rapid prototyping of movement logic, but achieving stability required many small fixes, schematic revisions, and fine-tuning. Next I plan to integrate AI modules for object detection and tracking and address the identified hardware/software improvements first.
Building It Yourself
If you want to build your own flight controller, you can order the PCB from a fab like JLCPCB or fork the project and adapt it to your needs. You’ll also need the firmware source—update pin mappings/resources and rebuild (STM32 toolchain/STM32CubeIDE or Makefile).
Recommended steps:
  • Review and update the BOM for available parts and suitable substitutes.
  • Adjust PCB layout/pin mapping if you need different connectors, sensors
  • Order prototypes (small batch) from JLCPCB or a similar service.
  • Populate power rails and regulators first; verify voltages before installing the MCU.
  • Flash minimal firmware, fix resource conflicts, then add sensors and ESC connections.
  • Perform bench tests (props off), calibrate IMU/magnetometer, apply Betaflight settings, and only then do flight tests.
Like Edison, who turned thousands of attempts into the light bulb, persistence wins. Keep experimenting, and you will succeed!

  • README

  • STM32F4 Flight Controller

  • Inspiration & Idea

  • Board Specs

  • Flight Through Failures

  • Overview

  • Hardware Challenges

  • Firmware & Calibration

  • Test Flights

  • Current Status & Next Steps

  • Building It Yourself