← Commit history

Initial commit: component/ws2812

Ray ·b99f0d9dd6 ·1d ago
2 files changed +217
README.mdadded+44
@@ -0,0 +1,44 @@+# WS2812++**Worldsemi** · RGB LEDs(Built-In IC) · SMD5050-4P++WS2812 from Worldsemi, in a SMD5050-4P. 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.+++::adom-states{src="/adom/ws2812/render/states.json"}++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VDD | power_in | Power supply pin; the maximum-rating supply range is +3.7 V to +5.3 V, and electrical characteristics are specified at VDD = 5 V. |+| 2 | DOUT | output | Control data signal output that re-transmits the serial data to the next cascaded pixel, with a transmission delay (DIN to DOUT) of at most 300 ns under the stated test conditions (CL = 15 pF, RL = 10 kΩ). |+| 3 | VSS | power_in | Ground pin serving as both signal ground and power ground, the 0 V reference for VDD and the logic levels. |+| 4 | DIN | input | Control data signal input; logic high requires 0.7VDD to VDD+0.7 V and logic low requires -0.3 V to 0.7 V. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Worldsemi |+| Package | SMD5050-4P |+| Category | Optoelectronics |+| Pins | 4 |++## CAD (KiCad official)++- Symbol: `WS2812`+- Footprint: `LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm`+- 3D model: SMD5050-4P (KiCad packages3D, STEP)+- 3D model files: `ws2812-etched.step` / `ws2812-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `ws2812.step` / `ws2812.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Worldsemi datasheet](docs/ws2812-datasheet.pdf) (8 pp, sha256 `d8d00bc9d951ce40`, retrieved 2026-10-07, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **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).++[Datasheet PDF](docs/ws2812-datasheet.pdf)
page.jsonadded+173
@@ -0,0 +1,173 @@+{+  "slug": "ws2812",+  "version": "0.1.0",+  "type": "component",+  "description": "Worldsemi RGB LEDs(Built-In IC), SMD5050-4P. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "optoelectronics",+    "ws2812",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "ws2812.kicad_sym",+    "ws2812.kicad_mod",+    "ws2812.glb",+    "ws2812.step",+    "ws2812.lbr",+    "docs/hero.png",+    "docs/ws2812-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "ws2812-hero.glb",+    "ws2812-hero.overlay.json"+  ],+  "component": {+    "mpn": "WS2812",+    "manufacturer": "Worldsemi",+    "package": "SMD5050-4P",+    "pin_count": 4,+    "category": "Optoelectronics",+    "subcategory": "RGB LEDs(Built-In IC)",+    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/be06c6d3cf62bd3243dbd52cc5d69566.pdf",+    "parts": {+      "symbol": "ws2812.kicad_sym",+      "footprint": "ws2812.kicad_mod",+      "model_3d": "ws2812-hero.glb",+      "model_3d_plain": "ws2812.glb",+      "model_3d_step": "ws2812-etched.step",+      "model_3d_step_plain": "ws2812.step",+      "lbr": "ws2812.lbr"+    },+    "distributor_links": {+      "lcsc": "C42417498"+    },+    "distributor_check": {+      "checked_at": "2026-10-07T21:38:21Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": null,+        "status": "no match"+      },+      "mouser": {+        "pn": null,+        "status": "no match"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Power supply pin; the maximum-rating supply range is +3.7 V to +5.3 V, and electrical characteristics are specified at VDD = 5 V."+      },+      {+        "number": "2",+        "name": "DOUT",+        "type": "output",+        "description": "Control data signal output that re-transmits the serial data to the next cascaded pixel, with a transmission delay (DIN to DOUT) of at most 300 ns under the stated test conditions (CL = 15 pF, RL = 10 kΩ)."+      },+      {+        "number": "3",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground pin serving as both signal ground and power ground, the 0 V reference for VDD and the logic levels."+      },+      {+        "number": "4",+        "name": "DIN",+        "type": "input",+        "description": "Control data signal input; logic high requires 0.7VDD to VDD+0.7 V and logic low requires -0.3 V to 0.7 V."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.3",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.3",+        "primary_model": "claude-haiku-5-5",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "extractor flagged: The pin table gives numbers 1-4 with names and functions, but the mechanical drawing (page 1, which ; The datasheet does not state a separate ordering code or package suffix for 'SMD5050-4P'; the 4-pin "+        ],+        "pages_sent": 8,+        "cost_usd": 0.0271,+        "at": "2026-10-07T21:38:07"+      },+      "datasheet": {+        "url": "https://datasheet.lcsc.com/datasheet/pdf/be06c6d3cf62bd3243dbd52cc5d69566.pdf",+        "pages": 8,+        "sha256": "d8d00bc9d951ce40",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 4,+        "described": 4,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    },+    "models_3d": [+      {+        "file": "ws2812.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          5.4,+          5,+          1.6+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "637199c792cc5581f13c630b8ea641c3d770ebc3f87475da122d395f340d713a",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "ws2812-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          5.4,+          5,+          1.6+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "3ebf102d424d513d410fe20a352d18241d9b8379cb47689af02381fc4c550054",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file