Pong with 8x8 Led Matrix on Arduino

 by bsoares
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
1-40 of 51Next »
clayman987 says: Mar 10, 2013. 6:22 PM
In arduino playground it suggests we use resistors, because it might break, so do you have to because i dont have enough resistors?
thequeenofhearts says: Oct 6, 2012. 11:57 PM
Is it possible to use an Arduino Uno in making this project?
Thanks and Good day.
bsoares (author) in reply to thequeenofheartsOct 7, 2012. 12:13 AM
Yes!
thequeenofhearts in reply to bsoaresOct 10, 2012. 10:51 PM
Sir where is the potentiometer connected?. I can't see it by just looking at your picture. Thanks and Good day.
mattglas says: Apr 27, 2012. 4:04 PM
can you please tell me how to attach the controllers to the arduino? if you can that would be great
gzhang1 says: Jun 14, 2011. 4:34 PM
would you please show the diagram that how you connect the pin of the matrix to the Arduino?
bsoares (author) in reply to gzhang1Jun 15, 2011. 7:29 AM
Hello, pins configuration here: http://www.arduino.cc/playground/Main/DirectDriveLEDMatrix
blinkyblinky in reply to bsoaresMar 18, 2012. 7:35 PM
Do we need any complex circuitry such as shift registers?
bsoares (author) in reply to blinkyblinkyMar 18, 2012. 9:08 PM
nop
spacehippy says: Nov 11, 2011. 7:17 PM
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
Jongleur says: Oct 23, 2011. 2:44 PM
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.
ciaran54 in reply to JongleurOct 29, 2011. 1:27 PM
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.
Azeem-Naseer says: Feb 17, 2011. 10:48 AM
wow great work
cubemike99 says: Jan 16, 2011. 3:49 PM
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.
bsoares (author) in reply to cubemike99Jan 16, 2011. 4:57 PM
It is likely that you are confusing the terminals of the matrix, do a simple test before leaving for this project. Test light a row, a LED, two LEDs, the matrix until you have fully functioning.
Remember that there are matrixs of a type that are not the same as used here may be that yours is different.
the seaker says: Jan 8, 2011. 6:34 PM
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
bsoares (author) in reply to the seakerJan 8, 2011. 8:07 PM
thanks
hightekrednek2396 says: Dec 23, 2010. 9:19 AM
will this work the same way on a bigger matrix like 16x16 or bigger
bsoares (author) in reply to hightekrednek2396Jan 8, 2011. 8:05 PM
will need to change a few lines in the code
captainreliable says: Mar 29, 2010. 12:02 PM
Bah, the site with the code 404s now. Did anyone grab it?
bsoares (author) in reply to captainreliableMar 29, 2010. 12:43 PM
I am changing the server, will soon be in the air.
godofal says: Jan 15, 2010. 11:21 AM
please post the code :D
and the schematics if u have them
i wanna make one :D
bsoares (author) in reply to godofalJan 15, 2010. 12:28 PM
Godofal Olá, você pode obter o código no meu blog (http://blog.bsoares.com.br/arduino/ping-pong-with-8x8-led-matrix-on-arduino). o esquema não. Mas creio que as explicações dadas no blog agora para construir o seu próprio. :)
godofal in reply to bsoaresJan 15, 2010. 1:39 PM
erm, im not spanish(if thats the language)
godofal in reply to godofalJan 15, 2010. 1:42 PM
anyway, ive checked the link, and it looks nice, gonna test it as soon as i can get a led matrix :)
bsoares (author) in reply to godofalJan 15, 2010. 6:53 PM
godofal in reply to bsoaresJan 16, 2010. 4:01 AM
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
eshneto in reply to godofalMar 26, 2010. 7:25 PM
 That's because "astes" does not exist in portuguese. I've  read the text and I bet the author meant "haste".
robotjam in reply to godofalJan 28, 2010. 7:08 PM
it also mentions somebody's mother a few times which makes for some interesting reading
zapedy says: Feb 16, 2010. 5:03 PM
 could someone write an instructable on how to make this?
PeckLauros says: Jan 4, 2010. 12:27 PM
Gostei muito. Pena ser complexo demais para um simples curioso. Parabens
bsoares (author) in reply to PeckLaurosJan 4, 2010. 1:34 PM
Pô, vou te contar que sou um simples curioso! trabalho com programação e gosto de eletronica, nunca fiz um curso nem nada muito formal, só curiosidade mesmo.
Vlw
TheFawns says: Dec 15, 2009. 12:12 PM
 THATS AWESOME!!!!! i wish i could do that :D haahaa dude that takes serious skills to do that...
M4industries says: Aug 23, 2009. 5:01 PM
Writing the source code must have been a nightmare.
ReCreate in reply to M4industriesSep 24, 2009. 11:58 PM
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
killersquirel11 in reply to ReCreateNov 24, 2009. 8:07 AM
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;
ReCreate in reply to killersquirel11Nov 24, 2009. 12:45 PM
Yeah, I just programmed pong in a few languages recently.
bsoares (author) in reply to M4industriesAug 23, 2009. 5:11 PM
It is more difficult to write this code in Arduino (C + +), but it is funny :-)
pkarc says: Oct 15, 2009. 7:50 AM
looks great! congrats!, thinking do it with bicolor matrix.
seth556 says: Oct 6, 2009. 7:31 PM
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.
1-40 of 51Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!