← Commit history
README.mdadded+45@@ -0,0 +1,45 @@+# HG4054M5++**HGSEMI** · Battery Management · SOT-23-5++HG4054M5 from HGSEMI, 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 output. Pulled low by an internal N-channel MOSFET during charging; released (high-Z) at end-of-charge or when the part detects an undervoltage lockout condition. Absolute max voltage 10 V. |+| 2 | GND | power_in | Device ground return. |+| 3 | BAT | power_out | Charge current output to the Li-Ion cell. Regulates the final float voltage to 4.2 V via an internal precision resistor divider (divider disconnected in shutdown). Absolute max 7 V; supports continuous BAT short-circuit. |+| 4 | VCC | power_in | Positive input supply, 4.25 V-6.5 V, bypass with at least 1 µF to GND. When VCC drops within 30 mV of BAT the part enters shutdown and IBAT falls below 2 µA. |+| 5 | PROG | bidirectional | Charge-current program, monitor and shutdown pin. A 1% resistor RPROG to GND sets ICHG = 1000/RPROG (A). In constant-current mode the pin sits at 1 V and can be used to measure charge current (IBAT = VPROG/RPROG × 1000). Floating the pin lets an internal ~2.5 µA pull-up raise it past the 1.22 V shutdown threshold, driving the charger into shutdown (ICC ≈ 45 µA). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | HGSEMI |+| Package | SOT-23-5 |+| Category | PMIC |+| Pins | 5 |++## Ordering variants++- `HG4054M5/TR`++## CAD (KiCad official)++- Symbol: `HG4054M5`+- 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:** [HGSEMI datasheet](docs/hg4054m5-datasheet.pdf) (10 pp, sha256 `2ff1d755ad59a0ed`, 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/hg4054m5-datasheet.pdf)
page.jsonadded+34@@ -0,0 +1,34 @@+{+ "slug": "hg4054m5",+ "version": "0.1.0",+ "type": "component",+ "description": "HGSEMI Battery Management, SOT-23-5. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "pmic",+ "hg4054m5"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "hg4054m5.kicad_sym",+ "hg4054m5.kicad_mod",+ "hg4054m5.glb",+ "hg4054m5.step",+ "hg4054m5.lbr",+ "docs/hero.png",+ "docs/hg4054m5-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "visibility": "public",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}