Pong with 8x8 Led Matrix on Arduino

video Pong with 8x8 Led Matrix on Arduino
Game Pong created with 8x8 Led Matrix on Arduino Diecimila (microcontroller Atmel ATMega 168). For more informations http://blog.bsoares.com.br/arduino/ping-pong-with-8x8-led-matrix-on-arduino
44 comments
1-40 of 44next »
Nov 11, 2011. 7:17 PMspacehippy says:
This is great!

I made it last night. The LED mapping took a minute, but it is a great project to better understand these LED matrices.

I ended up resistoring all my column pins... Seems not required as they're getting flashed pretty fast... any thoughts on this?

thanks, matt
Oct 23, 2011. 2:44 PMJongleur says:
This is great! I just thought of doing this same project on a larger scale, and now I find your instructable! I am planning on doing this with 6x8 of these 8x8 units. I just have to figure out how to get that many I/O lines from my Duemillanove, or how to multiplex the I/Os.
Oct 29, 2011. 1:27 PMciaran54 says:
Research how to use Shift Registers ;)

They allow you to do many things, as well as what you need to make use of more pins:

Feed in the data through one pin as a series of on and off pulses, and then output it through 8 pins of the chip which can each be connected to one of the pins on the matrix.
Jun 14, 2011. 4:34 PMgzhang1 says:
would you please show the diagram that how you connect the pin of the matrix to the Arduino?
Feb 17, 2011. 10:48 AMAzeem-Naseer says:
wow great work
Jan 16, 2011. 3:49 PMcubemike99 says:
PLEEEAAASSSEEE help me get this working. It is SOOO awesome. I have literally spent hours trying to get this to work, but all I get is random dark and light lines. Just something like: row1 of the matrix is connected to pin X. I've tryed using the arduino website's layout but it still doesnt work. THANK YOU SO MUCH.
Jan 8, 2011. 6:34 PMthe seaker says:
This is by far the coolest thing ive seen with a matrix! nice job! one suggestion for future updates is adding a score keeper, maybe with a lcd screen or 7 segment leds! that would make it just that much better
Dec 23, 2010. 9:19 AMhightekrednek2396 says:
will this work the same way on a bigger matrix like 16x16 or bigger
Mar 29, 2010. 12:02 PMcaptainreliable says:
Bah, the site with the code 404s now. Did anyone grab it?
Jan 15, 2010. 11:21 AMgodofal says:
please post the code :D
and the schematics if u have them
i wanna make one :D
Jan 15, 2010. 1:39 PMgodofal says:
erm, im not spanish(if thats the language)
Jan 15, 2010. 1:42 PMgodofal says:
anyway, ive checked the link, and it looks nice, gonna test it as soon as i can get a led matrix :)
Jan 16, 2010. 4:01 AMgodofal says:
wow, its great :D
some minor grammar errors, and it cant translate one word (astes, wich are the bats i presume)
but its very readable :D

il make one when im done  with all the projects im building atm XD
Mar 26, 2010. 7:25 PMeshneto says:
 That's because "astes" does not exist in portuguese. I've  read the text and I bet the author meant "haste".
Jan 28, 2010. 7:08 PMrobotjam says:
it also mentions somebody's mother a few times which makes for some interesting reading
Feb 16, 2010. 5:03 PMzapedy says:
 could someone write an instructable on how to make this?
Jan 4, 2010. 12:27 PMPeckLauros says:
Gostei muito. Pena ser complexo demais para um simples curioso. Parabens
Dec 15, 2009. 12:12 PMTheFawns says:
 THATS AWESOME!!!!! i wish i could do that :D haahaa dude that takes serious skills to do that...
Aug 23, 2009. 5:01 PMM4industries says:
Writing the source code must have been a nightmare.
Sep 24, 2009. 11:58 PMReCreate says:
Oh yeah, I can't even imagine how he did Collision checking and the "physics" of the ball bouncing off of the edges of the board O_o
Nov 24, 2009. 8:07 AMkillersquirel11 says:
Code probably looked something like this: (i've programmed pong in one too many languages...)

if(ball_Y=0 ||ball_Y = 7){     //Ball bounce off top wall
ball_vertV = -ball_vertV;
}

if(ball_X=1){
   if(ball_Y>LPaddle_Y && ball_Y<LPaddle_Y+1){  //Ball bounce off Left Paddle
      ball_horizV = -ball_horizV;
   }
}
if(ball_X=6){
   if(ball_Y>RPaddle_Y && ball_Y<RPaddle_Y+1){   //Ball bounce off Right Paddle
      ball_horizV = -ball_horizV;
   }
}
if(ball_X=0 || ball_X=7){
   //Game over
}
ball_X += ball_horizV;
ball_Y += ball_vertV;
Nov 24, 2009. 12:45 PMReCreate says:
Yeah, I just programmed pong in a few languages recently.
Oct 15, 2009. 7:50 AMpkarc says:
looks great! congrats!, thinking do it with bicolor matrix.
Oct 6, 2009. 7:31 PMseth556 says:
That looks awesome. I want to build this but instead of a 8x8 tiny matrix I will use a table with 2x2in squares that will light up. So about 32x32inch with players sitting on ether end.
Aug 29, 2009. 10:48 PMihackeverything says:
great!! nice work! just get some knobs for the potentiometers, put it in a case and you'll have a really awesome finished product :)
Aug 26, 2009. 1:36 AMarvindhimalayan says:
be nice
Jul 30, 2009. 10:36 PMReCreate says:
Where is the video?
Jul 31, 2009. 8:46 AMReCreate says:
Oh no, I accidentally blocked stuff from vimeo with ABP. It works now ;) Neat stuff :D
Jul 22, 2009. 6:28 PMcjrager89 says:
LOVE IT! Only i cant read the spanish in ur link to actually read about it :(
1-40 of 44next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
17
Followers
2
Author:bsoares