Worlds smallest USB-C Li-Ion charger
read
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
I saw these on AliExpress and thought - “blimey - these are very small, let’s but some!”
You can find the board here.
And they are really small, the PCBs are barely wider than the USB socket and are a couple of mm shorter. They come in at 10mm x 6mm.

The boards are based around the LP4054 (also available as TP4054). This is a linear lithium ion battery charger.
Reverse engineering the schematic, we end up with this:

We have the standard 5.1K resistors on the CC lines - these are pretty important - without these a lot of USB-C power sources won’t actually deliver any power.
There are decoupling capacitors on the VCC and the battery pins of the IC.
And the programming resistor on this board is 1.65K - this gives us a charging current of approximately 600mA. This matches up with what we see when charging up a flat battery.

This does decrease as the battery charges and once the battery is almost full it will drop right down.
One thing to be aware of - which is true for all linear chargers - is that the IC has to dissipate a lot of power. So it can get quite warm. In my tests the temperature topped out at around 92-93C.

It’s worth being aware of this - you probably don’t want to be placing your battery in direct contact with the IC.
I thought it would be quite fun to try and recreate the board in KiCad - turned out to be not that hard.

And looks just like the real thing!

Related Posts
I Need More USB Power! - I've been accumulating more and more USB powered devices for my workbench lately, and my single 65W USB-C supply just isn't cutting it anymore. So, I've decided to source a new solution. After some digging, I stumbled upon a remarkable board on AliExpress with four USB standard sockets and four USB-C ports, which support just about every protocol there is! Oh, it easily delivers a solid 65 Watts. With this, I am finally able to fully power my gear. From mini hotplates to soldering irons, my workbench is more juiced up than ever!
Electronic chopsticks - I recently got my hands on the HT140 Solder Tweezers from Sequre, adding an exciting new piece to my toolkit. Powering it via USB-C, these electronic chopsticks heat up fast thanks to a robust 65W power supply. Testing on a Raspberry Pi Pico board proved successful with a little flux help. Despite hoping for minimal use due to my PCB order, these tweezers are a handy backup for precise soldering work.
No Power? No Problem! A Wireless Pi Doom Machine - In my latest wireless charging experiments, I got my hands on a set of wireless charging PCBs and dove into testing different voltage inputs and their efficiency levels. It was interesting to realise that the 5V input managed to provide a decent efficiency of 73%, while 12V input struggled and heated the receiver board excessively. With the perks and limits of this setup explored, I took a whirl at creating a wireless Pi Doom machine. It worked like a charm! However, I quickly noticed the need to split charging and boost board into two different modules - a project to look forward to. Half the fun is getting there! Check out the video [here](https://youtu.be/glCIuOoFm7U) for more detail on the project.
Just Vibe It - I crafted a whimsical single key keyboard ideal for vibe coding! It's powered by a TPS2117-equipped PCB, offering slick battery-to-USB switching. Tried out low profile Cherry switches, but faced some stabilizer challenges with bigger keycaps. Check out the final fun in my GitHub repo and video!
DIY 20,000mAh Power Bank - Was it worth it? - In this blog post, I embarked on a fun project to create a DIY power bank using two 10,000mAh lithium cells I had lying around, and a charge control board. After some tinkering and tests, I learned that measuring power bank efficiency requires more than looking at amp-hours. With some help from a friend, I found out our power bank was actually over 93% efficient, a pretty fantastic result. Despite some challenges with certain devices not drawing their full potential power from my power bank, I concluded that while it was an enjoyable project, buying a ready-made power bank might be more convenient.
Related Videos
World’s Smallest USB-C Li-Ion Charger?! - Thanks to PCBWay for the awesome PCBs and SMT assembly! Today we're diving into a super tiny 10mm x 6mm USB-C socket with a lithium charger to reverse engineer it, test how hot it gets, and then recreate it in KiCad. The IC at play here is the LP4054. We'll tackle everything from testing a 600mA charging current to figuring out how two LEDs work on one pin, before marvelously replicating this tiny board design. Join me to geek out over this cool piece of tech and maybe even support the madness on Patreon.
DIY Power Bank: 20,000mAh? - Discover the efficiency of a DIY 20,000mAh USB-C power bank compared to commercial versions, as a control board and lithium batteries charge up an array of devices, including a soldering iron and mini-hotplate, while also considering the project's overall cost.
Simple Multi USB-C Power Module - With my growing list of USB-C powered devices and just one cable, I found myself underpowered on my bench. My solution? Scouring the depths of AliExpress for USB-C power delivery, QC2, and QC3 step-down converters. After initially purchasing individual boards, I struck gold with an ultra-convenient 4-in-one board. Paired with a Meanwell power supply, I enjoyed pushing my new setup to its limits with the MiniWare electronic load tester. Although managing to pull a decent 65W, I'm dreaming up a 3D printed enclosure and eyeing up MiniWare's display modules for future improvements. I reckon, while I'm battling delayed PCBs and dodgy components, it's certainly a fun way to help power up my bench!
Mysterious Battery Drain Solved: Rechargeable LED Lights Mystery - Discover the intriguing issue of faulty tp4056 chips causing battery drainage and how to solve it using a DIY power board. Learn how a customized PCB, created with PCB way, can be designed to improve battery life and ensure a stable voltage output.
Another Street Battery Salvage - In this video, I plucked a battery from a Honey Melon street crystal, ending up with another 500-milliamp hour battery to add to my growing collection. After checking the connection, I added a protective PCB and tested the battery - a reasonable 3.5 volts at a flat level. Following the safe soldering of wires and wrapping it up, I hooked the revamped battery to my charger. It showed promising results, charging quickly at one amp with voltage visibly on rise. After a full recharge, I performed a load test which unfortunately gave a disappointing 311 milliamp hour. It falls short of my other salvaged batteries – 500 and 550 milliamp hour, but nonetheless, it’s a fine addition to the collection.
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi