Changes

Jump to navigation Jump to search

UPS2

3,060 bytes added, 09:37, 20 March 2020
no edit summary
{{GD Template Impl}}
[[File:UPS2-IMG-6890.jpg|thumb|right|raspberry pi ups hat 2 - front]]
[[File:UPS2-IMG-6893.jpg|thumb|right|raspberry pi ups hat 2 - back]]
[[File:UPS2-IMG-6895-1.jpg|thumb|right|raspberry pi ups hat 2 size]]
[[File:UPS2-IMG-6930-battery_connection_and_requirement.jpg|thumb|right|raspberry pi ups hat 2 with battery]]
[[File:UPS2-IMG-6929.jpg|thumb|right|raspberry pi ups hat 2 with battery]]
[[File:UPS2-PCB-LAYOUT.png|thumb|right|raspberry pi ups hat 2 PCB Layout]]

==Overview==
After more than 2 years, we update and release ups 2 based on [[Raspi UPS HAT Board | UPS1]]

==Features==
* Raspberry Pi standard HAT size, all components under the PCB board, and the use of 5mm high female socket, can reduce the thickness of the expansion board, easy to put into the shell. You can use the header to increase the height.
* Equipped with a custom long header (This is optional accessories)
* Supports dual power supply of TYPE-C and Mirco USB.
* Type-C power supply interface is compatible with a variety of fast charge standard DP2.0/QC3.0/QC2.0 (5V/3A), charging current is 1A ~ 3A configurable (default is 2A, short-circuit solder joint up to 3A)
* Up to maximum 3A current output;
* Long press power button 2 seconds to power on / off
* With 4 LED power indicator (short press power button to view battery capacity)
* Supports AUTO POWER ON function (need to select the AUTO UPS switch to ON)
* Use TI battery monitoring IC with patented Impedance Track algorithm
* Support I2C communication to read battery capacity, voltage, charge status and battery life (please refer to viewinfo.py)
* With charge and discharge protection and overheat protection
* The capacity of Lithium Battery '''MUST be more than 2500mAh''', you can use the more big capacity battery. PS: Voltage must be 3.7V.

==Packing List==
* 1 x UPS HAT 2 Board

==Document==
There are two methods(via selected switch, defauls is disable AUTO UPS):
*Disable AUTO POWER ON/AUTO UPS: press and hold the on-board button for 1~2 second to turn on/off, you can change the battery via micro USB port or type C port;
*Enable AUTO POWER ON/AUTO UPS: Please connect to raspberry pi and external PSU firstly, then trun on the 'AUTO PWR ON/AUTO UPS' swith, After the battery is exhausted and turned off, when the external power is turned on, the raspberry pi board will be automatically powered.

Please refer to github: https://github.com/geekworm-com/UPS2
<pre>

## Enable I2C in raspi-config
sudo raspi-config
-Interfacing Options
-I2C
-Enable
-Yes

## View battery Info
wget https://github.com/geekworm-com/UPS2/raw/master/viewinfo.py
#edit viewinfo.py and modify battery capacity
nano viewinfo.py
#.Change 2500 to your battery capacity (mAh)
MY_BATTERY_CAP = 2500

</pre>

Some documents:

[[File:UPS2-BCM-GPIO.png]]
==Test Video==
https://youtu.be/jMG1yn266h0

==FAQ==

<!--增加评论功能! -->
<comments />

<!--请选择合适的分类,多余的分类请删除; -->

[[Category:Product Manual]]
[[Category:Raspberry pi]]

Navigation menu