← Commit history

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

Ray ·ccd9cb5cb2 ·2mo ago ·parent a519a97
4 files changed +110−47
78d05.kicad_mod+40−7
@@ -1,4 +1,4 @@-(footprint "TO-252-2"+(footprint "TO-252-3_TabPin4" 	(version 20260206) 	(generator "kicad-footprint-generator") 	(layer "F.Cu")@@ -14,7 +14,7 @@ 			) 		) 	)-	(property "Value" "TO-252-2"+	(property "Value" "TO-252-3_TabPin4" 		(at 0 4.5 0) 		(layer "F.Fab") 		(effects@@ -114,6 +114,24 @@ 		) 		(layer "F.Fab") 	)+	(fp_line+		(start -5.81 -0.375)+		(end -5.81 0.375)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start -5.81 0.375)+		(end -3.11 0.375)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	) 	(fp_line 		(start -5.81 1.905) 		(end -5.81 2.655)@@ -132,6 +150,15 @@ 		) 		(layer "F.Fab") 	)+	(fp_line+		(start -3.11 -0.375)+		(end -5.81 -0.375)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	) 	(fp_line 		(start -3.11 1.905) 		(end -5.81 1.905)@@ -233,10 +260,10 @@ 		(roundrect_rratio 0.208333) 	) 	(pad "2" smd roundrect-		(at 1.26 0)-		(size 6.4 5.8)-		(layers "F.Cu" "F.Mask")-		(roundrect_rratio 0.043103)+		(at -5.04 0)+		(size 2.2 1.2)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.208333) 	) 	(pad "3" smd roundrect 		(at -5.04 2.28)@@ -244,8 +271,14 @@ 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.208333) 	)+	(pad "4" smd roundrect+		(at 1.26 0)+		(size 6.4 5.8)+		(layers "F.Cu" "F.Mask")+		(roundrect_rratio 0.043103)+	) 	(embedded_fonts no)-	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/TO-252-2.step"+	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/TO-252-3_TabPin4.step" 		(offset 			(xyz 0 0 0) 		)
78d05.lbr+27−21
@@ -50,21 +50,25 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>TO-252-2 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="TO-252-2">-  <description>TO-252-2</description>+<package name="78D05">+  <description>78D05</description>   <smd name="1" x="-5.0400" y="2.2800" dx="2.2000" dy="1.2000" layer="1"/>-  <smd name="2" x="1.2600" y="-0.0000" dx="6.4000" dy="5.8000" layer="1"/>+  <smd name="2" x="-5.0400" y="-0.0000" dx="2.2000" dy="1.2000" layer="1"/>   <smd name="3" x="-5.0400" y="-2.2800" dx="2.2000" dy="1.2000" layer="1"/>+  <smd name="4" x="1.2600" y="-0.0000" dx="6.4000" dy="5.8000" layer="1"/>   <wire x1="-3.3100" y1="3.4500" x2="-3.3100" y2="3.1800" width="0.1200" layer="21"/>   <wire x1="-3.3100" y1="-3.4500" x2="-3.3100" y2="-3.1800" width="0.1200" layer="21"/>   <wire x1="3.1100" y1="3.4500" x2="-3.3100" y2="3.4500" width="0.1200" layer="21"/>   <wire x1="3.1100" y1="-3.4500" x2="-3.3100" y2="-3.4500" width="0.1200" layer="21"/>   <wire x1="-5.8100" y1="2.6550" x2="-5.8100" y2="1.9050" width="0.1000" layer="51"/>   <wire x1="-5.8100" y1="1.9050" x2="-3.1100" y2="1.9050" width="0.1000" layer="51"/>+  <wire x1="-5.8100" y1="0.3750" x2="-5.8100" y2="-0.3750" width="0.1000" layer="51"/>+  <wire x1="-5.8100" y1="-0.3750" x2="-3.1100" y2="-0.3750" width="0.1000" layer="51"/>   <wire x1="-5.8100" y1="-1.9050" x2="-5.8100" y2="-2.6550" width="0.1000" layer="51"/>   <wire x1="-5.8100" y1="-2.6550" x2="-3.1100" y2="-2.6550" width="0.1000" layer="51"/>+  <wire x1="-3.1100" y1="0.3750" x2="-5.8100" y2="0.3750" width="0.1000" layer="51"/>   <wire x1="-3.1100" y1="-1.9050" x2="-5.8100" y2="-1.9050" width="0.1000" layer="51"/>   <wire x1="-2.7050" y1="2.6550" x2="-5.8100" y2="2.6550" width="0.1000" layer="51"/>   <wire x1="3.1100" y1="2.7000" x2="4.1100" y2="2.7000" width="0.1000" layer="51"/>@@ -75,30 +79,32 @@ <!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-5.0400" y="3.1400"/><vertex x="-5.3800" y="3.6100"/><vertex x="-4.7000" y="3.6100"/></polygon></package> </packages> <symbols>-<symbol name="TO-252-2">-  <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="78D05">+  <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="IN" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="GND" x="-17.78" y="-2.54" length="middle" direction="pwr"/>+  <pin name="GND@2" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/>+  <pin name="OUT" x="17.78" y="-2.54" length="middle" direction="out" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="TO-252-2" prefix="U">-  <description>TO-252-2 (symbol synthesized from footprint pads)</description>+<deviceset name="78D05" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="TO-252-2" x="0" y="0"/>+    <gate name="G$1" symbol="78D05" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="TO-252-2">+    <device name="" package="78D05">       <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="IN" pad="1"/>+        <connect gate="G$1" pin="GND" pad="2"/>+        <connect gate="G$1" pin="GND@2" pad="4"/>+        <connect gate="G$1" pin="OUT" pad="3"/>       </connects>       <technologies><technology name=""/></technologies>     </device>
pads.json+42−18
@@ -1,9 +1,9 @@ {  "schema": "adom.pads/1",  "slug": "78d05",- "footprint": "TO-252-2",+ "footprint": "TO-252-3_TabPin4",  "generated_from": {-  "footprint": "TO-252-2@sha256:18c28e5e147d5e9b",+  "footprint": "TO-252-3_TabPin4@sha256:2f658cb7ebcd9a04",   "pins": "page.json:component.pins",   "overrides": null  },@@ -15,17 +15,11 @@   ],   "corner": "top-left",   "source": "silk-marker",-  "derived_from": "TO-252-2@sha256:18c28e5e147d5e9b"+  "derived_from": "TO-252-3_TabPin4@sha256:2f658cb7ebcd9a04"  },- "pad_count": 3,+ "pad_count": 4,  "paste_apertures": 4,- "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": "Unregulated input voltage. Operating input range approximately 7 V to 25 V; absolute maximum 35 V. A 0.33 uF input bypass capacitor is recommended close to the pin.",    "is_pin1": true,    "source": {-    "geometry": "TO-252-2.kicad_mod",+    "geometry": "TO-252-3_TabPin4.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -62,17 +56,18 @@    "kind": "smd",    "shape": "roundrect",    "at": [-    1.26,+    -5.04,     0.0    ],    "rot": 0.0,    "size": [-    6.4,-    5.8+    2.2,+    1.2    ],    "layers": [     "F.Cu",-    "F.Mask"+    "F.Mask",+    "F.Paste"    ],    "thermal": false,    "pin": "2",@@ -81,7 +76,7 @@    "description": "Ground / common return for the regulator. Pin 2 is electrically tied to pin 4 (tab) as the device's GND connection.",    "is_pin1": false,    "source": {-    "geometry": "TO-252-2.kicad_mod",+    "geometry": "TO-252-3_TabPin4.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -111,7 +106,36 @@    "description": "Regulated +5.0 V output (4.75 V to 5.25 V over line/load). Sources up to 1.5 A with internal thermal and short-circuit protection. A 0.1 uF output capacitor is recommended for stability.",    "is_pin1": false,    "source": {-    "geometry": "TO-252-2.kicad_mod",+    "geometry": "TO-252-3_TabPin4.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.26,+    0.0+   ],+   "rot": 0.0,+   "size": [+    6.4,+    5.8+   ],+   "layers": [+    "F.Cu",+    "F.Mask"+   ],+   "thermal": false,+   "pin": "4",+   "name": "GND",+   "type": "power_in",+   "description": "TO-252 heat-sink tab, internally connected to GND (common with pin 2). Provides the primary thermal path to the PCB copper pour.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-252-3_TabPin4.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": "TO-252-2@sha256:18c28e5e147d5e9b",+      "derived_from": "TO-252-3_TabPin4@sha256:2f658cb7ebcd9a04",       "mark": "drawn"     }   },