geeekpi / upsplus

UPS Plus is a new generation of UPS power management module. It is an improved version of the original UPS prototype. It has been fixed the bug that UPS could not charge and automatically power off during work time. It can not only perform good battery power management, but also provide stable voltage output and RTC functions. At the same time,it support for FCP, AFC, SFCP fast charge protocol, support BC1.2 charging protocol, support battery terminal current/voltage monitoring and support two-way monitoring of charge and discharge. It can provide programmable PVD function. Power Voltage Detector (PVD) can be used to detect if batteries voltage is below or above configured voltage. Once this function has been enabled, it will monitoring your batteries voltage, and you can control whether or not shut down Raspberry Pi via simple bash script or python script. This function will protect your batteries from damage caused by excessive discharge. It can provide Adjustable data sampling Rate. This function allows you to adjust the data sampling rate so that you can get more detailed battery information and also it will consume some power. The data sampling information can communicate with the upper computer device through the I2C protocol. UPS Plus supports the OTA firmware upgrade function. Once there is a new firmware update, it is very convenient for you to upgrade firmware for UPS Plus. The firmware upgrade can be completed only by connecting to the Internet,and execute a python script. Support battery temperature monitoring and power-down memory function. UPS Plus can be set to automatically start the Raspberry Pi after the external power comes on. The programmable shutdown and forced restart function will provide you with a remote power-off restart management method. That means you don’t need to go Unplug the power cable or press the power button to cut off the power again. You can set the program to disconnect the power supply after a few seconds after the Raspberry Pi is shut down properly. And you can also reconnect the power supply after a forced power failure to achieve a remote power-off and restart operation. Once it was setting up, you don't need to press power button to boot up your device which is very suitable for smart home application scenarios.
https://wiki.52pi.com/index.php?title=UPS_Plus_SKU:_EP-0136
MIT License
73 stars 25 forks source link

Batteries not detected - brand new - troubleshooting assistance requested #129

Closed ShamimIslam closed 4 months ago

ShamimIslam commented 1 year ago

Hello.

I purchased the GeekPi case w/ the UPS hat bundled on a PI 4 B.

I purchased Panasonic flat top 18650 high drain unprotected batteries. https://www.batteryjunction.com/panasonic-ncr18650b-3400.html

When I plug in the charging cable, the PI starts up. When I unplug the charging cable, the PI turns off immediately.

What I see is below. This doesn't seem right as the batteries are 3.7V and I have them both pointing in the same direction along the lines of the polarity listed on the UPS.

Can you please help me understand what steps to take to resolve this problem or what I might have done incorrectly?

Thanks.

P.S. I had to turn off the shutdown because it tries to shut down automatically.


------Current information of the detected Raspberry Pi------

Raspberry Pi Supply Voltage: 5.288 V Raspberry Pi Current Current Consumption: 773.759 mA Raspberry Pi Current Power Consumption: 3909.167 mW

-------------------Batteries information-------------------

Voltage of Batteries: 3.480 V Battery Current (discharge) Rate: -36.098 mA Current Battery Power Consumption: 126.829 mW

Successfully set the protection voltage to: 4 mV

Currently not charging.

yoyojacky commented 7 months ago

Please fully charged your Batteries and try again, and at the same time, please make sure protection voltage is setting to 3.7V but not 4mV, it will drain out the batteris and damage the batteries, it seems like the charging speed can not catch up with the power comsumption speed .... please change batteries and change power supply and try again.