Usb c charge controller

cLLeB·usb-c-charge-controller·kicad/smartsocket.kicad_pcb

Usb c charge controller PCB layout, top view — open source ESP32 board by cLLeB

About the Usb c charge controller PCB

Usb c charge controller is an open source ESP32 PCB design by cLLeB, published on GitHub. It is a 2-layer board measuring 51.2 × 24 mm, with 20 components from 15 distinct parts.

Its main chip is the XIAO ESP32-C3, from the ESP32 family. By type, the board carries 10 resistors, 3 capacitors, 2 transistors, 2 connectors, 1 IC and 1 LED.

It belongs with the iot & wireless and power & battery designs in this gallery.

From the project

Smart USB-C charge controller on the ESP32-C3: KiCad board, C++ firmware with Wi-Fi, Bluetooth and OTA updates, Android and Windows apps

A small adapter that sits between a USB-C charger and a phone and stops charging at a battery level you choose, for example 80 %, then starts again at a lower one, for example 40 %. The phone reports its battery level over Wi-Fi, and the adapter does the switching. I designed the circuit and the board, wrote the firmware and the companion apps, and assembled, soldered and tested it in October 2026.

Usb c charge controller, from the project README
From the project README

Main components on the Usb c charge controller

Usb c charge controller bill of materials (BOM)

20 components, 15 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
XIAO ESP32-C3
U1
1
SI4435DDY
Q1
1
2N7000
Q2
1
USB-C socket board
J1
1
cable to phone
J2
1
red 5 mm
LED1
1
1N5817
D1
3
100n
C1, C2, C3
3
330k
R1, R2, R6
1
33k
R3
1
12k
R4
1
4.7k
R5
2
100k
R7, R8
1
680
R9
1
1k
R10

Usb c charge controller design files

The KiCad project lives in the cLLeB/usb-c-charge-controller repository on GitHub; these links point at the commit this page was built from.

Usb c charge controller: common questions

What microcontroller does the Usb c charge controller use?

The Usb c charge controller is built around the XIAO ESP32-C3, from the ESP32 family.

How big is the Usb c charge controller PCB?

The Usb c charge controller measures 51.2 × 24 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Usb c charge controller?

20 components, from 15 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Usb c charge controller design files?

From the cLLeB/usb-c-charge-controller repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Usb c charge controller design in my own project?

The repository has no license, so all rights stay with cLLeB. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Usb c charge controller without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.

Similar boards