It is demo code for 52Pi UPS (With RTC & Coulometer) For Raspberry Pi SKU: EP-0118
- (UPS with RTC and Coulometer For Raspberry Pi SKU: EP-0118)[https://wiki.52pi.com/index.php/UPS_(With_RTC_&_Coulometer)_For_Raspberry_Pi_SKU:_EP-0118]
- login to Raspberry Pi which running Raspbian (The latest version)
- Turn on I2C function via "sudo raspi-config" and navigate to "interfaces options" and enable I2C.
- Assemble UPS to Raspberry Pi with screws and copper sticks.
- Open a terminal and typing following command:
git clone https://github.com/geeekpi/upsv3.git
cd ~/upsv3/
sudo pip3 install pi-ina219
sudo python3 demo.py
- More Information please contact us at: https://www.facebook.com/groups/geeekpi/
- Q:I have two of the ep-0118. The voltage is rock solid! perfect for the pi4! But after a period of time, the power shuts off to the pi, the battery is not used, and the power to the ups is stable. I can not understand why this happens!
- A:
- May need to upgrade the firmware
- You can contact sales and send you a small fix module, which can solve the problem of automatic shutdown.
- Replace the battery (some poor quality batteries will cause sudden power failure)
Please clone this repository and read PDF file inside the project folder. PS: It needs external hardware to upload firmware.