Differential Drive Drone


Here’s a two wheeled drone I did as a final project for a Python course I took while pursuing my master’s in chemical engineering.

A flask app, running on a Raspberry Pi, displays video from the Raspberry Pi camera module. Sliders on either side of the video feed control the speed of the left and right wheels. Various system statistics are pulled from the Pi and superimposed on the video. The compass heading is calculated from magnetometer data pulled from a BNO055 IMU and overlaid, as well.

GitHub

I broke out my childhood LEGO Mindstorms set to throw together the chassis. Only the program was getting graded so I phoned it in with a bit of cardboard wedged between a not-connected ultrasonic proximity sensor and jumper wire pins to hold the camera module.
Camera module and wifi dongle are not shown. Raspberry Pi is powered by a USB portable charger.