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.

blog comments powered by Disqus

Featured Products from the MakerShed