PyPong - 0.1
Pong video game using Atmega8 Microcontroller, and Pygame. It is a good example of an heterogeneous system, consisting of micorcontroller's code (in C) and Python+Pygame application. I've spent two evenings and I've done it! The hardest thing was soldering despite the fact, that I never had dealings with microcontrollers before. I've found AVR Atmega8 microcontroller the cheapest option to create the simplest pong controller. It is probably also the fastest way.
Vadim Kataev
(vkataev)
Pong video game using Atmega8 Microcontroller, and Pygame. It is a good example of an heterogeneous system, consisting of micorcontroller's code (in C) and Python+Pygame application. I've spent two evenings and I've done it! The hardest thing was soldering despite the fact, that I never had dealings with microcontrollers before. I've found AVR Atmega8 microcontroller the cheapest option to create the simplest pong controller. It is probably also the fastest way.
ADC on the microcontroller measures resistance on potentiometer and sends this info through the serial line to PC. C source is to compile with avr-gcc. I also use avrdude to load byte code into the flash memory of a microcontroller.
Pong code is running on the PC. It reads constantly bytes on the serial port, changing positions of the objects on the screen. It requires python and pygame to be installed.
See more info, pictures, and video on my homepage.
Changes
Links
- Home Page
- http://vkataev.googlepages.com/pypong2