]> code.bitgloo.com Git - clyne/stm-game.git/summary
 
descriptionFirmware for an ultra-low-power handheld game
ownerClyne Sullivan
last changeWed, 15 Mar 2023 23:01:13 +0000 (19:01 -0400)

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.

shortlog
2023-03-15 Clyne Sullivanadd schematic files master
2022-06-11 Clyne Sullivanfix power settings; rand() for flapbird
2022-06-05 Clyne Sullivanswitch to bit-font for text
2022-06-05 Clyne Sullivanmove source to folder; openocd.sh programs directly
2021-09-18 Clyne Sullivanremove rtos; disable systick
2021-09-17 Clyne Sullivanuse rtc for timing
2021-01-16 clyneUpdate README.md
2021-01-16 Clyne Sullivanmodular games; draft 2048
2020-12-01 Clyne Sullivanadd score; fix y-axis; add pause/sleep
2020-11-30 Clyne Sullivanadding second pipe set
2020-11-30 Clyne Sullivanlow-power improvements; starting flappy bird
2020-11-30 Clyne Sullivanhsi only for adc; run msi at 512k for 360uA
2020-11-29 Clyne Sullivanadc measures vdd; sleep mode for 1.1mA idd
2020-11-29 Clyne Sullivandisplay optimization; sprites
2020-11-28 Clyne Sullivancustomize link script to remove heap section
2020-11-27 Clyne Sullivaninitial upload
...
heads
2 years ago master