Vermes
Advanced Member level 4
It is a portable version of popular game – Snake.
Block diagram:
The game is divided into modules.
Screen:
Screen was removed from a portable DVD. Vision signal going from electronics under the matrix should be a composite video. You have to know the destination of other cables, ie power, 4:3/16:9 mode, brightness.
Game:
The game is based on processor Atmega8-16Pc clocked by quartz 16MHz. Load takes 17kb, was written in C and compiled in AVR-GCC. The image generated on the screen is black and white (black, white and grey).
Basic functions carried out by the program:
- selecting the level 1, 2, 3
- sound on/off
- possibility of going through walls or not (ghost)
- table of best results
- information about the author
Power supply:
The game is powered by a 12V external power supply. 3,7V/1100mAh accumulators connected in series were used as internal power supply. That gives a total voltage of 11,1V. Charging is almost directly from the power supply, there is only a diode 1n4001 connected in series. Accumulators have a protection, so they should not overload.
Inside, below the LCD display. 3 accumulators, parts of the PCB with processor and electronics which controls the matrix can be visible in the following picture:
Console with mounted matrix:
Link to original thread (video) - Snake - przenośna konsola do gier - Konkurs