1 of 9

Tetris

Group 3:

Kevin Chan

Yuming Cheng

James Ding

Lawrence Wan

2 of 9

Project Goals

  • Develop the game of Tetris using the SJTwo Microcontroller and LED Matrix
  • Apply our understanding of Free RTOS and course material into our project development.

3 of 9

Bill of Materials

4 of 9

Schedule (Brief description)

  • Week 1 - Week 3 : Preparation

  • Week 3 - Week 5 : Coding/ Revising

  • Week 5 - Week 7 : Improvement/ Debug / Extra features (mp3)

  • Week 8 - Demo Day : Enclosing / Finalizing

5 of 9

Hardware Design

  • Microcontroller 1 → LED Matrix:
    • GPIO → Matrix Data/Control Pins
    • PCB

  • Microcontroller 2 → MP3 Decoder:
    • SPI 1

  • Microcontroller 1 → Microcontroller 2:
    • UART3

  • Power Supply
    • PCB 5V Power Circuit
    • LED Matrix Separate 5V Power Supply

6 of 9

Software Design

  • Game Logic:
    • Line clearing
    • Collision with placed pieces
    • Rotation, dropping, shifting

  • Extra Features:
    • MP3
    • Game modes
    • Save piece

7 of 9

Challenges / Future Work

  • Challenges:
    • PCB connections
    • Push Buttons
    • Gaming Logic
    • Drivers

  • Future Work
    • Remake the PCB
    • Power Switch
    • Cleaner Wires
    • Better Buttons
    • Include access to microcontroller usb ports
    • Having the Enclosure on the LED matrix

8 of 9

Demo

9 of 9

References