← Commit history

fix footprint: SOT-23 -> SOT-23-5 (symbol has pins 1,2,3,4,5; the old footprint left pad(s) with no net)

Ray ·11ec39e254 ·1mo ago ·parent 04c734e
4 files changed +194−127
ap2210n-5-0trg1.kicad_mod+76−64
@@ -1,8 +1,8 @@-(footprint "SOT-23"+(footprint "SOT-23-5" 	(version 20260206) 	(generator "kicad-footprint-generator") 	(layer "F.Cu")-	(descr "SOT, 3 Pin (JEDEC TO-236 Var AB https://www.jedec.org/document_search?search_api_views_fulltext=TO-236)")+	(descr "SOT, 5 Pin (JEDEC MO-178 Var AA https://www.jedec.org/document_search?search_api_views_fulltext=MO-178)") 	(tags "SOT TO_SOT_SMD") 	(property "Reference" "REF**" 		(at 0 -2.4 0)@@ -14,7 +14,7 @@ 			) 		) 	)-	(property "Value" "SOT-23"+	(property "Value" "SOT-23-5" 		(at 0 2.4 0) 		(layer "F.Fab") 		(effects@@ -38,8 +38,8 @@ 	(attr smd) 	(duplicate_pad_numbers_are_jumpers no) 	(fp_line-		(start -0.76 -1.56)-		(end 0.76 -1.56)+		(start -0.91 -1.56)+		(end 0.91 -1.56) 		(stroke 			(width 0.12) 			(type solid)@@ -47,8 +47,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -0.76 -1.51)-		(end -0.76 -1.56)+		(start -0.91 -1.51)+		(end -0.91 -1.56) 		(stroke 			(width 0.12) 			(type solid)@@ -56,8 +56,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -0.76 0.39)-		(end -0.76 -0.39)+		(start -0.91 1.56)+		(end -0.91 1.51) 		(stroke 			(width 0.12) 			(type solid)@@ -65,8 +65,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -0.76 1.56)-		(end -0.76 1.51)+		(start 0.91 -1.56)+		(end 0.91 -1.51) 		(stroke 			(width 0.12) 			(type solid)@@ -74,8 +74,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start 0.76 -1.56)-		(end 0.76 -0.56)+		(start 0.91 -0.39)+		(end 0.91 0.39) 		(stroke 			(width 0.12) 			(type solid)@@ -83,8 +83,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start 0.76 0.56)-		(end 0.76 1.56)+		(start 0.91 1.51)+		(end 0.91 1.56) 		(stroke 			(width 0.12) 			(type solid)@@ -92,8 +92,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start 0.76 1.56)-		(end -0.76 1.56)+		(start 0.91 1.56)+		(end -0.91 1.56) 		(stroke 			(width 0.12) 			(type solid)@@ -102,9 +102,9 @@ 	) 	(fp_poly 		(pts-			(xy -1.3 -0.38)-			(xy -1.06 -0.05)-			(xy -1.54 -0.05)+			(xy -1.45 -1.51)+			(xy -1.69 -1.84)+			(xy -1.21 -1.84) 		) 		(stroke 			(width 0.12)@@ -114,8 +114,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -1.93 -1.5)-		(end -0.9 -1.5)+		(start -2.05 -1.5)+		(end -1.05 -1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -123,8 +123,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -1.93 -0.39)-		(end -1.93 -1.5)+		(start -2.05 1.5)+		(end -2.05 -1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -132,8 +132,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -1.93 0.39)-		(end -0.9 0.39)+		(start -1.05 -1.7)+		(end 1.05 -1.7) 		(stroke 			(width 0.05) 			(type solid)@@ -141,8 +141,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -1.93 1.5)-		(end -1.93 0.39)+		(start -1.05 -1.5)+		(end -1.05 -1.7) 		(stroke 			(width 0.05) 			(type solid)@@ -150,8 +150,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 -1.7)-		(end 0.9 -1.7)+		(start -1.05 1.5)+		(end -2.05 1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -159,8 +159,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 -1.5)-		(end -0.9 -1.7)+		(start -1.05 1.7)+		(end -1.05 1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -168,8 +168,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 -0.39)-		(end -1.93 -0.39)+		(start 1.05 -1.7)+		(end 1.05 -1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -177,8 +177,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 0.39)-		(end -0.9 -0.39)+		(start 1.05 -1.5)+		(end 2.05 -1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -186,8 +186,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 1.5)-		(end -1.93 1.5)+		(start 1.05 -0.39)+		(end 1.05 0.39) 		(stroke 			(width 0.05) 			(type solid)@@ -195,8 +195,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -0.9 1.7)-		(end -0.9 1.5)+		(start 1.05 0.39)+		(end 2.05 0.39) 		(stroke 			(width 0.05) 			(type solid)@@ -204,8 +204,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 0.9 -1.7)-		(end 0.9 -0.55)+		(start 1.05 1.5)+		(end 1.05 1.7) 		(stroke 			(width 0.05) 			(type solid)@@ -213,8 +213,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 0.9 -0.55)-		(end 1.93 -0.55)+		(start 1.05 1.7)+		(end -1.05 1.7) 		(stroke 			(width 0.05) 			(type solid)@@ -222,8 +222,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 0.9 0.55)-		(end 0.9 1.7)+		(start 2.05 -1.5)+		(end 2.05 -0.39) 		(stroke 			(width 0.05) 			(type solid)@@ -231,8 +231,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 0.9 1.7)-		(end -0.9 1.7)+		(start 2.05 -0.39)+		(end 1.05 -0.39) 		(stroke 			(width 0.05) 			(type solid)@@ -240,8 +240,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 1.93 -0.55)-		(end 1.93 0.55)+		(start 2.05 0.39)+		(end 2.05 1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -249,8 +249,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 1.93 0.55)-		(end 0.9 0.55)+		(start 2.05 1.5)+		(end 1.05 1.5) 		(stroke 			(width 0.05) 			(type solid)@@ -259,11 +259,11 @@ 	) 	(fp_poly 		(pts-			(xy -0.325 -1.45)-			(xy 0.65 -1.45)-			(xy 0.65 1.45)-			(xy -0.65 1.45)-			(xy -0.65 -1.125)+			(xy -0.4 -1.45)+			(xy 0.8 -1.45)+			(xy 0.8 1.45)+			(xy -0.8 1.45)+			(xy -0.8 -1.05) 		) 		(stroke 			(width 0.1)@@ -283,25 +283,37 @@ 		) 	) 	(pad "1" smd roundrect-		(at -0.9375 -0.95)-		(size 1.475 0.6)+		(at -1.1375 -0.95)+		(size 1.325 0.6) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25) 	) 	(pad "2" smd roundrect-		(at -0.9375 0.95)-		(size 1.475 0.6)+		(at -1.1375 0)+		(size 1.325 0.6) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25) 	) 	(pad "3" smd roundrect-		(at 0.9375 0)-		(size 1.475 0.6)+		(at -1.1375 0.95)+		(size 1.325 0.6)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+	)+	(pad "4" smd roundrect+		(at 1.1375 0.95)+		(size 1.325 0.6)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+	)+	(pad "5" smd roundrect+		(at 1.1375 -0.95)+		(size 1.325 0.6) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25) 	) 	(embedded_fonts no)-	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23.step"+	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-5.step" 		(offset 			(xyz 0 0 0) 		)
ap2210n-5-0trg1.lbr+39−33
@@ -50,49 +50,55 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>SOT-23 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="SOT-23">-  <description>SOT-23</description>-  <smd name="1" x="-0.9375" y="0.9500" dx="1.4750" dy="0.6000" layer="1"/>-  <smd name="2" x="-0.9375" y="-0.9500" dx="1.4750" dy="0.6000" layer="1"/>-  <smd name="3" x="0.9375" y="-0.0000" dx="1.4750" dy="0.6000" layer="1"/>-  <wire x1="-0.7600" y1="1.5600" x2="0.7600" y2="1.5600" width="0.1200" layer="21"/>-  <wire x1="-0.7600" y1="1.5100" x2="-0.7600" y2="1.5600" width="0.1200" layer="21"/>-  <wire x1="-0.7600" y1="-0.3900" x2="-0.7600" y2="0.3900" width="0.1200" layer="21"/>-  <wire x1="-0.7600" y1="-1.5600" x2="-0.7600" y2="-1.5100" width="0.1200" layer="21"/>-  <wire x1="0.7600" y1="1.5600" x2="0.7600" y2="0.5600" width="0.1200" layer="21"/>-  <wire x1="0.7600" y1="-0.5600" x2="0.7600" y2="-1.5600" width="0.1200" layer="21"/>-  <wire x1="0.7600" y1="-1.5600" x2="-0.7600" y2="-1.5600" width="0.1200" layer="21"/>-  <text x="0" y="2.288" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-2.288" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.3000" y="0.3800"/><vertex x="-1.0600" y="0.0500"/><vertex x="-1.5400" y="0.0500"/></polygon></package>+<package name="AP2210N-5.0TRG1">+  <description>AP2210N-5.0TRG1</description>+  <smd name="1" x="-1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <smd name="2" x="-1.1375" y="-0.0000" dx="1.3250" dy="0.6000" layer="1"/>+  <smd name="3" x="-1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <smd name="4" x="1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <smd name="5" x="1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <wire x1="-0.9100" y1="1.5600" x2="0.9100" y2="1.5600" width="0.1200" layer="21"/>+  <wire x1="-0.9100" y1="1.5100" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>+  <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5100" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="1.5600" x2="0.9100" y2="1.5100" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="0.3900" x2="0.9100" y2="-0.3900" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="-1.5100" x2="0.9100" y2="-1.5600" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5600" width="0.1200" layer="21"/>+  <text x="0" y="2.212" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>+  <text x="0" y="-2.212" size="1.27" layer="27" align="top-center">&gt;VALUE</text>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.4500" y="1.5100"/><vertex x="-1.6900" y="1.8400"/><vertex x="-1.2100" y="1.8400"/></polygon></package> </packages> <symbols>-<symbol name="SOT-23">-  <wire x1="-7.62" y1="3.81" x2="7.62" y2="3.81" width="0.254" layer="94"/>-  <wire x1="7.62" y1="3.81" x2="7.62" y2="-3.81" width="0.254" layer="94"/>-  <wire x1="7.62" y1="-3.81" x2="-7.62" y2="-3.81" width="0.254" layer="94"/>-  <wire x1="-7.62" y1="-3.81" x2="-7.62" y2="3.81" width="0.254" layer="94"/>-  <text x="0" y="6.35" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-6.35" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="1" x="-12.7" y="2.54" length="short" direction="pas"/>-  <pin name="2" x="-12.7" y="0" length="short" direction="pas"/>-  <pin name="3" x="12.7" y="2.54" length="short" direction="pas" rot="R180"/>+<symbol name="AP2210N-5.0TRG1">+  <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" y="7.62" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>+  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <pin name="VIN" x="-17.78" y="2.54" length="middle" direction="pwr"/>+  <pin name="GND" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="EN" x="-17.78" y="-2.54" length="middle" direction="in"/>+  <pin name="VOUT" x="17.78" y="0" length="middle" direction="out" rot="R180"/>+  <pin name="BYP" x="17.78" y="-2.54" length="middle" direction="pas" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="SOT-23" prefix="U">-  <description>SOT-23 (symbol synthesized from footprint pads)</description>+<deviceset name="AP2210N-5.0TRG1" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="SOT-23" x="0" y="0"/>+    <gate name="G$1" symbol="AP2210N-5.0TRG1" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="SOT-23">+    <device name="" package="AP2210N-5.0TRG1">       <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="VIN" pad="1"/>+        <connect gate="G$1" pin="GND" pad="2"/>+        <connect gate="G$1" pin="EN" pad="3"/>+        <connect gate="G$1" pin="VOUT" pad="5"/>+        <connect gate="G$1" pin="BYP" pad="4"/>       </connects>       <technologies><technology name=""/></technologies>     </device>
pads.json+77−28
@@ -1,48 +1,37 @@ {  "schema": "adom.pads/1",  "slug": "ap2210n-5-0trg1",- "footprint": "SOT-23",+ "footprint": "SOT-23-5",  "generated_from": {-  "footprint": "SOT-23@sha256:0d88c86c1b6d8c1a",+  "footprint": "SOT-23-5@sha256:455a3f7c3e5eb5b8",   "pins": "page.json:component.pins",   "overrides": null  },  "pin1": {   "pad": "1",   "at": [-   -0.9375,+   -1.1375,    -0.95   ],   "corner": "top-left",   "source": "silk-marker",-  "derived_from": "SOT-23@sha256:0d88c86c1b6d8c1a"+  "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8"  },- "pad_count": 3,+ "pad_count": 5,  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-has-no-pad",-   "pin": "4",-   "detail": "page.json declares pin \"4\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "5",-   "detail": "page.json declares pin \"5\" but the footprint has no such pad"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",    "kind": "smd",    "shape": "roundrect",    "at": [-    -0.9375,+    -1.1375,     -0.95    ],    "rot": 0.0,    "size": [-    1.475,+    1.325,     0.6    ],    "layers": [@@ -57,7 +46,7 @@    "description": "Supply input voltage. Recommended operating range 2.5V to 13.2V (abs max 15V). Bypass to GND with a 1.0µF ceramic capacitor close to the pin.",    "is_pin1": true,    "source": {-    "geometry": "SOT-23.kicad_mod",+    "geometry": "SOT-23-5.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -67,12 +56,12 @@    "kind": "smd",    "shape": "roundrect",    "at": [-    -0.9375,-    0.95+    -1.1375,+    0.0    ],    "rot": 0.0,    "size": [-    1.475,+    1.325,     0.6    ],    "layers": [@@ -87,7 +76,7 @@    "description": "Device ground reference. Return path for both quiescent (ground pin current, typ 100µA at IOUT=100µA) and load current return through the input/output capacitors.",    "is_pin1": false,    "source": {-    "geometry": "SOT-23.kicad_mod",+    "geometry": "SOT-23-5.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -97,12 +86,12 @@    "kind": "smd",    "shape": "roundrect",    "at": [-    0.9375,-    0.0+    -1.1375,+    0.95    ],    "rot": 0.0,    "size": [-    1.475,+    1.325,     0.6    ],    "layers": [@@ -117,7 +106,67 @@    "description": "Enable input, CMOS/TTL compatible. Logic high (VIH ≥ 2.0V) enables the regulator; logic low (VIL ≤ 0.4V, shutdown at ≤0.18V) forces shutdown (ISTD ≤ 1µA). Abs max VEN = 15V.",    "is_pin1": false,    "source": {-    "geometry": "SOT-23.kicad_mod",+    "geometry": "SOT-23-5.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.1375,+    0.95+   ],+   "rot": 0.0,+   "size": [+    1.325,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "BYP",+   "type": "passive",+   "description": "Bypass pin for low-noise operation on the fixed-output (5.0V) version. Connect a ~100pF ceramic capacitor from BYP to GND to reduce reference noise. On the ADJ variant this pin is the feedback ADJ input instead; on this fixed 5.0V part it is the BYP node.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23-5.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.1375,+    -0.95+   ],+   "rot": 0.0,+   "size": [+    1.325,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated 5.0V output, up to 300mA. Requires a 2.2µF ceramic output capacitor to GND for stability. Line/load regulation typ 1.5mV/1mV; dropout typ 250mV at 300mA.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23-5.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }
page.json+2−2
@@ -82,12 +82,12 @@     "pin1": {       "pad": "1",       "at": [-        -0.9375,+        -1.1375,         -0.95       ],       "corner": "top-left",       "source": "silk-marker",-      "derived_from": "SOT-23@sha256:0d88c86c1b6d8c1a",+      "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8",       "mark": "drawn"     }   },