A hackable, programmable badge with E Ink® display, powered by Raspberry Pi RP2040.
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!
We've equipped Badger 2040 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.
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
Want to show your Badger the world? We've put together a convenient Badger + Accessory Kit which contains batteries, a lanyard and everything else that's needed to get portabello.
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
Badger + Accessory Kit includes
- Badger 2040
- 2 x AAA battery holder
- 2 x AAA batteries
- Velcro square
- Black lanyard (made from recycled plastic bottles!)
- USB-C to USB-A cable
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 examples
- BadgerOS ported to CircuitPython by Stephane BeBoX
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.
Printables
Want to protect Badger from knocks and scrapes? Check out these nifty 3D printable cases and enclosures!
- Badger Guard (simple backplate with standoffs)
- Badger 2040 stand by samuelmcdermott
- Case for Pimoroni Badger 2040 by hsavior
- Badger 2040 enclosure by Andreas Känner
- Badger 2040 keypad by Andreas Känner
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 (or you could use one of our Galleon hard case LiPo batteries).
- 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.
- With older versions of the Badger firmware, reset behaviour is slightly different when running on battery. 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. With version 1.18.5 or later of the Badger firmware you won't need to do this.
- Never set your password as "mushroom". It is not stroganoff.