A very-low-power handheld gaming device
https://bitgloo.com/projects/stm-game
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clyne 6790246c3c | 4 years ago | |
---|---|---|
cfg | 4 years ago | |
.gitignore | 4 years ago | |
2048.c | 4 years ago | |
2048.h | 4 years ago | |
LICENSE | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
STM32L011x4.ld | 4 years ago | |
buttons.c | 4 years ago | |
buttons.h | 4 years ago | |
dogs.c | 4 years ago | |
dogs.h | 4 years ago | |
flapbird.c | 4 years ago | |
flapbird.h | 4 years ago | |
main.c | 4 years ago | |
openocd.sh | 4 years ago |
README.md
stm-game
'game' is a minimal STM32-based gaming device. The device is based on the STM32L011F3, with only 16kB of flash an 2kB of RAM, and includes an EA DOGS102N-6 low-power LCD display with a digital joystick and some buttons. A CR2032 battery is used for power.
The primary goal of this project is to master low-power techniques: the device currently plays games with only 340uA of current consumption, dropping to about 272uA while sleeping (display on). This has been achieved through the use of low-power modes, varying clock speeds, and an interrupt-driven software architecture.
The first game written for this device is a "Flappy Bird" clone. More games will be developed and added to the project over time.