Jul 5, 2011

Augmented pong

New Project by Niklas Roy (before: my little peace of privacy):


How it works:
The game is programed with AVR-GCC on an ATmega8 microcontroller that runs with 16MHz. The controller gets basic videosignal synchronisation information from an LM1881 sync separator that triggers two hardware interrupts. One for a new image, the other one for a new line. The controller evaluates the brightness around the pixel (/ball) via its comparator input. Drawing the white image overlay is realized with a simple pull-up resistor in the signal line.
More (hires) images can be found here.
C source code can be found here.

No comments: