main
Ray tp4059: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body with… 338c589
{
  "schema_version": 1,
  "type": "component",
  "slug": "tp4059",
  "title": "TP4059",
  "brief": "TOPPOWER Nanjing Extension Microelectronics Battery Management, SOT-23-6. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "pmic",
    "tp4059"
  ],
  "component": {
    "mpn": "TP4059",
    "manufacturer": "TOPPOWER Nanjing Extension Microelectronics",
    "package": "SOT-23-6",
    "pin_count": 6,
    "category": "PMIC",
    "subcategory": "Battery Management",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/7dd74ce65fa1646065027e80222de17c.pdf",
    "parts": {
      "symbol": "tp4059.kicad_sym",
      "footprint": "tp4059.kicad_mod",
      "model_3d": "tp4059-etched.glb",
      "model_3d_plain": "tp4059.glb",
      "model_3d_step": "tp4059-etched.step",
      "model_3d_step_plain": "tp4059.step",
      "lbr": "tp4059.lbr"
    },
    "distributor_links": {
      "lcsc": "C80364"
    },
    "pins": [
      {
        "number": "1",
        "name": "CHRG",
        "type": "output",
        "description": "Open-drain charge-status output. Pulled low by the internal switch while charging is in progress; high-impedance otherwise. When no battery is connected, this pin outputs a pulse signal (flicker cycle ~0.5-2s with a 10uF BAT capacitor) indicating no battery installed. Drive capability ICHRG=5mA gives VOL <= 0.6V (typ 0.3V)."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground reference for all internal circuitry."
      },
      {
        "number": "3",
        "name": "BAT",
        "type": "power_out",
        "description": "Charging current output to the single Li-ion cell. Regulates the final float voltage to 4.2V (4.158-4.242V) via an internal precision divider. Delivers up to 600mA (RPROG=1.5k typ) in constant-current mode, and drops to 1/10 of the set value to terminate charging. Absolute max range -4.2V to 7V. Recommended 10uF ceramic bypass capacitor close to the pin."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive input supply (USB or adapter). Operating range 4.0V to 9.0V (absolute max -0.3V to 9V). Must be bypassed by at least 1uF close to the pin. When VCC falls to within 30mV of VBAT, the part enters shutdown and IBAT drops below 2uA. UVLO threshold typ 3.6V (3.4-3.8V, low-to-high)."
      },
      {
        "number": "5",
        "name": "STDBY",
        "type": "output",
        "description": "Open-drain end-of-charge status output. Pulled low by the internal switch once the battery is fully charged; high-impedance otherwise (including during charge and during a recharge cycle). Typically drives an LED (green) to VCC through a series resistor."
      },
      {
        "number": "6",
        "name": "PROG",
        "type": "input",
        "description": "Charge-current program, monitor and shutdown pin. Connect a 1% resistor RPROG from PROG to GND to set the constant-current value (IBAT ~= 1000/RPROG for IBAT <= 0.3A; e.g. RPROG=1.5k -> ~600mA, 10k -> ~100mA). In constant-current mode the pin is regulated to 1.0V (0.9-1.1V). Disconnecting RPROG lets an internal 2.5uA current pull PROG above the 2.7V shutdown threshold, placing the charger in shutdown (ICC drops to ~145uA). Absolute max -0.3V to VCC+0.3V; max source current 800uA."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/7dd74ce65fa1646065027e80222de17c.pdf",
        "pages": 11,
        "sha256": "0407fe89e2a9092b",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 6,
        "described": 6,
        "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-6@sha256:f341c73aac9dcb55",
      "mark": "drawn"
    },
    "models_3d": [
      {
        "file": "tp4059.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": "c9fe686b4d1b56927a41fa84a9bc1efb61d8a45a123a3db43bcaa05c2891d635",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "tp4059-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": "11b719ee6da8f8e4f560bb08318518a09d6d9d4c7eda47808bca5d6a23f5c8a0",
        "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-6",
      "Category": "PMIC",
      "Pins": "6"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "tp4059"
  ],
  "discovery_pitch": "TP4059 (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",
    "tp4059.kicad_sym",
    "tp4059.kicad_mod",
    "tp4059.glb",
    "tp4059.step",
    "tp4059-etched.step",
    "tp4059.lbr",
    "docs/hero.png",
    "docs/tp4059-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "TP4059-42-SOT236",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-25T11:20:45.975Z"
}