My version of the famous game "Tetris" using a system based on the Blue Pill dev board.
The sole purpose of this project is to recreate the game mechanics and introduce some other different features regarding in-game audio :).
The system can be summarized in three big modules:
- Game Display Module.
- SPI communication with MAX7219 to control two 8x8 LED matrices.
- I2C communication with SSD1306 OLED Driver connected to 128x64 dot display to show the player's score and the current song being played.
- Sound Module.
- PWM + NPN BJT circuit driven 4 ohm speakers.
- User Interface Module.
- 6 buttons with different functionalities (up/down/left/right/center/reset).
The connections the user must make are the following:
Pending upload.