Yet Another Pong Game With Arduino Uno

18,990

56

10

Intro: Yet Another Pong Game With Arduino Uno

I've done a Pong game before with a 8x8 LED matrix and this is a project for me to know about PCD8544 LCD screen which was also used in Nokia 5110 cell phones. 

 

 
Here is what I needed in this project:

- Arduino Uno
- PCD8544 LCD screen (known as Nokia 5110 screen) and the datasheet if you ever wonder what the 8th pin is doing http://www.sparkfun.com/datasheets/LCD/Monochrome/Nokia5110.pdf
- 2 x 5KOhm Potentiometers
- A breadboard
- A bunch of jumper cables

If you have all these, then it's just a matter of doing the correct wiring and writing the code. But you shouldn't feel frustrated because wiring schema and source code is also included in this instructable.

It's my first Fritzing experience and I'm sure there are some mistakes in the schema. If you see any, please warn me.

You can fork the Arduino source code here : https://github.com/monur/Arduino-Uno-PCD8544-Pong

Make the connections, upload the code and start playing. You can adjust some gaming options in the code.

PS: The 8th pin is to enable the back lights. Connect it to 5V and see the old style Nokia sparkles.

Share

    Recommendations

    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge
    • Audio Contest 2018

      Audio Contest 2018
    • Optics Contest

      Optics Contest

    10 Discussions

    0
    None
    saronalm

    2 years ago

    I did this but the game acts in a weird way ! it starts glitching and the paddles go to the middle of the screen and move without me touching them. I don't know what to do or what could be causing this. please help

    0
    None
    ЛюбоА

    2 years ago

    The pixels in mine are barely lit and the game is barely visible. What could be the problem?

    0
    None
    DangerousTim

    3 years ago on Introduction

    I'd like to correct you; connecting the backlights to 5v may fry them... its safer to just connect to 3.3v or use a resistor. Anyways very helpful instructable... I'm planning on making it! ;)

    0
    None
    LiGhTMaGiCk

    3 years ago

    How difficult would it be if I wanted to change the orientation so that the paddles are on the right and left? Would I basically have to rewrite the whole thing or could I just modify it?

    0
    None
    LiGhTMaGiCk

    3 years ago

    I made this on a breadboard first and then got an extra Atmega8 chip and built the whole thing on a circuit board but I didn't want to commit the screen to the project permanently so I built a connector to interface the screen on the outside of the project box.

    temp_1661294564.jpgtemp_588890627.jpg
    0
    None
    lovelyazka

    5 years ago on Introduction

    how if im add ARTIFICIAL INTELEGENT (AI) in pong ? so i can play with computer and have 3 levels , easy,medium and hard ..

    thank's