Project Overview

For my Intro to Computer Science class, we were tasked with creating a project that involved Python 3. Me and my group decided to make an accelerometer-based controller for side-scroller games like the Chrome Dinosaur Game.

The design of our project works by having the MPU6050 accelerometer output the print statement “up” into the Arduino using Serial-based communication. The Python3 code will read the data from the port and trigger a library called PyAutoGUI, which will press the up arrow key for the computer. PyAutoGUI lets Python scripts control the mouse and keyboard as well as other GUI automation tasks.

Video of Final Product

Top Skills Utilized

Interoperability

Team Management

Python

Product Design

Previous
Previous

40% Scale R2D2