Introduction: Make Game With Rainbowduino

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.

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.


acornejo (author)2013-08-23

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).

Penolopy Bulnick (author)2013-07-29

Yay for using plastic canvas with your uber awesome tech project!

BABLOON1424 (author)2013-07-29

This looks super awesome!

About This Instructable




Bio: Howdy, we are application engineers in Seeedstudio. Sharing projects with maker community is awesome. Hope you like it XD
More by Seeed Studio:Diy Smart Home Assistant With Raspberry Pi and ReSpeaker Mic ArrayBuild Google Assistant on Raspberry Pi With ReSpeaker Mic ArrayDIY a Gesture Keyboard That Can Control the Media Player
Add instructable to: