← Commit history
README.md+36−36
@@ -2,20 +2,20 @@  **Monolithic Power Systems** · LED Drivers · SOIC-8 -MP4056GS-Z from Monolithic Power Systems, in a SOIC-8. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.+MP4056GS-Z from Monolithic Power Systems, in a SOIC-8. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.  ## Pinout  | Pin | Name | Type | Function | |---|---|---|---|-| 1 | MULT | input | Input to the internal multiplier, connected to the tap of an AC line resistor divider, which provides the half-wave sinusoid reference for the current loop and is also used for dimmer type and phase detection; analog inputs and outputs are rated -0.3V to 6.5V absolute maximum. |-| 2 | ZCD | input | Zero-current detection input, where a negative-going edge triggers MOSFET turn-on, connected through a resistor divider from the auxiliary winding to GND for over-voltage and short-circuit protection, with ZCD pin current rated -5mA to +5mA absolute maximum. |-| 3 | VCC | power_in | Supply voltage for the control circuitry and the internal MOSFET gate driver, with a recommended operating range of 11V to 27V and an external bulk capacitor typically 22µF connected to this pin. |-| 4 | DAMP | output | Gate control pin for the external damping MOSFET, with a pin voltage rated -0.3V to +16.5V absolute maximum. |-| 5 | D | passive | Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET and internally to VCC through a diode and JFET charging path, with drain-to-source voltage rated -0.7V to +30V absolute maximum. |-| 6 | S | input | Internal low-side main MOSFET source, where a resistor from this pin to GND senses MOSFET current for cycle-by-cycle current limit and over-current protection, with analog inputs rated -0.3V to 6.5V absolute maximum. |-| 7 | GND | power_in | Ground, serving as the current return for both the control signal and the power signal. |-| 8 | COMP | passive | Loop compensation pin, to be connected to a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current. |+| 1 | MULT | input | Multiplier input connected to the tap of a resistor divider from the rectified AC line; the half-wave sinusoid sets the internal current-loop reference and is also used for dimmer type and phase detection. |+| 2 | ZCD | input | Zero-current detection input where a negative-going edge triggers MOSFET turn-on; it also sets over-voltage detection (VZCD_OVP 4.90V to 5.70V), selects the strong/weak dimming pull-down current, and provides ZCD short-circuit protection. |+| 3 | VCC | power_in | Supply voltage for the control circuitry and internal MOSFET gate driver, with a bulk capacitor typically 22µF; recommended operating range is 11V to 27V and the absolute maximum is -0.3V to +30V. |+| 4 | DAMP | output | Gate control output for the external damping MOSFET; the DAMP pin voltage is rated -0.3V to +16.5V absolute maximum. |+| 5 | D | passive | Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET; it is rated up to +30V (drain-to-source -0.7V to +30V) and forms an internal charging path to VCC. |+| 6 | S | input | Internal low-side main MOSFET source; a sense resistor from S to GND sets the current-sense signal and the over-current protection threshold VOCP (2.56V to 2.86V, typical 2.70V). |+| 7 | GND | power_in | Ground; the current return for both the control signal and the power signal. |+| 8 | COMP | passive | Loop compensation pin; connect a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current. |  ## Key specifications @@ -32,63 +32,63 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries  | Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page | |---|---|---|---|---|---|---|---|-| Supply Voltage Operating Range | VCC | 11 |  | 27 | V |  | 4 |-| Input Voltage | VCC | -0.3 |  | 30 | V |  | 4 |+| Input Voltage VCC | VCC | -0.3 |  | 30 | V |  | 4 | | Low-Side MOSFET Drain to Source Voltage |  | -0.7 |  | 30 | V |  | 4 | | Damp Pin Voltage |  | -0.3 |  | 16.5 | V |  | 4 | | Other Analog Inputs and Outputs |  | -0.3 |  | 6.5 | V |  | 4 | | ZCD Pin Current |  | -5 |  | 5 | mA |  | 4 |-| Junction Temperature |  |  |  | 150 | °C |  | 4 |+| Junction Temperature | TJ |  |  | 150 | °C |  | 4 | | Storage Temperature |  | -65 |  | 150 | °C |  | 4 |+| Supply Voltage VCC | VCC | 11 |  | 27 | V |  | 4 | | Operating Junction Temperature | TJ | -40 |  | 125 | °C |  | 4 |+| Operating Range | VCC | 11 |  | 27 | V | After turn on | 5 | | VCC Upper Level: Internal Charging Circuit Stops and IC Turns On | VCCH | 9.5 | 10 | 10.5 | V |  | 5 |-| VCC Lower Level: Internal Charging Circuit Triggers | VCCL | 8.55 | 9 | 9.45 | V |  | 5 | | VCC Re-charge and IC turns off Level in Fault Condition | VCCEN | 6.55 | 7 | 7.45 | V | Fault condition | 5 | | VCC Charging Current from D | ID_CHARGE | 13 | 25 | 40 | mA | VD=16V, VCC=5V | 5 |-| Pull Down Current at VCC_UVLO | IVCC_PULL_DOWN | 0.95 | 1.25 | 1.8 | mA | VCC=9V, Rising | 5 | | Quiescent Current | IQ |  | 800 | 1300 | µA | No switching, VCC=15V | 5 | | Quiescent Current at Fault | IQ_FAULT | 220 | 340 | 620 | µA | Fault condition, IC latch, VCC=15V | 5 |-| Operating Current | ICC |  | 1 | 2 | mA | fs=70kHz, VCC=15V | 5 | | Gain K | K | 0.9 | 1.28 | 1.6 | 1/V | VCOMP=2V, VMULT=0.5V | 5 | | TRIAC Dimming Phase Off Detection Threshold | VMULT_OFF | 0.08 | 0.1 | 0.12 | V |  | 5 | | TRIAC Dimming Phase On Detection Threshold | VMULT_ON | 0.26 | 0.28 | 0.3 | V |  | 5 |-| TRIAC Dimming Off Line-Cycle Blanking Ratio | DOFF_LEB | 28 | 30 | 33 | % |  | 5 |-| Dimming Pull-Down Turn on Threshold (leading edge) | VMULT_DP_ON_LD | 0.22 | 0.25 | 0.28 | V | Leading edge dimmer | 5 |-| Dimming Pull-Down Turn off Threshold (leading edge) | VMULT_DP_OFF_LD | 0.32 | 0.35 | 0.38 | V | Leading edge dimmer | 5 | | Dimming Pull-Down Turn on Threshold (trailing edge) | VMULT_DP_ON_TL | 0.43 | 0.45 | 0.47 | V | Trailing edge dimmer | 5 |+| Dimming Pull-Down Turn on Threshold (leading edge) | VMULT_DP_ON_LD | 0.22 | 0.25 | 0.28 | V | Leading edge dimmer | 5 | | Dimming Pull-Down Turn off Threshold (trailing edge) | VMULT_DP_OFF_TL | 0.26 | 0.28 | 0.3 | V | Trailing edge dimmer | 5 |-| Trailing Edge Dimming Detection High Threshold | VMULT_TL_HIGH | 0.43 | 0.45 | 0.47 | V | Rising, VMULT_PK≥0.58V; Falling, VMULT_PK≥0.50V | 6 |+| Dimming Pull-Down Turn off Threshold (leading edge) | VMULT_DP_OFF_LD | 0.32 | 0.35 | 0.38 | V | Leading edge dimmer | 5 |+| Leading Edge Dimming Detection Low Threshold | VMULT_LD_LOW | 0.08 | 0.1 | 0.12 | V |  | 5 |+| Leading Edge Dimming Detection High Threshold | VMULT_LD_HIGH | 0.26 | 0.28 | 0.3 | V |  | 5 | | Trailing Edge Dimming Detection Low Threshold | VMULT_TL_LOW | 0.08 | 0.1 | 0.12 | V |  | 6 |-| Leading edge dimmer detection time threshold | tLEADING | 86 | 100 | 134 | µs | Rising | 6 |-| Trailing edge dimmer detection time threshold | tTRAILING | 388 | 450 | 602 | µs | Falling | 6 | | Reference Voltage | VREF | 0.4 | 0.414 | 0.428 | V |  | 6 | | COMP Lower Clamp Voltage (leading edge dimmer) | VCOMPL_LD | 1.83 | 1.88 | 1.94 | V | Leading edge dimmer | 6 | | COMP Lower Clamp Voltage (trailing edge dimmer) | VCOMPL_TL | 1.53 | 1.58 | 1.64 | V | Trailing edge dimmer | 6 |-| COMP Lower Clamp Voltage (no dimmer) | VCOMPL_N | 1.53 | 1.58 | 1.64 | V | No dimmer | 6 | | Max. Source Current | ICOMP+ |  |  | 57 | µA |  | 6 |-| Max. Sink Current without Dimmer | ICOMP- |  |  | 200 | µA |  | 6 |-| Current Sense Leading-Edge-Blanking Time | tLEB | 350 | 500 | 750 | ns |  | 7 |+| Leading-Edge-Blanking Time | tLEB | 350 | 500 | 750 | ns |  | 7 | | Over-Current-Protection Leading-Edge-Blanking Time | tLEB_OCP | 260 | 350 | 550 | ns |  | 7 | | Current Sense Upper Clamp Voltage | VS CLAMP H | 1.97 | 2.07 | 2.17 | V |  | 7 | | Zero-Current-Detect Threshold | VZCD_T | 0.27 | 0.3 | 0.33 | V | Falling Edge | 7 | | Zero-Current-Detect Hysteresis | VZCD_HYS | 550 | 590 | 625 | mV |  | 7 | | ZCD Pin Short Circuit Threshold | VZCD_SC | 78 | 100 | 122 | mV |  | 7 |+| Zero-Current-Detect LEB | tZCD_LEB | 1.9 | 2.3 | 3.36 | µs | Starts at Gate Turn Off when VMULT_O ≥0.25V | 7 | | Over-Voltage Threshold | VZCD_OVP | 4.9 | 5.3 | 5.7 | V |  | 7 |-| Zero-Current-Detect LEB (VMULT_O ≥0.25V) | tZCD_LEB | 1.9 | 2.3 | 3.36 | µs | Starts at Gate Turn Off when VMULT_O ≥0.25V | 7 |-| Zero-Current-Detect LEB (VMULT_0 <0.25V) | tZCD_LEB | 0.95 | 1.18 | 1.68 | µs | Starts at Gate Turn Off when VMULT_0 <0.25V | 7 |+| OVP Detect LEB | tOVP_LEB | 1.9 | 2.3 | 3.36 | µs | Starts at Gate Turn Off when VMULT_O≥0.25V | 7 | | Minimum Off Time (Normal) | tOFF_MIN | 4 | 5.3 | 8 | µs | Normal | 7 | | Weak/Strong DP Mode detector current (leading edge dimmer) | IDP_DET_LD | 140 | 180 | 220 | µA |  | 7 | | Strong DP Mode Enable Threshold (leading edge dimmer) | VEN_DP_STR_LD | 1.13 | 1.18 | 1.23 | V |  | 7 |-| Strong Dimming Pull Down Current (leading edge dimmer) | IDP_STRONG_LD | 27 | 35 | 43 | mA |  | 8 |-| Weak Dimming Pull Down Current (leading edge dimmer) | IDP_WEAK_LD | 8 | 10 | 12 | mA |  | 8 |-| Pull Down Current for Trailing edge dimmer | IDP_TL | 133 | 150 | 167 | mA |  | 8 |+| Start Timer Period | tSTART | 100 | 130 | 165 | µs |  | 7 | | Continue Drain Current | ID_D-VCC | 10 | 17 | 27 | mA |  | 8 |-| NTC High Threshold Voltage | VH_NTC | 1.14 | 1.2 | 1.36 | V |  | 8 |-| NTC Low Threshold Voltage | VL_NTC | 0.7 | 0.8 | 0.9 | V |  | 8 |-| NTC Shutdown Threshold | VSD_NTC | 0.32 | 0.38 | 0.44 | V |  | 8 |-| Pull Down Current (DAMP) | IDAMP_PULL_DOWN | 290 | 370 | 450 | µA | VDAMP=5V | 8 |-| Junction-to-Ambient Thermal Resistance (SOIC-8) | θJA |  | 96 |  | °C/W | Note 4: measured on JESD51-7, 4-layer PCB | 4 |-| Junction-to-Case Thermal Resistance (SOIC-8) | θJC |  | 45 |  | °C/W | Note 4: measured on JESD51-7, 4-layer PCB | 4 |+| Strong Dimming Pull Down Current for leading edge dimmer | IDP_STRONG_LD | 27 | 35 | 43 | mA |  | 8 |+| Weak Dimming Pull Down Current for leading edge dimmer | IDP_WEAK_LD | 8 | 10 | 12 | mA |  | 8 |+| Pull Down Current for Trailing edge dimmer | IDP_TL | 133 | 150 | 167 | mA |  | 8 |+| Low Threshold Voltage (NTC) | VL_NTC | 0.7 | 0.8 | 0.9 | V |  | 8 |+| Shutdown Threshold (NTC) | VSD_NTC | 0.32 | 0.38 | 0.44 | V |  | 8 |+| Shutdown Voltage Hysteresis (NTC) | VSD_NTC_HSY | 80 | 100 | 120 | mV |  | 8 |+| Pull Up Current Source (NTC) | IPULL_UP_NTC | 42 | 52 | 62 | µA |  | 8 |+| Turn Off Threshold (DAMP) | VMULT_DAMP_OFF | 0.22 | 0.25 | 0.28 | V |  | 8 |+| Turn On Threshold (DAMP) | VMULT_DAMP_ON | 0.32 | 0.35 | 0.38 | V |  | 8 |+| Upper Clamp Voltage (DAMP) | VDAMP_CLAMP_UP | 13 | 15 | 16.5 | V |  | 8 |+| Source Current (DIM) | IDIM_SOURCE | 2 | 3 | 4 | mA |  | 9 |+| Sink Current (DIM) | IDIM_SINK | 1.5 | 2.8 | 4 | mA |  | 9 |+| Thermal Resistance Junction-to-Ambient (SOIC-8) | θJA |  | 96 |  | °C/W | Measured on JESD51-7, 4-layer PCB | 4 |+| Thermal Resistance Junction-to-Case (SOIC-8) | θJC |  | 45 |  | °C/W | Measured on JESD51-7, 4-layer PCB | 4 |  ## CAD (KiCad official) @@ -101,7 +101,7 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries  Data extracted from the manufacturer datasheet, not a distributor listing: -- **Datasheet:** [Monolithic Power Systems datasheet](docs/mp4056gs-z-datasheet.pdf) (26 pp, sha256 `5dc365158885c643`, retrieved 2026-10-31, tier: lcsc)+- **Datasheet:** [Monolithic Power Systems datasheet, copy hosted by LCSC](docs/mp4056gs-z-datasheet.pdf) (26 pp, sha256 `5dc365158885c643`, retrieved 2026-11-18) - **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - **CAD:** KiCad official libraries (CC-BY-SA 4.0). 
mp4056gs-z-hero.overlay.json+258−256
@@ -1,260 +1,262 @@ {-  "spec": "adom-hero 1.4",-  "mpn": "MP4056GS-Z",-  "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": 8,-      "span_mm": 6.9,-      "dash_mm": 0.1725,-      "gap_mm": 0.1035,-      "pad_stroke_mm": 0.0414-    },-    "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-    }+ "spec": "adom-hero 1.4",+ "mpn": "MP4056GS-Z",+ "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": 8,+   "span_mm": 6.9,+   "dash_mm": 0.1725,+   "gap_mm": 0.1035,+   "pad_stroke_mm": 0.0414   },-  "align": {-    "ok": true,-    "centre_offset_mm": 0.0,-    "tolerance_mm": 0.552,-    "orientation_flipped": false,-    "contacts_bbox_mm": [-      -3.0,-      3.0,-      -2.11,-      2.11-    ],-    "pads_bbox_mm": [-      -3.45,-      3.45,-      -2.205,-      2.205-    ],-    "seating_z_mm": 0.0+  "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"+   }   },-  "sources": {-    "glb": "mp4056gs-z-etched.glb",-    "glb_sha256": "ce07801830e76edf6426ebe2462e9254a75a74dc21c73d7f22a4d96a31ac6789",-    "footprint": "mp4056gs-z.kicad_mod",-    "footprint_sha256": "074ecb2092b24fa4b4b9cdd7c926fc587b0d7d6d21e7341e57935fd42d36894f",-    "pins": "page.json component.pins",-    "pins_sha256": "0026999e39ae8598111aa2e82053fe1a8d0e1d5f156f322ebd3c74439f17931c"-  },-  "generator": "adom-wiki 1.8.4 (component_hero)",-  "labels": [-    {-      "pad": "1",-      "text": "MULT",-      "x": -3.6,-      "y": -1.905,-      "align": "right",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "2",-      "text": "ZCD",-      "x": -3.6,-      "y": -0.635,-      "align": "right",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "3",-      "text": "VCC",-      "x": -3.6,-      "y": 0.635,-      "align": "right",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "4",-      "text": "DAMP",-      "x": -3.6,-      "y": 1.905,-      "align": "right",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "5",-      "text": "D",-      "x": 3.6,-      "y": 1.905,-      "align": "left",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "6",-      "text": "S",-      "x": 3.6,-      "y": 0.635,-      "align": "left",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "7",-      "text": "GND",-      "x": 3.6,-      "y": -0.635,-      "align": "left",-      "vertical": false,-      "h": 0.6-    },-    {-      "pad": "8",-      "text": "COMP",-      "x": 3.6,-      "y": -1.905,-      "align": "left",-      "vertical": false,-      "h": 0.6-    }+  "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)",+   "omitted": null,+   "fallback_to_pad_number": 0+  }+ },+ "align": {+  "ok": true,+  "centre_offset_mm": 0.0,+  "over_pads": true,+  "tolerance_mm": 0.552,+  "orientation_flipped": false,+  "contacts_bbox_mm": [+   -3.0,+   3.0,+   -2.11,+   2.11+  ],+  "pads_bbox_mm": [+   -3.45,+   3.45,+   -2.205,+   2.205   ],-  "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-    }-  ]-}+  "seating_z_mm": 0.0+ },+ "sources": {+  "glb": "mp4056gs-z-etched.glb",+  "glb_sha256": "ce07801830e76edf6426ebe2462e9254a75a74dc21c73d7f22a4d96a31ac6789",+  "footprint": "mp4056gs-z.kicad_mod",+  "footprint_sha256": "074ecb2092b24fa4b4b9cdd7c926fc587b0d7d6d21e7341e57935fd42d36894f",+  "pins": "page.json component.pins",+  "pins_sha256": "0026999e39ae8598111aa2e82053fe1a8d0e1d5f156f322ebd3c74439f17931c"+ },+ "generator": "factory/hero_glb.py",+ "labels": [+  {+   "pad": "1",+   "text": "MULT",+   "x": -3.6,+   "y": -1.905,+   "align": "right",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "2",+   "text": "ZCD",+   "x": -3.6,+   "y": -0.635,+   "align": "right",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "3",+   "text": "VCC",+   "x": -3.6,+   "y": 0.635,+   "align": "right",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "4",+   "text": "DAMP",+   "x": -3.6,+   "y": 1.905,+   "align": "right",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "5",+   "text": "D",+   "x": 3.6,+   "y": 1.905,+   "align": "left",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "6",+   "text": "S",+   "x": 3.6,+   "y": 0.635,+   "align": "left",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "7",+   "text": "GND",+   "x": 3.6,+   "y": -0.635,+   "align": "left",+   "vertical": false,+   "h": 0.6+  },+  {+   "pad": "8",+   "text": "COMP",+   "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+  }+ ]+}\ No newline at end of file
mp4056gs-z.lbr+14−3
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet</description> <packages> <package name="SOIC-8_3.9x4.9mm_P1.27mm">   <description>SOIC-8, 3.9 x 4.9 mm, 1.27 mm pitch</description>@@ -86,6 +86,7 @@ </packages> <symbols> <symbol name="MP4056GS-Z">+  <description>Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet</description>   <wire x1="-12.7" y1="5.08" x2="12.7" y2="5.08" width="0.254" layer="94"/>   <wire x1="12.7" y1="5.08" x2="12.7" y2="-7.62" width="0.254" layer="94"/>   <wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/>@@ -104,7 +105,7 @@ </symbols> <devicesets> <deviceset name="MP4056GS-Z" prefix="U">-  <description></description>+  <description>Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="MP4056GS-Z" x="0" y="0"/>   </gates>@@ -120,7 +121,17 @@         <connect gate="G$1" pin="S" pad="6"/>         <connect gate="G$1" pin="D" pad="5"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="MP4056GS-Z" constant="no"/>+          <attribute name="MANUFACTURER" value="Monolithic Power Systems" constant="no"/>+          <attribute name="DATASHEET" value="https://datasheet.lcsc.com/datasheet/pdf/27b5e603d5a48db5f15a22117c92aab9.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/mp4056gs-z" constant="no"/>+          <attribute name="MOUSER_PN" value="946-MP4056GS-Z" constant="no"/>+          <attribute name="DIGIKEY_PN" value="1589-MP4056GS-ZTR-ND" constant="no"/>+          <attribute name="LCSC_PN" value="C6910149" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
package.json+23−72
@@ -1,6 +1,6 @@ {   "slug": "mp4056gs-z",-  "version": "0.1.0",+  "version": "0.1.1",   "type": "component",   "description": "Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",   "tags": [@@ -28,8 +28,7 @@     "viewers/symbol.html",     "viewers/footprint.html",     "mp4056gs-z-hero.glb",-    "mp4056gs-z-hero.overlay.json",-    "mp4056gs-z-etched.glb"+    "mp4056gs-z-hero.overlay.json"   ],   "component": {     "mpn": "MP4056GS-Z",@@ -43,7 +42,7 @@       "symbol": "mp4056gs-z.kicad_sym",       "footprint": "mp4056gs-z.kicad_mod",       "model_3d": "mp4056gs-z-hero.glb",-      "model_3d_plain": "mp4056gs-z-etched.glb",+      "model_3d_plain": "mp4056gs-z.glb",       "model_3d_step": "mp4056gs-z-etched.step",       "model_3d_step_plain": "mp4056gs-z.step",       "lbr": "mp4056gs-z.lbr"@@ -54,12 +53,11 @@       "mouser": "946-MP4056GS-Z"     },     "distributor_check": {-      "checked_at": "2026-10-31T02:00:35Z",+      "checked_at": "2026-11-18T12:17:55Z",       "source": "Component Ocean /api/assign-pns",       "digikey": {         "pn": "1589-MP4056GS-ZTR-ND",-        "status": "found",-        "lifecycle": "Active"+        "status": "found"       },       "mouser": {         "pn": "946-MP4056GS-Z",@@ -71,49 +69,49 @@         "number": "1",         "name": "MULT",         "type": "input",-        "description": "Input to the internal multiplier, connected to the tap of an AC line resistor divider, which provides the half-wave sinusoid reference for the current loop and is also used for dimmer type and phase detection; analog inputs and outputs are rated -0.3V to 6.5V absolute maximum."+        "description": "Multiplier input connected to the tap of a resistor divider from the rectified AC line; the half-wave sinusoid sets the internal current-loop reference and is also used for dimmer type and phase detection."       },       {         "number": "2",         "name": "ZCD",         "type": "input",-        "description": "Zero-current detection input, where a negative-going edge triggers MOSFET turn-on, connected through a resistor divider from the auxiliary winding to GND for over-voltage and short-circuit protection, with ZCD pin current rated -5mA to +5mA absolute maximum."+        "description": "Zero-current detection input where a negative-going edge triggers MOSFET turn-on; it also sets over-voltage detection (VZCD_OVP 4.90V to 5.70V), selects the strong/weak dimming pull-down current, and provides ZCD short-circuit protection."       },       {         "number": "3",         "name": "VCC",         "type": "power_in",-        "description": "Supply voltage for the control circuitry and the internal MOSFET gate driver, with a recommended operating range of 11V to 27V and an external bulk capacitor typically 22µF connected to this pin."+        "description": "Supply voltage for the control circuitry and internal MOSFET gate driver, with a bulk capacitor typically 22µF; recommended operating range is 11V to 27V and the absolute maximum is -0.3V to +30V."       },       {         "number": "4",         "name": "DAMP",         "type": "output",-        "description": "Gate control pin for the external damping MOSFET, with a pin voltage rated -0.3V to +16.5V absolute maximum."+        "description": "Gate control output for the external damping MOSFET; the DAMP pin voltage is rated -0.3V to +16.5V absolute maximum."       },       {         "number": "5",         "name": "D",         "type": "passive",-        "description": "Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET and internally to VCC through a diode and JFET charging path, with drain-to-source voltage rated -0.7V to +30V absolute maximum."+        "description": "Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET; it is rated up to +30V (drain-to-source -0.7V to +30V) and forms an internal charging path to VCC."       },       {         "number": "6",         "name": "S",         "type": "input",-        "description": "Internal low-side main MOSFET source, where a resistor from this pin to GND senses MOSFET current for cycle-by-cycle current limit and over-current protection, with analog inputs rated -0.3V to 6.5V absolute maximum."+        "description": "Internal low-side main MOSFET source; a sense resistor from S to GND sets the current-sense signal and the over-current protection threshold VOCP (2.56V to 2.86V, typical 2.70V)."       },       {         "number": "7",         "name": "GND",         "type": "power_in",-        "description": "Ground, serving as the current return for both the control signal and the power signal."+        "description": "Ground; the current return for both the control signal and the power signal."       },       {         "number": "8",         "name": "COMP",         "type": "passive",-        "description": "Loop compensation pin, to be connected to a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current."+        "description": "Loop compensation pin; connect a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current."       }     ],     "provenance": {@@ -127,17 +125,18 @@         "consensus": "agreed",         "guards": "pin_guards 0.1: passed",         "guard_notes": [-          "extractor flagged: The SOIC-8 variant (MP4056GS, tape and reel suffix -Z) is confirmed by the ordering table on page 3.; The page 4 SOIC8 top-view drawing text is scrambled and does not reliably show pin positions, so pin; The datasheet does not state electrical types for every pin. DAMP is typed output, S, MULT and ZCD i"+          "extractor flagged: Pin types for D (passive), S (input) and COMP (passive) are inferred from their functions in the pin; DAMP is the gate control output of the external damping MOSFET; output type is inferred from the fun; The SOIC-8 package has no DIM or NTC pin, and the NC entries (1,7,8,14) apply only to SOIC-14. Those"         ],-        "pages_sent": 12,-        "cost_usd": 0.0505,-        "at": "2026-10-31T02:00:19"+        "pages_sent": 26,+        "cost_usd": 0.1054,+        "at": "2026-11-18T12:17:37"       },       "datasheet": {         "url": "https://datasheet.lcsc.com/datasheet/pdf/27b5e603d5a48db5f15a22117c92aab9.pdf",         "pages": 26,         "sha256": "5dc365158885c643",-        "source_tier": "lcsc"+        "source_tier": "lcsc",+        "citation": "Monolithic Power Systems datasheet, copy hosted by LCSC"       },       "cad": "KiCad official (CC-BY-SA 4.0)",       "pins": {@@ -168,7 +167,7 @@         "centre_offset_mm": 0.0,         "footprint_binding": "identity",         "sha256": "07f46cff378d30e6c27dfd5a03092c795323f86d91c71fc7e743f4f418dc553a",-        "checked": "2026-10-31",+        "checked": "2026-11-18",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       },       {@@ -186,58 +185,10 @@         "zmin_mm": -0.0,         "centre_offset_mm": 0.0,         "footprint_binding": "identity",-        "sha256": "29ed12e240d8d0980c54092e13050341f19efaa3edf7c11a245d6138ccf852de",-        "checked": "2026-10-31",+        "sha256": "52808b6578dc9efa3262df3688577b13ac3018382e5bd3792df4b987aaba8be7",+        "checked": "2026-11-18",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       }-    ],-    "package_dims": {-      "package_code": "SOIC8",-      "source_page": 24,-      "D": {-        "nom_mm": 4.902,-        "range_mm": [-          4.801,-          5.004-        ]-      },-      "E1": {-        "nom_mm": 3.899,-        "range_mm": [-          3.81,-          3.988-        ]-      },-      "E": {-        "nom_mm": 5.994,-        "range_mm": [-          5.791,-          6.198-        ]-      },-      "e": {-        "nom_mm": 1.27,-        "range_mm": [-          null,-          null-        ]-      },-      "A": {-        "nom_mm": 1.549,-        "range_mm": [-          1.346,-          1.753-        ]-      },-      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",-      "model_check": {-        "file": "mp4056gs-z.step",-        "verdict": "PASS",-        "reasons": [-          "height and body within the datasheet's package drawing"-        ],-        "by": "factory/package_fit.py"-      }-    }+    ]   } }
page.json+26−73
@@ -4,7 +4,7 @@   "slug": "mp4056gs-z",   "title": "MP4056GS-Z",   "brief": "Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",-  "version": "0.1.0",+  "version": "0.1.1",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -25,7 +25,7 @@       "symbol": "mp4056gs-z.kicad_sym",       "footprint": "mp4056gs-z.kicad_mod",       "model_3d": "mp4056gs-z-hero.glb",-      "model_3d_plain": "mp4056gs-z-etched.glb",+      "model_3d_plain": "mp4056gs-z.glb",       "model_3d_step": "mp4056gs-z-etched.step",       "model_3d_step_plain": "mp4056gs-z.step",       "lbr": "mp4056gs-z.lbr"@@ -36,12 +36,11 @@       "mouser": "946-MP4056GS-Z"     },     "distributor_check": {-      "checked_at": "2026-10-31T02:00:35Z",+      "checked_at": "2026-11-18T12:17:55Z",       "source": "Component Ocean /api/assign-pns",       "digikey": {         "pn": "1589-MP4056GS-ZTR-ND",-        "status": "found",-        "lifecycle": "Active"+        "status": "found"       },       "mouser": {         "pn": "946-MP4056GS-Z",@@ -53,49 +52,49 @@         "number": "1",         "name": "MULT",         "type": "input",-        "description": "Input to the internal multiplier, connected to the tap of an AC line resistor divider, which provides the half-wave sinusoid reference for the current loop and is also used for dimmer type and phase detection; analog inputs and outputs are rated -0.3V to 6.5V absolute maximum."+        "description": "Multiplier input connected to the tap of a resistor divider from the rectified AC line; the half-wave sinusoid sets the internal current-loop reference and is also used for dimmer type and phase detection."       },       {         "number": "2",         "name": "ZCD",         "type": "input",-        "description": "Zero-current detection input, where a negative-going edge triggers MOSFET turn-on, connected through a resistor divider from the auxiliary winding to GND for over-voltage and short-circuit protection, with ZCD pin current rated -5mA to +5mA absolute maximum."+        "description": "Zero-current detection input where a negative-going edge triggers MOSFET turn-on; it also sets over-voltage detection (VZCD_OVP 4.90V to 5.70V), selects the strong/weak dimming pull-down current, and provides ZCD short-circuit protection."       },       {         "number": "3",         "name": "VCC",         "type": "power_in",-        "description": "Supply voltage for the control circuitry and the internal MOSFET gate driver, with a recommended operating range of 11V to 27V and an external bulk capacitor typically 22µF connected to this pin."+        "description": "Supply voltage for the control circuitry and internal MOSFET gate driver, with a bulk capacitor typically 22µF; recommended operating range is 11V to 27V and the absolute maximum is -0.3V to +30V."       },       {         "number": "4",         "name": "DAMP",         "type": "output",-        "description": "Gate control pin for the external damping MOSFET, with a pin voltage rated -0.3V to +16.5V absolute maximum."+        "description": "Gate control output for the external damping MOSFET; the DAMP pin voltage is rated -0.3V to +16.5V absolute maximum."       },       {         "number": "5",         "name": "D",         "type": "passive",-        "description": "Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET and internally to VCC through a diode and JFET charging path, with drain-to-source voltage rated -0.7V to +30V absolute maximum."+        "description": "Internal low-side main MOSFET drain, connected to the source of the external high-side MOSFET; it is rated up to +30V (drain-to-source -0.7V to +30V) and forms an internal charging path to VCC."       },       {         "number": "6",         "name": "S",         "type": "input",-        "description": "Internal low-side main MOSFET source, where a resistor from this pin to GND senses MOSFET current for cycle-by-cycle current limit and over-current protection, with analog inputs rated -0.3V to 6.5V absolute maximum."+        "description": "Internal low-side main MOSFET source; a sense resistor from S to GND sets the current-sense signal and the over-current protection threshold VOCP (2.56V to 2.86V, typical 2.70V)."       },       {         "number": "7",         "name": "GND",         "type": "power_in",-        "description": "Ground, serving as the current return for both the control signal and the power signal."+        "description": "Ground; the current return for both the control signal and the power signal."       },       {         "number": "8",         "name": "COMP",         "type": "passive",-        "description": "Loop compensation pin, to be connected to a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current."+        "description": "Loop compensation pin; connect a compensation network (typically a capacitor to ground) to stabilize the LED driver and accurately control LED current."       }     ],     "provenance": {@@ -109,17 +108,18 @@         "consensus": "agreed",         "guards": "pin_guards 0.1: passed",         "guard_notes": [-          "extractor flagged: The SOIC-8 variant (MP4056GS, tape and reel suffix -Z) is confirmed by the ordering table on page 3.; The page 4 SOIC8 top-view drawing text is scrambled and does not reliably show pin positions, so pin; The datasheet does not state electrical types for every pin. DAMP is typed output, S, MULT and ZCD i"+          "extractor flagged: Pin types for D (passive), S (input) and COMP (passive) are inferred from their functions in the pin; DAMP is the gate control output of the external damping MOSFET; output type is inferred from the fun; The SOIC-8 package has no DIM or NTC pin, and the NC entries (1,7,8,14) apply only to SOIC-14. Those"         ],-        "pages_sent": 12,-        "cost_usd": 0.0505,-        "at": "2026-10-31T02:00:19"+        "pages_sent": 26,+        "cost_usd": 0.1054,+        "at": "2026-11-18T12:17:37"       },       "datasheet": {         "url": "https://datasheet.lcsc.com/datasheet/pdf/27b5e603d5a48db5f15a22117c92aab9.pdf",         "pages": 26,         "sha256": "5dc365158885c643",-        "source_tier": "lcsc"+        "source_tier": "lcsc",+        "citation": "Monolithic Power Systems datasheet, copy hosted by LCSC"       },       "cad": "KiCad official (CC-BY-SA 4.0)",       "pins": {@@ -150,7 +150,7 @@         "centre_offset_mm": 0,         "footprint_binding": "identity",         "sha256": "07f46cff378d30e6c27dfd5a03092c795323f86d91c71fc7e743f4f418dc553a",-        "checked": "2026-10-31",+        "checked": "2026-11-18",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       },       {@@ -168,59 +168,11 @@         "zmin_mm": 0,         "centre_offset_mm": 0,         "footprint_binding": "identity",-        "sha256": "29ed12e240d8d0980c54092e13050341f19efaa3edf7c11a245d6138ccf852de",-        "checked": "2026-10-31",+        "sha256": "52808b6578dc9efa3262df3688577b13ac3018382e5bd3792df4b987aaba8be7",+        "checked": "2026-11-18",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       }-    ],-    "package_dims": {-      "package_code": "SOIC8",-      "source_page": 24,-      "D": {-        "nom_mm": 4.902,-        "range_mm": [-          4.801,-          5.004-        ]-      },-      "E1": {-        "nom_mm": 3.899,-        "range_mm": [-          3.81,-          3.988-        ]-      },-      "E": {-        "nom_mm": 5.994,-        "range_mm": [-          5.791,-          6.198-        ]-      },-      "e": {-        "nom_mm": 1.27,-        "range_mm": [-          null,-          null-        ]-      },-      "A": {-        "nom_mm": 1.549,-        "range_mm": [-          1.346,-          1.753-        ]-      },-      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",-      "model_check": {-        "file": "mp4056gs-z.step",-        "verdict": "PASS",-        "reasons": [-          "height and body within the datasheet's package drawing"-        ],-        "by": "factory/package_fit.py"-      }-    }+    ]   },   "metadata": {     "specs": {@@ -955,10 +907,11 @@     "viewers/symbol.html",     "viewers/footprint.html",     "mp4056gs-z-hero.glb",-    "mp4056gs-z-hero.overlay.json",-    "mp4056gs-z-etched.glb"+    "mp4056gs-z-hero.overlay.json"   ],   "visibility": {     "public": true-  }+  },+  "description": "Monolithic Power Systems LED Drivers, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "org": "adom" }\ No newline at end of file