Showing a USB-C tester running the DingoCharge script, charging a battery pack at 7V. To the right is a battery pack being charged, and a USB-C charger doing the charging.

Use USB-C Chargers To Top Up Li-Ion Packs With This Hack

In USB-C Power Delivery (PD) standard, the PPS (Programmable Power Supply) mode is an optional mode that lets you request a non-standard voltage from a charger, with the ability to set a current limit of your choice, too. Having learned this, [Jason] from [Rip It Apart] decided to investigate — could this feature be used for charging Li-Ion battery packs, which need the voltage and current to vary in a specific way throughout the charging process? Turns out, the answer is a resounding “yes”, and thanks to a USB-C tester that’s programmable using Lua scripts, [Jason] shows us how we can use a PPS-capable USB-C charger for topping up our Li-Ion battery packs, in a project named DingoCharge.

The wonderful write-up answers every question you have, starting with a safety disclaimer, and going through everything you might want to know. The GitHub repo hosts not only code but also full installation and usage instructions.

DingoCharge handles more than just Li-Ion batteries — this ought to work with LiFePO4 and lithium titanate batteries, too.  [Jason] has been working on Ni-MH and lead-acid support. You can even connect an analog output thermal sensor and have the tester limit the charge process depending on the temperature, showing just how fully-featured a solution the DingoCharge project is.

The amount of effort put into polishing this project is impressive, and now it’s out there for us to take advantage of; all you need is a PPS-capable PSU and a supported USB-C tester. If your charger’s PPS is limited by 11V, as many are, you’ll only be able to fully charge 2S packs with it – that said, this is a marked improvement over many Li-Ion solutions we’ve seen. Don’t have a Li-Ion pack? Build one out of smartphone cells! Make sure your pack has a balancing circuit, of course, since this charger can’t provide any, and all will be good. Still looking to get into Li-Ion batteries? We have a three-part guide, from basics to mechanics and electronics!

Game Boy With Lithium Batteries And USB

[Alan] procured a few Game Boys from a Yahoo auction with the intent of using them for some other projects, but one of the Game Boys was shipped with a very corroded battery which had eaten up one of the terminals. When [Alan] had repaired it, he was left with a Game Boy with no battery terminal at all, so he decided to splice in some lithium-ion batteries.

Not only does the Game Boy now have a new battery pack, but [Alan] was able to source a USB charger to handle the batteries’ charging needs. However, he realized that his battery pack was 3.7 volts, while the Game Boy only needed 3 volts. To lower the voltage of the battery pack to the required voltage, [Alan] grabbed a 1N4148 diode and put it in series with the battery pack, which also helps prevent any accidental reverse polarity.

This isn’t the most technically advanced Game Boy hack we’ve ever seen but it’s great to see new life breathed into these classic video game systems. Not to mention that [Alan] saved some lithium batteries from the landfill!