Electrical – Advice on battery circuit for Raspberry Pi Laptop

lithium ionraspberry pi

Thanks for looking. I would like some advice on a charging/power circuit for a raspberry pi laptop I would like to make. It needs to power both the Rpi 3 and an LCD display. The LCD is a 10" 1280×800 with its own controller board. I am not sure it will run off of 5.2V like the pi so I have a couple of designs.

These are based on the TP4056 board to charge the 18650 Li-ion batteries, and an XL6009 boost converter to get 5v+ from the 3.7V batteries.

Question: could you please look at my three designs below and provide advice on the "best" one? Option 1 (not shown) would run both Rpi and LCD from the same XL6009. Option 2 has two XL6009s from the same battery pack. Option 3 is similar to the Adafruit design I believe. BTW, there will be a toggle switch between the batteries and the XL6009s.

Also, can any of these be charging and running the laptop at the same time?

circuit idea #2
circuit idea #3

Best Answer

All three approaches are deficient. Weak points:

  1. Manual toggle switch will fail to manage battery discharge phase, so the batteries will likely be accidentally overdischarged and die soon. The switch should be designed to work automatically.

  2. Connecting two cells in parallel requires careful cell match, otherwise the charge/discharge can be unbalanced, and lead to excessive self-discharge and therefore to reduced battery capacity.

What you need is a complete PMIC - power management IC, which contains both Li-Ion charger AND "power-path management" (automatic toggle). Here is an example, from SparkFun.

If a single 18650 cell does not have enough capacity to run your device, use two or three cells, but in-series, not in parallel. In this case you need to use PMICs designed for balanced charge of multiple Li-Ion cells. Look up Digi-key or Mouser for 2-3 cell PMIC/chargers, pick the price point/brand you like, then go to manufacturer website and get application notes.

And yes, if you use a right PMIC and if the delta between supply current capability and battery charge current (which is set by resistors) is enough to run your device, the PMIC should be able to charge the battery and feed your device. But you should check with IC specifications.

Related Topic