Test of the PiZ-Uptime

This is a test of the PiZ-Uptime UPS.

Some time ago I posted on Google+ that I liked the PiZ-UpTime UPS for the Raspberry Pi Zero manufactured by Alchemy Power.  It was suggested in comments that I report on the battery up time.  How long will it keep the Pi Zero up with power disconnected.  A very reasonable request.

 

For the test I ran Raspbian Jessie Lite loaded with the lighttpd web server and PHP5.  The PiZero averaged an hour and a half without power.  I tested the time by having another computer run a simple Python program that recorded the test start time and sent four ping requests to the PiZero every 10 seconds.  If the PiZero failed to answer more than two of the pings the test stopped and recorded the stop time.  The PiZ-UpTime also provides another USB jack but I did no testing of the USB.

 

At the top is an image of the PiZ-UpTime mounted on my PiZero.  It will be used as a weather recorder. So on top I placed a proto-board to connect the I2C BME-280 sensor to record temperature, humidity and barometric pressure. The engineer who designed the UPS supplied a board.  To clear the battery I used an extra tall header.

 

When the PiZ-UpTime is charging the battery rather bright green and blue LEDs are lit. The nice thing is they can be blanked by removing a standard jumper.  I intend on replacing the jumper with a small push button so I can check the device.When the  battery is fully charged, the blue LED is turned off and an amber led between the red and green ones lights.  One feature I really like is a small momentary push button on the board which powers off (resets) the PiZero.  This is especially useful when removing and replacing the SMB card.  Just hold it in when removing or replacing the card and the SMB card is not likely to get scrambled as it easily can when it is removed with the PiZero under power.  The PiZ-UpTime will extinguish the bright LEDs when external power is lost, saving valuable battery life.  When the battery gets down to a limit, the PiZ-UpTime shuts down the PiZero nicely.  Alchemy Power makes the code for shutdown available. During tests it never once corrupted the SMB card.

 

As I stated in the original Google+ posting, I really like this.  When I wrote that I was living on Tiger Mountain in the Issaquah alps and power was rather erratic.

 

I will still use the UPS because it makes it so easy to take the PiZero and unplug it to move it to another location.  I will be looking at the maker’s other products.  Especially the PiUptimeUPS which claims up to ten hours of battery life.  It would be nice to be able to carry one of my Raspberry Pi model 3s around on a belt device with a GPS recording…  Heck they are only sixty bucks.

Published by

Doug Wyman

The first computer I used was an 1962 IBM 1401 and the project was statistical information at JSPC Okinawa (NSA). Then as a civilian I engaged in Telecommunications and Video consulting thru 1974. I was asked to join the WSP Electronic Services Telecommunications and Computer engineering section and stayed till 2000. Then I was asket to work on the WSDOT CVISN project and did till till 2005 then back into retirement. Then WSCTC asked me to act as a consultant to CVISN and I did till 2011. I retired for the third time am learning Debian, Python, PHP and others for the first time. Superannuated but still learning

2 thoughts on “Test of the PiZ-Uptime”

  1. The product has been updated to PiZ-UpTime 2.0. More current, does not use any GPIO, includes ADC on board which measures Vin, Vout and Vbattery. Also has connect points for external Vin, Vout, Vbattery and common ground.

Leave a Reply

Your email address will not be published.