Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

Make: Projects

2-Player Pong Game with Arduino Uno

Classic Pong game using an Arduino Uno and a Nokia 5110 screen.

2-Player Pong Game with Arduino Uno

Classical Pong game implemented on an Arduino Uno using a PCD8544 LCD screen which is better known as the Nokia 5110 screen.

Player bars are controlled by a potentiometer for each player. If you want the bar to go left, just turn the potentiometer left.

Steps

Step #1:

PrevNext
2-Player Pong Game with Arduino Uno

Connect the Arduino Uno, PCD8544 LCD screen and 2 potentiomaters as shown in the Fritzing diagram.

Step #2:

PrevNext
2-Player Pong Game with Arduino Uno

Download Arduino software from http://arduino.cc/en/Main/Software

Step #3:

PrevNext
2-Player Pong Game with Arduino Uno

Download the Arduino sketch (Pong.ino file) from https://github.com/monur/Arduino-Uno-PCD...

Step #4:

PrevNext
2-Player Pong Game with Arduino Uno2-Player Pong Game with Arduino Uno2-Player Pong Game with Arduino Uno
  • Open Pong.ino sketch with Arduino IDE software
  • Connect the Arduino Uno to your computer with a USB cable.
  • In the Arduino IDE software menu, select Tools->Board->Arduino Uno
  • In the Arduino IDE menu, select File->Upload or use the shortcut key combination Ctrl-U
  • The game starts in the LCD screen. You can control the bars using the potentiometers.

Comments

  1. Kelly Pratt says:

    What kind of pots are used?

      1. herry says:

        good !

        1. 44 says:

          in my arduino uno r3 it does not work

  2. parolaraul@gmail.com says:

    I adapted this for a nokia 1100 lcd and work great! Also add some images when the game start and end, if someone interested i´ll send you an email with the code. ;)

  3. RICK says:

    How to make a clock with 5110 screen????

    1. lofty says:

      there is a video on youtube

      1. RICK says:

        I have watched that video and it is of no use.