← Commit history

sm05l: symbol repaired (body fitted to the names)

Ray ·5eac577fcd ·3h ago ·parent c668411
3 files changed +24−15
sm05l.kicad_sym+4−4
@@ -4,19 +4,19 @@     (property "Value" "SM05L" (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 "SM05L_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -5.08)+    (rectangle (start -15.24 2.54) (end 15.24 -5.08)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "SM05L_1_1"-    (pin passive line (at -17.78 0.00 0) (length 5.08)+    (pin passive line (at -20.32 0.00 0) (length 5.08)       (name "CATHODE 1" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin passive line (at -17.78 -2.54 0) (length 5.08)+    (pin passive line (at -20.32 -2.54 0) (length 5.08)       (name "CATHODE 2" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin passive line (at 17.78 0.00 180) (length 5.08)+    (pin passive line (at 20.32 0.00 180) (length 5.08)       (name "COMMON ANODE" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )
sm05l.lbr+19−10
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Wild Goose ESD And Surge Protection (TVS/ESD), SOT-23. Pinout cross-checked by two models against the datasheet</description> <packages> <package name="SOT-23">   <description>3 pads, 3.4 x 2.5 mm. SOT, 3 Pin</description>@@ -82,20 +82,21 @@ </packages> <symbols> <symbol name="SM05L">-  <wire x1="-12.7" y1="2.54" x2="12.7" y2="2.54" width="0.254" layer="94"/>-  <wire x1="12.7" y1="2.54" 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="2.54" width="0.254" layer="94"/>+  <description>Wild Goose ESD And Surge Protection (TVS/ESD), SOT-23. Pinout cross-checked by two models against the datasheet</description>+  <wire x1="-15.24" y1="2.54" x2="15.24" y2="2.54" width="0.254" layer="94"/>+  <wire x1="15.24" y1="2.54" x2="15.24" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="15.24" y1="-5.08" x2="-15.24" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="-15.24" y1="-5.08" x2="-15.24" y2="2.54" width="0.254" layer="94"/>   <text x="0.0000" y="5.0800" size="1.27" layer="95" align="center">&gt;NAME</text>   <text x="0.0000" y="-7.6200" size="1.27" layer="96" align="center">&gt;VALUE</text>-  <pin name="CATHODE_1" x="-17.78" y="0" length="middle" direction="pas"/>-  <pin name="CATHODE_2" x="-17.78" y="-2.54" length="middle" direction="pas"/>-  <pin name="COMMON_ANODE" x="17.78" y="0" length="middle" direction="pas" rot="R180"/>+  <pin name="CATHODE_1" x="-20.32" y="0" length="middle" direction="pas"/>+  <pin name="CATHODE_2" x="-20.32" y="-2.54" length="middle" direction="pas"/>+  <pin name="COMMON_ANODE" x="20.32" y="0" length="middle" direction="pas" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="SM05L" prefix="U">-  <description></description>+  <description>Wild Goose ESD And Surge Protection (TVS/ESD), SOT-23. Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="SM05L" x="0" y="0"/>   </gates>@@ -106,7 +107,15 @@         <connect gate="G$1" pin="CATHODE_2" pad="2"/>         <connect gate="G$1" pin="COMMON_ANODE" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="SM05L" constant="no"/>+          <attribute name="MANUFACTURER" value="Wild Goose" constant="no"/>+          <attribute name="DATASHEET" value="https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590917075286376448" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/sm05l" constant="no"/>+          <attribute name="LCSC_PN" value="C22368667" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
viewers/symbol.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>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -200 1500 400' style='width:100%;height:100%'><rect x='-500.0' y='-150.0' width='1000.0' height='300.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='CATHODE 1'><line class='pinvis' x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CATHODE 1</text><g class='pingroup' data-num='2' data-name='CATHODE 2'><line class='pinvis' x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CATHODE 2</text><g class='pingroup' data-num='3' data-name='COMMON ANODE'><line class='pinvis' x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>COMMON ANODE</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-850 -200 1700 400' style='width:100%;height:100%'><rect x='-600.0' y='-150.0' width='1200.0' height='300.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='CATHODE 1'><line class='pinvis' x1='-800.0' y1='-50.0' x2='-600.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-800.0' y1='-50.0' x2='-600.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-700.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-570.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CATHODE 1</text><g class='pingroup' data-num='2' data-name='CATHODE 2'><line class='pinvis' x1='-800.0' y1='50.0' x2='-600.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-800.0' y1='50.0' x2='-600.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-700.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-570.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CATHODE 2</text><g class='pingroup' data-num='3' data-name='COMMON ANODE'><line class='pinvis' x1='800.0' y1='-50.0' x2='600.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='800.0' y1='-50.0' x2='600.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='700.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='570.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>COMMON ANODE</text></svg></div> <div id=tip></div> <script> var KIND="symbol", MPN="ADOM/SM05L", PINS=[{"desc":"","name":"CATHODE 1","number":"1","type":""},{"desc":"","name":"CATHODE 2","number":"2","type":""},{"desc":"","name":"COMMON ANODE","number":"3","type":""}];