RuHungLee / MyQuadcopter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyQuadcopter

Board : STM32F4

Operating system : FreeRTOS

Sensors : ESP8266 , MPU9250 , TF02

Control algorithm : double loop pid control

三軸平衡使用角度角速度雙環 , z 軸定高使用高度速度雙環

地面工作站 :

https://github.com/RuHungLee/MyDroneGCS

Hardware configuration

Clock Tree Configuration

Screenshot from 2021-08-18 23-18-30

Pinout & Configuration

Screenshot from 2021-08-18 23-00-31

MPU9250

PB6 : I2C1_SCL

PB7 : I2C1_SDA

Clock Speed (Hz) : 100000

STM32 Receiving method : polling

TF02

PD8 : USART3_TX

PB11 : USART3_RX

Baud Rate : 115200 Bits/s

STM32 Receiving method : polling

ESP8266

PA0 : UART4_TX

PA1 : UART4_RX

Baud Rate : 115200 Bits/s

STM32 Receiving method : idle interrupt , dma

Build and Program flash

make all
make flash 

Debug

arm-none-eabi-gdb
target remote localhost:<port>

About


Languages

Language:C 94.3%Language:Makefile 5.3%Language:Assembly 0.4%Language:Jupyter Notebook 0.0%