main
Ray tp4054-ms: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body w… 188ad3e
{
  "schema_version": 1,
  "type": "component",
  "slug": "tp4054-ms",
  "title": "TP4054-MS",
  "brief": "MSKSEMI 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",
    "tp4054-ms"
  ],
  "component": {
    "mpn": "TP4054-MS",
    "manufacturer": "MSKSEMI",
    "package": "SOT-23-5",
    "pin_count": 5,
    "category": "PMIC",
    "subcategory": "Battery Management",
    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2308080947_MSKSEMI-TP4054-MS_C7473157.pdf",
    "parts": {
      "symbol": "tp4054-ms.kicad_sym",
      "footprint": "tp4054-ms.kicad_mod",
      "model_3d": "tp4054-ms-etched.glb",
      "model_3d_plain": "tp4054-ms.glb",
      "model_3d_step": "tp4054-ms-etched.step",
      "model_3d_step_plain": "tp4054-ms.step",
      "lbr": "tp4054-ms.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "CHRG",
        "type": "output",
        "description": "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."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground / return for VCC and BAT currents."
      },
      {
        "number": "3",
        "name": "BAT",
        "type": "power_out",
        "description": "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."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "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."
      },
      {
        "number": "5",
        "name": "PROG",
        "type": "bidirectional",
        "description": "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."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2308080947_MSKSEMI-TP4054-MS_C7473157.pdf",
        "pages": 11,
        "sha256": "7a038fea37ca8cbb",
        "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": "tp4054-ms.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": "tp4054-ms-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": "64660e9fd10ca4c3ea51b2f2e16656caf4cd0791683895c869137cc1918aaf00",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "MSKSEMI",
      "Package": "SOT-23-5",
      "Category": "PMIC",
      "Pins": "5"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "tp4054-ms"
  ],
  "discovery_pitch": "TP4054-MS (MSKSEMI) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "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": true
  },
  "updated_at": "2026-09-25T11:19:24.188Z"
}