Setup UGEEK UPS3 HAT on Raspberry
Posted by deepquest on August 3, 2020 – 6:27 pm
Ugeek UPS3 hat allows to power a raspberry 4B 3B+ 3b with battery that you must be above 2500mAh. The git code is requires 2 dependencies to be installed manually otherwise the power led will not be activated.
The main advantage is the support of Quick Charge QC3 5V/9V/12V, refilling your battery very fast.
Once the hat is installed, power you raspberry and ssh. We will first install the missing dependencies:
sudo apt-get install scons
sudo apt-get install python-pip (usually already installed)
sudo apt install python-smbus
git clone https://github.com/u-geek/SmartUPSV3.git --depth 1
cd SmartUPSV3/
sudo ./install.sh (setup the options led brightness, autorun, safe shutdown etc... then apply settings)
sudo systemctl daemon-reload
Now check the the status of the UPS3:
sudo python status.py
Reading status...
Count: 1
Input: Connected
ChargeStatus: Charging
BatteryVoltage: 4.00 V
SOC: 21 %

Green: using the battery
Side button allows to start or stop the device
The logs are located here:
cat /var/log/smartups.log
You can click the link bellow to their official store.

Post a reply
You must be logged in to post a comment.