← Commit history
README.mdadded+41@@ -0,0 +1,41 @@+# TP4054-MS++**MSKSEMI** · Battery Management · SOT-23-5++TP4054-MS from MSKSEMI, in a SOT-23-5. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | CHRG | output | Open-drain charge status indicator. An internal N-channel MOSFET pulls CHRG low during charging (VOL ~0.35 V typ at ICHRG = 5 mA) and is high impedance when charging completes or when the part is in undervoltage-lockout / shutdown. A capacitor (~1 uF) to ground allows detection of a missing battery via a ~1 Hz LED flash. |+| 2 | GND | power_in | Device ground / return for VCC and BAT currents. |+| 3 | BAT | power_out | Charge current output to the single-cell Li-ion battery. Regulates the float voltage to 4.24 V (typ) and delivers up to 500 mA of programmed charge current. Includes reverse-battery ESD protection; a ~0.7 mA current flows between GND and BAT when the battery is connected in reverse. |+| 4 | VCC | power_in | Positive input supply from a USB port or wall adapter, 4.25 V to 6.5 V. Requires at least 1 uF bypass capacitance to GND. When (VCC - VBAT) drops below 30 mV, the part enters standby and BAT current falls below 2 uA. |+| 5 | PROG | bidirectional | Charge-current program, charge-current monitor, and shutdown pin. A resistor RPROG from PROG to GND sets IBAT = (VPROG / RPROG) x 1000 (VPROG ~1.0 V in constant-current mode, e.g. RPROG = 2 k -> ~500 mA, RPROG = 10 k -> ~100 mA). PROG can also monitor charge current or shut the charger down: pulling PROG above ~1.21 V via a 2 uA source disables charging (ICC drops to ~25 uA); driving PROG above ~2.4 V yields ~1.5 mA of high current. Reconnecting PROG to GND through RPROG restores normal operation. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | MSKSEMI |+| Package | SOT-23-5 |+| Category | PMIC |+| Pins | 5 |++## CAD (KiCad official)++- Symbol: `TP4054-MS`+- Footprint: `Package_TO_SOT_SMD:SOT-23-5`+- 3D model: SOT-23-5 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [MSKSEMI datasheet](docs/tp4054-ms-datasheet.pdf) (11 pp, sha256 `7a038fea37ca8cbb`, retrieved 2026-08-17, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/tp4054-ms-datasheet.pdf)
page.jsonadded+34@@ -0,0 +1,34 @@+{+ "slug": "tp4054-ms",+ "version": "0.1.0",+ "type": "component",+ "description": "MSKSEMI Battery Management, SOT-23-5. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "pmic",+ "tp4054-ms"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "tp4054-ms.kicad_sym",+ "tp4054-ms.kicad_mod",+ "tp4054-ms.glb",+ "tp4054-ms.step",+ "tp4054-ms.lbr",+ "docs/hero.png",+ "docs/tp4054-ms-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "visibility": "public",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}