A hackable, programmable badge with E Ink® display, powered by Raspberry Pi RP2040 - Badger Only
In honour of Raspberry Pi's 10th birthday, we've fused a RP2040 microcontroller with an EPD display to make a stylishly monochrome, maker friendly, e-paper badge(r) to attach to your person, your office door or to prop up on your desk. With the support of the fun guys (and gals and non-binary pals) at Ineltek and Raspberry Pi we've been able to keep it as low cost as possible, hoorah!
Badger 2040 is equipped with plenty of buttons so you can easily change what's displayed on the screen, a slot so you can clip it onto a lanyard and a battery connector so you can keep things portable and refresh the screen whilst on the go. On the back, you'll find some funky badgerpunk stylings plus our RP2040 accoutrements of choice: boot and reset buttons and a Qw/ST connector so it's super easy to plug in Qwiic or STEMMA QT breakouts.
Here are some things you could do with it!
- Switch between images, pronouns or secret identities at the push of a button
- Make yourself into a mobile weather station or air quality monitor (by adding a sensor breakout)
- Store important QR codes for getting into places (or to Rickroll people)
- Make a tiny to-do list and tick stuff off
- Display inspirational badger quotes or educational badger facts of the day
RP2040 x e Ink®
The electronic paper makes for a lovely, crisp, high contrast display that's readable even in bright sunlight and it doesn't squirt unnecessary blue light into your environs like LCDs do. It's also ultra low power (EPD displays only consume power while they're refreshing), and the images on the display stick around for a really long time whilst the display is unpowered.
Using a RP2040 chip means we can drive the hardware in fun, experimental, low level ways. We've written custom drivers for the EPD display that prioritise low power consumption whilst enabling lightning fast refresh rates.
Features
- 2.9" black and white E Ink® display (296 x 128 pixels)
- Ultra wide viewing angles
- Ultra low power consumption
- Dot pitch - 0.227 x 0.226 mm
- Powered by RP2040 (Dual Arm Cortex M0+ running at up to 133Mhz with 264kB of SRAM)
- 2MB of QSPI flash supporting XiP
- Five front user buttons
- Reset and boot buttons (the boot button can also be used as a user button)
- White LED
- USB-C connector for power and programming
- JST-PH connector for attaching a battery (input range 2.7V - 6V)
- High-precision voltage reference for battery level monitoring
- Qw/ST (Qwiic/STEMMA QT) connector
- Fully-assembled (no soldering required)
- Schematic
- Mechanical drawing
- C++/MicroPython libraries
Software
Because it's a RP2040 board, Badger 2040 is firmware agnostic! You can program it with C/C++, MicroPython or CircuitPython.
Our C++/MicroPython libraries contain some nifty software tweaks to let you get the most out of your Badger. You'll get best performance using C++, but if you're a beginner we'd recommend using our batteries included MicroPython build for ease of getting started.
- Download Pirate brand MicroPython (special Badger edition)
- Getting Started with Badger 2040
- C++ examples
- MicroPython examples
- MicroPython function reference
You can also use CircuitPython on your Badger 2040. CircuitPython drivers are designed to work on a bunch of different microcontrollers so you won't get the fancy RP2040-architecture specific tweaks that you'll find in our library, but you will get access to all the nice conveniences of Adafruit's ecosystem.
- Download CircuitPython for Badger 2040
- Getting Started with CircuitPython
- CircuitPython example (coming soon!)
Connecting Breakouts
If your breakout has a QW/ST connector on board, you can plug it straight in with a JST-SH to JST-SH cable, or you can easily connect any of our I2C Breakout Garden breakouts with a JST-SH to JST-SH cable coupled with a Qw/ST to Breakout Garden adaptor.
- List of breakouts currently compatible with our C++/MicroPython build.
Notes
- Measurements: 85.6mm x 48.7mm x 10mm (L x W x H, including connectors). The mounting holes are M2 and 2.9mm in from each edge. The corner radius is 3mm.
- Badger 2040 is fairly accommodating about input voltage (2.7V - 6V), so it's possible to use a variety of different batteries and battery packs. A 2x AAA battery pack fits behind Badger nicely (double/triple AA and AAA battery packs will also work though).
- 2x AAA rechargeable (NiMH) batteries only puts out 2.4V which is, strictly speaking, not enough for Badger. However, in our tests it keeps on truckin' down to an input voltage of 2.05V (without the LED), so if you want to use rechargeable batteries that should be fine.
- Alternatively, you can plug a LiPo/LiIon battery into the battery connector, with the following caveats. Please only consider this if the person wearing the badge is an adult and knows what they're doing with LiPos!
- A solid enclosure or backplate to protect the battery from damage whilst being worn is a very good idea.
- There's no battery protection included on Badger 2040, so you should only use it with LiPo batteries that include internal protection
- Unlike some of our other boards, Badger 2040 doesn't have battery charging circuitry onboard. You'll need an external LiPo charger to charge the battery
- Reset behaviour is slightly different when running on battery, because of the power saving features built into the board. If you're running on battery power, you will need to tap the reset button on the back, and then hold any of the front buttons to wake it up and trigger a refresh.
- Never set your password as "mushroom". It is not stroganoff.