This SHIM provides a convenient way of powering your Raspberry Pi Pico from a LiPo/LiIon battery. You can recharge the battery easily by providing power to the Pico's USB port.
Solder this neat little square to the pins on the back of your Pico, plug in a suitable lithium-ion/polymer battery and tada - a LiPo Pico!
The inbuilt charging circuit means you can recharge the attached battery by supplying power to the Pico via USB, and it includes protection against over-discharge and overcurrent. There's a power button to stop the SHIM from providing battery power when it's not needed and turn your project on and off, as well as two LED indicators - a white one that shows when the shim is providing power and a red one to tell you when the battery is being charged.
We've designed it to be as slimline as possible so it can be sandwiched underneath other add-ons like our Pico Packs and Bases.
Safety note! You should only use this SHIM with LiPo or LiIon batteries, and you should make sure that any project involving LiPos is sufficiently protected from being dented, bent, punctured or crushed. ALWAYS check LiPo wire/connector polarity and adjust if needed.
- MCP73831 charger with 215mA charging current (datasheet)
- XB6096I2S battery protector (datasheet)
- Power button
- 2-pole JST PH connector, with polarity marked on the board
- Power and charging LED indicators
- Compatible with Raspberry Pi Pico
- Soldering required
- Dimensions: approx 21mm x 21mm x 7mm (L x W x H, including connectors)
Note: Raspberry Pi Pico/batteries/add-ons are NOT included. You'll need a Pico with male headers soldered to it. You can grab a Pico here and Pico male headers here, or buy a Pico with pre-soldered headers.
You'll need to solder the SHIM to the back of your Pico, with the power button at the same end as the USB port. The text on the SHIM and the pin labels on the back of the Pico should be facing each other.
You can use LiPo SHIM for Pico with any Pico OS as it doesn't require any software installation to work.
We've put together a MicroPython example showing how you can read the system voltage from Pico's VSYS pin to estimate how much charge is left in the battery, and display it on Pico Explorer or Pico Display.
- The power button can also be used as a reset button, yay! Just double press it to cut and reinstate the power whilst holding down the BOOTSEL button on the Pico to get into bootloader mode, with no plugging and unplugging of cables required.
- Because Pico Display has a chunky display connector on the underside you might have difficulty sandwiching the SHIM underneath if your Pico's header pins are on the shorter side. We'd suggest picking up some longer stacking headers or a Pico Omnibus / Pico Decker if you want to use this SHIM with Pico Display.
- Alternatively, if you're ambitious in the ways of experimental soldering, you can try soldering the Pico and the SHIM both to the short end of your header, back to back. This method makes for a much more slimline Pico/SHIM package which works nicely with Pico Display, but you'll need to make sure your solder joints make good contact with the pads of both boards and the header.
About Raspberry Pi Pico
Raspberry Pi Pico is a flexible, low-cost microcontroller development board from the folks at Raspberry Pi, based on their very own chip - the RP2040. It's easily programmable over USB with C/C++ or MicroPython, and ideal for using in all sorts of physical computing projects, devices and inventions - we're so excited to see what you make with it!