Prerequisites


The Raspberry Pi should have some access to internet connection ๐ŸŒ in order to communicate with our game server hosted on Heroku. In order to complete this step, refer to Section 6.1 in the tutorial linked below:

Raspberry-Pi-Setup

Next, skip to Section 9.1 of the document to install Berryconda ๐Ÿ“ onto your Raspberry Pi. This will be needed to create a Python virtual environment and install the necessary packages to run our gesture classifier. ๐Ÿ’ช

Our gesture classifier requires the BerryIMU v3 in order to properly function. In order to send accelerometer and gyroscope data to the Raspberry Pi via I2C communication, refer to Section 2 in the tutorial linked below:

Basic-BerryIMU-Usage

โœ๏ธ Drawing Tool


To further enrich the user experience, we whipped up a drawing tool made of a small breadboard with a push-button, and an orange pin-pong ball for color detection. Whenever the button is pressed and held, you start drawing on the canvas! Otherwise, the game does not pick up your "air-strokes". ๐Ÿƒ This simulates the "feeling" of drawing, and makes drawing a lot more robust!

In order to "build" ๐Ÿ”จ our custom drawing tool, you will need the following components:

The circuit for the drawing tool is pretty simple! It utilizes one of the Raspberry Pi GPIO pins to sense a button press seen in the circuit schematic below:

                                             Circuit schematic of the drawing tool! โœ๏ธ

                                         Circuit schematic of the drawing tool! โœ๏ธ

         The female jumper wires should be connected to Pins 39 and 40 as seen above!

     The female jumper wires should be connected to **Pins 39** and **40** as seen above!