UPS Pico 8000mAh Battery Support

Need some help with your shiny new breakout board, or something not working right? Let us help you here!
User avatar
Dave
ModMyPi
Posts: 2608
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS Pico 8000mAh Battery Support

Post by Dave » Thu Sep 06, 2018 8:19 am

Another thing to try would be to do a factory reset on the PIco:

1. Press and HOLD the UR button
2. Continue to hold the UR button, press and HOLD the C button
3. Continue to hold the the C button, release the UR button.
4. Release the C button

(Don't forget to the change the battery type to LifePo before testing again)
Forum Administrator & Technical Support

jarrah
Initiated
Posts: 35
Joined: Tue Dec 27, 2016 2:07 pm

Re: UPS Pico 8000mAh Battery Support

Post by jarrah » Mon Sep 10, 2018 8:43 pm

Hi Dave,

Here are my findings after testing things out over the weekend.

-Swapped to the pre-built image mentioned in a previous post
-Started with lipo battery to check all ok with new image
-Shut Pi back down and removed power cable and battery
-Plugged in lifepo battery and mains power
-Changed battery chemistry
-Performed a factory reset as described
-Battery went back to lipo, so changed battery chemistry LiFePO4 again
-Shut down the pi, removed power and battery, then plugged it all back in.

Code: Select all

Thu Sep  6 21:40:25 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: 2 MIN
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 56.0 %
  BAT Voltage...........: 3.6 V
  RPi Voltage...........: 5.0 V
  NTC1 Temperature......: 35 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-Worth noting that there's no light on the CHG LED, just the usual UPS flashing every 400ms
-The INF LED briefly flashes at the same rate at CHG
-Left everything plugged in for a couple of days:

Code: Select all

Fri Sep  7 08:07:01 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: 2 MIN
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 56.0 %
  BAT Voltage...........: 3.6 V
  RPi Voltage...........: 5.0 V
  NTC1 Temperature......: 35 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-Started to see the battery draining:

Code: Select all

Fri Sep  7 16:46:11 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: 2 MIN
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 48.0 %
  BAT Voltage...........: 3.5 V
  RPi Voltage...........: 5.0 V
  NTC1 Temperature......: 35 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-However by Sunday it was still at 48% / 3.5V - I only saw that initial drop in power by Friday afternoon.

Code: Select all

Sun Sep  9 10:50:04 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: 2 MIN
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 48.0 %
  BAT Voltage...........: 3.5 V
  RPi Voltage...........: 5.0 V
  NTC1 Temperature......: 36 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM
-On Sunday I decided to try running on battery for a bit
-Disabled the timer and removed the power:

Code: Select all

Sun Sep  9 10:52:39 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: TIMER DISABLED
  UPS PIco r232 State...: OFF

  Powering Mode.........: BAT POWERED
  BAT Percentage........: 40.0 %
  BAT Voltage...........: 3.4 V
  RPi Voltage...........: 5.1 V
  NTC1 Temperature......: 37 C
  TO-92 Temperature.....: 09 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-Started buzzing 8 hours after removing battery, which is half the expected usage. Given it started at 56% that sounds about right.

Code: Select all

Sun Sep  9 19:05:53 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: TIMER DISABLED
  UPS PIco r232 State...: OFF

  Powering Mode.........: BAT POWERED
  BAT Percentage........: 16.0 %
  BAT Voltage...........: 3.1 V
  RPi Voltage...........: 5.1 V
  NTC1 Temperature......: 41 C
  TO-92 Temperature.....: 10 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-Plugged power back in and the CHG LED turned on

Code: Select all

Sun Sep  9 19:06:55 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: TIMER DISABLED
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 32.0 %
  BAT Voltage...........: 3.3 V
  RPi Voltage...........: 4.9 V
  NTC1 Temperature......: 38 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-Left it running overnight to charge back up

Code: Select all

Mon Sep 10 08:58:08 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: TIMER DISABLED
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 48.0 %
  BAT Voltage...........: 3.5 V
  RPi Voltage...........: 4.9 V
  NTC1 Temperature......: 40 C
  TO-92 Temperature.....: 09 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM

***********************************
         Powered by PiCo
***********************************
-It now seems to have stopped around 56% again
-I suspect the battery only has half its available capacity
-Shall we see what status the battery is in this time tomorrow, and if no improvement beyond 56% then perhaps declare it as faulty?

Code: Select all

Mon Sep 10 20:20:55 BST 2018
$ python ~/PiModules/pico_status/pico_status_hv3.0.py

***********************************
      UPS PIco HV3.0A Status
***********************************

  UPS PIco Firmware.....: e3
  UPS PIco Bootloader...: 53
  UPS PIco PCB Version..: 43
  UPS PIco BAT Version..: LiFePO4 (ASCII : F)
  UPS PIco BAT Runtime..: TIMER DISABLED
  UPS PIco r232 State...: OFF

  Powering Mode.........: RPi POWERED
  BAT Percentage........: 56.0 %
  BAT Voltage...........: 3.6 V
  RPi Voltage...........: 5.0 V
  NTC1 Temperature......: 34 C
  TO-92 Temperature.....: 08 C
  Extended Voltage......: 0.0 V
  A/D2 Voltage..........: 0.0 V

  PIco FAN Mode.........: ERROR
  PIco FAN State........: OFF
  PIco FAN Speed........: 320.0 RPM
  

User avatar
Dave
ModMyPi
Posts: 2608
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS Pico 8000mAh Battery Support

Post by Dave » Tue Sep 11, 2018 8:20 am

Ok that all sounds quite positive. 8 hours battery run time could be correct, it depends what the Pi is doing whilst on battery. If it's just sitting there not doing anything, then yes, I would expect to see closer to 16 hours run time.

I have managed to find a pico_status script that has been updated by a customer - http://108.175.10.239/viewtopic.php?f=2 ... 0d15c802f3

Could you try that one, and see what % the battery reports as.

Also yes, I would say give the PIco a good 24 hours with mains to make sure the battery is charged as much as it can be.
Forum Administrator & Technical Support

jarrah
Initiated
Posts: 35
Joined: Tue Dec 27, 2016 2:07 pm

Re: UPS Pico 8000mAh Battery Support

Post by jarrah » Tue Sep 11, 2018 8:32 am

Thanks for the updated script, it appears to report a more accurate battery percentage! Just to confirm though, the Pi was sitting there doing nothing when running on battery (using the supplied image) so I am a little disappointed it only managed 8 hours. Is there a way to disable the buzzer as it may last longer if I can ignore the warning.

Code: Select all

$ python pico_status.py

**********************************************
*      	    UPS PIco HV3.0A Status           *
*      	         Version 6.0                 *
**********************************************

  - PIco Firmware..........: e3
  - PIco Bootloader........: 53
  - PIco PCB Version.......: 43
  - PIco BAT Version.......: LiFePO4 (ASCII : F)
  - PIco BAT Runtime.......: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: RPi POWERED
  - Charger State..........: CHARGED
  - Battery Percentage.....: 100 %
  - Battery Voltage........: 3.6 V
  - RPi Voltage............: 5.0 V

  - RPi CPU Temperature....: 116.06 F
  - NTC1 Temperature.......: 95.0 F
  - TO-92 Temperature......: 46.4 F

  - PIco FAN Mode..........: AUTOMATIC
  - PIco FAN Temp Threshold: 95.0 F
  

User avatar
Dave
ModMyPi
Posts: 2608
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS Pico 8000mAh Battery Support

Post by Dave » Tue Sep 11, 2018 8:41 am

Buzzer can be disabled as follows:

Code: Select all

sudo i2cset -y 1 0x6B 0x0D 0x00
Forum Administrator & Technical Support

jarrah
Initiated
Posts: 35
Joined: Tue Dec 27, 2016 2:07 pm

Re: UPS Pico 8000mAh Battery Support

Post by jarrah » Tue Sep 11, 2018 8:45 am

Thanks - if all looks ok still this evening, I'll leave it powered off overnight and monitor usage by running the script every 15 mins.

jarrah
Initiated
Posts: 35
Joined: Tue Dec 27, 2016 2:07 pm

Re: UPS Pico 8000mAh Battery Support

Post by jarrah » Wed Sep 12, 2018 8:58 pm

There was no reduction of battery when left plugged in which is good news, and the overnight running on battery seemed to only last just over 8 hours again.

-Just before removing the battery and turning off the buzzer:

Code: Select all

Tue Sep 11 20:34:01 BST 2018

**********************************************
*      	    UPS PIco HV3.0A Status           *
*      	         Version 6.0                 *
**********************************************

  - PIco Firmware..........: e3
  - PIco Bootloader........: 53
  - PIco PCB Version.......: 43
  - PIco BAT Version.......: LiFePO4 (ASCII : F)
  - PIco BAT Runtime.......: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: RPi POWERED
  - Charger State..........: CHARGED
  - Battery Percentage.....: 100 %
  - Battery Voltage........: 3.6 V
  - RPi Voltage............: 5.0 V

  - RPi CPU Temperature....: 115.16 F
  - NTC1 Temperature.......: 95.0 F
  - TO-92 Temperature......: 46.4 F

  - PIco FAN Mode..........: AUTOMATIC
  - PIco FAN Temp Threshold: 95.0 F

**********************************************
*           Powered by PiModules             *
**********************************************

$ sudo i2cset -y 1 0x6B 0x0D 0x00
-Power removed

Code: Select all

Tue Sep 11 20:34:30 BST 2018


**********************************************
*      	    UPS PIco HV3.0A Status           *
*      	         Version 6.0                 *
**********************************************

  - PIco Firmware..........: e3
  - PIco Bootloader........: 53
  - PIco PCB Version.......: 43
  - PIco BAT Version.......: LiFePO4 (ASCII : F)
  - PIco BAT Runtime.......: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: BAT POWERED
  - Charger State..........: DISCHARGING
  - Battery Percentage.....: 85 %
  - Battery Voltage........: 3.5 V
  - RPi Voltage............: 0.0 V

  - RPi CPU Temperature....: 116.06 F
  - NTC1 Temperature.......: 95.0 F
  - TO-92 Temperature......: 46.4 F

  - PIco FAN Mode..........: AUTOMATIC
  - PIco FAN Temp Threshold: 95.0 F

**********************************************
*           Powered by PiModules             *
**********************************************
-I don't know if this is normal, but battery drops to 71% within 50 seconds of going to battery power?

Code: Select all

Tue Sep 11 20:35:18 BST 2018

**********************************************
*      	    UPS PIco HV3.0A Status           *
*      	         Version 6.0                 *
**********************************************

  - PIco Firmware..........: e3
  - PIco Bootloader........: 53
  - PIco PCB Version.......: 43
  - PIco BAT Version.......: LiFePO4 (ASCII : F)
  - PIco BAT Runtime.......: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: BAT POWERED
  - Charger State..........: DISCHARGING
  - Battery Percentage.....: 71 %
  - Battery Voltage........: 3.4 V
  - RPi Voltage............: 0.0 V

  - RPi CPU Temperature....: 116.96 F
  - NTC1 Temperature.......: 96.8 F
  - TO-92 Temperature......: 48.2 F

  - PIco FAN Mode..........: AUTOMATIC
  - PIco FAN Temp Threshold: 95.0 F

**********************************************
*           Powered by PiModules             *
**********************************************
-Then just over 8 hours later, the last reading occurred at 04:53 before the Pi shut down.

Code: Select all

Wed Sep 12 04:53:12 BST 2018

**********************************************
*      	    UPS PIco HV3.0A Status           *
*      	         Version 6.0                 *
**********************************************

  - PIco Firmware..........: e3
  - PIco Bootloader........: 53
  - PIco PCB Version.......: 43
  - PIco BAT Version.......: LiFePO4 (ASCII : F)
  - PIco BAT Runtime.......: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: BAT POWERED
  - Charger State..........: DISCHARGING
  - Battery Percentage.....: 28 %
  - Battery Voltage........: 3.1 V
  - RPi Voltage............: 0.0 V

  - RPi CPU Temperature....: 120.92 F
  - NTC1 Temperature.......: 105.8 F
  - TO-92 Temperature......: 50.0 F

  - PIco FAN Mode..........: AUTOMATIC
  - PIco FAN Temp Threshold: 95.0 F

**********************************************
*           Powered by PiModules             *
**********************************************
Given that this battery should last 16 hours, I'm surprised at the 8 hour lifetime I'm getting. I'm using a Pi 3 B+ plugged into a wired network, with no wifi configured, and it only ran the pico status command every 15 mins. Is there anything else I can do to make it last closer to the advertised lifetime?

Is there a command that shows how much power in amps is being drawn by the Pi when on battery as this may help explain battery lifetime? I see that it could do 16 hours at 0.5A so it would be interesting to see how my usage compares.

Thanks.

User avatar
Dave
ModMyPi
Posts: 2608
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS Pico 8000mAh Battery Support

Post by Dave » Thu Sep 13, 2018 2:35 pm

Unfortunately there's no way to measure the power consumption via software, you would need to use an ammeter inline with the power supply to measure the Pi's draw.

I have tested a Pi 3B+ connected to Ethernet, usb keyabord, usb mouse and HDMI. There average current draw was ~450mA.

I have setup a PIco with a 8000mAH LifePo4 on our bench to test what sort of battery run time we get here.

I would like to see more than 8 hours, and if we do I will declare yours as faulty and get a replacement sent out. I will keep you posted!
Forum Administrator & Technical Support

User avatar
Dave
ModMyPi
Posts: 2608
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS Pico 8000mAh Battery Support

Post by Dave » Fri Sep 14, 2018 7:55 am

Morning!

Well my bench test has only lasted 6 hours! I've attached the log file for reference.

I suspect the cold last night had an impact on battery life though.
Attachments
pico_status.log
(34.43 KiB) Downloaded 2 times
Forum Administrator & Technical Support

jarrah
Initiated
Posts: 35
Joined: Tue Dec 27, 2016 2:07 pm

Re: UPS Pico 8000mAh Battery Support

Post by jarrah » Fri Sep 14, 2018 10:07 am

Interesting! Thanks for replicating the test, I can only assume the Pico board somehow consumes more power, or the batteries don't quite have the indicated 8000mAh.

Would you be able to query this with the manufacturer please, showing that both our results are far below the estimated 16 hours?

Post Reply