loading

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.

<p>Grate job.. I like it.. hope fully one day i will make it. Thanks for the post.</p>
<p>Mine is working, but for some reason my display is barely lit.</p>
That might be because of voltage or its a bad screen.<br>Good work :)
<p>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. </p>
Try the 5V port, I think it wil work than.
<p>The screen doesn't work then</p>
Than I honestly don't know what to do.
<p>I just used a 220 ohm resistor connected to the 5V output and it works perfectly now!</p>
Thats great! :)
<p>Thank you nevertheless.</p>
Its alive!!
Great to see that you got it working :)
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!!!
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?
<p>Awesome Project!! but can you explain what each part of the code does? I want to understand it. Thanks!!</p>
I did not make tis code and i dont understand this lcd code, sorry.<br>I want to change the code so that it prints the winner like: P2 winner.<br>But I dont know how.
<p>Simple and Funny!!!</p>
Yea I know :) good job!
Nice! I love this
<p>so great!</p>
<p>This looks like a great project, but the &quot;setup&quot; step of the code just writes what appears to be your name on the LCD and the &quot;loop&quot; does nothing! </p><p>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.</p><p>Thanks</p><p>Ugi</p>
<p>sorry about this, I am fixing it now!</p>
<p>Great - looks much better.</p><p>Thanks</p><p>Ugi</p><p>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.</p>
<p>Could you give the correct code please?</p>
<p>the code is fixed now :)</p>
I will add the code for it as soon as posible, sorry
<p>Great idea for a game BUT I can only echo what others have said.. I cannot see code which operates the game and would appreciate it. The code here appears to be library not operating code. Chris</p>
<p>The code you posted clearly does not do what you say it does. There is no analog reading of the pots so it can't work.</p>
<p>This is very good work and I like it quite a bit. I'd love to make a wrist watch with a Nokia 5110 display and then be able to connect to the watch a small box with an Arduino Pro-Mini in it and the pots mounted in it as well and be able to play PONG for two on my watch. :-) Keep up the good work.</p>
<p>if you make an watch like that then it would have been an really big watch ;) and thanks :)</p>
<p>Great! =D</p><p>But it seems you've put just the display library, not the Arduino Code for the game...</p>
<p>The code is there, you just have to copy it and paste it on your arduino software</p>

About This Instructable

9,863views

195favorites

License:

Bio: I am always making electronic stuff. I like to do Arduino projects best. more projects coming soon!
More by ibenkos:433MHz 4Ch Remote Controller Wireless Robotic Control  Hack a servo 
Add instructable to: