Pico UPS A

From Waveshare Wiki
Jump to: navigation, search
Pico UPS A
Pico UPS A

UPS Module For Raspberry Pi Pico, Uninterruptible Power Supply




Primary Attribute
Category: OLEDs / LCDs, LCD
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
International: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
Related Products


The Pico-UPS-A is a dedicated UPS (Uninterruptible Power Supply) module designed for Raspberry Pi Pico. It incorporates a Li-ion battery switching charger with power path management, and a voltage/current monitoring chip, which allows monitoring of the battery operating status via the I2C bus.


  • Standard Raspberry Pi Pico header supports Raspberry Pi Pico series boards
  • Incorporates Li-ion battery switching charger with dynamic power path management, more stable power supply
  • I2C bus communication, monitoring the battery voltage, current, power, and remaining capacity in real-time
  • Multi battery protection circuits: over charge/discharge protection, over current protection, short circuit protection, and reverse protection, along with the equalizing charge feature, more safe and stable
  • Onboard recharging indicator, power indicator, and battery warning indicator to check if the battery is connected correctly


  • Recharge voltage: 5V
  • Control bus: I2C
  • Battery support: 14500 battery (Not included)
  • Dimensions: 60 x 21mm





Setup Environment

You can refer to the guides of Raspberry Pi: https://www.raspberrypi.org/documentation/pico/getting-started/

Working with Raspberry Pi

  1. Access Raspberry Pi and open the terminal
  2. Download the download and unzip it to the Pico C/C++ directory. You need to follow the guides of Raspberry Pi to install SDK first.
wget -P ~/pico https://www.waveshare.com/w/upload/9/92/Pico-UPS-A.zip
cd ~/pico
unzip Pico-UPS-A.zip

C examples

  • Press the BOOTSEL button of Pico and connect the Pico to your Raspberry Pi by USB cable and then release it.
  • Build and run the C examples
cd ~/pico/Pico-UPS-A/c/build/
cmake ..
sudo mount /dev/sda1 /mnt && sudo cp Pico_UPS.uf2 /mnt && sudo sync && sudo umount /mnt && sleep 2 && sudo minicom -b 115200 -o -D /dev/ttyACM0
  • The expected result should be as figure below:
Pico UPS A 01.png

Python examples

  • Access Raspberry Pi and open the Thonny.
  • Open the example by the IDE and save
Pico UPS A 02.png
  • Click the Run button to run the codes
Pico UPS A 03.png


Demo codes

Please contact us by Email/Skype/WeChat for technology support.Our response may be delay, you can just leave your questions, we will reply to you as soon as possible in working time.

Service email.png [email protected]
Service skype.png [email protected]
Service wechat.png Webchat Linzeru.png
Service time.png 09:00 - 18:00 (UTC+8 Monday to Staturday)