← Commit history

Publish 0.2.1

Ray ·fbf1601bfa · ·parent 58b6631
4 files changed +439−11
package.json+157−4
@@ -1,6 +1,6 @@ {   "slug": "sp4521",-  "version": "0.2.0",+  "version": "0.2.1",   "type": "component",   "description": "TPOWER Battery Management, ESOP-8. Datasheet-verified pinout, KiCad symbol/footprint/3D.",   "tags": [@@ -20,10 +20,163 @@     "sp4521.kicad_mod",     "sp4521.glb",     "sp4521.step",+    "sp4521-etched.step",     "sp4521.lbr",     "docs/hero.png",     "docs/sp4521-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"-  ]-}\ No newline at end of file+    "viewers/footprint.html",+    "sp4521-hero.glb",+    "sp4521-hero.overlay.json"+  ],+  "component": {+    "mpn": "SP4521",+    "manufacturer": "TPOWER",+    "package": "ESOP-8",+    "pin_count": 9,+    "category": "PMIC",+    "subcategory": "Battery Management",+    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/8bb1d3e556a8ee0b85e9d4507c758020.pdf",+    "parts": {+      "symbol": "sp4521.kicad_sym",+      "footprint": "sp4521.kicad_mod",+      "model_3d": "sp4521-hero.glb",+      "model_3d_plain": "sp4521.glb",+      "model_3d_step": "sp4521-etched.step",+      "model_3d_step_plain": "sp4521.step",+      "lbr": "sp4521.lbr"+    },+    "distributor_links": {},+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Charger power input. Recommended operating range 4.6V to 5.5V (typ. 5V). Bypass locally with ceramic capacitor to GND."+      },+      {+        "number": "2",+        "name": "LED1",+        "type": "output",+        "description": "Battery fuel-gauge / status LED1 driver. Sinks approximately 2mA (at VBAT=4V). Flashes at 1Hz during charge and at 2Hz to indicate low battery (VBAT<3.05V)."+      },+      {+        "number": "3",+        "name": "LED2",+        "type": "output",+        "description": "Battery fuel-gauge / status LED2 driver. Sinks approximately 2mA (at VBAT=4V). Illuminates according to charge/discharge state-of-charge table."+      },+      {+        "number": "4",+        "name": "LED3",+        "type": "output",+        "description": "Battery fuel-gauge / status LED3 driver. Sinks approximately 2mA (at VBAT=4V). Illuminates according to charge/discharge state-of-charge table."+      },+      {+        "number": "5",+        "name": "SWT",+        "type": "input",+        "description": "Push-button input. Short press powers on the device and displays battery level; double-click powers off. Typically pulled to GND through a momentary switch with a series resistor."+      },+      {+        "number": "6",+        "name": "BAT",+        "type": "bidirectional",+        "description": "Lithium-ion battery positive terminal. Charge output during charging (up to 1A, regulated to 4.2V or 4.35V option); source input for boost during discharge. Discharge terminates at 2.9V (typ)."+      },+      {+        "number": "7",+        "name": "SW",+        "type": "passive",+        "description": "Switching node of the synchronous boost/buck power stage. Connects to external 2.2µH inductor (saturation current > 3A). Switching frequency 400-600kHz (typ 500kHz)."+      },+      {+        "number": "8",+        "name": "OUT",+        "type": "power_out",+        "description": "Boost converter output, regulated to 5V (4.8-5.2V) at up to 1A load. Requires low-ESR bypass capacitance (e.g., 2×10µF ceramic)."+      },+      {+        "number": "9",+        "name": "GND",+        "type": "power_in",+        "description": "Exposed thermal pad and system ground return. Must be soldered to a large PCB ground plane for proper thermal dissipation and electrical reference."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://datasheet.lcsc.com/datasheet/pdf/8bb1d3e556a8ee0b85e9d4507c758020.pdf",+        "pages": 6,+        "sha256": "1477344ba02e2d55",+        "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": "sp4521.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          6,+          4.9,+          1.55+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "2d6f7e774e8143e3320cbd59eb5be9f3b7864614644e3b072006e1eb05fb7fa6",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "sp4521-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          6,+          4.9,+          1.55+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "1904fd1570ab1220eb0ded4456a16481128ba542d109245a57b51821ba3fa6cb",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "title": "SP4521",+  "brief": "TPOWER Battery Management, ESOP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",+  "metadata": {+    "specs": {+      "Manufacturer": "TPOWER",+      "Package": "ESOP-8",+      "Category": "PMIC",+      "Pins": "9"+    }+  },+  "discovery_triggers": [+    "sp4521"+  ],+  "discovery_pitch": "SP4521 (TPOWER) component page with datasheet-verified CAD.",+  "visibility": "public"+}
page.json+9−7
@@ -4,7 +4,7 @@   "slug": "sp4521",   "title": "SP4521",   "brief": "TPOWER Battery Management, ESOP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",-  "version": "0.2.0",+  "version": "0.2.1",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -185,10 +185,12 @@     "docs/hero.png",     "docs/sp4521-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "sp4521-hero.glb",+    "sp4521-hero.overlay.json"   ],-  "visibility": {-    "public": true-  },-  "updated_at": "2026-09-25T07:59:21.057Z"-}+  "visibility": "public",+  "updated_at": "2026-09-25T07:59:21.057Z",+  "description": "TPOWER Battery Management, ESOP-8. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "org": "adom"+}\ No newline at end of file
sp4521-hero.glbadded
⋯ 1 unchanged line ⋯
sp4521-hero.overlay.jsonadded+273
@@ -0,0 +1,273 @@+{+  "spec": "adom-hero 1.4",+  "mpn": "SP4521",+  "kind": "component + footprint reference art",+  "board_use": false,+  "plane_z_mm": -0.02,+  "units": "metre",+  "upAxis": "Z",+  "layers": {+    "pad_outlines": {+      "material": "Footprint pads - teal dashed outlines - 50 percent opacity",+      "rgba": [+        0.0,+        0.902,+        0.863,+        0.5+      ],+      "pads": 9,+      "span_mm": 7.24,+      "dash_mm": 0.181,+      "gap_mm": 0.1086,+      "pad_stroke_mm": 0.0434+    },+    "silkscreen": {+      "material": "Silkscreen reference lines - 30 percent opacity",+      "rgba": [+        0.92,+        0.96,+        1.0,+        0.3+      ],+      "footprint_items": 7,+      "pin1": {+        "source": "footprint silkscreen",+        "pad": "1"+      }+    },+    "signal_names": {+      "material": "Signal names - 50 percent opacity",+      "rgba": [+        0.92,+        0.96,+        1.0,+        0.5+      ],+      "font": "DejaVu Sans Mono",+      "labels": 8,+      "sides": "top + mirrored underside (single-sided)",+      "fallback_to_pad_number": 0+    }+  },+  "align": {+    "ok": true,+    "centre_offset_mm": 0.0,+    "tolerance_mm": 0.552,+    "orientation_flipped": false,+    "contacts_bbox_mm": [+      -3.0,+      3.0,+      -2.348,+      2.348+    ],+    "pads_bbox_mm": [+      -3.45,+      3.45,+      -2.205,+      2.205+    ],+    "seating_z_mm": -0.0+  },+  "sources": {+    "glb": "sp4521-etched.glb",+    "glb_sha256": "7df35a39bfc1eae21d1ff865d8307a6c4e713d1fa066d8ddb68b13b419e76f23",+    "footprint": "sp4521.kicad_mod",+    "footprint_sha256": "a7971720bdda0353306df93e5fd71765420f318659baa75f0dc1e7a40c1d2eca",+    "pins": "page.json component.pins",+    "pins_sha256": "efdd98f168d474a6aec28a56217b93289190bdb95b6b73a72590f3bf58b9089c"+  },+  "generator": "adom-wiki 1.8.31 (component_hero)",+  "labels": [+    {+      "pad": "1",+      "text": "VDD",+      "x": -3.6,+      "y": -1.905,+      "align": "right",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "2",+      "text": "LED1",+      "x": -3.6,+      "y": -0.635,+      "align": "right",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "3",+      "text": "LED2",+      "x": -3.6,+      "y": 0.635,+      "align": "right",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "4",+      "text": "LED3",+      "x": -3.6,+      "y": 1.905,+      "align": "right",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "5",+      "text": "SWT",+      "x": 3.6,+      "y": 1.905,+      "align": "left",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "6",+      "text": "BAT",+      "x": 3.6,+      "y": 0.635,+      "align": "left",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "7",+      "text": "SW",+      "x": 3.6,+      "y": -0.635,+      "align": "left",+      "vertical": false,+      "h": 0.6+    },+    {+      "pad": "8",+      "text": "OUT",+      "x": 3.6,+      "y": -1.905,+      "align": "left",+      "vertical": false,+      "h": 0.6+    }+  ],+  "pads": [+    {+      "number": "1",+      "shape": "roundrect",+      "center_mm": [+        -2.475,+        -1.905+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "2",+      "shape": "roundrect",+      "center_mm": [+        -2.475,+        -0.635+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "3",+      "shape": "roundrect",+      "center_mm": [+        -2.475,+        0.635+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "4",+      "shape": "roundrect",+      "center_mm": [+        -2.475,+        1.905+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "5",+      "shape": "roundrect",+      "center_mm": [+        2.475,+        1.905+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "6",+      "shape": "roundrect",+      "center_mm": [+        2.475,+        0.635+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "7",+      "shape": "roundrect",+      "center_mm": [+        2.475,+        -0.635+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "8",+      "shape": "roundrect",+      "center_mm": [+        2.475,+        -1.905+      ],+      "size_mm": [+        1.95,+        0.6+      ],+      "rot": 0.0+    },+    {+      "number": "9",+      "shape": "rect",+      "center_mm": [+        0.0,+        0.0+      ],+      "size_mm": [+        2.29,+        3.0+      ],+      "rot": 0.0+    }+  ]+}