One cell in, five volts out: the power board behind every portable gadget
Cut the cable from any gadget and you need three circuits: one to charge a lithium cell, one to protect it, one to turn its voltage into the 5 V your design expects. The film walks the board; the notes cover the numbers and the layout.
Sooner or later a project has to leave the desk, and the USB cable has to go. What replaces it is nearly always the same: one lithium cell and three small circuits. Get this board right once and you will reuse it for years.
The cell
A single lithium-ion or lithium-polymer cell is not a 3.7 V source. It is a source that moves.
| State | Voltage | |---|---| | Full | 4.2 V | | Most of the discharge | about 3.7 V | | Empty | about 3.0 V |
Two limits matter. Charging above 4.2 V damages the cell and can make it dangerous. Draining it far below 3 V damages it too, more quietly. The first two circuits exist to keep it between those limits.
1. The charger
A lithium cell is charged in two phases. First a steady current, until the cell reaches 4.2 V. Then the charger holds 4.2 V while the current falls away, and stops when it is nearly zero. A single small chip does all of it.

- Charge current is set with one resistor. Half the cell's capacity per hour is a gentle default: 500 mA for a 1,000 mAh cell.
- The USB-C input needs two 5.1 kΩ resistors, one on each CC pin. Without them a USB-C charger supplies nothing.
- Two LEDs for charging and done cost almost nothing and answer the first question every user has.
- Heat. A simple linear charger turns the difference between 5 V and the cell voltage into heat. Give the chip's pad plenty of copper.
2. Protection
The protection circuit sits between the cell and everything else. It disconnects the cell if the voltage goes too high or too low, or if too much current flows, as in a short circuit.
Many cells sold with a connector already have a small protection board under the wrapping. A second one on your board is cheap, and it is still there when someone fits a cell without one.
3. The boost converter
Most small designs want a steady 5 V or 3.3 V, and the cell gives anything from 3.0 to 4.2 V. A boost converter lifts it to 5 V by switching an inductor very quickly.

It is not free. A good one is about 88% efficient, and the current it takes from the cell is larger than the current it delivers.
| 5 V load | From the cell at 3.7 V | From the cell at 3.0 V | |---|---|---| | 100 mA | about 150 mA | about 190 mA | | 500 mA | about 770 mA | about 950 mA |
So a 2,000 mAh cell (7.4 Wh) running a 1 W load lasts about six and a half hours, not ten.
If your design runs at 3.3 V, a different converter is needed, one that can both raise and lower, because the cell starts above 3.3 V and ends below it.
Layout
- Keep the boost loop tight. Input capacitor, inductor, switch, output capacitor: place them touching, with short, wide copper. This loop carries fast, large currents, and its area is what radiates noise.
- Wide traces from the cell. The cell side carries the highest current on the board. See the table above.
- Keep the inductor away from anything sensitive: an antenna, an audio input, a sensor.
- Mark the battery connector's polarity on the silkscreen. The small two-pin connectors on cells are not wired the same way by every seller. Check each batch with a meter before plugging one in.
Before you order
- Lithium cells are restricted in air freight. Assembled boards usually travel without the cell, and you fit it yourself.
- Put test points on the cell voltage, the 5 V output and ground. You will want them on the first day.
A board like this is a good first assembled order: twenty parts, nothing finer than a small chip. Put the Gerbers, the BOM and the placement file on EIN, let the DFM check read them, and compare what the makers quote.
The board in this film was drawn for the article. It is a design sketch, not a product.