main
Ray hg4054m5: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body wi… dca9e32
{
  "schema_version": 1,
  "type": "component",
  "slug": "hg4054m5",
  "title": "HG4054M5",
  "brief": "HGSEMI Battery Management, SOT-23-5. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "pmic",
    "hg4054m5"
  ],
  "component": {
    "mpn": "HG4054M5",
    "manufacturer": "HGSEMI",
    "package": "SOT-23-5",
    "pin_count": 5,
    "category": "PMIC",
    "subcategory": "Battery Management",
    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2108071730_HGSEMI-HG4054M5-TR_C2835202.pdf",
    "parts": {
      "symbol": "hg4054m5.kicad_sym",
      "footprint": "hg4054m5.kicad_mod",
      "model_3d": "hg4054m5-etched.glb",
      "model_3d_plain": "hg4054m5.glb",
      "model_3d_step": "hg4054m5-etched.step",
      "model_3d_step_plain": "hg4054m5.step",
      "lbr": "hg4054m5.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "CHRG",
        "type": "output",
        "description": "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."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground return."
      },
      {
        "number": "3",
        "name": "BAT",
        "type": "power_out",
        "description": "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."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "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."
      },
      {
        "number": "5",
        "name": "PROG",
        "type": "bidirectional",
        "description": "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)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2108071730_HGSEMI-HG4054M5-TR_C2835202.pdf",
        "pages": 10,
        "sha256": "2ff1d755ad59a0ed",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 5,
        "described": 5,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hg4054m5.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          2.8,
          2.9,
          1.55
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "720a6eab0024069bbee68e7cb4c3ff1149468a34611225cdc852662c5d0ec2b7",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hg4054m5-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          2.8,
          2.9,
          1.55
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "13aba9dbdf22ec82372ac2bdea06545e8a3e4555adea7294af544dea98a080d4",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "HGSEMI",
      "Package": "SOT-23-5",
      "Category": "PMIC",
      "Pins": "5"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "hg4054m5"
  ],
  "discovery_pitch": "HG4054M5 (HGSEMI) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "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",
    "hg4054m5-etched.step"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "HG4054M5/TR",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-24T21:50:18.220Z"
}