rainbowduino snake game

Upload: lorddarthvader

Post on 09-Oct-2015

27 views

Category:

Documents


0 download

DESCRIPTION

Rainbowduino Snake Game

TRANSCRIPT

  • http://www.instructables.com/id/Rainbowduino-Snake-Game/

    Food Living Outside Play Technology Workshop

    Rainbowduino Snake Gameby seeedstudio on June 6, 2012

    Table of Contents

    Rainbowduino Snake Game . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    Intro: Rainbowduino Snake Game . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    Step 1: Software upload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Step 2: Hardware Hook-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

  • http://www.instructables.com/id/Rainbowduino-Snake-Game/

    Intro: Rainbowduino Snake GameDid you miss the games we used to play when we were little kids?The Snake Game is one of the games that remind us of our sweet childhood. Want to relive the joy of this game?We built a snake game with rainbowduino. Here is the finished project we made:

    Now lets make a snake game console together.First of all, you need following materials:

    1. Rainbowduino LED Driver Platform2. 60mm Square 8*8 LED Matrix - Super Bright RGB3. Thumb Joystick4. Grove Cables5. Jumper Wires

    They are shown in the same sequencing from #2 pic to #6 pic of this step.

    Image Notes1. Rainbowduino is an Arduino based controller disigned for LED matrix orcube display.

    Image Notes1. we chose a super light RGB matrix. if you have your preference, go on andchange it into what you like.

    Image Notes1. joystick is always full of joy.

  • http://www.instructables.com/id/Rainbowduino-Snake-Game/

    Image Notes1. Grove cables. allow us to easily utilize plug-and-play Grove gadgets. Image Notes

    1. jumper wires or breadboard wires is always a must for connections.

    Step 1: Software uploadDownload the library from Rainbowduino wiki page and decompress it to the library of Arduino IDE1.0..\arduino-1.0-rc2\librariesOpen the required sketch via this path: File --> Examples --> SnakeGame --> Withjoystick.Rainbowduino features an Atmega328 chip onboard, so choose Atmega328 in the pull-down menu of Tools --> Board and its corresponding serial port. Now upload theprogram to Rainbowduino.

    Image Notes1. select the snake game sketch from the library.

    Image Notes1. rainbowduino features an ATmage328 chip.

  • http://www.instructables.com/id/Rainbowduino-Snake-Game/

    Step 2: Hardware Hook-upMount the 8x8 LED matrix onto Rainbowduino.Their footprints are compatible, so it's effortless to connect them.Then connect the joystick to the board.The joystick we use is a Grove element and have four pins.Put the joystick ahead of you like pic 2.From left to right, these pins should go to A0, A1, VCC and GND on Rainbowduino.Till now, the hardware part is already finished.

    No steps more required. Enjoy the game now~

    Image Notes1. Mount the matrix onto the Rainbowduino 3.0 board. Their footprints arecompatible.

    Image Notes

  • http://www.instructables.com/id/Rainbowduino-Snake-Game/

    Image Notes1. From left to right, these pins go to A0, A1, VCC and GND on Rainbowduino.

    1. That's how the device looks like after connecting the joystick.

    Related Instructables

    RainbowduinoSign by alinke

    Carlitos'Project: RGBLED Mood Cubeby RobotShop

    TV remotecontrolled LEDdotmatrix snakegame (video) byvinodstanur

    Arduino-PoweredGame'n'WatchAlarmclock(Photos) bym_frey

    Make a 24X6LED matrix bySyst3mX

    Arduino 8x8Matrix LEDGame by joe