Pico UPS B
| ||
Overview
The Pico-UPS-B is a dedicated UPS (Uninterruptible Power Supply) module designed for Raspberry Pi Pico. It incorporates a Li-po battery switching charger with power path management, and a voltage/current monitoring chip that allows monitoring the battery operating status via the I2C bus. What's more, the male pin header makes it possible to "stack" other modules on top.
Features
- Standard Raspberry Pi Pico header supports Raspberry Pi Pico series boards.
- Incorporates Li-po battery switching charger with dynamic power path management, a more stable power supply.
- I2C bus communication, monitoring the battery voltage, current, power, and remaining capacity in real time.
- Multi battery protection circuits: overcharge/discharge protection, over current protection, short circuit protection, and reverse protection, more safe and stable.
- Onboard recharging indicator, power indicator, easy to check the battery status.
- Comes with online development resources and manual (Raspberry Pi Pico C/C++ and MicroPython examples).
Specifications
- Recharge voltage: 5V
- Control bus: I2C
- Battery support: 600mAh 3.7V Li-po battery (NOT included)
- Dimensions: 60 × 21mm
Pinout
Dimension
SAFETY CAUTIONS
- Li-ion and Li-po batteries are quite unstable. They may cause fire, personal injury, or property damage if they're not properly recharged or used.
- Do not reversely connect the polarities when recharging or discharging the battery. Do not use an inferior charger/charging panel to recharge the battery.
- When buying a Lithium battery, should always make sure the battery specification is compatible with the expansion board. Choose batteries from the formal manufacturer, and ensure the batteries will work stably and safely by aging test.
- Lithium batteries have limited cycle life, they will also deteriorate as time goes by. Should be replaced with new ones when the batteries reach their max cycle life, whichever comes first.
- Should be placed carefully and properly, keep it away from inflammable and explosive articles, away from children, and avoid any safety accident caused by careless storage.
User Guide
Hardware Connection
Setup Environment
1. For the Raspberry Pi environment setting, please refer to link.
2. For the Windows environment setting, please refer to link.
Working with Raspberry Pi
1. Open a terminal of Raspberry Pi by SSH or press Ctrl+Alt+T at the same time while using the screen to open the terminal.
2. Download and unzip the demo codes to the directory Pico C/C++ SDK. Reference for users who have not yet installed the SDK.
wget -P ~/pico https://files.waveshare.com/upload/5/5a/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/ #Pico cmake -DPICO_BOARD=pico -DPICO_PLATFORM=rp2040 .. #Pico2 cmake -DPICO_BOARD=pico2 -DPICO_PLATFORM=rp2350 .. make 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:
Python examples
- Access Raspberry Pi and open the Thonny.
- Open the example by the IDE and save
- Click the Run button to run the codes
Windows
- Download and unzip Demo to the Windows desktop, refer to Windows software environment settings.
- Press and hold the BOOTSEL button of Pico/Pico2, connect Pico's USB to the PC with a MicroUSB cable, and import a c or python program into Pico/Pico2 to make it run.
- Use the serial port to view the virtual serial port of Pico/Pico2's USB enumeration to view the printing information, pay attention to turning on DTR, the baud rate is 115200, as shown in the figure.
Support
Technical Support
If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)