main
Ray Publish 0.1.0 af7ce5c 1mo ago
{
  "slug": "tp4056-ms",
  "version": "0.1.0",
  "type": "component",
  "description": "MSKSEMI Battery Management, SOP-8-EP. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "power management (pmic)",
    "tp4056-ms",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "tp4056-ms.kicad_sym",
    "tp4056-ms.kicad_mod",
    "tp4056-ms.glb",
    "tp4056-ms.step",
    "tp4056-ms.lbr",
    "docs/hero.png",
    "docs/tp4056-ms-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "tp4056-ms-hero.glb",
    "tp4056-ms-hero.overlay.json"
  ],
  "component": {
    "mpn": "TP4056-MS",
    "manufacturer": "MSKSEMI",
    "package": "SOP-8-EP",
    "pin_count": 9,
    "category": "Power Management (PMIC)",
    "subcategory": "Battery Management",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904794553143296",
    "parts": {
      "symbol": "tp4056-ms.kicad_sym",
      "footprint": "tp4056-ms.kicad_mod",
      "model_3d": "tp4056-ms-hero.glb",
      "model_3d_plain": "tp4056-ms.glb",
      "model_3d_step": "tp4056-ms-etched.step",
      "model_3d_step_plain": "tp4056-ms.step",
      "lbr": "tp4056-ms.lbr"
    },
    "distributor_links": {
      "lcsc": "C7473158"
    },
    "distributor_check": {
      "checked_at": "2026-10-09T00:15:03Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "TEMP",
        "type": "input",
        "description": "Battery temperature sense input for the battery's NTC thermistor and divider; charging pauses if VTEMP is below 45%×VCC or above 80%×VCC, and tying this pin to GND disables temperature monitoring."
      },
      {
        "number": "2",
        "name": "PROG",
        "type": "passive",
        "description": "Constant-current charge setting and monitor pin: a resistor from PROG to GND sets the charge current (RPROG = 1 kΩ gives about 1000 mA), with PROG at 1.0 V in current mode and charge termination detected when PROG falls below 100 mV."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference for the charger; the exposed thermal pad may also be grounded."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Input supply pin for the charger, specified at 4.2 V to 9.0 V in operation with an absolute maximum of 9 V, and the charger stays in shutdown until VCC rises above the 3.6 V UVLO threshold."
      },
      {
        "number": "5",
        "name": "BAT",
        "type": "power_out",
        "description": "Charge current output to the single-cell Li-ion battery, regulated to a 4.2 V float voltage; the absolute range is -4.35 V to 7 V and reverse-battery leakage is at most 5 mA."
      },
      {
        "number": "6",
        "name": "STDBY",
        "type": "output",
        "description": "Open-drain charge-complete indicator that pulls low at the end of charging, with a maximum output low voltage of 0.6 V at 5 mA."
      },
      {
        "number": "7",
        "name": "CHRG",
        "type": "output",
        "description": "Open-drain charging status output that pulls low during a charge cycle and is high-impedance otherwise, with a maximum output low voltage of 0.6 V at 5 mA."
      },
      {
        "number": "8",
        "name": "CE",
        "type": "input",
        "description": "Chip enable input: driving it high starts charging, while driving it low stops charging and puts the charger into shutdown; its absolute maximum rating is 10 V."
      },
      {
        "number": "9",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet says the exposed thermal pad (SOP-8-EP) may be grounded or left floating but must not ; Pin types PROG (passive) and BAT (power_out) are judgment calls mapped to KiCad ERC classes; the dat; The datasheet text is partly garbled from OCR (for example the TEMP and PROG descriptions and some t",
          "exposed pad 9 added from the footprint"
        ],
        "pages_sent": 13,
        "cost_usd": 0.0616,
        "at": "2026-10-09T00:14:46"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904794553143296",
        "pages": 13,
        "sha256": "fd15593d4bfdd63f",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 9,
        "described": 9,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "tp4056-ms.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.55
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "2d6f7e774e8143e3320cbd59eb5be9f3b7864614644e3b072006e1eb05fb7fa6",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "tp4056-ms-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.55
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "3fccd0498000131686113337fa4bc2ec712b467af7af2e0aed4dd694a3068713",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}