🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
View All Posts
read
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
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 PCBs

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:

The schematic

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.

600mA charging current

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.

Quite toasty

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.

Turned out to be fairly easy to place and route

And looks just like the real thing!

Just like the real thing!

Related Posts

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.
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!
Red Arcade Thing Repair - I resurrected a dead AliExpress arcade handheld by swapping the blown 3.3V regulator (I now own 99 spares), adding a TP4056 charger with Schottky diode isolation, and nursing a 0V LiPo back to life. A bit of hot-plate rework, tidier wiring, and—flip the switch—boom: it boots! It’s not pretty, but it’s alive again.
10 Cent Music Machine - I built a tiny coin‑cell music board around the $0.10 WCH CH32V003J4M6 (8‑pin, 48MHz RISC‑V, 16K flash/2K RAM). The PCB is just 16.3×11.7mm with a piezo buzzer and transistor, and in standby it sips 7–8µA. I did hit a snag: playback caused 130mA peaks that browned out a CR2032. A LiPo fixed it, but I really wanted coin‑cell, so I upped the buzzer’s base resistor to 10k, dropping peaks to 56mA and average to ~7mA—now it runs happily (and loudly) from a coin cell. Pro tip: if standby bricks programming, wlink can erase via power-off mode. I’m bit‑banging audio, published a simple MIDI→buzzer tool with a 1‑bit SFX generator, and all the code’s on GitHub.
More Updates on the ZX Spectrum Board - I'm gearing up for production with some updates to our prototype, including switching to a 4-layer board to improve EMI, and refining USB power filtering. Check out the video for a deep dive into our battery charger and an exciting expansion port for potential HDMI output. The main goal now is to get our boards ready for manufacturing and shipping through Crowd Supply!

Related Videos

World’s Smallest USB-C Li-Ion Charger?! - I found some super compact USB-C lithium battery chargers on AliExpress, and they're tiny! The PCB is just 10mm by 6mm, but it packs a punch with a linear lithium-ion battery charger chip, LP 4054. It's equipped with indicator LEDs for charging status and includes essential resistors and capacitors. Be cautious, though, as it can get warm during use. I've decided to recreate this neat design in Keycad, showing you each step, paying tribute to our Patreons and PCB Way along the way. Let's see how the design translates and if it passes all checks!
Making this CR*P Night Light GOOD - I've been picking up cheap motion night lights—performance meh, battery life definitely not 'four charges a year'. So I cracked one open for a Big Clive-style reverse-engineer: TP4054 charger at ~300 mA into a tiny 350 mAh cell, an 8-pin mystery PIR/LED driver taking the PIR and LDR directly and sinking the LED cathodes. No visible current limiting on the board, but measured ~68 mA on the bench so it's baked into the chip. Then I gutted the brains, dropped in an RC-WL0516 radar sensor, added an LDR and a timing cap to stretch the ~3 s timeout, and drove the LEDs with a MOSFET and proper current limiting. Swapped in a bigger 820 mAh battery, reassembled so it still charges and looks stock—and now it actually works nicely. Also, bonus anti-subscribe jam. Good as new.
Dodgy Circuit Defused - fixing the silly red thing. - I’ve got all the bits to bring this little arcade game back to life: swapped the dead 3.3V regulator (had to buy 100… oops), tried and successfully revived the totally flat Li‑ion with a trusty charger board, and I’m adding a couple of Schottky diodes to handle USB vs battery power. Used the mini hot plate to reflow the regulator (not my finest soldering and, of course, the microscope didn’t record), confirmed 5V in and 3.3V out, and the screen actually boots. Next up: stick the charger board down with Kapton, wire B+/B− to the test points, cut the right track, and tidy the power routing.
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!
A Vibe Coded One-Button Mechanical Keyboard - ESP32-S3 USB+BTLE - Hey folks! So, I've been tinkering with a compact PCB featuring an ESP32 S3 Mini, and it's been a blast! This little guy has a USB-C and battery connection, with nifty chips like a charge controller and voltage regulator. I'm diving into mechanical keyboards with some cherry switches, and guess what? I made this cool 'Vibe button' for a single key keyboard! I even used AI to vibe code it, so it sends command-enter when pressed. PCB Way did a stellar job on the assembly, and now I'm setting up the RGB LED for charging status. Let's make coding more vibey!
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
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
Blog Logo

Chris Greening


Published

> Image

atomic14

A collection of slightly mad projects, instructive/educational videos, and generally interesting stuff. Building projects around the Arduino and ESP32 platforms - we'll be exploring AI, Computer Vision, Audio, 3D Printing - it may get a bit eclectic...

View All Posts