← Commit history

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

Ray ·fb86adb27f ·1mo ago ·parent 82a7f18
4 files changed +100−74
ams1117-2-5v.kicad_mod+35−35
@@ -1,4 +1,4 @@-(footprint "SOT-223-3_TabPin2"+(footprint "SOT-223" 	(version 20260206) 	(generator "pcbnew") 	(generator_version "10.0")@@ -8,7 +8,7 @@ 	(property "Reference" "REF**" 		(at 0 -4.5 0) 		(layer "F.SilkS")-		(uuid "095b50a5-76ce-476b-aa10-37a37fa441f1")+		(uuid "4497a1e1-94b1-4cba-abfc-02d82a04371f") 		(effects 			(font 				(size 1 1)@@ -16,10 +16,10 @@ 			) 		) 	)-	(property "Value" "SOT-223-3_TabPin2"+	(property "Value" "SOT-223" 		(at 0 4.5 0) 		(layer "F.Fab")-		(uuid "a763838d-1dc3-4eda-bbc0-fbcf1edf1449")+		(uuid "222a057b-4f1f-481e-81c0-82276f6e2fbf") 		(effects 			(font 				(size 1 1)@@ -32,7 +32,7 @@ 		(unlocked yes) 		(layer "F.Fab") 		(hide yes)-		(uuid "0fecb949-4744-4c65-8091-70f595847ba4")+		(uuid "cf35375b-a35a-4ccf-b401-52356d4eb3ab") 		(effects 			(font 				(size 1.27 1.27)@@ -45,7 +45,7 @@ 		(unlocked yes) 		(layer "F.Fab") 		(hide yes)-		(uuid "7dd6192e-e612-428f-816e-6f28697542d5")+		(uuid "e0b857b7-85f4-442e-9375-43b7f0b65024") 		(effects 			(font 				(size 1.27 1.27)@@ -63,7 +63,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "e98ec803-a6f4-4196-9fa0-d9f7619efa9d")+		(uuid "10341b74-de1d-44f8-b919-9dc7b01c77a6") 	) 	(fp_line 		(start -1.85 3.41)@@ -73,7 +73,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "6e43f798-7915-403c-b947-4851bde35045")+		(uuid "9eaaee9c-d787-4c4e-9409-486f5d803253") 	) 	(fp_line 		(start 1.91 -3.41)@@ -83,7 +83,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "ddfc40c4-e33c-493e-b735-24282440d539")+		(uuid "668bbda1-c7e1-4e23-9d62-dd4d052018b0") 	) 	(fp_line 		(start 1.91 3.41)@@ -93,7 +93,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "79366377-6a9f-460a-b0d1-788467590954")+		(uuid "7b7161b8-bc72-4822-9d67-8c4bc120433f") 	) 	(fp_poly 		(pts@@ -105,7 +105,7 @@ 		) 		(fill yes) 		(layer "F.SilkS")-		(uuid "27420593-f422-495a-9e17-88a99bcd8a3d")+		(uuid "818bd365-7a79-40a2-b037-dacc75b8af05") 	) 	(fp_line 		(start -4.4 -3.6)@@ -115,7 +115,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "2d708b29-208a-4760-a2c5-6626e4d03d29")+		(uuid "1e6e1c3c-cf2e-4570-9270-1e4425f802c5") 	) 	(fp_line 		(start -4.4 3.6)@@ -125,7 +125,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "ffe8efb3-9432-4dfe-8e3a-faf2eb064270")+		(uuid "fe006c7f-e9e9-42b8-94e6-7fab62e45a96") 	) 	(fp_line 		(start 4.4 -3.6)@@ -135,7 +135,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "d963e7fb-b321-4298-bcd6-9650f5938938")+		(uuid "18a70f3a-ba6f-445d-a1d1-b2229acce0b4") 	) 	(fp_line 		(start 4.4 3.6)@@ -145,27 +145,27 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "18839f08-10e9-4a73-9312-8be172f09091")+		(uuid "1cb64177-a033-440a-bc55-482358e05d6e") 	) 	(fp_line-		(start -1.85 -2.35)+		(start -1.85 -2.3) 		(end -1.85 3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "659fc817-2286-4dd8-ba60-8e62262ce6cc")+		(uuid "2a9ca989-6b38-468d-a714-75a033988b2c") 	) 	(fp_line-		(start -1.85 -2.35)-		(end -0.85 -3.35)+		(start -1.85 -2.3)+		(end -0.8 -3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "f393364a-2641-4746-ba4c-6509ea1de503")+		(uuid "bcb7341f-c5b7-4cf0-ac84-66c574c5e61c") 	) 	(fp_line 		(start -1.85 3.35)@@ -175,17 +175,17 @@ 			(type solid) 		) 		(layer "F.Fab")-		(uuid "27db54e0-f4a8-4972-bcbc-256787416dcd")+		(uuid "c011dc66-40ad-4f1e-a34f-e251dae0cd31") 	) 	(fp_line-		(start -0.85 -3.35)+		(start -0.8 -3.35) 		(end 1.85 -3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "be579ebe-38db-4860-98f0-9f530f704760")+		(uuid "80711826-0dce-449b-af78-388864936159") 	) 	(fp_line 		(start 1.85 -3.35)@@ -195,12 +195,12 @@ 			(type solid) 		) 		(layer "F.Fab")-		(uuid "9d748ff0-f43a-42f3-a9ff-3a463972b1ca")+		(uuid "a66ee799-671f-4902-ac92-f94d39f82acf") 	) 	(fp_text user "${REFERENCE}" 		(at 0 0 90) 		(layer "F.Fab")-		(uuid "aff1cd04-29c5-47f0-8349-1badf43ec67b")+		(uuid "184c46b5-a004-48e0-8f63-d7d63dc324be") 		(effects 			(font 				(size 0.8 0.8)@@ -213,28 +213,28 @@ 		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "6c38c733-73aa-46ef-9aa8-0adc47a79448")+		(uuid "ea891fee-0855-44cc-8da9-0c7b9e3b1505") 	) 	(pad "2" smd roundrect 		(at -3.15 0) 		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "553b4aa3-b4fc-45ee-9bbe-5eb8183ee7d8")-	)-	(pad "2" smd roundrect-		(at 3.15 0)-		(size 2 3.8)-		(layers "F.Cu" "F.Mask" "F.Paste")-		(roundrect_rratio 0.25)-		(uuid "118e82e2-9099-4e46-a269-1e2cb8448d5e")+		(uuid "2adbaf0f-7617-4618-9438-78a8bd4ec4b2") 	) 	(pad "3" smd roundrect 		(at -3.15 2.3) 		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "5046df04-2b74-45a5-867e-e33a5e51e59c")+		(uuid "1b42a1a5-e735-42f2-b87a-1df5a461081d")+	)+	(pad "4" smd roundrect+		(at 3.15 0)+		(size 2 3.8)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+		(uuid "023f2cc5-97fb-4421-8e37-e8aa385789b4") 	) 	(embedded_fonts no) 	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-223.step"
ams1117-2-5v.lbr+26−24
@@ -50,52 +50,54 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>SOT-223-3_TabPin2 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="SOT-223-3_TabPin2">-  <description>SOT-223-3_TabPin2</description>+<package name="AMS1117-2.5V">+  <description>AMS1117-2.5V</description>   <smd name="1" x="-3.1500" y="2.3000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="2" x="-3.1500" y="-0.0000" dx="2.0000" dy="1.5000" layer="1"/>-  <smd name="2@2" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>   <smd name="3" x="-3.1500" y="-2.3000" dx="2.0000" dy="1.5000" layer="1"/>+  <smd name="4" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>   <wire x1="-1.8500" y1="3.4100" x2="1.9100" y2="3.4100" width="0.1200" layer="21"/>   <wire x1="-1.8500" y1="-3.4100" x2="1.9100" y2="-3.4100" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="3.4100" x2="1.9100" y2="2.1500" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="-3.4100" x2="1.9100" y2="-2.1500" width="0.1200" layer="21"/>-  <wire x1="-1.8500" y1="2.3500" x2="-1.8500" y2="-3.3500" width="0.1000" layer="51"/>-  <wire x1="-1.8500" y1="2.3500" x2="-0.8500" y2="3.3500" width="0.1000" layer="51"/>+  <wire x1="-1.8500" y1="2.3000" x2="-1.8500" y2="-3.3500" width="0.1000" layer="51"/>+  <wire x1="-1.8500" y1="2.3000" x2="-0.8000" y2="3.3500" width="0.1000" layer="51"/>   <wire x1="-1.8500" y1="-3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>-  <wire x1="-0.8500" y1="3.3500" x2="1.8500" y2="3.3500" width="0.1000" layer="51"/>+  <wire x1="-0.8000" y1="3.3500" x2="1.8500" y2="3.3500" width="0.1000" layer="51"/>   <wire x1="1.8500" y1="3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>   <text x="0" y="4.010" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.010" size="1.27" layer="27" align="top-center">&gt;VALUE</text> <!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.1300" y="3.3100"/><vertex x="-3.3700" y="3.6400"/><vertex x="-2.8900" y="3.6400"/><vertex x="-3.1300" y="3.3100"/></polygon></package> </packages> <symbols>-<symbol name="SOT-223-3_TabPin2">-  <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="AMS1117-2.5V">+  <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"/>+  <text x="0" y="5.08" 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="GND" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="VOUT" x="-17.78" y="-2.54" length="middle" direction="out"/>+  <pin name="VOUT@2" x="17.78" y="0" length="middle" direction="out" rot="R180"/>+  <pin name="VIN" x="17.78" y="-2.54" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="SOT-223-3_TabPin2" prefix="U">-  <description>SOT-223-3_TabPin2 (symbol synthesized from footprint pads)</description>+<deviceset name="AMS1117-2.5V" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="SOT-223-3_TabPin2" x="0" y="0"/>+    <gate name="G$1" symbol="AMS1117-2.5V" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="SOT-223-3_TabPin2">+    <device name="" package="AMS1117-2.5V">       <connects>-        <connect gate="G$1" pin="1" pad="1"/>-        <connect gate="G$1" pin="2" pad="2 2@2"/>-        <connect gate="G$1" pin="3" pad="3"/>+        <connect gate="G$1" pin="GND" pad="1"/>+        <connect gate="G$1" pin="VOUT" pad="2"/>+        <connect gate="G$1" pin="VOUT@2" pad="4"/>+        <connect gate="G$1" pin="VIN" pad="3"/>       </connects>       <technologies><technology name=""/></technologies>     </device>
pads.json+38−14
@@ -1,9 +1,9 @@ {  "schema": "adom.pads/1",  "slug": "ams1117-2-5v",- "footprint": "SOT-223-3_TabPin2",+ "footprint": "SOT-223",  "generated_from": {-  "footprint": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a",+  "footprint": "SOT-223@sha256:49f22605ecc1fc70",   "pins": "page.json:component.pins",   "overrides": null  },@@ -15,17 +15,11 @@   ],   "corner": "top-left",   "source": "silk-marker",-  "derived_from": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a"+  "derived_from": "SOT-223@sha256:49f22605ecc1fc70"  },- "pad_count": 3,+ "pad_count": 4,  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-has-no-pad",-   "pin": "4",-   "detail": "page.json declares pin \"4\" but the footprint has no such pad"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -52,7 +46,7 @@    "description": "Ground / VSS reference pin. On the fixed 2.5 V version this pin is the device ground return (the datasheet labels the pin 'VSS/ADJ' because the same silicon is used for the adjustable variant, where it becomes the ADJ feedback input).",    "is_pin1": true,    "source": {-    "geometry": "SOT-223-3_TabPin2.kicad_mod",+    "geometry": "SOT-223.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -82,7 +76,7 @@    "description": "Regulated 2.5 V output (typ. 2.5 V, min 2.45 V, max 2.55 V at Vin=3.8 V, 0 ≤ Iout ≤ 1 A). Requires a ~10 uF tantalum output capacitor for stability.",    "is_pin1": false,    "source": {-    "geometry": "SOT-223-3_TabPin2.kicad_mod",+    "geometry": "SOT-223.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -112,7 +106,37 @@    "description": "Unregulated input voltage. For the 2.5 V variant, Vin must be ≥ 3.8 V for full regulation (dropout ~1.3 V @ 1 A). Absolute maximum input voltage is 18 V; recommended maximum operating input is 15 V. Requires a ~10 uF tantalum bypass capacitor.",    "is_pin1": false,    "source": {-    "geometry": "SOT-223-3_TabPin2.kicad_mod",+    "geometry": "SOT-223.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    3.15,+    0.0+   ],+   "rot": 0.0,+   "size": [+    2.0,+    3.8+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated 2.5 V output; electrically connected to pin 2. This is the large tab pad on the SOT-223 package and also serves as the primary thermal path to the PCB copper pour.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-223.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }
page.json+1−1
@@ -81,7 +81,7 @@       ],       "corner": "top-left",       "source": "silk-marker",-      "derived_from": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a",+      "derived_from": "SOT-223@sha256:49f22605ecc1fc70",       "mark": "drawn"     }   },