Skip to content
/ upsv3 Public

It is demo code for 52Pi UPS (With RTC & Coulometer) For Raspberry Pi SKU: EP-0118

Notifications You must be signed in to change notification settings

geeekpi/upsv3

Repository files navigation

UPS_(With_RTC_&_Coulometer)_For_Raspberry_Pi_SKU:_EP-0118

It is demo code for 52Pi UPS (With RTC & Coulometer) For Raspberry Pi SKU: EP-0118

WIKI URL

How to use

  • 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

FAQ:

  • 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:
  1. May need to upgrade the firmware
  2. You can contact sales and send you a small fix module, which can solve the problem of automatic shutdown.
  3. Replace the battery (some poor quality batteries will cause sudden power failure)

How to Upgrade firmware:

Please clone this repository and read PDF file inside the project folder. PS: It needs external hardware to upload firmware.

About

It is demo code for 52Pi UPS (With RTC & Coulometer) For Raspberry Pi SKU: EP-0118

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages