Você está na página 1de 6

Food

Living

Outside

Play

Technology

Workshop

Rainbowduino: Ping Pong


by lini27 on June 19, 2013

Table of Contents
Rainbowduino: Ping Pong . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intro: Rainbowduino: Ping Pong . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 1: Parts and Stuff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 2: Building it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 3: Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 4: Connecting the Potis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 5: FInish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Intro: Rainbowduino: Ping Pong


Everybody likes to play a game. That`s why i created Pong for the Rainbowduino.
This is a two player game, so you can play this game with a friend.
The game includes a counter, the first who has 5 points wins the game.

Step 1: Parts and Stuff


You need these things:
- 2 Potentiometer 10K
- 1 Rainbowduino
- 1 8x8 RGB Matrix (common Anode)
- 6 jumper wires
- 1 Breadboard (not on the photo)

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Image Notes
1. 8x8 RGB Matrix
2. Rainbowduino
3. 10K Poti
4. Jumper wires

Step 2: Building it
The Rainbowduino has two modes. Host and USB. The "host" ist used when you use a external Power and the "USB" mode is used when you program it.
We are going to prgram it, so check that the switch is on "USB".
Then you can place the 8x8 on the Rainbowduino. It`s so easy: Pin1 goes to Pin1, if you still doesn`t understand it look at the photo.
But even if you connect it wrong the 8x8 Matrix won`t get damaged.

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Step 3: Testing
Connect the Rainbowduino to the PC.
if you haven`t download arduino yet, go to http://arduino.cc and download the latest Arduino software.
After that download the Rainbow library from Rainbowduino wiki under Resources.
Unzip it and put it to -> documents -> arduino -> liabraries...
Restart Arduino and go to -> datei -> beispiele -> rainbowduino - > shapes...
And to -> tools -> board -> arduino duemilanove w/ atmega328...
You should see some shapes on the LED matrix, like in the picture.

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Step 4: Connecting the Potis


Now we are almost finish..
just connect the two potentiometer as shown in the shematic. When the beater in the game is inverted, just switch +5V with GND.

Step 5: FInish
Now just download the attached file and unzip it.
open pong.ino with arduino and upload it to the Rainbowduino.
You are ready to play.
And If you don`t have a friend to play, leave A0 or A1 unconnected.
Have fun :)

Additional informations:
- this is my first instruction: write me if you liked it or hatet it. And what i sholud do better.
- I`m from switzerland so my english is not the best. if I have written something wrong let me know so I can correct it.
- I didn`t add comments to my program, but It`s coming soon.

File Downloads

pong.zip (952 bytes)


[NOTE: When saving, if you see .tmp as the file ext, rename it to 'pong.zip']

Related Instructables

Rainbowduino
Sign by alinke

Rainbowduino
Snake Game by
seeedstudio

Pong with 8x8


Led Matrix on
Arduino (video)
by bsoares

2-Player Pong
Game Using
Arduino Uno
and 8x8 Led
Matrix (video) by
onuravun

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Yet Another
Low resolution
Pong Game with display done
Arduino Uno
right by giladaya
(Photos) by
onuravun

Advertisements

http://www.instructables.com/id/Rainbowduino-Ping-Pong/

Você também pode gostar