Open main menu

UPS2

Revision as of 09:14, 7 April 2020 by Cindy (talk | contribs) (→‎FAQ)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

raspberry pi ups hat 2 - front
raspberry pi ups hat 2 - back
raspberry pi ups hat 2 size
raspberry pi ups hat 2 with battery
raspberry pi ups hat 2 with battery
raspberry pi ups hat 2 PCB Layout

Contents

Overview

After more than 2 years, we update and release ups 2 based on 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


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

Some documents:

 

Test Video

FAQ

Q1: How to select the battery connector for UPS2?

A: The Connector specification is: PH 2.0 2-PIN connector. The Lithium Battery Voltage must be 3.7V, The capacity of Lithium Battery is suggest to over 2600mAh.

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


 

Anonymous user #14

57 months ago
Score 0  
Did anyone manage to make this board work? I am still wondering if mine is DOA... The battery seem to be charging, but no power is transmitted to the Pi.
 

Anonymous user #12

58 months ago
Score 0  
When will we see a revision to this board to switch power to battery when wall power is removed?
 

Anonymous user #11

59 months ago
Score 0  

I connected the board to my PI and the battery shows that is 100% but the UPS function is not working when I unplug the power to the PI HAT

any help?

Thanks,
 

Anonymous user #10

59 months ago
Score 0  

Hi, Could you please give some extra infromation about the functionality of "dtoverlay=gpio-poweroff,gpio_pin=22" I tried to activate it, but it doesn't seem to have any influence on the behaviour of the board....

What is/should actuallly happen?
 

Anonymous user #10

59 months ago
Score 0  

Hey, t seems that it should NOT be gpio_pin=22 but gpiopin=13 or gpiopin=6 i.e. no underscore as the manual for this dtoverlay seems to be inconsistent, and the pin numbering is the BCM numbering not in WiringPi numbering nor in physical pin numbering... and it seems that one needs to solder on the board... COuld you please comment on that?

Best regards
 

Anonymous user #10

59 months ago
Score 0  

This is based on https://www....php?t=193934 https://pino...pin33_gpio13 https://www....php?t=231444

It still does not work,

COuld you please commment on that?
 

Anonymous user #8

60 months ago
Score 0  
This thing drained my LIPO beyond it's recovery when there was a long power outage.
 

Anonymous user #8

60 months ago
Score 0  
Thought I have a safe shoutdown implemented at 40% charge. It seem to not have a cut off to stop draining battery even in standby mode. I am using additional ESP which runs only on power to switch the pi back on.
 

Anonymous user #5

61 months ago
Score 0  

I tried to register on raspberrypiwiki.com but it failed to allow me to register. Said no permissions.

Is there someone here who can help configure this board? It reboots when I disconnect wall power instead of switching to the battery. I have the Auto-UPS turned on and it still does not switch.
 

Anonymous user #6

61 months ago
Score 0  
I have the same problem. It fails to be a UPS as removal of electricity 5v 3a input interupts the PI and makes it reboot
 

Anonymous user #7

61 months ago
Score 0  
Same issues here. When the external power is removed, the power to Pi is shut off for a second and then the Pi boots up again. This defeats the purpose of the UPS!
 

Anonymous user #9

60 months ago
Score 0  
This is the same problem I find. It does not matter if the switch is set to "Auto" or "UPS" the board will not provide power to the Pi when external power is removed. I had high hopes for this board as it was a V2, I expected it would have all the bugs worked out. I guess not, it is still crap. I do not know if this comes from bad manufacturing quality control, or just poor board design, but if you are here trying to decide if you want to buy one; I highly recommend not getting one of these.
 

Anonymous user #13

57 months ago
Score 0  

Same Problem here.

I'm so disappointed. At first power outage Rasbperry has restarted with the risk per the SD card. It power off and just a second later boot's again powered by the battery. Anyone knows a HAT that works as real UPS? Thanks.

I’m using it with a Raspberry P4 B
 

Anonymous user #4

62 months ago
Score 0  
What size JST connector did you go with? There are several options, want to make sure I order the right battery.
 

Anonymous user #3

63 months ago
Score 0  

Hi. There is an error on the "raspberry pi ups hat 2 size" picture. I believe we should read 5.6 cm instead of 5.1 cm.

What's the height of the board (each side and total)?
 

Anonymous user #2

63 months ago
Score 0  
Is there a way to hack it to support LiFePO batteries?
 

Anonymous user #1

63 months ago
Score 0  
You might provide some dimensions for the board?
 

Admin

63 months ago
Score 0  

Hi, We have updated the PCB layout, please refer to:

raspberrypiwiki.com/index.php/File:UPS2-PCB-LAYOUT.png