Adafruit
Adafruit PyBadge for MakeCode Arcade, CircuitPython or Arduino
The Adafruit PyBadge is a credit-card-sized all-in-one development board with a colour TFT display, game-style buttons, NeoPixels, sensors, and a speaker. Po...
The Adafruit PyBadge is a credit-card-sized all-in-one development board with a colour TFT display, game-style buttons, NeoPixels, sensors, and a speaker. Powered by the ATSAMD51 running at 120 MHz with 512 KB Flash and 192 KB RAM, it can run MakeCode Arcade games, CircuitPython programs, or Arduino sketches.
The front features a 1.8" 160×128 colour TFT display with dimmable backlight and fast DMA support, 8 silicone-top buttons arranged in a gaming layout (D-pad, 2 menu, 2 action), and 5 NeoPixel LEDs. The back has full Feather-compatible header sockets for FeatherWing expansion plus three STEMMA connectors for additional sensors.
Key Features
- ATSAMD51J19 Processor – 120 MHz Cortex M4F with 512 KB Flash + 192 KB RAM
- 2 MB QSPI Flash – For storing images, sounds, animations, and game assets
- 1.8" 160×128 Colour TFT – Fast DMA-driven display with dimmable backlight
- 8 Silicone-Top Buttons – D-pad + 2 menu + 2 action buttons with satisfying click feel
- 5 NeoPixel LEDs – For status indicators, score tracking, or badge dazzle
- Triple-Axis Accelerometer – Tap and free-fall detection
- Light Sensor – Forward-facing for ambient light detection
- Built-In Buzzer Speaker – Plus a Class D mono amplifier for 4–8Ω speakers up to 2W
- Feather-Compatible Headers – Plug in any FeatherWing for expanded capabilities
- 3 STEMMA Connectors – Two 3-pin (ADC/PWM) and one 4-pin I2C (Grove-compatible)
- LiPo Battery Port – Built-in charging via Micro-USB; on/off switch for battery saving
Programming Options
- MakeCode Arcade – Drag-and-drop block programming for games; load via disk-drive bootloader
- CircuitPython – Draw graphics, play audio, print text with custom fonts, and read sensors in Python
- Arduino – Full low-level control using the Adafruit Arcada library for hardware abstraction
Ideal For
- Retro-style gaming handhelds and MakeCode Arcade games
- Conference badges with interactive displays
- Portable sensor projects and data displays
- Learning programming with a fun, self-contained platform
Package Contents
- 1× Adafruit PyBadge (assembled with display, buttons, NeoPixels, and sensors)
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- ADC
- An analogue-to-digital converter reads a changing voltage and turns it into a number the microcontroller can use. It matters when connecting analogue sensors such as light, sound, or variable-resistor sensors.
- Bootloader
- Small starter software on a microcontroller that lets new code be uploaded before the main program runs. Knowing how to enter bootloader mode matters when you need to program the board or recover it after a faulty sketch.
- CircuitPython
- A beginner-friendly version of Python designed to run directly on microcontroller boards. If a product supports CircuitPython, you can often program it by copying code files onto the board rather than setting up a more complex toolchain.
- Feather-compatible
- Feather-compatible means the board follows the Adafruit Feather size and pin layout used by many add-on boards and enclosures. It matters because it helps you choose accessories that will physically fit and connect to the same pins.
- FeatherWing
- A FeatherWing is an add-on board made to plug into the Feather microcontroller board layout. Knowing a product is a FeatherWing helps you check whether it will physically and electrically fit your Feather-style mainboard.
- Grove
- Grove is a plug-in connector ecosystem for sensors and modules that avoids soldering and jumper wires. Grove compatibility matters because it can make it quicker to add supported I2C devices, as long as the cable and voltage are suitable.
- Headers
- Rows of metal pins used to plug a module into a breadboard or connect it with jumper wires. Pre-soldered headers make the module easier to use straight away without needing to solder the pins yourself.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- LiPo
- A lithium polymer rechargeable battery commonly used in portable electronics projects. It matters because LiPo batteries need correct charging circuitry and care, and this board includes hardware intended for that battery type.
- NeoPixel
- A type of addressable LED system where colour data is sent along a single digital data line from one LED or controller to the next. Compatibility matters because the timing and signal format must match for the lights or driver board to respond correctly.
- PWM
- Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
- RAM
- RAM is temporary memory used while a device is running, and its contents are lost when power is removed. A “Run in RAM” mode is useful for testing settings without permanently programming the module, but it may not support every feature.
- STEMMA
- A plug-and-cable connection system used on some maker electronics boards to make wiring simpler. If a product uses STEMMA, you need the matching cable or connector type to plug it in without soldering.
- TFT
- A thin-film transistor display is a common type of colour LCD used for graphics screens. Knowing a product is for TFTs helps you check that the driver board matches the display’s connector, resolution, backlight, and signalling method.
Find this product in
Brands
Microcontrollers
Related Tutorials
Free guides on learn.littlebird.com.au