Introduction: 2-Player Pong Game Using Arduino Uno and 8x8 Led Matrix
Classical Pong game implemented on an Arduino Uno and 8x8 mono-color led matrix.
Player sticks are controlled by a potentiometer for each player. If you want the stick to go left, just turn the potentiometer left.
The game speed increases by time. After each game, the score is shown on the screen for 2 seconds and then a new game starts.
There are simple audio effects like ball bouncing and a game over melody.
You can see the game in action in this short video.
Tech details: Considering the fact that Arduino Uno has only 14 digital output pins, I decided to use a 74HC154 4-to-16 decoder to control 8x8 Led Matrix. While 8 digital pins directly control 8 rows of the led matrix(anode), 4 digital pins select the column over 74HC154 decoder(cathode).
I tried to draw the circuit schema using Fritzing, but I gave up realizing that Fritzing doesn't have built-in 8x8 Led Mtrix and 4-to-16 decoder tools yet.
9 Comments
7 years ago
if i want do this game but with a led matrix
what is the coneccion and the source code ?
or is the same with the led matrix
thanks
9 years ago
I already went to the page where is supposed to be but its not there. Is it a matrix with 24 pins or just a matrix with 16 that you are using.??
9 years ago
Hi!! Can i please get the eschematic for the proyect, its an emergency. Please!!
9 years ago on Introduction
Could you upload the sketch? I want to make a pong chandelier. Playing pong on my living room lamp, bluetooth controlled through an Android app. To have your sketch would save me a lot of time programming. :)
Reply 9 years ago on Introduction
Hi,
You can find the sketch here. Unfortunately I don't have a circuit schema.
https://github.com/monur/LedMatrixPong
I'd like to hear whenever you finish your chandeliar project.
Reply 9 years ago on Introduction
Thank you. I can figure out the circuit, but the code is a lot of work that I gladly borrow. The lamp will be an Ible for sure when it works.
10 years ago on Introduction
hii, i tried to make this game but i'm not sure of the circuit diagram, plzz upload the circuit diagam... thanks
10 years ago on Introduction
Need the schematics, could u share it?
11 years ago on Introduction
looks cool, can you post schematics and code for this? thanks!