LiPo SHIM for Pico
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 overdischarge 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.
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.
- 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)
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 installing to work.
Here is 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.
- 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.