← Commit history

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

Ray ·3f4a9e253f ·2mo ago ·parent 78adee2
4 files changed +213−158
ad24c02.kicad_mod+55−82
@@ -1,8 +1,8 @@-(footprint "SOT-23-5"+(footprint "SOT-23-8" 	(version 20260206) 	(generator "kicad-footprint-generator") 	(layer "F.Cu")-	(descr "SOT, 5 Pin (JEDEC MO-178 Var AA https://www.jedec.org/document_search?search_api_views_fulltext=MO-178)")+	(descr "SOT, 8 Pin (JEDEC MO-178 Var BA 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-5"+	(property "Value" "SOT-23-8" 		(at 0 2.4 0) 		(layer "F.Fab") 		(effects@@ -47,7 +47,7 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -0.91 -1.51)+		(start -0.91 -1.485) 		(end -0.91 -1.56) 		(stroke 			(width 0.12)@@ -57,7 +57,7 @@ 	) 	(fp_line 		(start -0.91 1.56)-		(end -0.91 1.51)+		(end -0.91 1.485) 		(stroke 			(width 0.12) 			(type solid)@@ -66,7 +66,7 @@ 	) 	(fp_line 		(start 0.91 -1.56)-		(end 0.91 -1.51)+		(end 0.91 -1.485) 		(stroke 			(width 0.12) 			(type solid)@@ -74,16 +74,7 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start 0.91 -0.39)-		(end 0.91 0.39)-		(stroke-			(width 0.12)-			(type solid)-		)-		(layer "F.SilkS")-	)-	(fp_line-		(start 0.91 1.51)+		(start 0.91 1.485) 		(end 0.91 1.56) 		(stroke 			(width 0.12)@@ -102,9 +93,9 @@ 	) 	(fp_poly 		(pts-			(xy -1.45 -1.51)-			(xy -1.69 -1.84)-			(xy -1.21 -1.84)+			(xy -1.45 -1.49)+			(xy -1.69 -1.82)+			(xy -1.21 -1.82) 		) 		(stroke 			(width 0.12)@@ -114,8 +105,8 @@ 		(layer "F.SilkS") 	) 	(fp_line-		(start -2.05 -1.5)-		(end -1.05 -1.5)+		(start -2.05 -1.48)+		(end -1.05 -1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -123,8 +114,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -2.05 1.5)-		(end -2.05 -1.5)+		(start -2.05 1.48)+		(end -2.05 -1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -141,7 +132,7 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -1.05 -1.5)+		(start -1.05 -1.48) 		(end -1.05 -1.7) 		(stroke 			(width 0.05)@@ -150,8 +141,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start -1.05 1.5)-		(end -2.05 1.5)+		(start -1.05 1.48)+		(end -2.05 1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -160,7 +151,7 @@ 	) 	(fp_line 		(start -1.05 1.7)-		(end -1.05 1.5)+		(end -1.05 1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -169,16 +160,7 @@ 	) 	(fp_line 		(start 1.05 -1.7)-		(end 1.05 -1.5)-		(stroke-			(width 0.05)-			(type solid)-		)-		(layer "F.CrtYd")-	)-	(fp_line-		(start 1.05 -1.5)-		(end 2.05 -1.5)+		(end 1.05 -1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -186,8 +168,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 1.05 -0.39)-		(end 1.05 0.39)+		(start 1.05 -1.48)+		(end 2.05 -1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -195,16 +177,7 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 1.05 0.39)-		(end 2.05 0.39)-		(stroke-			(width 0.05)-			(type solid)-		)-		(layer "F.CrtYd")-	)-	(fp_line-		(start 1.05 1.5)+		(start 1.05 1.48) 		(end 1.05 1.7) 		(stroke 			(width 0.05)@@ -222,26 +195,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 2.05 -1.5)-		(end 2.05 -0.39)-		(stroke-			(width 0.05)-			(type solid)-		)-		(layer "F.CrtYd")-	)-	(fp_line-		(start 2.05 -0.39)-		(end 1.05 -0.39)-		(stroke-			(width 0.05)-			(type solid)-		)-		(layer "F.CrtYd")-	)-	(fp_line-		(start 2.05 0.39)-		(end 2.05 1.5)+		(start 2.05 -1.48)+		(end 2.05 1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -249,8 +204,8 @@ 		(layer "F.CrtYd") 	) 	(fp_line-		(start 2.05 1.5)-		(end 1.05 1.5)+		(start 2.05 1.48)+		(end 1.05 1.48) 		(stroke 			(width 0.05) 			(type solid)@@ -283,37 +238,55 @@ 		) 	) 	(pad "1" smd roundrect-		(at -1.1375 -0.95)-		(size 1.325 0.6)+		(at -1.1375 -0.975)+		(size 1.325 0.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25) 	) 	(pad "2" smd roundrect-		(at -1.1375 0)-		(size 1.325 0.6)+		(at -1.1375 -0.325)+		(size 1.325 0.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25) 	) 	(pad "3" smd roundrect-		(at -1.1375 0.95)-		(size 1.325 0.6)+		(at -1.1375 0.325)+		(size 1.325 0.5) 		(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)+		(at -1.1375 0.975)+		(size 1.325 0.5) 		(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)+		(at 1.1375 0.975)+		(size 1.325 0.5)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+	)+	(pad "6" smd roundrect+		(at 1.1375 0.325)+		(size 1.325 0.5)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+	)+	(pad "7" smd roundrect+		(at 1.1375 -0.325)+		(size 1.325 0.5)+		(layers "F.Cu" "F.Mask" "F.Paste")+		(roundrect_rratio 0.25)+	)+	(pad "8" smd roundrect+		(at 1.1375 -0.975)+		(size 1.325 0.5) 		(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-5.step"+	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-8.step" 		(offset 			(xyz 0 0 0) 		)
ad24c02.lbr+44−36
@@ -50,55 +50,63 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>SOT-23-5 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="SOT-23-5">-  <description>SOT-23-5</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"/>+<package name="AD24C02">+  <description>AD24C02</description>+  <smd name="1" x="-1.1375" y="0.9750" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="2" x="-1.1375" y="0.3250" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="3" x="-1.1375" y="-0.3250" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="4" x="-1.1375" y="-0.9750" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="5" x="1.1375" y="-0.9750" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="6" x="1.1375" y="-0.3250" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="7" x="1.1375" y="0.3250" dx="1.3250" dy="0.5000" layer="1"/>+  <smd name="8" x="1.1375" y="0.9750" dx="1.3250" dy="0.5000" 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.4850" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>+  <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.4850" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="1.5600" x2="0.9100" y2="1.4850" width="0.1200" layer="21"/>+  <wire x1="0.9100" y1="-1.4850" 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>+  <text x="0" y="2.237" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>+  <text x="0" y="-2.237" 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.4900"/><vertex x="-1.6900" y="1.8200"/><vertex x="-1.2100" y="1.8200"/></polygon></package> </packages> <symbols>-<symbol name="SOT-23-5">-  <wire x1="-7.62" y1="5.08" x2="7.62" y2="5.08" width="0.254" layer="94"/>-  <wire x1="7.62" y1="5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="7.62" y1="-5.08" x2="-7.62" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="-7.62" y1="-5.08" x2="-7.62" y2="5.08" width="0.254" layer="94"/>+<symbol name="AD24C02">+  <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="-7.62" width="0.254" layer="94"/>+  <wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/>+  <wire x1="-12.7" y1="-7.62" 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="1" x="-12.7" y="3.81" length="short" direction="pas"/>-  <pin name="2" x="-12.7" y="1.27" length="short" direction="pas"/>-  <pin name="3" x="-12.7" y="-1.27" length="short" direction="pas"/>-  <pin name="4" x="12.7" y="3.81" length="short" direction="pas" rot="R180"/>-  <pin name="5" x="12.7" y="1.27" length="short" direction="pas" rot="R180"/>+  <text x="0" y="-10.16" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <pin name="A0" x="-17.78" y="2.54" length="middle" direction="in"/>+  <pin name="A1" x="-17.78" y="0" length="middle" direction="in"/>+  <pin name="A2" x="-17.78" y="-2.54" length="middle" direction="in"/>+  <pin name="GND" x="-17.78" y="-5.08" length="middle" direction="pwr"/>+  <pin name="VCC" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>+  <pin name="WP" x="17.78" y="0" length="middle" direction="in" rot="R180"/>+  <pin name="SCL" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>+  <pin name="SDA" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="SOT-23-5" prefix="U">-  <description>SOT-23-5 (symbol synthesized from footprint pads)</description>+<deviceset name="AD24C02" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="SOT-23-5" x="0" y="0"/>+    <gate name="G$1" symbol="AD24C02" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="SOT-23-5">+    <device name="" package="AD24C02">       <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="4" pad="4"/>-        <connect gate="G$1" pin="5" pad="5"/>+        <connect gate="G$1" pin="A0" pad="1"/>+        <connect gate="G$1" pin="A1" pad="2"/>+        <connect gate="G$1" pin="A2" pad="3"/>+        <connect gate="G$1" pin="GND" pad="4"/>+        <connect gate="G$1" pin="VCC" pad="8"/>+        <connect gate="G$1" pin="WP" pad="7"/>+        <connect gate="G$1" pin="SCL" pad="6"/>+        <connect gate="G$1" pin="SDA" pad="5"/>       </connects>       <technologies><technology name=""/></technologies>     </device>
pads.json+112−38
@@ -1,9 +1,9 @@ {  "schema": "adom.pads/1",  "slug": "ad24c02",- "footprint": "SOT-23-5",+ "footprint": "SOT-23-8",  "generated_from": {-  "footprint": "SOT-23-5@sha256:455a3f7c3e5eb5b8",+  "footprint": "SOT-23-8@sha256:275a1c87693f8053",   "pins": "page.json:component.pins",   "overrides": null  },@@ -11,31 +11,15 @@   "pad": "1",   "at": [    -1.1375,-   -0.95+   -0.975   ],   "corner": "top-left",   "source": "silk-marker",-  "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8"+  "derived_from": "SOT-23-8@sha256:275a1c87693f8053"  },- "pad_count": 5,+ "pad_count": 8,  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-has-no-pad",-   "pin": "6",-   "detail": "page.json declares pin \"6\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "7",-   "detail": "page.json declares pin \"7\" but the footprint has no such pad"-  },-  {-   "kind": "pin-has-no-pad",-   "pin": "8",-   "detail": "page.json declares pin \"8\" but the footprint has no such pad"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -43,12 +27,12 @@    "shape": "roundrect",    "at": [     -1.1375,-    -0.95+    -0.975    ],    "rot": 0.0,    "size": [     1.325,-    0.6+    0.5    ],    "layers": [     "F.Cu",@@ -62,7 +46,7 @@    "description": "Device address input bit 0. Tied high or low to set bit1 of the 7-bit I2C slave address (device address high nibble is fixed 1010, followed by A2/A1/A0). Allows up to 8 AD24C02 devices on the same I2C bus.",    "is_pin1": true,    "source": {-    "geometry": "SOT-23-5.kicad_mod",+    "geometry": "SOT-23-8.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -73,12 +57,12 @@    "shape": "roundrect",    "at": [     -1.1375,-    0.0+    -0.325    ],    "rot": 0.0,    "size": [     1.325,-    0.6+    0.5    ],    "layers": [     "F.Cu",@@ -92,7 +76,7 @@    "description": "Device address input bit 1. Selects the I2C slave address together with A0 and A2.",    "is_pin1": false,    "source": {-    "geometry": "SOT-23-5.kicad_mod",+    "geometry": "SOT-23-8.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -103,12 +87,12 @@    "shape": "roundrect",    "at": [     -1.1375,-    0.95+    0.325    ],    "rot": 0.0,    "size": [     1.325,-    0.6+    0.5    ],    "layers": [     "F.Cu",@@ -122,7 +106,7 @@    "description": "Device address input bit 2. Selects the I2C slave address together with A0 and A1.",    "is_pin1": false,    "source": {-    "geometry": "SOT-23-5.kicad_mod",+    "geometry": "SOT-23-8.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -132,13 +116,13 @@    "kind": "smd",    "shape": "roundrect",    "at": [-    1.1375,-    0.95+    -1.1375,+    0.975    ],    "rot": 0.0,    "size": [     1.325,-    0.6+    0.5    ],    "layers": [     "F.Cu",@@ -152,7 +136,7 @@    "description": "Ground / power negative reference.",    "is_pin1": false,    "source": {-    "geometry": "SOT-23-5.kicad_mod",+    "geometry": "SOT-23-8.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -163,12 +147,12 @@    "shape": "roundrect",    "at": [     1.1375,-    -0.95+    0.975    ],    "rot": 0.0,    "size": [     1.325,-    0.6+    0.5    ],    "layers": [     "F.Cu",@@ -182,7 +166,97 @@    "description": "I2C serial data line. Open-drain bidirectional data pin; requires an external pull-up resistor to VCC (typ. 10 kΩ).",    "is_pin1": false,    "source": {-    "geometry": "SOT-23-5.kicad_mod",+    "geometry": "SOT-23-8.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.1375,+    0.325+   ],+   "rot": 0.0,+   "size": [+    1.325,+    0.5+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "6",+   "name": "SCL",+   "type": "input",+   "description": "I2C serial clock input. Drives the address/data timing; supports up to 400 kHz at 1.8V/2.5V/2.7V and 1 MHz at 5V. External pull-up to VCC required (typ. 10 kΩ).",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23-8.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.1375,+    -0.325+   ],+   "rot": 0.0,+   "size": [+    1.325,+    0.5+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "7",+   "name": "WP",+   "type": "input",+   "description": "Hardware write-protect input. When tied high, memory-array writes are inhibited; when tied low (or left connected to GND), normal read/write operation is allowed.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23-8.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.1375,+    -0.975+   ],+   "rot": 0.0,+   "size": [+    1.325,+    0.5+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "8",+   "name": "VCC",+   "type": "power_in",+   "description": "Positive supply voltage, 1.8V to 5.5V (absolute max 5.5V). Recommend a 1 µF decoupling capacitor close to the pin.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23-8.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }
page.json+2−2
@@ -101,11 +101,11 @@       "pad": "1",       "at": [         -1.1375,-        -0.95+        -0.975       ],       "corner": "top-left",       "source": "silk-marker",-      "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8",+      "derived_from": "SOT-23-8@sha256:275a1c87693f8053",       "mark": "drawn"     }   },