Close
0%
0%

Pong Game

Handmade gaming console

Similar projects worth following
Pong is a two-dimensional sports game that simulates table tennis. The player controls an
in-game paddle by moving it vertically across the left side of the screen, and can compete
against another player controlling a second paddle on the opposing side. Players use the
paddles to hit a ball back and forth. The aim is for each player to score some points before
the opponent; points are earned when one fails to return the ball to the other.
Our idea is to realize the basic implementation of the game by using a suitable
microcontroller interfaced with an LED Dot Matrix display and buttons for each of the two players.
Both the players will have two buttons each to control the movement of their respective
paddles (Up and Down). The paddles however are restricted to move horizontally. While
there can be multiple implementations of this game, we wish to stop the game when any of
the players reach a certain score. The score increases by one if the opponent misses the ball.

This project was implemented as a partial fulfillment of the course Embedded Systems Design wherein we developed a 2 player Pong game similar to the classic Atari pong game.

The game is implemented on Atmel Atmega16 Development Board.

  •  Using a 8x8  monochrome Red LED matrix (MAX 7219).
  • Simple pushbuttons for user control.
  • Scoreboard using 7-segment displays.
  • The buzzer was also programmed for producing sound.
  • The game also has a reset button.

The buzzer produces annoying sound using PWM whenever someone scores a point. It also plays a melody at the start of the game.

The game can be powered either by a battery or by connecting to a PC through a USB cable.

The file 'final.c' is the final game implementation

Also added Proteus ISIS file 'avr_matrix.DSN' for simulation. 

doc2466.pdf

Documentation of ATMega16 L

Adobe Portable Document Format - 7.14 MB - 11/29/2017 at 14:35

Preview

Commands.JPG

Commands for compilation and burning the HEX file.

JPEG Image - 64.17 kB - 11/29/2017 at 14:35

Preview

pong_final.hex

Hex file for running proteus simulation.

hex - 21.08 kB - 11/29/2017 at 14:25

Download

Capture.JPG

Schematic

JPEG Image - 252.57 kB - 11/29/2017 at 14:22

Preview

avr_matrix.DSN

Proteus Design File

dsn - 116.70 kB - 11/29/2017 at 14:22

Download

View all 8 files

  • 1 × ATMega16 L Development Board
  • 1 × USB ASP Programmer
  • 1 × LED Dot Matrix MAX 7219
  • 1 × Breadboard Electronic Components / Misc. Electronic Components
  • 1 × 9V Power Supply

View all 8 components

  • Current Progress

    Shikhar Shiromani11/29/2017 at 09:32 0 comments

    The entire game has been implemented and few functionalities have been added like melody at the start of the game.

  • Progress till 18-11-2017

    Shikhar Shiromani11/19/2017 at 20:16 0 comments

    Update:

    • Tested the LED Dot Matrix Display.
    • Test AVRDude to burn sample hex files.
    • Installed drivers for USB ASP Programmer.
    • Tested the user inputs.
    • Designed a layout for the connections.
    • Partially designed the simulation in Proteus.

    To Implement :

    • Implement the game code.
    • Final launch, run and improvisations.

View all 2 project logs

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates