The code in this repository is used to run a homemade flight controller, based around the Raspberry Pi Zero 2 W.
The flight controller itself uses a 3d printed 2-part base. The raspberry pi is powered by a pisugar 2, and has header pins soldered onto 5v, GND, SDA and SCL. The attitude sensor connects to the top of the case and uses 4 female to female jumpers to connect to the pi. The case has a spot for a camera mount to attach the official raspberry pi camera.
RPY.py is ran in the background, and populates a text file with live gyro data from the MPU6050. Start.sh begins the flask web server, which has options to start, calibrate, and turn a GPIO pin on and off (in this case called motor, but could be used to toggle a status light).
Our WIP Flight Controller
Our Completed Flight Controller
A render of the 3D model in solidworks
Our plane prototype