Difference between revisions of "Template:UPS-Power-Module-B"

From Waveshare Wiki
Jump to: navigation, search
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Features==
 
==Features==
*I2C bus communication, monitoring the batteries voltage, current, power, and remaining capacity in real time
+
*I2C bus communication, monitoring the battery's 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
+
*Multi battery protection circuits: overcharge/discharge protection, over current protection, short circuit protection, and reverse protection, along with the equalizing charge feature, *more safe and stable.
*Onboard 5V regulator, up to 5A (MAX) continuous output current, more sufficient power source for Jetson Nano
+
*Onboard 5V regulator, up to 5A (MAX) continuous output current, more sufficient power source for Jetson Nano.
*Batteries warning indicators, easy to check if the battery is connected correctly
+
*Batteries warning indicators, easy to check if the battery is connected correctly.
  
 
==Specifications==
 
==Specifications==
 
*Output Voltage:5V
 
*Output Voltage:5V
 
*Charger:8.4V 2A
 
*Charger:8.4V 2A
*Conttrol bus:I2C
+
*Control bus: I2C
*Supported battery:18650 Li battery (NOT included)
+
*Supported battery: 18650 Li battery (NOT included)
 
*Dimension:100mm × 79mm
 
*Dimension:100mm × 79mm
 
*Mounting hole:2.5mm
 
*Mounting hole:2.5mm
 +
*Current capacity: 4 batteries
  
 
==Hardware==
 
==Hardware==
 
[[File:UPS-Power-Module-B-3.jpg|500px]] [[File:UPS-Power-Module-B-4.jpg|500px]]<br>
 
[[File:UPS-Power-Module-B-3.jpg|500px]] [[File:UPS-Power-Module-B-4.jpg|500px]]<br>
 
The 8.4V interface is the charging interface, which uses an 8.4V 2A power supply for charging. 5V OUT is a USB male port that can output 5V power. The 0FF/ON silkscreen is the power switch silkscreen.<br />
 
The 8.4V interface is the charging interface, which uses an 8.4V 2A power supply for charging. 5V OUT is a USB male port that can output 5V power. The 0FF/ON silkscreen is the power switch silkscreen.<br />
 
+
<font color="#FF0000">
 
'''Note 1: Please turn the power switch to OFF before you connect the battery, or the board may be damaged because of shorting. After installing, make sure that the Pogo pins are completely aligned with the pin header before turning on the power. If the Pogo pins are not conducting, you can press the pin to loosen it or use a knife to scratch off the oxide layer of the pin header.'''<br>
 
'''Note 1: Please turn the power switch to OFF before you connect the battery, or the board may be damaged because of shorting. After installing, make sure that the Pogo pins are completely aligned with the pin header before turning on the power. If the Pogo pins are not conducting, you can press the pin to loosen it or use a knife to scratch off the oxide layer of the pin header.'''<br>
 
'''Note 2: The board may not work when you mount the batteries for the first time, you need to press the Boot button to activate the circuit.'''<br>
 
'''Note 2: The board may not work when you mount the batteries for the first time, you need to press the Boot button to activate the circuit.'''<br>
Line 22: Line 23:
 
'''Note 4: It is recommended not to exceed 4A when working for a long time and working with high current. It will heat up when working at 5A for a long time. Pay attention to heat dissipation..'''<br />
 
'''Note 4: It is recommended not to exceed 4A when working for a long time and working with high current. It will heat up when working at 5A for a long time. Pay attention to heat dissipation..'''<br />
 
'''Note 5: To use the power supply configured with the product to charge, using other power sources may cause the product to be damaged due to too large and unstable output power ripple.'''<br />
 
'''Note 5: To use the power supply configured with the product to charge, using other power sources may cause the product to be damaged due to too large and unstable output power ripple.'''<br />
 +
</font>
 +
{{Li-Po Safety Instructions & Warnings}}
  
 
==How to use==
 
==How to use==
Line 28: Line 31:
 
<pre>
 
<pre>
 
sudo apt-get install python3-smbus
 
sudo apt-get install python3-smbus
wget https://www.waveshare.com/w/upload/a/a2/UPS_Power_Module_B.zip
+
wget https://files.waveshare.com/upload/a/a2/UPS_Power_Module_B.zip
 
unzip UPS_Power_Module_B.zip
 
unzip UPS_Power_Module_B.zip
 
cd UPS_Power_Module_B
 
cd UPS_Power_Module_B
Line 39: Line 42:
 
==Resources==
 
==Resources==
 
===Demo codes===
 
===Demo codes===
*[https://www.waveshare.com/w/upload/a/a2/UPS_Power_Module_B.zip Demo codes]
+
*[https://files.waveshare.com/upload/a/a2/UPS_Power_Module_B.zip Demo codes]
  
 
===Document===
 
===Document===
*[https://www.waveshare.com/w/upload/7/72/UPS_Power_Module_%28B%29_Schematic.pdf Schematic]
+
*[https://files.waveshare.com/upload/7/72/UPS_Power_Module_%28B%29_Schematic.pdf Schematic]
*[https://www.waveshare.com/w/upload/1/10/Ina219.pdf INA219 Datasheet]
+
*[https://files.waveshare.com/upload/1/10/Ina219.pdf INA219 Datasheet]
*[https://www.waveshare.com/w/upload/0/04/DS-HY2120_EN.pdf HY2120 Datasheet]
+
*[https://files.waveshare.com/upload/0/04/DS-HY2120_EN.pdf HY2120 Datasheet]
*[https://www.waveshare.com/w/upload/1/18/DS-HY2213_EN.pdf HY2213 Datasheet]
+
*[https://files.waveshare.com/upload/1/18/DS-HY2213_EN.pdf HY2213 Datasheet]

Latest revision as of 03:25, 4 September 2023

Features

  • I2C bus communication, monitoring the battery's 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, along with the equalizing charge feature, *more safe and stable.
  • Onboard 5V regulator, up to 5A (MAX) continuous output current, more sufficient power source for Jetson Nano.
  • Batteries warning indicators, easy to check if the battery is connected correctly.

Specifications

  • Output Voltage:5V
  • Charger:8.4V 2A
  • Control bus: I2C
  • Supported battery: 18650 Li battery (NOT included)
  • Dimension:100mm × 79mm
  • Mounting hole:2.5mm
  • Current capacity: 4 batteries

Hardware

UPS-Power-Module-B-3.jpg UPS-Power-Module-B-4.jpg
The 8.4V interface is the charging interface, which uses an 8.4V 2A power supply for charging. 5V OUT is a USB male port that can output 5V power. The 0FF/ON silkscreen is the power switch silkscreen.
Note 1: Please turn the power switch to OFF before you connect the battery, or the board may be damaged because of shorting. After installing, make sure that the Pogo pins are completely aligned with the pin header before turning on the power. If the Pogo pins are not conducting, you can press the pin to loosen it or use a knife to scratch off the oxide layer of the pin header.
Note 2: The board may not work when you mount the batteries for the first time, you need to press the Boot button to activate the circuit.
Note 3: When connecting the battery for the first time, you need to pay attention to whether the WARNING LED is on. If the LED is on, it means that the corresponding battery is connected reversely. Prohibit charging when the battery is connected reversely
Note 4: It is recommended not to exceed 4A when working for a long time and working with high current. It will heat up when working at 5A for a long time. Pay attention to heat dissipation..
Note 5: To use the power supply configured with the product to charge, using other power sources may cause the product to be damaged due to too large and unstable output power ripple.

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 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.

How to use

You should connect the UPS Power Module with your Jetson Nano Developer Kit first. Set the power switch into OFF and then mount the batteries. Please check the warning indicators when you mount the batteries, make sure that all the batteries are mounted in the correct way, otherwise, the Jetson Nano may be damaged.
Open a terminal and install the display code by the following command. The codes are used for display information on OLED like the voltage, current, etc.

sudo apt-get install python3-smbus
wget https://files.waveshare.com/upload/a/a2/UPS_Power_Module_B.zip
unzip UPS_Power_Module_B.zip
cd UPS_Power_Module_B
python3 INA219.py

The information printed should be as below
UPS-Power-Module-B-6.png
Note: if the current value is negative, it means that the batteries are feeding the Raspberry Pi. If the current value is positive, it means that the batteries are charging.

Resources

Demo codes

Document