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 c61598fe95 use rtc for timing 3 years ago
cfg use rtc for timing 3 years ago
.gitignore initial upload 4 years ago
2048.c modular games; draft 2048 4 years ago
2048.h modular games; draft 2048 4 years ago
LICENSE Initial commit 4 years ago
Makefile modular games; draft 2048 4 years ago
README.md Update README.md 4 years ago
STM32L011x4.ld display optimization; sprites 4 years ago
buttons.c hsi only for adc; run msi at 512k for 360uA 4 years ago
buttons.h modular games; draft 2048 4 years ago
dogs.c use rtc for timing 3 years ago
dogs.h modular games; draft 2048 4 years ago
flapbird.c modular games; draft 2048 4 years ago
flapbird.h modular games; draft 2048 4 years ago
main.c use rtc for timing 3 years ago
openocd.sh use rtc for timing 3 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.