← Commit history
pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)
5 files changed
+209−8
package.json+2−1@@ -24,6 +24,7 @@ "docs/hero.png", "docs/pt4115-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"+ "viewers/footprint.html",+ "pads.json" ] }
pads.jsonadded+189@@ -0,0 +1,189 @@+{+ "schema": "adom.pads/1",+ "slug": "pt4115",+ "footprint": "SOT-89-5",+ "generated_from": {+ "footprint": "SOT-89-5@sha256:9abcedfc1a89eea0",+ "pins": "page.json:component.pins",+ "overrides": null+ },+ "pin1": {+ "pad": "1",+ "at": [+ -1.85,+ -1.5+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "SOT-89-5@sha256:9abcedfc1a89eea0"+ },+ "pad_count": 5,+ "symbol_pins": [+ "1",+ "2",+ "3",+ "4",+ "5"+ ],+ "paste_apertures": 0,+ "issues": [+ {+ "kind": "pin-not-in-symbol",+ "pin": "EP",+ "name": "Exposed PAD",+ "detail": "page.json describes pin \"EP\" (Exposed PAD) from the datasheet, but the symbol has no such pin, so nothing can connect to it"+ }+ ],+ "pads": [+ {+ "pad": "1",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -1.85,+ -1.5+ ],+ "rot": 0.0,+ "size": [+ 1.5,+ 0.7+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "1",+ "name": "SW",+ "type": "output",+ "description": "Drain of the internal high-side power MOSFET. Connects to the switching node between the inductor and the Schottky freewheeling diode. Rated -0.3 V to 35 V; on-resistance ~0.4 Ω at V_IN=24 V, ~0.6 Ω at V_IN=12 V; continuous current up to 1.2 A (absolute max 1.5 A).",+ "is_pin1": true,+ "source": {+ "geometry": "SOT-89-5.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "2",+ "kind": "smd",+ "shape": "custom",+ "at": [+ 0.0,+ 0.0+ ],+ "rot": 0.0,+ "size": [+ 0.8,+ 2.0+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "2",+ "name": "GND",+ "type": "power_in",+ "description": "Device ground return for the power stage and internal control circuitry. Should be tied to the input bypass-capacitor return and the exposed pad using a star-ground layout.",+ "is_pin1": false,+ "source": {+ "geometry": "SOT-89-5.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "3",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -1.85,+ 1.5+ ],+ "rot": 0.0,+ "size": [+ 1.5,+ 0.7+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "3",+ "name": "DIM",+ "type": "input",+ "description": "Multiplexed dimming / enable input. V_DIM < 0.3 V shuts the part down (I_Q ≈ 60 µA); 0.5 V ≤ V_DIM ≤ 2.5 V provides linear analog dimming; V_DIM ≥ 2.5 V (up to 5 V) gives full LED current. Also accepts PWM up to ~20 kHz (max 50 kHz) for PWM dimming. Internally pulled up to a ~5 V rail through ~200 kΩ, so it may be left floating for full-current operation.",+ "is_pin1": false,+ "source": {+ "geometry": "SOT-89-5.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "4",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 1.85,+ 1.5+ ],+ "rot": 0.0,+ "size": [+ 1.5,+ 0.7+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "4",+ "name": "CSN",+ "type": "input",+ "description": "Current-sense negative input. The external sense resistor R_S (≥ 0.082 Ω) is connected between VIN and CSN; the internal comparator regulates the average LED current to I_OUT = 0.1 / R_S with a ±5% accuracy (V_CSN threshold ≈ 100 mV, ±15% hysteresis). Rated 0.3 V to -6 V relative to VIN.",+ "is_pin1": false,+ "source": {+ "geometry": "SOT-89-5.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "5",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 1.85,+ -1.5+ ],+ "rot": 0.0,+ "size": [+ 1.5,+ 0.7+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "5",+ "name": "VIN",+ "type": "power_in",+ "description": "Main supply input, 6 V to 30 V recommended (absolute max 35 V, UVLO ≈ 5.1 V rising, 500 mV hysteresis). A low-ESR bypass capacitor (≥ 4.7 µF X5R/X7R) must be placed close to this pin.",+ "is_pin1": false,+ "source": {+ "geometry": "SOT-89-5.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ }+ ]+}
page.json+16−5@@ -32,7 +32,7 @@ "number": "1", "name": "SW", "type": "output",- "description": "Drain of the internal high-side power MOSFET. Connects to the switching node between the inductor and the Schottky freewheeling diode. Rated -0.3 V to 35 V; on-resistance ~0.4 \u03a9 at V_IN=24 V, ~0.6 \u03a9 at V_IN=12 V; continuous current up to 1.2 A (absolute max 1.5 A)."+ "description": "Drain of the internal high-side power MOSFET. Connects to the switching node between the inductor and the Schottky freewheeling diode. Rated -0.3 V to 35 V; on-resistance ~0.4 Ω at V_IN=24 V, ~0.6 Ω at V_IN=12 V; continuous current up to 1.2 A (absolute max 1.5 A)." }, { "number": "2",@@ -44,25 +44,25 @@ "number": "3", "name": "DIM", "type": "input",- "description": "Multiplexed dimming / enable input. V_DIM < 0.3 V shuts the part down (I_Q \u2248 60 \u00b5A); 0.5 V \u2264 V_DIM \u2264 2.5 V provides linear analog dimming; V_DIM \u2265 2.5 V (up to 5 V) gives full LED current. Also accepts PWM up to ~20 kHz (max 50 kHz) for PWM dimming. Internally pulled up to a ~5 V rail through ~200 k\u03a9, so it may be left floating for full-current operation."+ "description": "Multiplexed dimming / enable input. V_DIM < 0.3 V shuts the part down (I_Q ≈ 60 µA); 0.5 V ≤ V_DIM ≤ 2.5 V provides linear analog dimming; V_DIM ≥ 2.5 V (up to 5 V) gives full LED current. Also accepts PWM up to ~20 kHz (max 50 kHz) for PWM dimming. Internally pulled up to a ~5 V rail through ~200 kΩ, so it may be left floating for full-current operation." }, { "number": "4", "name": "CSN", "type": "input",- "description": "Current-sense negative input. The external sense resistor R_S (\u2265 0.082 \u03a9) is connected between VIN and CSN; the internal comparator regulates the average LED current to I_OUT = 0.1 / R_S with a \u00b15% accuracy (V_CSN threshold \u2248 100 mV, \u00b115% hysteresis). Rated 0.3 V to -6 V relative to VIN."+ "description": "Current-sense negative input. The external sense resistor R_S (≥ 0.082 Ω) is connected between VIN and CSN; the internal comparator regulates the average LED current to I_OUT = 0.1 / R_S with a ±5% accuracy (V_CSN threshold ≈ 100 mV, ±15% hysteresis). Rated 0.3 V to -6 V relative to VIN." }, { "number": "5", "name": "VIN", "type": "power_in",- "description": "Main supply input, 6 V to 30 V recommended (absolute max 35 V, UVLO \u2248 5.1 V rising, 500 mV hysteresis). A low-ESR bypass capacitor (\u2265 4.7 \u00b5F X5R/X7R) must be placed close to this pin."+ "description": "Main supply input, 6 V to 30 V recommended (absolute max 35 V, UVLO ≈ 5.1 V rising, 500 mV hysteresis). A low-ESR bypass capacitor (≥ 4.7 µF X5R/X7R) must be placed close to this pin." }, { "number": "EP", "name": "Exposed PAD", "type": "passive",- "description": "Exposed thermal pad on the underside of the SOT89-5 package. Provides the primary heat-dissipation path (\u03b8JA \u2248 45 \u00b0C/W) and is internally connected to ground. Must be soldered to a PCB copper plane and tied to the GND net."+ "description": "Exposed thermal pad on the underside of the SOT89-5 package. Provides the primary heat-dissipation path (θJA ≈ 45 °C/W) and is internally connected to ground. Must be soldered to a PCB copper plane and tied to the GND net." } ], "provenance": {@@ -84,6 +84,17 @@ "viewers": { "symbol": "viewers/symbol.html", "footprint": "viewers/footprint.html"+ },+ "pin1": {+ "pad": "1",+ "at": [+ -1.85,+ -1.5+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "SOT-89-5@sha256:9abcedfc1a89eea0",+ "mark": "drawn" } }, "metadata": {
pt4115.lbr+1−1@@ -68,7 +68,7 @@ <wire x1="1.2500" y1="-2.2500" x2="-1.2500" y2="-2.2500" width="0.1000" layer="51"/> <text x="0" y="2.960" size="1.27" layer="25" align="bottom-center">>NAME</text> <text x="0" y="-2.960" size="1.27" layer="27" align="top-center">>VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.7700" y="2.2100"/><vertex x="-2.0100" y="2.5400"/><vertex x="-1.5300" y="2.5400"/><vertex x="-1.7700" y="2.2100"/></polygon></package> </packages> <symbols> <symbol name="PT4115">
viewers/footprint.html+1−1@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #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='-3.250 -2.900 5.900 5.800' style='width:100%;height:100%'><line class='ly-silk' x1='-1.220' y1='-2.360' x2='1.360' y2='-2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='-1.380' x2='1.360' y2='-2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='1.380' x2='1.360' y2='2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='2.360' x2='-1.360' y2='2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.850' y1='2.500' x2='-2.850' y2='-2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.850' y1='2.500' x2='2.250' y2='2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.250' y1='-2.500' x2='-2.850' y2='-2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.250' y1='-2.500' x2='2.250' y2='2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-1.250' y1='-1.250' x2='-0.250' y2='-2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-1.250' y1='2.250' x2='-1.250' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-0.250' y1='-2.250' x2='1.250' y2='-2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.250' y1='-2.250' x2='1.250' y2='2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.250' y1='2.250' x2='-1.250' y2='2.250' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='SW' x='-2.600' y='-1.950' width='1.300' height='0.900' rx='0.225' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.950' y='-1.500' font-size='0.540' 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='-2.600' y='-0.450' width='1.475' height='0.900' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.863' y='0.000' font-size='0.540' 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='DIM' x='-2.600' y='1.050' width='1.300' height='0.900' rx='0.225' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.950' y='1.500' font-size='0.540' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.250 -2.900 5.900 5.800' style='width:100%;height:100%'><line class='ly-silk' x1='-1.220' y1='-2.360' x2='1.360' y2='-2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='-1.380' x2='1.360' y2='-2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='1.380' x2='1.360' y2='2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.360' y1='2.360' x2='-1.360' y2='2.360' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.850' y1='2.500' x2='-2.850' y2='-2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.850' y1='2.500' x2='2.250' y2='2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.250' y1='-2.500' x2='-2.850' y2='-2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.250' y1='-2.500' x2='2.250' y2='2.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-1.250' y1='-1.250' x2='-0.250' y2='-2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-1.250' y1='2.250' x2='-1.250' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-0.250' y1='-2.250' x2='1.250' y2='-2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.250' y1='-2.250' x2='1.250' y2='2.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.250' y1='2.250' x2='-1.250' y2='2.250' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='SW' x='-2.600' y='-1.950' width='1.300' height='0.900' rx='0.225' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.950' y='-1.500' font-size='0.540' 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='-2.600' y='-0.450' width='1.475' height='0.900' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.863' y='0.000' font-size='0.540' 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='DIM' x='-2.600' y='1.050' width='1.300' height='0.900' rx='0.225' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.950' y='1.500' font-size='0.540' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><polygon class='ly-silk adom-pin1' points='-1.770,-2.210 -2.010,-2.540 -1.530,-2.540 -1.770,-2.210' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/PT4115", PINS=[{"desc":"","name":"SW","number":"1","type":""},{"desc":"","name":"GND","number":"2","type":""},{"desc":"","name":"DIM","number":"3","type":""},{"desc":"","name":"VIN","number":"5","type":""},{"desc":"","name":"CSN","number":"4","type":""}];