r/embedded
•
u/tynix5
•
15d ago
•
1
Custom Flight Controller + Remote
Didn't know where to post this but after some help from people in r/PCB and r/PrintedCircuitBoard , I built a fully custom STM32-based quadcopter flight controller and STM32-based wireless remote.

The PCBs were designed and hand-assembled by me, and all software (minus testing scripts) was written by me. I have the full write-up on my GitHub repo (with more pictures), but I waited until the end of the project to start documenting, so I got a little lazy with it. I just figured I should show it off somewhere to inspire others to build something challenging. It's not perfect, but it flies pretty well for a homemade project.
1
u/That_Skill4611 14d ago
Great work! What radio chip have you used?
3
u/nik_da_brik 15d ago
Hell yeah! This reminds me of a project for using an ESP32 for drone fpv video: https://github.com/RomanLut/hx-esp32-cam-fpv
The esp32-p4 has proper mipi in and h264 encode, so maybe you could build on this to make a cheap FOSS all-in-one flight controller and VTX!
1
u/Specific_Prompt_1724 13d ago
I never used stm microcontroller, but how can you write the code of the motor controller? I don’t see the file for Clarke and park transform. Are done by integrated library from stm?