Handball


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.


Handball
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

Overtone crystal oscillator
2-MHz Frequency Standard With Dividers
12KV High Voltage Generator
op amp lm741 pre amp mic schematic
Battery operated mini night lamp
Subwoofer Filter Circuit
Inverse Heat Conduction
OEM AUX Light Switch Diagram
Fun with Geissler tubes
Fixing Laptops Motherboard
Search for Varicaps
Linear AC voltmeter circuit diagram
Alternating current voltage amplifier transistor
Inverting monostable circuit diagram



Top