main
Ray ws4054: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body with… 8808bd2
{
  "schema_version": 1,
  "type": "component",
  "slug": "ws4054",
  "title": "WS4054",
  "brief": "WPMtek Wei Pan Microelectronics Battery Management, SOT-23-5L. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "pmic",
    "ws4054"
  ],
  "component": {
    "mpn": "WS4054",
    "manufacturer": "WPMtek Wei Pan Microelectronics",
    "package": "SOT-23-5L",
    "pin_count": 5,
    "category": "PMIC",
    "subcategory": "Battery Management",
    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2201121500_WPMtek-Wei-Pan-Microelectronics-WS4054_C2931367.pdf",
    "parts": {
      "symbol": "ws4054.kicad_sym",
      "footprint": "ws4054.kicad_mod",
      "model_3d": "ws4054-etched.glb",
      "model_3d_plain": "ws4054.glb",
      "model_3d_step": "ws4054-etched.step",
      "model_3d_step_plain": "ws4054.step",
      "lbr": "ws4054.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "CHRG",
        "type": "output",
        "description": "Open-drain charge status indicator. Pulled low (LED on) during an active charge cycle; high-Z (LED off) when charging terminates, VDD is in UVLO, or VBAT > VDD. Blinks when VDD is valid, BAT is connected only to a ~2.2 uF capacitor and no battery is present. VCHRGL ≤ 100 mV at ICHRG = 5 mA. Tie to ground through a series LED + ~1 kΩ resistor from VIN, or leave unconnected if unused."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground reference. Connect to system ground with a low-impedance path; PROG resistor and input/output bypass capacitors return here."
      },
      {
        "number": "3",
        "name": "BAT",
        "type": "power_out",
        "description": "Charge current output to the single-cell Li-ion battery. Regulates to VFLOAT = 4.200 V ±42 mV in constant-voltage mode. Sources programmed constant current (up to 500 mA) in CC mode and ~1/10 of the programmed current as trickle when VBAT < VTRKL (2.9 V). Recharge cycle restarts when VBAT falls ~150 mV below VFLOAT (≈ 4.05 V). Bypass with ~1-10 uF ceramic capacitor to GND."
      },
      {
        "number": "4",
        "name": "VDD",
        "type": "power_in",
        "description": "Input supply from USB port or AC adapter. Recommended operating range 4.5 V-6.0 V (absolute max 9 V, but reverse-connected-battery operation should stay near 5 V and not exceed 6 V). UVLO threshold typ 3.7 V rising with 170 mV hysteresis; charger stays disabled until VDD > VBAT + 200 mV. Bypass with 1-10 uF ceramic capacitor to GND close to the pin."
      },
      {
        "number": "5",
        "name": "PROG",
        "type": "passive",
        "description": "Charge-current program pin. Connect a resistor RPROG from PROG to GND to set the fast-charge current: IBAT ≈ 1000 / RPROG (A·Ω), e.g. 2 kΩ → 500 mA, 4 kΩ → 250 mA, 10 kΩ → 100 mA, 20 kΩ → 50 mA. Servos to VPROG2 ≈ 1.00 V in constant-current mode. Floating or open PROG puts the part into standby; termination is detected when the PROG voltage falls below 100 mV for TDELAY."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2201121500_WPMtek-Wei-Pan-Microelectronics-WS4054_C2931367.pdf",
        "pages": 8,
        "sha256": "92880727123ac84b",
        "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": "ws4054.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": "ws4054-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": "4654032a80992e25679a024fffda4907a45a2e9266ddde2b275bf59e11c6a10c",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "WPMtek Wei Pan Microelectronics",
      "Package": "SOT-23-5L",
      "Category": "PMIC",
      "Pins": "5"
    }
  },
  "variants": [
    {
      "mpn": "WS4054",
      "kind": "packaging"
    }
  ],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "ws4054"
  ],
  "discovery_pitch": "WS4054 (WPMtek Wei Pan Microelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ws4054.kicad_sym",
    "ws4054.kicad_mod",
    "ws4054.glb",
    "ws4054.step",
    "ws4054.lbr",
    "docs/hero.png",
    "docs/ws4054-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "updated_at": "2026-09-25T14:10:20.530Z"
}