Posted on Feb 7, 2014

A simple single player PONG game using a LED matrix while thinking about how the sync signals logically worked together in the Analog Pong Game I had built. I originally wanted a 10X10 matrix for the ball, and tried to think of some chips capable of counting up and down and chose the LM3914 dot/bar (dot mode used in thisgame) driver with an analog input.

Click here to download the full size of the above Circuit.

During the designing stage, I learned of a mistake in the concept of reversing the ball`s direction when it reached the end row/column because the signal goes through the logic FAST and would barely give the end LED sufficent time to glow before the ball reverses direction. So the LED matrix was cut down to 8x8 LEDs, and the first and last output of the LM3914 could be used as the reversing signal. Unfortunately, when the circuits were built the first output stays on the whole time, and I was unable to figure out why so it was either cutting the matrix down to 7 by 7 LEDs or putting an approximately 1/3 to 1/2 second time delay on the second output of the LM3914s to allow the end LEDs to glow. I chose the latter method and got a successful test on the horizontal movement using a 555 timer for the delay. The vertical circuit was built, but first the paddle controller and the associated logics has to be built for collision detection at the bottom. The paddle controller was simply another LM3914 with only four outputs wired for the four paddle positions, and a simple pot between 5V Vcc and ground as a voltage divider with the swiper connected to the input of the chip. The associated logics for collision detection between the ball and the paddle is a bit tricky. First of all, there are only four paddle positions, thus four columns on the ball`s matrix. However, the ball has 8 possible column positions so four OR gates are...

Leave Comment

characters left:

New Circuits



Popular Circuits

Balance input with Gain
A Simple Metal Detector Circuit Using Beat Frequency Oscillator (BFO)
Light control system of traffic of double mode of infrared remote-control on the basis of 89C52 one-chip computer
Adjustable 1-10 Minute Timer Project
Voltage doubler circuit using 555 timer
Adding 1 PPS and 10MHz Outputs to the Z3801A
Dimming Control Circuit for LEDs
12kHz IF oscillator circuit diagram