

Universal battery charger
Universal power delivery charger with battery reverse polarity protection
- Size
- 64.9 × 47.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 64
- Nets
- 53
- Pads
- 216
- Tracks, vias
- 252, 107
- Pours
- 14
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 13 Aug 2024
- Updated
- 23 Feb 2025
Overview
Universal battery charger is an open-source printed circuit board by ArthorH, from the ArthorH/PD-UniCharger repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 2-layer board of 64.9 × 47.3 mm with 64 parts on 53 nets, routed with 252 tracks and 107 vias.
It is built around the IP2721, LM358 and XL4015E1, with the TL431, AO3401A and AO3400 among its other parts. Its parts include 28 resistors, 10 capacitors, 7 ICs, 5 diodes and 4 transistors. It belongs with the power boards of this library.
Main components
8IP2721
TSSOP-16-40℃~+85℃ 1C 3V~25V 5V、15V、20V PD 2.0、PD 3.0 Power Receiver Controller TSSOP-16 USB PD ROHSINJOINICInterface - SpecializedLM358
SOP-8-18V~18V 0℃~+70℃ 1.2MHz 10nA 2 24mA 3V~36V 500uA 50nA 5mV 80dB Built-in compensation SOP-8 Operational Amplifier ROHSMSKSEMIOperational AmplifierXL4015E1
TO-263-5-40℃~+125℃ 1 1.25V~32V 180kHz 5A 5mA 8V~36V Adjustable Buck Buck Built-in No TO-263-5 DC-DC Converters ROHSXLSEMIDC-DC ConvertersTL431
SOT-23-20℃~+85℃ 150mA 1mA 2.5V~36V 50ppm/℃ Adjustable Parallel Temperature compensation control ±1% SOT-23 Voltage Reference ROHSGuangdong HottechVoltage ReferenceAO3401A
SOT-231 P-Channel 14nC@10V 30V 47mΩ@10V、60mΩ@4.5V、85mΩ@2.5V 4A 55pF 645pF 80pF 900mV SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsAO3400
SOT-23-55℃~+150℃ 1 N-channel 1.05nF 1.4V 1.5W 28mΩ@10V 30V 5.8A 77pF N-Channel SOT-23 MOSFETs ROHSGOODWORKMOSFETsBC847
SOT-231 NPN 100MHz 100mA 100nA 110 200mW 45V 500mV 6V NPN SOT-23 Bipolar (BJT) ROHSShikuesBipolar (BJT)SS54
SMA(DO-214AC)-55℃~+125℃ 1mA@40V 40V 550mV@5A 5A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky Diodes
README
README.mdUniversal Type C charger for every battery type !
Key technologies:
Features
- CC CV regulation
- Multiple settings
- USB C power delivery 20v
- Reverse polarity battery protection
BLOCK DIAGRAM
How it works:
IP2721
IP2721 negotiates voltage set by J2 (short 20v open 15v) and outputs it to VBUS_PD
CC CV Stepdown
Typycal LM358 based CC CV regulation circuit
CC CV in operation
| CC | CV |
|---|---|
Battery reverse polarity protection
Battery protection circuit works as SR latch with one of latching elements being P-MOS that outputs voltage to battery. One downside to using this schematic is that charger needs to be powered down in order to "delatch" protection circuit, otherwise it may not work if battery had been disconected and reconnected again. This issue will be fixed in upcomming REV-B.
How it works
Phase 1
Power on state. Circuit is delatched.
Phase 2
Connected battery starts to turn on transistor that turns on photocoupler. Circuit latches and starts charging battery, given it can provide 20ma of current and it sits above 1.5v.
Usage
Intended use is keychain charger to charge for example car battery form powerbank that is capable of PD output.
It is advantageous to carry a portable charging board in a vehicle or backpack as a contingency, even though its charging efficiency may not be optimal.
License
CERN-OHL-P (CERN Open Hardware Licence Version 2 - Permissive)
Parts
64| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R10, R12, R13, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28 |
| 4 | 10n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C7, C9, C10 |
| 4 | M3 | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 3 | 470u | Capacitor_SMD:CP_Elec_10x10 | C1, C2, C6 |
| 3 | 5K1 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2, R3 |
| 3 | LED | LED_SMD:LED_0603_1608Metric | D1, D3, D4 |
| 2 | 100k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R14, R16 |
| 2 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4, C5 |
| 2 | 2.2k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4, R15 |
| 2 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q4, Q6 |
| 2 | kk254 | Connector_Molex:Molex_KK-254_AE-6410-07A_1x07_P2.54mm_Vertical | J3, J4 |
| 1 | 0.05 | Resistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolder | R9 |
| 1 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R8 |
| 1 | 1n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C8 |
| 1 | 270 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R11 |
| 1 | 40uH | Inductor_SMD:L_Bourns_SRR1260 | L1 |
| 1 | 71,5k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5 |
| 1 | 90.9k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R6 |
| 1 | 9v | Diode_SMD:D_SOD-123F | D5 |
| 1 | AO3400 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | BC847 | Package_TO_SOT_SMD:SOT-23 | Q5 |
| 1 | IP2721 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U1 |
| 1 | KK254 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | L78L05_SO8 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U6 |
| 1 | LM358 | Package_SO:SO-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | PC817 | Package_DIP:DIP-4_W7.62mm | U5 |
| 1 | SS54 | Diode_SMD:D_SMA | D2 |
| 1 | TL431 | Package_TO_SOT_SMD:SOT-23 | U4 |
| 1 | TL431DBZ | Package_TO_SOT_SMD:SOT-23 | U7 |
| 1 | USB_C_Receptacle_PowerOnly_6P | Connector_USB:USB_C_Receptacle_GCT_USB4135-GF-A_6P_TopMnt_Horizontal | J1 |
| 1 | XL4015 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U2 |
| 1 | molex kk254 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J_batt1 |
Similar boards
- 2 layers

- 4 layers104 × 102 mm

PanelCopypaste
Gangwa-Labs/Reflow.Card
PCB Trace Reflow hotplate for the hackaday 2024 Business Card Challenge
132 parts1Apache-2.0 - 2 layers101.6 × 95.3 mm

2 679 PCB
wszeto9/2_679_PCB
PCB Project for 2.679 which is then used in my 2.007 Competition Robot
128 parts1 - 2 layers179.1 × 167.6 mm

- 2 layers143.5 × 70 mm

- 4 layers86.6 × 85.1 mm

- 2 layers80.9 × 92.7 mm

Evo Borne
SRA-VJTI/Evo-Borne
This repository focuses on building an open-source morphobot.
126 parts12MIT - 2 layers92 × 72.2 mm

Questions
How big is the Universal battery charger PCB?
It measures 64.9 × 47.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Universal battery charger use?
64 parts, built around the IP2721, LM358, XL4015E1 and TL431. 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 Universal battery charger KiCad files?
From the ArthorH/PD-UniCharger repository on GitHub, at the commit this page was made from: the board is PCB source/Universal_battery_charger.kicad_pcb and its schematic PCB source/Universal_battery_charger.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Universal battery charger design in my own project?
Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).