Picture of Make Game with Rainbowduino
Do you remember the Snake game? It's very simple, but funny.

We build a snake game with Rainbowduino, LED Matrix and 3-axis Accelerometer. It's controlled by gravity.
Remove these adsRemove these ads by Signing Up

Step 1: Preparing stuffs

Picture of Preparing stuffs
We need:

1. Rainbowduino

2. 60mm square 8*8 LED Matrix

3. Grove - 3-axis Accelerometer

4. Power

5. Shell

All components you can find here.

Step 2: Test Rainbowduino and LED Matrix

Picture of Test Rainbowduino and LED Matrix
Now, all the component was ready, so we can test the LED Matrix with Rainbowduino.

All light is RGB LED. So, We can test the LED Matrix with different color.

You can get example in Rainbowduino library. Just test it.

Step 3: Solder 3-axis Accelerometer to Rainbowduino

Picture of Solder 3-axis Accelerometer to Rainbowduino
In order to make it smaller, we need to get a 3-axis acceleration sensor integrated onto the Rainbowduino.

A very simple way to integrate is to solder them together directly.

You can see the entire soldering process from this video.

Step 4: Programming

Picture of Programming
All the source code you can find in Github.

The game development with Arduino, so you must get the Arduino IDE first.

And then, you should copy the Rainbowduino library to arduino library directory.

Finally, open the Snake Game arduino sketch (named WithJoystick.ino), and upload source code to Rainbowduino.

Step 5: Shell

Picture of Shell
With the purpose of a cool appearance, we made two shells for it. One is a 3D printed
white shell that looks like a 1990s computer monitor.The other is woven of knitting wool and PP plastic.

Of course, if you have a better idea, you can make one by yourself. Sometimes,
even a folded paper tray is ok to be a shell.

Step 6: Assemby

Picture of Assemby
Ok, now, the final step is to assemble the modules together, such as the shell, Rainbowduino and so on.

acornejo1 year ago
I want to build one of these. Do you have any data about the current consumption of this project (I want to figure out the battery life).
Yay for using plastic canvas with your uber awesome tech project!
This looks super awesome!