main
Ray tp4054-42-sot25r: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC… 8d5e5b5
{
  "schema_version": 1,
  "type": "component",
  "slug": "tp4054-42-sot25r",
  "title": "TP4054-42-SOT25R",
  "brief": "TOPPOWER Nanjing Extension Microelectronics Battery Management, SOT-23-5. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "pmic",
    "tp4054-42-sot25r"
  ],
  "component": {
    "mpn": "TP4054-42-SOT25R",
    "manufacturer": "TOPPOWER Nanjing Extension Microelectronics",
    "package": "SOT-23-5",
    "pin_count": 5,
    "category": "PMIC",
    "subcategory": "Battery Management",
    "datasheet": "docs/tp4054-42-sot25r-datasheet.pdf",
    "parts": {
      "symbol": "tp4054-42-sot25r.kicad_sym",
      "footprint": "tp4054-42-sot25r.kicad_mod",
      "model_3d": "tp4054-42-sot25r-etched.glb",
      "model_3d_plain": "tp4054-42-sot25r.glb",
      "model_3d_step": "tp4054-42-sot25r-etched.step",
      "model_3d_step_plain": "tp4054-42-sot25r.step",
      "lbr": "tp4054-42-sot25r.lbr"
    },
    "distributor_links": {
      "lcsc": "C32574"
    },
    "pins": [
      {
        "number": "1",
        "name": "CHRG",
        "type": "output",
        "description": "Open-drain charge status output. Pulled low by an internal N-channel MOSFET during charging (strong pull-down, ~10 mA). When charging terminates, a weak ~20 uA current source pulls the pin up to indicate an 'AC present' standby state. Goes to high-impedance when the TP4054 detects an under-voltage lockout condition."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground reference."
      },
      {
        "number": "3",
        "name": "BAT",
        "type": "power_out",
        "description": "Charge current output to the battery. Supplies programmable charge current (up to 800 mA) and regulates the final float voltage to 4.2 V via an internal precision resistor divider. In shutdown mode the internal divider is disconnected so the pin does not drain the battery."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive input supply voltage powering the charger. Operating range 4.0 V to 9.0 V (typ 5 V). Should be bypassed to GND with at least a 1 uF capacitor. UVLO threshold ~3.6 V."
      },
      {
        "number": "5",
        "name": "PROG",
        "type": "bidirectional",
        "description": "Charge-current program, monitor and shutdown pin. A 1% resistor R_PROG from PROG to GND sets the charge current (I_BAT = 1000/R_PROG for I_BAT <= 150 mA; extended formula for higher currents). In constant-current mode the pin is regulated to ~1.0 V and mirrors 1/1000 of the charge current for monitoring. Leaving PROG floating (internal 2.5 uA pull-up drives pin above ~2.7 V) puts the chip in shutdown, reducing supply current to ~45 uA."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "docs/tp4054-42-sot25r-datasheet.pdf",
        "pages": 14,
        "sha256": "89bb8e97428a70bc",
        "source_tier": "mfr"
      },
      "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"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -1.1375,
        -0.95
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8",
      "mark": "drawn"
    },
    "models_3d": [
      {
        "file": "tp4054-42-sot25r.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-42-sot25r-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": "cc84705cb1c266e6e5b9217996163c8a4bfd924fab241b1b795ca3c7c9a47bc0",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "TOPPOWER Nanjing Extension Microelectronics",
      "Package": "SOT-23-5",
      "Category": "PMIC",
      "Pins": "5"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "tp4054-42-sot25r"
  ],
  "discovery_pitch": "TP4054-42-SOT25R (TOPPOWER Nanjing Extension Microelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "tp4054-42-sot25r.kicad_sym",
    "tp4054-42-sot25r.kicad_mod",
    "tp4054-42-sot25r.glb",
    "tp4054-42-sot25r.step",
    "tp4054-42-sot25r-etched.step",
    "tp4054-42-sot25r.lbr",
    "docs/hero.png",
    "docs/tp4054-42-sot25r-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "variants": [
    {
      "mpn": "TP4054-42-SOT25-R",
      "kind": "unknown"
    }
  ],
  "updated_at": "2026-09-25T11:19:15.830Z"
}