Close

Code structure

A project log for Micropython Flight Controller

A stabilization system for drones using a pyboard, a MPU6050 and a RC receiver

wagnerwagner 11/09/2015 at 18:120 Comments

The actual code for the pyboard are divided in 5 scripts:

rc.py -> read pwm from receiver

esc.py -> send pwm to speeds

mpu.py -> read accelerometer and gyroscope

pid.py -> stabilize the multicopter

main.py -> joins all scripts

And 1 script for the simulator on the laptop:

MPUTeapot.py

Now I'm working with the telemetry

Discussions