Skip to the content
2 layers40.3 × 39.9 mmBattery Charger, the printed circuit board in 3D

This project is a USB-C powered Li-Ion battery charger with integrated cell protection — a complete power management solution for single-cell 3.7V Li-Ion or LiPo batteries.

Size
40.3 × 39.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
18
Pads
86
Tracks, vias
254, 14
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
14 Apr 2026
Updated
14 Apr 2026

Overview

Battery Charger is an open-source printed circuit board by Abhi90808, from the Abhi90808/Battery_Charger repository on GitHub. It is a 2-layer board of 40.3 × 39.9 mm with 19 parts on 18 nets, routed with 254 tracks and 14 vias.

It is built around the DW01A, TP4056 and USBLC6-2SC6, with the FS8205A among its other parts. Its parts include 5 resistors, 4 capacitors, 3 ICs, 3 connectors and 2 diodes. It belongs with the power boards of this library.

Main components

4

README

README.md

USB-C Li-Ion Battery Charger with Protection — PCB Design

A complete single-cell Li-Ion battery charging and protection circuit with USB-C input. Integrates the TP4056 charger IC, DW01A cell protection IC, and FS8205A dual MOSFET protection switch — all on a compact 2-layer PCB, DRC verified and Gerber-ready.


Overview

This project is a USB-C powered Li-Ion battery charger with integrated cell protection — a complete power management solution for single-cell 3.7V Li-Ion or LiPo batteries. It is the kind of circuit found in wireless sensors, portable IoT devices, wearables, and rechargeable embedded products.

The design integrates three key functions on a single board:

  1. Charging — TP4056 handles constant-current / constant-voltage (CC/CV) charging with programmable charge current
  2. Cell protection — DW01A monitors cell voltage and current to prevent overcharge, over-discharge, and short-circuit
  3. USB-C input — CC resistors (5.1kΩ) on both CC pins for proper USB-C power delivery negotiation (5V/500mA from a standard charger)

This project demonstrates power electronics design skills that are in high demand for IoT and portable product development.


Specifications

ParameterValue
InputUSB-C (5V)
Charge ICTP4056
Charge Current1A (programmable via RPROG)
Charge Voltage4.2V (Li-Ion standard)
Charge TopologyCC/CV (constant current / constant voltage)
Protection ICDW01A
Protection FETFS8205A (dual N-channel MOSFET)
Overcharge Protection4.28V cutoff
Over-discharge Protect2.5V cutoff
Short-circuit ProtectYes (DW01A + FS8205A)
Battery ConnectorJST PH 2.0mm, 2-pin
Status LEDsCharging (red) / Full (blue)
PCB Layers2
Board StatusDesign complete, DRC passed
ToolKiCad

Design Highlights

USB-C CC Resistors for Proper Negotiation

Both CC1 and CC2 pins are pulled down through 5.1kΩ resistors to GND — the correct method for a USB-C power sink device. This signals to USB-C chargers that the device accepts 5V, ensuring compliance with the USB-C specification and preventing damage from non-compliant adapters.

TP4056 CC/CV Charging

The TP4056 delivers textbook Li-Ion charging behaviour: constant current phase (1A, set by a 1.2kΩ RPROG resistor) until the cell reaches 4.2V, then constant voltage phase with current tapering until full. CHRG and STDBY LED indicator pins are used to drive status LEDs.

DW01A + FS8205A Cell Protection

The DW01A monitors cell voltage and pack current via a sense resistor. It drives the FS8205A dual-MOSFET switch to disconnect the battery under fault conditions:

  • Overcharge (>4.28V) → charge FET off
  • Over-discharge (<2.5V) → discharge FET off
  • Short circuit / overcurrent → both FETs off instantly

Thermal Considerations

The TP4056 has an internal thermal regulation feature — it automatically reduces charge current if junction temperature exceeds 120°C. Copper pour around the IC provides a heatsinking path on the PCB, helping maintain full 1A charge rate in normal ambient conditions.

Compact Form Factor

All components fit on a compact 2-layer board. Charge path traces are widened to handle 1A continuous current. Ground plane on bottom layer for thermal and noise performance.


Repository Structure

text
project5-usbc-battery-charger/
├── schematic/
│   └── usbc_lipo_charger.kicad_sch
├── pcb/
│   └── usbc_lipo_charger.kicad_pcb
├── gerbers/
│   ├── usbc_lipo_charger.GTL
│   ├── usbc_lipo_charger.GBL
│   ├── usbc_lipo_charger.GTO
│   ├── usbc_lipo_charger.GTS
│   ├── usbc_lipo_charger.GBS
│   └── usbc_lipo_charger.DRL
├── bom/
│   └── bom.csv
└── README.md

Bill of Materials

RefComponentPart NumberPackage
U1Li-Ion Charger ICTP4056SOP-8
U2Battery Protection ICDW01ASOT-26
Q1Dual Protection MOSFETFS8205ASOT-23-6
J1USB-C ConnectorUSB Type-CSMD
J2Battery ConnectorJST PH 2.0Through-hole
R1Prog Resistor1.2kΩ (1A)0402
R2, R3CC Pull-down5.1kΩ0402
R4Current Sense100mΩ0402
R5Charging LED Resistor1kΩ0402
R6Full LED Resistor1kΩ0402
LED1Charging IndicatorRed, 2V, 20mA0402
LED2Full IndicatorBlue, 3V, 20mA0402
C1, C2Decoupling Caps100nF0402
C3BAT Bulk Cap10µF0805

Charge Current Programming

text
RPROG = 1200 / IBAT (kΩ)

For 1A charge current:
RPROG = 1200 / 1000 = 1.2kΩ

For 500mA charge current:
RPROG = 1200 / 500 = 2.4kΩ → use 2.4kΩ

Skills Demonstrated

  • Li-Ion battery charger IC integration (TP4056)
  • Battery protection circuit design (DW01A + FS8205A)
  • USB-C sink implementation with CC resistors
  • Power path design and trace width calculation for 1A
  • CC/CV charge topology understanding
  • KiCad DRC and Gerber export

Use Cases

  • Portable IoT sensor nodes
  • Wearable electronics
  • Wireless MCU boards with battery backup
  • Handheld instruments
  • Rechargeable embedded products

Project Status

StageStatus
Schematic✅ Complete
PCB Layout✅ Complete
DRC✅ Passed
Gerbers Exported✅ Ready
Fabricated⬜ Not yet
Tested⬜ Not yet

About the Designer

Self-taught PCB designer specializing in KiCad — IoT, embedded systems, and industrial control boards. Available for freelance PCB design work: schematic capture, layout, DRC review, and Gerber preparation.

🔗 GitHub: [Abhi90808] 📧 [kvabhishek908.com]

Parts

19
QtyValueFootprintReferences
3100nfCapacitor_SMD:C_0402_1005MetricC1, C3, C4
21KResistor_SMD:R_0402_1005MetricR4, R5
25.1kResistor_SMD:R_0402_1005MetricR1, R2
2FS8205APackage_TO_SOT_SMD:SOT-23Q1, Q2
11.2kResistor_SMD:R_0402_1005MetricR3
110ufCapacitor_SMD:C_0805_2012MetricC2
1BATTERYConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1DW01APackage_TO_SOT_SMD:SOT-23-6U3
1LED_GREENLED_SMD:LED_0805_2012MetricD2
1LED_REDLED_SMD:LED_0805_2012MetricD1
1OUTPUTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1TP4056Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU2
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U1
1USB_CConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

Similar boards

  • 2 layers35 × 100 mmWalkieTalkie, the printed circuit board in 3D

    WalkieTalkie

    GuzziFlipFlops/ESP32-Walkie-Talkie

    An open source ESPNOW based walkie talkie with a 600 meter tested distance, with an OLED and multiple buttons to interact with

    66 parts7MIT
  • 2 layers30 × 100 mmMoskill, the printed circuit board in 3D

    Moskill

    telagod/moskill

    MosKill - Smart Mosquito Swatter with BLE, Kill Counting & Statistics | ESP32-C3 + KiCad PCB + UniApp

    95 parts2
  • 2 layers93.2 × 93.2 mmSmartcoaster routed, the printed circuit board in 3D

    Smartcoaster routed

    bdus/SmartCoaster

    AI native Industrial and Embedded Design

    70 parts
  • 2 layers61 × 61 mmVael, the printed circuit board in 3D

    Vael

    dialgorithm/vael

    esp32s3 flight controller

    66 parts
  • 2 layers62 × 6 mmTableLight, the printed circuit board in 3D

    TableLight

    jonny190/TableLight

    A 3D-printable, battery-powered, USB-C rechargeable table lamp in the classic "Poldina" shape - honeycomb disc base, thin stem, down-firing cone shade with a white top - running WLED on an ESP32, with a capacitive touch…

    72 partsMIT
  • 2 layers192.4 × 50 mmOmote, the printed circuit board in 3D

    Omote

    OMOTE-Community/OMOTE-Hardware

    Open Source Remote - Hardware

    187 parts157GPL-3.0
  • 2 layers52.5 × 28 mmKitchen timer, the printed circuit board in 3D

    Kitchen timer

    hggh/kitchen-timer

    kitchen timer

    35 parts16GPL-3.0
  • 2 layers100 × 90 mmAudMix, the printed circuit board in 3D

    AudMix

    I-AM-ENGINEER/AudMX

    Alternative for Deej ( https://github.com/omriharel/deej ) with more features

    85 parts12

Questions

How big is the Battery Charger PCB?

It measures 40.3 × 39.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Battery Charger use?

19 parts, built around the DW01A, TP4056, USBLC6-2SC6 and FS8205A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Battery Charger KiCad files?

From the Abhi90808/Battery_Charger repository on GitHub, at the commit this page was made from: the board is Battery_Charger.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Battery Charger design in my own project?

Its repository states no licence, so its author keeps all rights: ask Abhi90808 before reusing the design.