Badgeware: Digital Dice for the Pimoroni Badger and Tufty 2350
Today's app is a Dice roller for the Pimoroni BadgeWare devices, supporting both the E-Ink Badger and the TFT Tufty. The MicroPython-based app lets you roll from 2 to 6 dice with 4 to 20 sides. The allocated dice can be any combination of sides. The app defaults to rolling all the dice every time but lets you freeze any number of the dice and re-roll. The codebase can be installed to add to the main menu page or replace the menu page to be the only app on the device.
The Pimoroni BadgeWare series are programmable, hackable devices in a digital conference badge form factor. They have lanyard loops, built-in batteries, wi-fi, Bluetooth, and QT/ST (Stemma) IOT sensor connectors. This single app supports both displays and their different power management profiles. It does not support the RGB-LED display Blinky.
Installation
Dice Demo
Click to expand
A six minute demo videoUI Walkthrough
BadgeWare Main Menu
The Setup Page
- The more (up) and less (down) buttons affect the number of dice when the box in the upper right corner is highlighted and no single die has a highlight box around it.
- The dice count in the upper right corner is highlighted in this image
- The more and less keys set the number of faces of a specific die if a single die is highlighted.
- The A and C keys are used for navigation.
- The B key exits setup and returns to the rolling screen.
Rolling Screen
- The A and C buttons move the highlight box.
- The Up button locks a die to freeze its value for the next roll.
- A long-press on the Up button unlocks all locked dice.
- The Down button. on the bottom right rolls all the unlocked dice.
- The B button leaves this screen and moves to the setup screen.
Source Code
Revision History
- Created 2026 11


