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

In normal AC charging mode, Raspi is simply switched off and Raspi does not start when AC is back #135

Closed Jambo52 closed 7 months ago

Jambo52 commented 1 year ago

1.)In normal AC charging mode, Raspi is simply switched off after a restart countdown time without shutdown. 2.)The UPS board switches off the Raspi without shutdown at 3700mv and also the UPS-board.

Current power state: normal Shutdown countdown: 130 sec Automatically turn on when there is external power supply! Restart countdown: 130 sec

When AC is back, however, the board starts charging but the Raspi does not start, but only after a while even with full batteries.

i2cset -y 1 0x17 25 1 is set.

Why is that?

KrzePikPL commented 1 year ago

I have the same problem with version v10, after startup it works for about 1 minute, then to turn on the device I have to manually remove the battery but with no improvement, after restoring the power the same problem persists

Jambo52 commented 1 year ago

I didn't solve it either. I switched because the support doesn't work here either. I have now connected the board EP-0136. This does shutdown and starts even after a power failure. Unfortunately I can't help you either.

KrzePikPL commented 1 year ago

I don't know what board would work, so that it could check the charging status and start automatically, it's a simple script, and the second board I have has problems with it. And the spontaneous turning off of the board disqualifies it because then it turns on itself, but at an unspecified time it is possible that it is a problem with the switching on times because the board has an RTC, so maybe you need to look for it there

KrzePikPL commented 12 months ago

I wonder if if I used the X728 software (https://wiki.geekworm.com/X728#X728_V2.5), whether the device would accept it and start working with these functions. Because there is clearly a problem with the clock on the original board

yoyojacky commented 7 months ago

No, it is not fit for X728 software, it just fit for this repo: https://github.com/geeekpi/upsplus.git