We build a snake game with Rainbowduino, LED Matrix and 3-axis Accelerometer. It's controlled by gravity.
Step 1: Preparing stuffs
2. 60mm square 8*8 LED Matrix
3. Grove - 3-axis Accelerometer
All components you can find here.
Step 2: Test Rainbowduino and LED Matrix
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
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
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
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.