Close
0%
0%

STM 32 bit Microcontroller Tetris Game

A Tetris game i've started to make that uses a NUCLEO-F303K8 development board and a nokia 5110 screen.

Similar projects worth following
509 views
Here is some C code for a nice little game of Tetris on a microcontroller!

The "Console" uses the following components:
- A nokia 5110 screen like this one: https://shop.pimoroni.com/products/graphic-lcd-84x48-nokia-5110?variant=7399767681
- A ps2 analog stick
- A push button
- An Stm NUCLEO-F303K8 microcontroller development board

It's a project for stm32 cube IDE and would probably work on most STM microcontrollers with some coaxing. The core Tetris code (in TetrisCore.h) could be used to port Tetris to other microcontrollers including 8 bit ones.

It's still a work in progress but the basic Tetris game is complete - there's still some things I'd like to add to it such as:
- Sound - Done
- High score saving - Done
- Batteries, and potentially a new main loop which will be more power efficient

I'll add some proper pictures when I get a new phone and will update this project as I go.

https://github.com/JimMarshall35/Microcontr
  • 1 × Nokia 5110 Screen
  • 1 × PS2-Style Analog Stick
  • 1 × Push Button
  • 1 × Arm Microcontroller

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates