Pong LED
Scott Douglas
Description:
I developed this project idea to learn about electronics. I want to make a 40x40 array of LEDs that are hooked up to an HC11 microcontroller we have at CSH that isn't being used. The microcontroller would provide Pong logic in C, which would be outputed to the LEDs through some latching shift registers. The LEDs can be found here. They come in 8x8 sections for $1.60 a piece when you buy 25. The LEDs are red and green. Ideally, the ball will be green and the paddles will be red in the final version. If I find the time, it would also be neat to hook up sliders to the inputs on the HC11 to allow people to play. I think the HC11's have inputs...
Progress:
I've completed the C logic for now. Here's a screenshot:

It's currently displayed using opengl. If you uncomment the line printMatrix();, it will print out to the console in a 40 by 40 array of integers. This is what will be fed to the LEDs.
Now I just need the microcontroller to compile the code on and the LEDs wired up.
Download the code here. It compiles under OSX. With slight modification, it should compile under anything with a c compiler and the glut library.
Send me an email if you have any ideas.
For information on Computer Science House, visit here.