6

I have several pi-zero boards and I utilize them to monitor environmental conditions (such as humidity, temperature and intrusion) of each room in home.

For continuous operation, I want to eliminate power blackouts. So, I decided to make a basic UPS for pi-zero boards. (need to be as small as possible)

I'm not a low level hardware guy, but a software guy. Here is my design: Power comes from AC/DC adapter to the battery charger. The battery charger charges 3.7V battery and powers 3.7V DC/5V DC converter concurrently. Then the (assumed) uninterrupted power comes to pi-zero board.

In theory, the design is expected to fulfill its mission. But the real world is different. I have 2 questions to the electric/electronic experts.

  1. In the case of no power blackout, can the charger operate successfully to power the DC/DC converter and to charge the battery? In other words, does continuous/non-stop output current cause the charger burn out or decrease in the battery lifetime? I think the charger is designed to cut the output current when the battery is full.
  2. In the case of power blackout, can the battery and the DC/DC converter operate successfully to power pi-zero? Does having the charger connected (with no purpose) to the circuit have a negative impact, in this case?

Pi-Zero UPS Design

#Update March 29, 2017

The linked question and comments at DIY uninterruptable power supply (UPS) for Raspberry Pi Zero with power supply selector

vaha
  • 1,290
  • 2
  • 11
  • 20

2 Answers2

13

Absolutely DO NOT connect the battery in parallel with the load. The charger will not know if the battery is full or not and will continue to pump power both to the battery and the step-up converter.

Since the battery is still receiving power and is still charging, it will overcharge and explode.

If you want to do this properly, you should use a proper LiPo charge controller with an integrated power output (link) which will eliminate the charger+booster combo in your setup.

The module linked above is featured on Adafruit's blog (link). You can also search the internet for something similar and cheaper than that.


This is an illustration of what overcharging will do. Thankfully, I caught it expanding before it exploded.

enter image description here enter image description here enter image description here Right one is normal. The inflated one was extremely firm.

Aloha
  • 7,176
  • 1
  • 29
  • 52
0

I am devising a systems that might just help you. As pointed by other answers, use a dedicated systems that both charges the battery and powers your system, just like this UPS from AliExpress.

I am using 6 li-po (2 parallel 3 series). In my case I use the UPS to generate +15V/5A for a milliohmmeter: then I generate isolated 9V/5A (for the heavy resistance measurement) and +5V/2,5A for the Pi 4 and 7" HDMI screen (via a LM2576).

It gives me 8+ hours in "standby" (just the Pi and the screen ON) or 2+ hours of measurements (9V/5A for 3 seconds every 2 minutes).

Glorfindel
  • 620
  • 1
  • 9
  • 16