/Flight_Controller

The code used on my STM32 diy drone flight controller

Primary LanguageC++

Flight_Controller

The code used on my STM32 diy drone flight controller

Installation and running

Download and add the repository https://github.com/rogerclarkmelbourne/Arduino_STM32 to devices folder within the Arduino IDE folder to access the boards hardware settings. With this done one can use the Arduino IDE to upload the code directly to the board.

Drone design

Drone design v1.0

Drone version 1

Drone design v2.0

Drone version 2

Redesigned most parts and added lidar and another GPS.

Circuit board

Circuit board v1.0(left) vs v2.0(right)

Backside

Focused on more solid soldering. In addition to cleaning up in v2.0

Drone version 2

Frontside

Added more light to display different states in v2.0

Drone version 2

Circuit board v3.0

This is going to be a PCB instead a diy soldered board

Schematic made in KiCad

pcb

PCB model made in KiCad

Made on a 4 layer PCB where layer 2 and 3(not included in the img) are VCC and GND. The traces are roughly split into a vertical layer(1) and horizontal layer(4) to make tracing easier.

pcb

3D model from KiCad

pcb

Picture of PCB v3.0 with soldered components

pcb