Power Saving (Experimental)
Thumby is a small console with a small battery that lasts around 2 hours of gameplay on a full charge, depending on what games with what colors at what speed are being played.
In the case of wanting to display a static image on the Thumby screen long term, you may be able to get more hours of display time by adjusting the frequency. Here is an example with some notes contributed by ace-dent on GitHub:
The benchmark for running the above example with a new, fully charged Thumby at ~23˚C with 93% lit pixels produced a promising runtime of 4 hours and 8 minutes.
Some other factors ace-dent mentioned for future possible testing:
- Setup GPIO interrupts, so that lightsleep() can be used without the 2s alarm;
- Adjust OLED clock multiplier, to see if lower CPU clocks can maintain a stable display;
- Adjust OLED charge pump settings;
- Other OLED CMD tweaks?;
- Disable any unnecessary RP2040 peripherals/ features (audio amp, ADC, timers, etc.)
Thumby Dormant Mode with Screen Off
This example was creating using the low power workaround for Raspberry Pi Pico:
from machine import Pin from thumby import display import lowpower display.display.poweroff() DORMANT_PIN = 27 # Right-most Thumby button, button A print("before dormant") lowpower.dormant_until_pin(DORMANT_PIN, False, False)
After putting a Thumby in dormant mode, it remained powered for 18+ hours.
Deep Sleep Known Issues
Using the native
deepsleep function available from the Raspberry Pi Pico SDK, the OLED display stops responding - this is due to peripherals being disabled in order to save power. Use the native lower power tools at your own discretion.