UPS Module 3S

From Waveshare Wiki
Jump to: navigation, search
UPS Module 3S
UPS Module 3S.jpg







This is a 3S output Uninterruptible Power Supply (UPS) module that supports simultaneous charging and discharging and can provide stable 5V/3.3V voltage output. It also supports IIC output and can display the IP address, battery voltage, current, power, and other parameters.


  • Adapting various interfaces via cables, easy to integrate into mobile robots or industrial control equipment.
  • I2C bus communication, monitoring the batteries' voltage, current, and power in real-time.
  • Multi battery protection circuits: overcharge/discharge protection, over current protection, short circuit protection, and reverse protection, along with the equalizing charge feature, are safer and stable.
  • Onboard 5V regulator, up to 5A continuous output current, the more sufficient power source for Raspberry Pi and Jetson Nano.
  • Batteries warning indicators, easy to check if the battery is connected correctly.
  • Comes with online development resources and manuals.


  • Output voltage: Batteries voltage; 5V 5A; 3.3V 300mA
  • Control interface: I2C
  • Battery support: 3 x 18650 Li batteries (in series, NOT included)
  • Charger: 12.6V 2A
  • Dimensions: 60mm × 93mm
  • Mounting hole diameter: 3.0mm

Interface Definition

UPS Module 301.jpg
DC5521 Female Port is a 12.6V 2A charging port, which is charged with a 12.6V 2A power supply. Switch Button is a switch for power output. XH2.54 Male Port is a 12.6V 2A voltage output port. Type-C Male Port is for 5V voltage output.
UPS Module 3S Spec02.png
The pin header interface includes 5V voltage output, 3V voltage output and IIC output.
Note 1: When mounting the battery for the first time, you need to pay attention to whether the LED is on. If the LED is on, it means that the corresponding battery is reversed. Do not charge the battery if it is reversed.
Note 2: There may be no power output when the battery is connected for the first time. You need to press the BOOT button on the circuit board to activate the battery protection chip to have power output.
Note 3: Use the power supply configured by the product to charge. Using other power supplies may cause the product to be damaged if the output power ripple is too large and unstable.
Note 4: If the positive insulation pad of the battery is broken, it is recommended not to continue to use it, which may cause a short circuit and fire. When removing the battery, do not use a screwdriver to pry the positive pole of the battery, which may cause a short circuit, and pry the negative pole of the battery.


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 inferior charger/charging panel to recharge the battery.
Do not mix use old batteries with new ones, avoid using batteries of different brands.
When buying Lithium battery, should always make sure the battery specification is compatible with the expansion board. Choose batteries from 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 reaching their max cycle life, or working over two years, whichever comes first.
Should be placed carefully and properly, keep it away from inflammables and explosives articles, away from children, avoid any safety accident caused by careless storage.

Raspberry Pi Demo

Connect To RPI

  • Please connect to the Raspberry Pi as the following diagram:

UPS 3S RPI.jpg
The connection of GPIO headers is shown in the table below:

5V 5V

Enable IIC Interface

  • Open the Raspberry Pi terminal and input the following commands to enter the config interface:
sudo raspi-config

Choose Interface Options -> I2C -> Yes.
UPS Module 3S RPI-2.png
UPS Module 3S RPI-3.png
UPS Module 3S RPI-4.png

  • After enabling the IIC function, download the sample demo, unzip the downloaded file in the Raspberry Pi, and enter the following commands:
cd UPS\ Module\ 3S/
sudo python3
  • After running the demo, the voltage, current, power, and battery percentage can be displayed.

UPS Module 3S RPI10.png




No, it should be charged with a 12.6V 2A power supply.



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 AM GMT+8 (Monday to Friday)