← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·1f3ced0c5e · ·parent 625e875
5 files changed +235−4
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/td1501s50-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+219
@@ -0,0 +1,219 @@+{+ "schema": "adom.pads/1",+ "slug": "td1501s50",+ "footprint": "TO-263-5_TabPin6",+ "generated_from": {+  "footprint": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -7.65,+   -3.4+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc"+ },+ "pad_count": 6,+ "symbol_pins": [+  "1",+  "2",+  "3",+  "4",+  "5"+ ],+ "paste_apertures": 4,+ "issues": [+  {+   "kind": "pad-has-no-pin",+   "pad": "6",+   "thermal": false,+   "described_in_page": false,+   "detail": "footprint pad \"6\" is in copper but the SYMBOL has no pin for it"+  }+ ],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    -3.4+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "Vin",+   "type": "power_in",+   "description": "Input supply voltage. Recommended operating range 7V to 45V (5V version); absolute maximum 45V. Bypass with a low-ESR input capacitor close to the pin.",+   "is_pin1": true,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    -1.7+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "Output",+   "type": "output",+   "description": "Switching output pin - internal power BJT emitter. Connects to the external catch diode cathode and inductor to form the buck power stage. Delivers up to 3A load current with typical saturation voltage of 1.2V at 3A.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    0.0+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "GND",+   "type": "power_in",+   "description": "Ground reference for the device. Tie to the system ground plane; also serves as the thermal path together with the package tab.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    1.7+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "FB",+   "type": "input",+   "description": "Output voltage feedback pin. Internally connected to the fixed-5V resistor divider on the 5V version; connect directly to the regulator output node. Feedback bias current typically 10nA.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    3.4+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "ON/OFF",+   "type": "input",+   "description": "TTL-compatible shutdown control. Regulator is ON when the pin is low (<1.3V typ) or left floating; regulator enters standby (IQ ≈ 80µA) when driven high (>2.0V). Absolute max Vin+0.3V.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.5,+    0.0+   ],+   "rot": 0.0,+   "size": [+    9.4,+    10.8+   ],+   "layers": [+    "F.Cu",+    "F.Mask"+   ],+   "thermal": false,+   "pin": "6",+   "name": null,+   "type": null,+   "description": null,+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": null,+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+12−1
@@ -56,7 +56,7 @@         "number": "5",         "name": "ON/OFF",         "type": "input",-        "description": "TTL-compatible shutdown control. Regulator is ON when the pin is low (<1.3V typ) or left floating; regulator enters standby (IQ \u2248 80\u00b5A) when driven high (>2.0V). Absolute max Vin+0.3V."+        "description": "TTL-compatible shutdown control. Regulator is ON when the pin is low (<1.3V typ) or left floating; regulator enters standby (IQ ≈ 80µA) when driven high (>2.0V). Absolute max Vin+0.3V."       }     ],     "provenance": {@@ -78,6 +78,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -7.65,+        -3.4+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc",+      "mark": "drawn"     }   },   "metadata": {
td1501s50.lbr+1−1
@@ -84,7 +84,7 @@   <wire x1="5.6250" y1="-5.0000" x2="4.6250" y2="-5.0000" width="0.1000" layer="51"/>   <text x="0" y="6.300" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.300" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-7.6500" y="4.2100"/><vertex x="-7.9900" y="4.6800"/><vertex x="-7.3100" y="4.6800"/></polygon></package> </packages> <symbols> <symbol name="TD1501S50">
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='-10.600 -6.050 17.450 12.100' style='width:100%;height:100%'><line class='ly-silk' x1='-4.825' y1='-5.200' x2='-4.825' y2='-3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-4.825' y1='5.200' x2='-4.825' y2='3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='-5.200' x2='-4.825' y2='-5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='5.200' x2='-4.825' y2='5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='-9.325' y1='-3.040' x2='-9.325' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='-2.040' x2='-4.625' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='2.040' x2='-9.325' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='3.040' x2='-4.625' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='-3.040' x2='-9.325' y2='-3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='2.040' x2='-9.325' y2='2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.625' y1='-5.000' x2='5.625' y2='-5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='-5.000' x2='5.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='5.000' x2='4.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-10.200' y='-5.650' width='16.650' height='11.300' fill='none' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='-2.775' 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='-3.200' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='2.775' 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.650' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='-2.775' 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.650' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='2.775' 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='Vin' x='-9.950' y='-3.090' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='-2.540' font-size='0.660' 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='Output' x='-3.200' y='-5.400' width='9.400' height='10.800' rx='2.350' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.500' 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'>2</text><rect class='ly-copper pad' data-num='3' data-name='GND' x='-9.950' y='1.990' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='2.540' font-size='0.660' 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='-10.600 -6.050 17.450 12.100' style='width:100%;height:100%'><line class='ly-silk' x1='-4.825' y1='-5.200' x2='-4.825' y2='-3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-4.825' y1='5.200' x2='-4.825' y2='3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='-5.200' x2='-4.825' y2='-5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='5.200' x2='-4.825' y2='5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='-9.325' y1='-3.040' x2='-9.325' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='-2.040' x2='-4.625' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='2.040' x2='-9.325' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='3.040' x2='-4.625' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='-3.040' x2='-9.325' y2='-3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='2.040' x2='-9.325' y2='2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.625' y1='-5.000' x2='5.625' y2='-5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='-5.000' x2='5.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='5.000' x2='4.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-10.200' y='-5.650' width='16.650' height='11.300' fill='none' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='-2.775' 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='-3.200' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='2.775' 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.650' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='-2.775' 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.650' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='2.775' 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='Vin' x='-9.950' y='-3.090' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='-2.540' font-size='0.660' 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='Output' x='-3.200' y='-5.400' width='9.400' height='10.800' rx='2.350' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.500' 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'>2</text><rect class='ly-copper pad' data-num='3' data-name='GND' x='-9.950' y='1.990' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='2.540' font-size='0.660' 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='-7.650,-4.210 -7.990,-4.680 -7.310,-4.680' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/TD1501S50", PINS=[{"desc":"","name":"Vin","number":"1","type":""},{"desc":"","name":"Output","number":"2","type":""},{"desc":"","name":"GND","number":"3","type":""},{"desc":"","name":"ON/OFF","number":"5","type":""},{"desc":"","name":"FB","number":"4","type":""}];