← Commit history
Publish 0.2.0
9 files changed
+576−262
README.md+35−18@@ -2,21 +2,18 @@ **PTC Princeton Tech** · LED Drivers · TO-252-5 -PT6912 from PTC Princeton Tech, in a TO-252-5. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.+PT6912 from PTC Princeton Tech, in a TO-252-5. 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 | VDD | power_in | Internal 5 V regulator output / IC supply rail. Internally clamped to VVDD_CLAMP = 5.1-5.5 V (typ 5.3 V) at 1 mA load; abs-max 6.5 V. Typically bypassed to GND with a small ceramic capacitor. |-| 2 | GND | power_in | IC ground reference. Common return for VDD, COMP, and CS. Should be tied to the exposed pad (E-PAD). |-| 3 | COMP | passive | Loop compensation pin. Connect an external capacitor to GND to stabilize the closed-loop constant-current control. Pre-charge threshold VCOMPP ≈ 1.2 V; abs-max −0.3 V to +6 V. |-| 4 | CS | passive | Output current sense / setting pin. An external resistor RCS from CS to GND programs the average LED current: ILED = 300 mV / RCS. Internal reference VREF = 285-315 mV (typ 300 mV). Abs-max −0.3 V to +1.6 V. Open or short on RCS triggers protection (functional-description section). |-| 5 | VBS | input | Input constant-power sense pin (optional). An external RBS1/RBS2 divider from the rectified AC line sets the AC voltage at which constant-power regulation engages: (RBS2/(RBS1+RBS2)) × VAC × 1.414 = 1.2 V threshold. Leave floating (or tie appropriately) if input constant-power mode is not used. |-| 6 | NC | unconnected | No internal connection. Leave floating or tie to GND per PCB convenience. |-| 7 | NC | unconnected | No internal connection. Leave floating or tie to GND per PCB convenience. |-| 8 | VIN | power_in | High-voltage input / drain of the internal power MOSFET. Connects directly to the rectified DC line in series with the LED string. Operating range 20 V to 400 V; abs-max −0.3 V to +600 V. Sinks up to 120 mA peak output current. |-| 9 | E-PAD | power_in | Exposed thermal pad on the bottom of the ESOP-8 package. Electrically GND - must be soldered to the PCB GND copper pour for both heat dissipation (θJA = 41 °C/W) and electrical return. |+| 1 | VIN | power_in | VIN |+| 2 | VDD | power_in | VDD |+| 3 | GND | power_in | GND |+| 4 | COMP | input | COMP |+| 5 | CS | input | CS |+| 6 | GND | power_in | Package tab (pad 6). the sheet does not name the tab's net; centre lead's net per the package (TO-263/TO-252 tab and centre lead are one piece of lead frame; task master ruling 2026-11-17): pin 3 is GND. | ## Key specifications @@ -25,13 +22,33 @@ PT6912 from PTC Princeton Tech, in a TO-252-5. Pinout and pin descriptions extra | Manufacturer | PTC Princeton Tech | | Package | TO-252-5 | | Category | LED-drv |-| Pins | 9 |--## Ordering variants--Same part, different packaging or reel option.--- `PT6912C`+| Pins | 6 |++## Electrical characteristics++Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).++| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |+|---|---|---|---|---|---|---|---|+| VIN pin voltage (absolute maximum) | VIN | -0.3 | | 600 | V | | 5 |+| VDD pin voltage | VDD | -0.3 | | 6.5 | V | | 5 |+| CS pin voltage | CS | -0.3 | | 1.6 | V | | 5 |+| COMP pin voltage | COMP | -0.3 | | 6 | V | | 5 |+| Maximum peak output current | IOUT | | | 120 | mA | | 5 |+| Operating temperature range | TOPR | -40 | | 105 | ℃ | | 5 |+| Storage temperature range | TSTG | -40 | | 150 | ℃ | | 5 |+| Maximum operating junction temperature | TJ | | | 150 | ℃ | | 5 |+| Operating voltage | VIN | 20 | | 400 | V | | 5 |+| VDD clamp voltage | VVDD_CLAMP | 5.1 | 5.3 | 5.5 | V | 带载 1mA | 5 |+| Internal reference voltage | VREF | 285 | 300 | 315 | mV | VDD=5V, RIS=1KΩ | 5 |+| Output current range | IOUTR | 5 | | 100 | mA | | 5 |+| Operating current | IOP | | 156 | | μA | VDD=5V, IS Floating | 5 |+| Current limit voltage | VCLAMP | | 2.2 | | V | | 5 |+| COMP precharge threshold | VCOMPP | | 1.2 | | V | | 5 |+| Temperature protection trigger threshold | TTRIG | | 135 | | ℃ | | 5 |+| Temperature protection attenuation coefficient | KT | | -20 | | mV/℃ | | 5 |+| Temperature protection shutdown threshold | TSD | | 155 | | ℃ | | 5 |+| Thermal resistance, junction to ambient (TO252-5) | RJA | | 32 | | ℃/W | TO252-5 package | 5 | ## CAD (KiCad official) @@ -44,7 +61,7 @@ Same part, different packaging or reel option. Data extracted from the manufacturer datasheet, not a distributor listing: -- **Datasheet:** [PTC Princeton Tech datasheet](docs/pt6912-datasheet.pdf) (8 pp, sha256 `5e8e6493cae78b90`, retrieved 2026-08-17, tier: lcsc)+- **Datasheet:** [PTC Princeton Tech datasheet](docs/pt6912-datasheet.pdf) (8 pp, sha256 `5e8e6493cae78b90`, retrieved 2026-11-17, tier: manufacturer) - **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:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate. - **CAD:** KiCad official libraries (CC-BY-SA 4.0).
package.json+182−6@@ -1,12 +1,14 @@ { "slug": "pt6912",- "version": "0.1.0",+ "version": "0.2.0", "type": "component",- "description": "PTC Princeton Tech LED Drivers, TO-252-5. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "description": "PTC Princeton Tech LED Drivers, TO-252-5. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.", "tags": [ "component", "led-drv",- "pt6912"+ "pt6912",+ "factory-2.0.0",+ "extractor-text" ], "dependencies": {}, "hero": {@@ -24,6 +26,180 @@ "docs/hero.png", "docs/pt6912-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"- ]-}+ "viewers/footprint.html",+ "pt6912-hero.glb",+ "pt6912-hero.overlay.json"+ ],+ "component": {+ "mpn": "PT6912",+ "manufacturer": "PTC Princeton Tech",+ "package": "TO-252-5",+ "pin_count": 6,+ "category": "LED-drv",+ "subcategory": "LED Drivers",+ "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/db37dea112edfb8366023a52ce7916f0.pdf",+ "parts": {+ "symbol": "pt6912.kicad_sym",+ "footprint": "pt6912.kicad_mod",+ "model_3d": "pt6912-hero.glb",+ "model_3d_plain": "pt6912.glb",+ "model_3d_step": "pt6912-etched.step",+ "model_3d_step_plain": "pt6912.step",+ "lbr": "pt6912.lbr"+ },+ "distributor_links": {+ "lcsc": "C481972"+ },+ "distributor_check": {+ "checked_at": "2026-11-17T06:51:28Z",+ "source": "Component Ocean /api/assign-pns",+ "digikey": {+ "pn": null,+ "status": "quota"+ },+ "mouser": {+ "pn": null,+ "status": "quota"+ }+ },+ "pins": [+ {+ "number": "1",+ "name": "VIN",+ "type": "power_in",+ "description": "VIN"+ },+ {+ "number": "2",+ "name": "VDD",+ "type": "power_in",+ "description": "VDD"+ },+ {+ "number": "3",+ "name": "GND",+ "type": "power_in",+ "description": "GND"+ },+ {+ "number": "4",+ "name": "COMP",+ "type": "input",+ "description": "COMP"+ },+ {+ "number": "5",+ "name": "CS",+ "type": "input",+ "description": "CS"+ },+ {+ "number": "6",+ "name": "GND",+ "type": "power_in",+ "description": "Package tab (pad 6). the sheet does not name the tab's net; centre lead's net per the package (TO-263/TO-252 tab and centre lead are one piece of lead frame; task master ruling 2026-11-17): pin 3 is GND."+ }+ ],+ "provenance": {+ "extractor": "ds2sf",+ "datasheet": {+ "url": "https://datasheet.lcsc.com/datasheet/pdf/db37dea112edfb8366023a52ce7916f0.pdf",+ "pages": 8,+ "sha256": "5e8e6493cae78b90",+ "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"+ },+ "models_3d": [+ {+ "file": "pt6912.step",+ "role": "plain",+ "up": "Z",+ "units": "mm",+ "origin": "footprint origin = pad-pattern centre",+ "seat": "z = 0",+ "extents_mm": [+ 9.9,+ 6.5,+ 2.32+ ],+ "zmin_mm": -0.0,+ "centre_offset_mm": 0.0,+ "footprint_binding": "identity",+ "sha256": "15de31a63a2171bb645751e5fc084565bc3209818acba65544b612cee610249a",+ "checked": "2026-11-17",+ "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+ },+ {+ "file": "pt6912-etched.step",+ "role": "eda",+ "up": "Z",+ "units": "mm",+ "origin": "footprint origin = pad-pattern centre",+ "seat": "z = 0",+ "extents_mm": [+ 9.9,+ 6.5,+ 2.32+ ],+ "zmin_mm": -0.0,+ "centre_offset_mm": 0.0,+ "footprint_binding": "identity",+ "sha256": "debd43a2475ee6a0c8c1d083d70584223d0147ab623f9cd46915fe2961973a68",+ "checked": "2026-11-17",+ "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+ }+ ],+ "package_dims": {+ "package_code": "TO252-5",+ "source_page": 6,+ "D": {+ "nom_mm": 6.5,+ "range_mm": [+ 6.3,+ 6.7+ ]+ },+ "E1": {+ "nom_mm": 5.5,+ "range_mm": [+ 5.3,+ 5.7+ ]+ },+ "e": {+ "nom_mm": 1.27,+ "range_mm": [+ null,+ null+ ]+ },+ "A": {+ "nom_mm": 2.3,+ "range_mm": [+ 2.1,+ 2.5+ ]+ },+ "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",+ "model_check": {+ "file": "pt6912.step",+ "verdict": "PASS",+ "reasons": [+ "height within the datasheet's package drawing"+ ],+ "by": "factory/package_fit.py"+ }+ }+ }+}
page.json+95−54@@ -4,85 +4,83 @@ "slug": "pt6912", "title": "PT6912", "brief": "PTC Princeton Tech LED Drivers, TO-252-5. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",- "version": "0.1.0",+ "version": "0.2.0", "license": "CC-BY-SA-4.0", "tags": [ "component", "led-drv",- "pt6912"+ "pt6912",+ "factory-2.0.0",+ "extractor-text" ], "component": { "mpn": "PT6912", "manufacturer": "PTC Princeton Tech", "package": "TO-252-5",- "pin_count": 9,+ "pin_count": 6, "category": "LED-drv", "subcategory": "LED Drivers", "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/db37dea112edfb8366023a52ce7916f0.pdf", "parts": { "symbol": "pt6912.kicad_sym", "footprint": "pt6912.kicad_mod",- "model_3d": "pt6912-etched.glb",+ "model_3d": "pt6912-hero.glb", "model_3d_plain": "pt6912.glb", "model_3d_step": "pt6912-etched.step", "model_3d_step_plain": "pt6912.step", "lbr": "pt6912.lbr" },- "distributor_links": {},+ "distributor_links": {+ "lcsc": "C481972"+ },+ "distributor_check": {+ "checked_at": "2026-11-17T06:51:28Z",+ "source": "Component Ocean /api/assign-pns",+ "digikey": {+ "pn": null,+ "status": "quota"+ },+ "mouser": {+ "pn": null,+ "status": "quota"+ }+ }, "pins": [ { "number": "1",- "name": "VDD",+ "name": "VIN", "type": "power_in",- "description": "Internal 5 V regulator output / IC supply rail. Internally clamped to VVDD_CLAMP = 5.1-5.5 V (typ 5.3 V) at 1 mA load; abs-max 6.5 V. Typically bypassed to GND with a small ceramic capacitor."+ "description": "VIN" }, { "number": "2",- "name": "GND",+ "name": "VDD", "type": "power_in",- "description": "IC ground reference. Common return for VDD, COMP, and CS. Should be tied to the exposed pad (E-PAD)."+ "description": "VDD" }, { "number": "3",- "name": "COMP",- "type": "passive",- "description": "Loop compensation pin. Connect an external capacitor to GND to stabilize the closed-loop constant-current control. Pre-charge threshold VCOMPP ≈ 1.2 V; abs-max −0.3 V to +6 V."+ "name": "GND",+ "type": "power_in",+ "description": "GND" }, { "number": "4",- "name": "CS",- "type": "passive",- "description": "Output current sense / setting pin. An external resistor RCS from CS to GND programs the average LED current: ILED = 300 mV / RCS. Internal reference VREF = 285-315 mV (typ 300 mV). Abs-max −0.3 V to +1.6 V. Open or short on RCS triggers protection (functional-description section)."+ "name": "COMP",+ "type": "input",+ "description": "COMP" }, { "number": "5",- "name": "VBS",+ "name": "CS", "type": "input",- "description": "Input constant-power sense pin (optional). An external RBS1/RBS2 divider from the rectified AC line sets the AC voltage at which constant-power regulation engages: (RBS2/(RBS1+RBS2)) × VAC × 1.414 = 1.2 V threshold. Leave floating (or tie appropriately) if input constant-power mode is not used."+ "description": "CS" }, { "number": "6",- "name": "NC",- "type": "unconnected",- "description": "No internal connection. Leave floating or tie to GND per PCB convenience."- },- {- "number": "7",- "name": "NC",- "type": "unconnected",- "description": "No internal connection. Leave floating or tie to GND per PCB convenience."- },- {- "number": "8",- "name": "VIN",- "type": "power_in",- "description": "High-voltage input / drain of the internal power MOSFET. Connects directly to the rectified DC line in series with the LED string. Operating range 20 V to 400 V; abs-max −0.3 V to +600 V. Sinks up to 120 mA peak output current."- },- {- "number": "9",- "name": "E-PAD",+ "name": "GND", "type": "power_in",- "description": "Exposed thermal pad on the bottom of the ESOP-8 package. Electrically GND - must be soldered to the PCB GND copper pour for both heat dissipation (θJA = 41 °C/W) and electrical return."+ "description": "Package tab (pad 6). the sheet does not name the tab's net; centre lead's net per the package (TO-263/TO-252 tab and centre lead are one piece of lead frame; task master ruling 2026-11-17): pin 3 is GND." } ], "provenance": {@@ -91,12 +89,12 @@ "url": "https://datasheet.lcsc.com/datasheet/pdf/db37dea112edfb8366023a52ce7916f0.pdf", "pages": 8, "sha256": "5e8e6493cae78b90",- "source_tier": "lcsc"+ "source_tier": "mfr" }, "cad": "KiCad official (CC-BY-SA 4.0)", "pins": {- "total": 9,- "described": 9,+ "total": 6,+ "described": 6, "cites_pages": true, "refuses_to_fabricate": true }@@ -118,11 +116,11 @@ 6.5, 2.32 ],- "zmin_mm": -0.0,- "centre_offset_mm": 0.0,+ "zmin_mm": 0,+ "centre_offset_mm": 0, "footprint_binding": "identity", "sha256": "15de31a63a2171bb645751e5fc084565bc3209818acba65544b612cee610249a",- "checked": "2026-10-07",+ "checked": "2026-11-17", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }, {@@ -137,14 +135,55 @@ 6.5, 2.32 ],- "zmin_mm": -0.0,- "centre_offset_mm": 0.0,+ "zmin_mm": 0,+ "centre_offset_mm": 0, "footprint_binding": "identity",- "sha256": "c237a42e6ae18f30ec6c0e849ce496d4bce6cdf75ec069974f00d9668c5d5863",- "checked": "2026-10-16",+ "sha256": "debd43a2475ee6a0c8c1d083d70584223d0147ab623f9cd46915fe2961973a68",+ "checked": "2026-11-17", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }- ]+ ],+ "package_dims": {+ "package_code": "TO252-5",+ "source_page": 6,+ "D": {+ "nom_mm": 6.5,+ "range_mm": [+ 6.3,+ 6.7+ ]+ },+ "E1": {+ "nom_mm": 5.5,+ "range_mm": [+ 5.3,+ 5.7+ ]+ },+ "e": {+ "nom_mm": 1.27,+ "range_mm": [+ null,+ null+ ]+ },+ "A": {+ "nom_mm": 2.3,+ "range_mm": [+ 2.1,+ 2.5+ ]+ },+ "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",+ "model_check": {+ "file": "pt6912.step",+ "verdict": "PASS",+ "reasons": [+ "height within the datasheet's package drawing"+ ],+ "by": "factory/package_fit.py"+ }+ } }, "metadata": { "specs": {@@ -191,10 +230,12 @@ "docs/hero.png", "docs/pt6912-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"+ "viewers/footprint.html",+ "pt6912-hero.glb",+ "pt6912-hero.overlay.json" ],- "visibility": {- "public": true- },- "updated_at": "2026-09-25T04:36:08.210Z"-}+ "visibility": "public",+ "updated_at": "2026-09-25T04:36:08.210Z",+ "description": "PTC Princeton Tech LED Drivers, TO-252-5. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",+ "org": "adom"+}
pt6912-hero.glbadded⋯ 1 unchanged line ⋯
pt6912-hero.overlay.jsonadded+221@@ -0,0 +1,221 @@+{+ "spec": "adom-hero 1.4",+ "mpn": "PT6912",+ "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": 6,+ "span_mm": 12.7,+ "dash_mm": 0.3175,+ "gap_mm": 0.1905,+ "pad_stroke_mm": 0.0762+ },+ "silkscreen": {+ "material": "Silkscreen reference lines - 30 percent opacity",+ "rgba": [+ 0.92,+ 0.96,+ 1.0,+ 0.3+ ],+ "footprint_items": 5,+ "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": 6,+ "sides": "top + mirrored underside (single-sided)",+ "omitted": null,+ "fallback_to_pad_number": 0+ }+ },+ "align": {+ "ok": true,+ "board_underside": true,+ "electrical_pads_without_contact": [],+ "mounting_pads_left_out": [],+ "centre_offset_mm": 0.0,+ "over_pads": false,+ "tolerance_mm": 0.848,+ "orientation_flipped": false,+ "contacts_bbox_mm": [+ -5.79,+ 4.11,+ -3.25,+ 3.25+ ],+ "pads_bbox_mm": [+ -6.14,+ 4.46,+ -2.9,+ 2.9+ ],+ "seating_z_mm": 0.0+ },+ "sources": {+ "glb": "pt6912-etched.glb",+ "glb_sha256": "9ec4f3d3bb49c4f9d599dffa5756190235ccb3944d1eb9feedb862e598d7f23d",+ "footprint": "pt6912.kicad_mod",+ "footprint_sha256": "b88245799fb0ada0e06b292c0e19a85201fbd7e1227b91d42409d37a5971cb68",+ "pins": "page.json component.pins",+ "pins_sha256": "c99e00e08ec98853d92c343bc61d8a37b67e8ad8ece0154e0164bd61281a3e00"+ },+ "generator": "factory/hero_glb.py",+ "labels": [+ {+ "pad": "1",+ "text": "VIN",+ "x": -6.283,+ "y": -2.28,+ "align": "right",+ "vertical": false,+ "h": 0.57+ },+ {+ "pad": "2",+ "text": "VDD",+ "x": -6.283,+ "y": -1.14,+ "align": "right",+ "vertical": false,+ "h": 0.57+ },+ {+ "pad": "3",+ "text": "GND",+ "x": -6.283,+ "y": 0.0,+ "align": "right",+ "vertical": false,+ "h": 0.57+ },+ {+ "pad": "4",+ "text": "COMP",+ "x": -6.283,+ "y": 1.14,+ "align": "right",+ "vertical": false,+ "h": 0.57+ },+ {+ "pad": "5",+ "text": "CS",+ "x": -6.283,+ "y": 2.28,+ "align": "right",+ "vertical": false,+ "h": 0.57+ },+ {+ "pad": "6",+ "text": "GND",+ "x": 4.61,+ "y": 0.0,+ "align": "left",+ "vertical": false,+ "h": 0.6+ }+ ],+ "pads": [+ {+ "number": "1",+ "shape": "roundrect",+ "center_mm": [+ -5.04,+ -2.28+ ],+ "size_mm": [+ 2.2,+ 0.8+ ],+ "rot": 0.0+ },+ {+ "number": "2",+ "shape": "roundrect",+ "center_mm": [+ -5.04,+ -1.14+ ],+ "size_mm": [+ 2.2,+ 0.8+ ],+ "rot": 0.0+ },+ {+ "number": "3",+ "shape": "roundrect",+ "center_mm": [+ -5.04,+ 0.0+ ],+ "size_mm": [+ 2.2,+ 0.8+ ],+ "rot": 0.0+ },+ {+ "number": "4",+ "shape": "roundrect",+ "center_mm": [+ -5.04,+ 1.14+ ],+ "size_mm": [+ 2.2,+ 0.8+ ],+ "rot": 0.0+ },+ {+ "number": "5",+ "shape": "roundrect",+ "center_mm": [+ -5.04,+ 2.28+ ],+ "size_mm": [+ 2.2,+ 0.8+ ],+ "rot": 0.0+ },+ {+ "number": "6",+ "shape": "roundrect",+ "center_mm": [+ 1.26,+ 0.0+ ],+ "size_mm": [+ 6.4,+ 5.8+ ],+ "rot": 0.0+ }+ ]+}
pt6912.kicad_sym+17−29@@ -1,48 +1,36 @@ (kicad_symbol_lib (version 20211014) (generator ds2sf_rect) (symbol "PT6912" (in_bom yes) (on_board yes)- (property "Reference" "U" (at 0 10.16 0) (effects (font (size 1.27 1.27))))- (property "Value" "PT6912" (at 0 -10.16 0) (effects (font (size 1.27 1.27))))+ (property "Reference" "U" (at 0 7.62 0) (effects (font (size 1.27 1.27))))+ (property "Value" "PT6912" (at 0 -7.62 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide)) (symbol "PT6912_0_1"- (rectangle (start -12.70 7.62) (end 12.70 -7.62)+ (rectangle (start -12.70 5.08) (end 12.70 -5.08) (stroke (width 0.254) (type default)) (fill (type background))) ) (symbol "PT6912_1_1"- (pin power_in line (at -17.78 5.08 0) (length 5.08)- (name "VDD" (effects (font (size 1.27 1.27))))+ (pin power_in line (at -17.78 2.54 0) (length 5.08)+ (name "VIN" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 2.54 0) (length 5.08)- (name "GND" (effects (font (size 1.27 1.27))))+ (pin power_in line (at -17.78 0.00 0) (length 5.08)+ (name "VDD" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27)))) )- (pin passive line (at -17.78 0.00 0) (length 5.08)- (name "COMP" (effects (font (size 1.27 1.27))))+ (pin power_in line (at -17.78 -2.54 0) (length 5.08)+ (name "GND" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27)))) )- (pin passive line (at -17.78 -2.54 0) (length 5.08)- (name "CS" (effects (font (size 1.27 1.27))))- (number "4" (effects (font (size 1.27 1.27))))- )- (pin input line (at -17.78 -5.08 0) (length 5.08)- (name "VBS" (effects (font (size 1.27 1.27))))- (number "5" (effects (font (size 1.27 1.27))))- ) (pin power_in line (at 17.78 2.54 180) (length 5.08)- (name "E-PAD" (effects (font (size 1.27 1.27))))- (number "9" (effects (font (size 1.27 1.27))))- )- (pin power_in line (at 17.78 0.00 180) (length 5.08)- (name "VIN" (effects (font (size 1.27 1.27))))- (number "8" (effects (font (size 1.27 1.27))))+ (name "GND" (effects (font (size 1.27 1.27))))+ (number "6" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 -2.54 180) (length 5.08)- (name "NC" (effects (font (size 1.27 1.27))))- (number "7" (effects (font (size 1.27 1.27))))+ (pin input line (at 17.78 0.00 180) (length 5.08)+ (name "CS" (effects (font (size 1.27 1.27))))+ (number "5" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 -5.08 180) (length 5.08)- (name "NC" (effects (font (size 1.27 1.27))))- (number "6" (effects (font (size 1.27 1.27))))+ (pin input line (at 17.78 -2.54 180) (length 5.08)+ (name "COMP" (effects (font (size 1.27 1.27))))+ (number "4" (effects (font (size 1.27 1.27)))) ) ) )
pt6912.lbr+24−25@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>TO-252-5_TabPin6 (symbol synthesized from footprint pads)</description>+<description></description> <packages> <package name="TO-252-5_TabPin6"> <description>6 pads, 10.6 x 5.8 mm. TO-252/DPAK SMD package</description>@@ -59,7 +59,7 @@ <smd name="3" x="-5.0400" y="-0.0000" dx="2.2000" dy="0.8000" layer="1" roundness="50"/> <smd name="4" x="-5.0400" y="-1.1400" dx="2.2000" dy="0.8000" layer="1" roundness="50"/> <smd name="5" x="-5.0400" y="-2.2800" dx="2.2000" dy="0.8000" layer="1" roundness="50"/>- <smd name="6" x="1.2600" y="-0.0000" dx="6.4000" dy="5.8000" layer="1" roundness="9"/>+ <smd name="6" x="1.2600" y="-0.0000" dx="6.4000" dy="5.8000" layer="1" roundness="9" cream="no"/> <polygon width="0.1200" layer="21"> <vertex x="-5.0400" y="2.9400"/> <vertex x="-5.3800" y="3.4100"/>@@ -99,37 +99,36 @@ </package> </packages> <symbols>-<symbol name="TO-252-5_TabPin6">- <description>TO-252-5_TabPin6 (symbol synthesized from footprint pads)</description>- <wire x1="-7.62" y1="5.08" x2="7.62" y2="5.08" width="0.254" layer="94"/>- <wire x1="7.62" y1="5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>- <wire x1="7.62" y1="-5.08" x2="-7.62" y2="-5.08" width="0.254" layer="94"/>- <wire x1="-7.62" y1="-5.08" x2="-7.62" y2="5.08" width="0.254" layer="94"/>- <text x="0" y="7.62" size="1.27" layer="95" align="bottom-center">>NAME</text>- <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">>VALUE</text>- <pin name="1" x="-12.7" y="3.81" length="short" direction="pas"/>- <pin name="2" x="-12.7" y="1.27" length="short" direction="pas"/>- <pin name="3" x="-12.7" y="-1.27" length="short" direction="pas"/>- <pin name="4" x="12.7" y="3.81" length="short" direction="pas" rot="R180"/>- <pin name="5" x="12.7" y="1.27" length="short" direction="pas" rot="R180"/>- <pin name="6" x="12.7" y="-1.27" length="short" direction="pas" rot="R180"/>+<symbol name="PT6912">+ <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="-5.08" width="0.254" layer="94"/>+ <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="5.08" width="0.254" layer="94"/>+ <text x="0.0000" y="7.6200" size="1.27" layer="95" align="center">>NAME</text>+ <text x="0.0000" y="-7.6200" size="1.27" layer="96" align="center">>VALUE</text>+ <pin name="VIN" x="-17.78" y="2.54" length="middle" direction="pwr"/>+ <pin name="VDD" x="-17.78" y="0" length="middle" direction="pwr"/>+ <pin name="GND" x="-17.78" y="-2.54" length="middle" direction="pwr"/>+ <pin name="GND@2" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>+ <pin name="CS" x="17.78" y="0" length="middle" direction="in" rot="R180"/>+ <pin name="COMP" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="TO-252-5_TabPin6" prefix="U">- <description>TO-252-5_TabPin6 (symbol synthesized from footprint pads)</description>+<deviceset name="PT6912" prefix="U">+ <description></description> <gates>- <gate name="G$1" symbol="TO-252-5_TabPin6" x="0" y="0"/>+ <gate name="G$1" symbol="PT6912" x="0" y="0"/> </gates> <devices> <device name="" package="TO-252-5_TabPin6"> <connects>- <connect gate="G$1" pin="1" pad="1"/>- <connect gate="G$1" pin="2" pad="2"/>- <connect gate="G$1" pin="3" pad="3"/>- <connect gate="G$1" pin="4" pad="4"/>- <connect gate="G$1" pin="5" pad="5"/>- <connect gate="G$1" pin="6" pad="6"/>+ <connect gate="G$1" pin="VIN" pad="1"/>+ <connect gate="G$1" pin="VDD" pad="2"/>+ <connect gate="G$1" pin="GND" pad="3"/>+ <connect gate="G$1" pin="GND@2" pad="6"/>+ <connect gate="G$1" pin="CS" pad="5"/>+ <connect gate="G$1" pin="COMP" pad="4"/> </connects> <technologies><technology name=""/></technologies> </device>
viewers/footprint.html+1−65@@ -1,65 +1 @@-<!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>RAY/PT6912 footprint</title>-<style>-:root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe}-*{box-sizing:border-box;margin:0}html,body{height:100%}-body{background:var(--bg);color:var(--ink);font-family:'Satoshi',system-ui,sans-serif;display:flex;flex-direction:column}-.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid var(--edge);flex:none}-.bar .h{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:700}-.bar .sp{flex:1}-.lyrtog{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--mut);background:#1a2130;border:1px solid var(--edge);border-radius:999px;padding:3px 9px;cursor:pointer;user-select:none}-.lyrtog.on{color:var(--ink);border-color:#485162}.lyrtog:not(.on){opacity:.5}-.lyrtog .d{width:8px;height:8px;border-radius:50%;background:#485162}-.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--bg);cursor:grab;touch-action:none}-.stage.drag{cursor:grabbing}-.stage svg{position:absolute;inset:0;width:100%;height:100%}-.pingroup,.pad{cursor:pointer}-.pingroup.hi .pinvis{stroke:var(--hi)!important;stroke-width:7}-rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke}-.lyr-off{display:none}-#tip{position:fixed;z-index:99;pointer-events:none;display:none;max-width:250px;background:#0d1117;border:1px solid var(--acc);border-radius:8px;padding:7px 10px;box-shadow:0 8px 26px #000a}-#tip .tn{font:700 12px ui-monospace,monospace;color:var(--accb)}-#tip .tt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mut);margin-top:1px}-#tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4}-</style></head><body>-<div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-6.790 -3.900 11.900 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-3.310' y1='-3.450' x2='-3.310' y2='-2.980' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.310' y1='3.450' x2='-3.310' y2='2.980' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='3.110' y1='-3.450' x2='-3.310' y2='-3.450' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='3.110' y1='3.450' x2='-3.310' y2='3.450' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='-5.810' y1='-2.580' x2='-5.810' y2='-1.980' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='-1.980' x2='-3.110' y2='-1.980' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='-1.440' x2='-5.810' y2='-0.840' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='-0.840' x2='-3.110' y2='-0.840' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='-0.300' x2='-5.810' y2='0.300' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='0.300' x2='-3.110' y2='0.300' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='0.840' x2='-5.810' y2='1.440' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='1.440' x2='-3.110' y2='1.440' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='1.980' x2='-5.810' y2='2.580' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-5.810' y1='2.580' x2='-3.110' y2='2.580' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-3.110' y1='-1.440' x2='-5.810' y2='-1.440' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-3.110' y1='-0.300' x2='-5.810' y2='-0.300' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-3.110' y1='0.840' x2='-5.810' y2='0.840' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-3.110' y1='1.980' x2='-5.810' y2='1.980' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-2.780' y1='-2.580' x2='-5.810' y2='-2.580' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='3.110' y1='-2.700' x2='4.110' y2='-2.700' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.110' y1='-2.700' x2='4.110' y2='2.700' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.110' y1='2.700' x2='3.110' y2='2.700' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-6.390' y='-3.500' width='11.100' height='7.000' fill='none' stroke='#4ade80' stroke-width='0.050'/><polygon class='ly-silk' points='-5.040,-2.940 -5.380,-3.410 -4.700,-3.410' fill='#d8b4fe' stroke='none'/><polygon class='ly-fab' points='3.110,-3.250 3.110,3.250 -3.110,3.250 -3.110,-2.250 -2.110,-3.250' fill='none' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='' data-name='' x='-1.940' y='-2.900' width='3.050' height='2.750' rx='0.688' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.415' y='-1.525' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.940' y='0.150' width='3.050' height='2.750' rx='0.688' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.415' y='1.525' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.410' y='-2.900' width='3.050' height='2.750' rx='0.688' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.935' y='-1.525' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.410' y='0.150' width='3.050' height='2.750' rx='0.688' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.935' y='1.525' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='VDD' x='-6.140' y='-2.680' width='2.200' height='0.800' rx='0.200' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-5.040' y='-2.280' font-size='0.480' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='GND' x='-6.140' y='-1.540' width='2.200' height='0.800' rx='0.200' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-5.040' y='-1.140' font-size='0.480' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='COMP' x='-6.140' y='-0.400' width='2.200' height='0.800' rx='0.200' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-5.040' y='0.000' font-size='0.480' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='CS' x='-6.140' y='0.740' width='2.200' height='0.800' rx='0.200' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-5.040' y='1.140' font-size='0.480' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='VBS' x='-6.140' y='1.880' width='2.200' height='0.800' rx='0.200' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-5.040' y='2.280' font-size='0.480' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='NC' x='-1.940' y='-2.900' width='6.400' height='5.800' rx='1.450' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.260' y='0.000' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text></svg></div>-<div id=tip></div>-<script>-var KIND="footprint", MPN="RAY/PT6912", PINS=[{"desc":"","name":"VDD","number":"1","type":""},{"desc":"","name":"GND","number":"2","type":""},{"desc":"","name":"COMP","number":"3","type":""},{"desc":"","name":"CS","number":"4","type":""},{"desc":"","name":"VBS","number":"5","type":""},{"desc":"","name":"E-PAD","number":"9","type":""},{"desc":"","name":"VIN","number":"8","type":""},{"desc":"","name":"NC","number":"7","type":""},{"desc":"","name":"NC","number":"6","type":""}];-var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;});-var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip');-// ---- pan/zoom -----var vb=(svg.getAttribute('viewBox')||'0 0 100 100').split(/\s+/).map(Number), base=vb.slice();-function setVB(){svg.setAttribute('viewBox',vb.join(' '));}-stage.addEventListener('wheel',function(e){e.preventDefault();var r=stage.getBoundingClientRect();var mx=(e.clientX-r.left)/r.width,my=(e.clientY-r.top)/r.height;var f=e.deltaY<0?0.88:1.14;var nw=vb[2]*f,nh=vb[3]*f;vb[0]+=(vb[2]-nw)*mx;vb[1]+=(vb[3]-nh)*my;vb[2]=nw;vb[3]=nh;setVB();},{passive:false});-var pan=null;-stage.addEventListener('pointerdown',function(e){pan={x:e.clientX,y:e.clientY};stage.classList.add('drag');stage.setPointerCapture(e.pointerId);});-stage.addEventListener('pointermove',function(e){if(!pan)return;var r=stage.getBoundingClientRect();vb[0]-=(e.clientX-pan.x)/r.width*vb[2];vb[1]-=(e.clientY-pan.y)/r.height*vb[3];pan={x:e.clientX,y:e.clientY};setVB();});-function endPan(){pan=null;stage.classList.remove('drag');}-stage.addEventListener('pointerup',endPan);stage.addEventListener('pointerleave',endPan);-stage.addEventListener('dblclick',function(){vb=base.slice();setVB();});-// ---- cross-highlight bus -----function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}-function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});}-function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}-function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}-function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+' '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}-[].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){- var n=g.getAttribute('data-num');- g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});- g.addEventListener('mousemove',function(e){tip.style.left=(e.clientX+14)+'px';tip.style.top=(e.clientY+12)+'px';});- g.addEventListener('mouseleave',function(){clearHi();post(null);tip.style.display='none';});-});-window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});-// ---- footprint layer toggles -----[].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(b){- function apply(on){[].slice.call(document.querySelectorAll('.ly-'+b.getAttribute('data-lyr'))).forEach(function(el){el.classList.toggle('lyr-off',!on);});}- apply(b.classList.contains('on'));- b.addEventListener('click',function(){apply(b.classList.toggle('on'));});-});-// ---- auto-grow the host readme iframe -----function ph(){var h=Math.max(360,Math.min(16000,document.body.scrollHeight||420));parent.postMessage({type:'readme-height',height:h},'*');}-window.addEventListener('load',ph);setTimeout(ph,300);-</script>-</body></html>+<!doctype html><title>pt6912</title>
viewers/symbol.html+1−65@@ -1,65 +1 @@-<!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>RAY/PT6912 symbol</title>-<style>-:root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe}-*{box-sizing:border-box;margin:0}html,body{height:100%}-body{background:var(--bg);color:var(--ink);font-family:'Satoshi',system-ui,sans-serif;display:flex;flex-direction:column}-.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid var(--edge);flex:none}-.bar .h{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:700}-.bar .sp{flex:1}-.lyrtog{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--mut);background:#1a2130;border:1px solid var(--edge);border-radius:999px;padding:3px 9px;cursor:pointer;user-select:none}-.lyrtog.on{color:var(--ink);border-color:#485162}.lyrtog:not(.on){opacity:.5}-.lyrtog .d{width:8px;height:8px;border-radius:50%;background:#485162}-.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--bg);cursor:grab;touch-action:none}-.stage.drag{cursor:grabbing}-.stage svg{position:absolute;inset:0;width:100%;height:100%}-.pingroup,.pad{cursor:pointer}-.pingroup.hi .pinvis{stroke:var(--hi)!important;stroke-width:7}-rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke}-.lyr-off{display:none}-#tip{position:fixed;z-index:99;pointer-events:none;display:none;max-width:250px;background:#0d1117;border:1px solid var(--acc);border-radius:8px;padding:7px 10px;box-shadow:0 8px 26px #000a}-#tip .tn{font:700 12px ui-monospace,monospace;color:var(--accb)}-#tip .tt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mut);margin-top:1px}-#tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4}-</style></head><body>-<div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -350 1500 700' style='width:100%;height:100%'><rect x='-500.0' y='-300.0' width='1000.0' height='600.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='VDD'><line class='pinvis' x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VDD</text><g class='pingroup' data-num='2' data-name='GND'><line class='pinvis' x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='3' data-name='COMP'><line class='pinvis' x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>COMP</text><g class='pingroup' data-num='4' data-name='CS'><line class='pinvis' x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CS</text><g class='pingroup' data-num='5' data-name='VBS'><line class='pinvis' x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VBS</text><g class='pingroup' data-num='9' data-name='E-PAD'><line class='pinvis' x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>E-PAD</text><g class='pingroup' data-num='8' data-name='VIN'><line class='pinvis' x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>VIN</text><g class='pingroup' data-num='7' data-name='NC'><line class='pinvis' x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='6' data-name='NC'><line class='pinvis' x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text></svg></div>-<div id=tip></div>-<script>-var KIND="symbol", MPN="RAY/PT6912", PINS=[{"desc":"","name":"VDD","number":"1","type":""},{"desc":"","name":"GND","number":"2","type":""},{"desc":"","name":"COMP","number":"3","type":""},{"desc":"","name":"CS","number":"4","type":""},{"desc":"","name":"VBS","number":"5","type":""},{"desc":"","name":"E-PAD","number":"9","type":""},{"desc":"","name":"VIN","number":"8","type":""},{"desc":"","name":"NC","number":"7","type":""},{"desc":"","name":"NC","number":"6","type":""}];-var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;});-var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip');-// ---- pan/zoom -----var vb=(svg.getAttribute('viewBox')||'0 0 100 100').split(/\s+/).map(Number), base=vb.slice();-function setVB(){svg.setAttribute('viewBox',vb.join(' '));}-stage.addEventListener('wheel',function(e){e.preventDefault();var r=stage.getBoundingClientRect();var mx=(e.clientX-r.left)/r.width,my=(e.clientY-r.top)/r.height;var f=e.deltaY<0?0.88:1.14;var nw=vb[2]*f,nh=vb[3]*f;vb[0]+=(vb[2]-nw)*mx;vb[1]+=(vb[3]-nh)*my;vb[2]=nw;vb[3]=nh;setVB();},{passive:false});-var pan=null;-stage.addEventListener('pointerdown',function(e){pan={x:e.clientX,y:e.clientY};stage.classList.add('drag');stage.setPointerCapture(e.pointerId);});-stage.addEventListener('pointermove',function(e){if(!pan)return;var r=stage.getBoundingClientRect();vb[0]-=(e.clientX-pan.x)/r.width*vb[2];vb[1]-=(e.clientY-pan.y)/r.height*vb[3];pan={x:e.clientX,y:e.clientY};setVB();});-function endPan(){pan=null;stage.classList.remove('drag');}-stage.addEventListener('pointerup',endPan);stage.addEventListener('pointerleave',endPan);-stage.addEventListener('dblclick',function(){vb=base.slice();setVB();});-// ---- cross-highlight bus -----function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}-function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});}-function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}-function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}-function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+' '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}-[].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){- var n=g.getAttribute('data-num');- g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});- g.addEventListener('mousemove',function(e){tip.style.left=(e.clientX+14)+'px';tip.style.top=(e.clientY+12)+'px';});- g.addEventListener('mouseleave',function(){clearHi();post(null);tip.style.display='none';});-});-window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});-// ---- footprint layer toggles -----[].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(b){- function apply(on){[].slice.call(document.querySelectorAll('.ly-'+b.getAttribute('data-lyr'))).forEach(function(el){el.classList.toggle('lyr-off',!on);});}- apply(b.classList.contains('on'));- b.addEventListener('click',function(){apply(b.classList.toggle('on'));});-});-// ---- auto-grow the host readme iframe -----function ph(){var h=Math.max(360,Math.min(16000,document.body.scrollHeight||420));parent.postMessage({type:'readme-height',height:h},'*');}-window.addEventListener('load',ph);setTimeout(ph,300);-</script>-</body></html>+<!doctype html><title>pt6912</title>