UPS2

From All for Raspberry Pi, Arduino, Lattepanda, Orange Pi, Pine64 | by Geekworm
Jump to: navigation, search


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

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

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:

UPS2-BCM-GPIO.png

FAQ

Add your comment
All for Raspberry Pi, Arduino, Lattepanda, Orange Pi, Pine64 | by Geekworm welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #5

22 days 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

22 days 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

3 days 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 #4

one month 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

one month 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

one month ago
Score 0++
Is there a way to hack it to support LiFePO batteries?

Anonymous user #1

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

Admin

one month ago
Score 0++

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

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