A standard KS0108 128×64 graphical LCD along with a Nokia 3595 screen are used in this AVR ATmega168 based Tetris game.
The hardware design of the game is easy to build and simple since any development board can be used and just by making sure that all necessary pins are available to run GLCD and 5 buttons. The trunk build of the SVN is the Nokia 3595 and that branch of SVN was loaded with KS0108 hardware onto the ATmega168.
During the game play, a message is displayed by the screen at power up and the game will begin after prompting for a button click. The order of pieces is generated using the random seed. This is gathered from the system clock when registering the first button press. For every game, this makes the pices not to appear in the exact same order. A code can be written to get the pieces to fit but not overlap each other or leave the game board.
An AVR Dragon programmer and the Dragon 500 board were used to prototype the AVR ATmega168 microprocessor. The software development uses the Eclipse IDE and local repository.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.