Introduction: Arduino 2 Player Game
In this project I`m going to show you how to make a two player pong game with a Nokia 5110 LCD that is controlled by an Arduino UNO. The game can easily be switched on single player to.
Step 1: Parts
Here is a list of parts that i used to make this project
- Beadboard
- Arduino UNO
- Jumper wires (male to male)
- 9v battery and battery clip
- 2x Potentiometers (any type but 5k is recommended)
- On/off switch
- Nokia 5110 LCD buy on eBay
Step 2: Schematic
This is the schematic for my project, follow it and hopefully you will end up with a game that works.
Make sure the LCD is connected the right way, not upside down.
Step 3: Build It
Follow the schematic as you place the parts on your breadboard,
Step 4: Arduino Code
Download the code here : Arduino pong game.
Open the code and upload it to your Arduino UNO.
Step 5: Finish
Power up your Arduino and get somebody to play with you, if nobody wants to play than you can just switch over to single player ;)
My feature plans for this project is to solder it on a PCB and make a good looking enclosure for it.
THANKS FOR VIEWING!
check out my channel for more projects that you might like, and if you have any tips or questions for this project than please share them in the comments and I will reply as soon as possible.

Participated in the
Automation Contest

Participated in the
Coded Creations

Participated in the
How to Play ____
29 Comments
Question 3 years ago
hey, could you please label the pins of the LCD because I'm am having some trouble with the lcd connections.
Thanks
ZeCreator
7 years ago
Grate job.. I like it.. hope fully one day i will make it. Thanks for the post.
7 years ago
Mine is working, but for some reason my display is barely lit.
Reply 7 years ago
That might be because of voltage or its a bad screen.
Good work :)
Reply 7 years ago
I'm using the 3.3V port on the Arduino, the pixels are barely lit and the screen is flashing, as if it's buzzing a bit.
Reply 7 years ago
Try the 5V port, I think it wil work than.
Reply 7 years ago
The screen doesn't work then
Reply 7 years ago
Than I honestly don't know what to do.
Reply 7 years ago
I just used a 220 ohm resistor connected to the 5V output and it works perfectly now!
Reply 7 years ago
Thats great! :)
Reply 7 years ago
Thank you nevertheless.
7 years ago
I figured out that my LCD screen was a clone that looked similar but the pins on the back were all switched around. Its alive!!!
7 years ago
I made this and followed the instructions carefully but when I power it on, all it does is flash the lights on the screen and no pixels show up. Any idea what is causing this?
8 years ago on Introduction
Awesome Project!! but can you explain what each part of the code does? I want to understand it. Thanks!!
Reply 8 years ago on Introduction
I did not make tis code and i dont understand this lcd code, sorry.
I want to change the code so that it prints the winner like: P2 winner.
But I dont know how.
8 years ago
Nice! I love this
8 years ago on Introduction
so great!
8 years ago on Introduction
This looks like a great project, but the "setup" step of the code just writes what appears to be your name on the LCD and the "loop" does nothing!
I might well make up a board for this for one of my kids' projects so if you do have the full code then please post it.
Thanks
Ugi
Reply 8 years ago on Introduction
sorry about this, I am fixing it now!
Reply 8 years ago on Introduction
Great - looks much better.
Thanks
Ugi
PS The GitHub page hosting the code is a couple of years old. There's no dishonour in using someone else's code (since it appears to be public domain) but if it's not your code you should credit the author.