Use existing geda SO20W footprint for holtek ht12d
authorKeith Packard <keithp@keithp.com>
Sat, 28 Sep 2013 06:29:11 +0000 (23:29 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 28 Sep 2013 06:29:11 +0000 (23:29 -0700)
Looks like this will work

Signed-off-by: Keith Packard <keithp@keithp.com>
packages/SO20W.fp [new file with mode: 0644]
symbols/holtek/ht12d-sop.sym

diff --git a/packages/SO20W.fp b/packages/SO20W.fp
new file mode 100644 (file)
index 0000000..70f3390
--- /dev/null
@@ -0,0 +1,85 @@
+       # number of pads
+       # pad width in 1/1000 mil
+       # pad length in 1/1000 mil
+       # pad pitch 1/1000 mil
+       # seperation between pads on opposite sides 1/1000 mil
+       # X coordinates for the right hand column of pads (1/100 mils)
+       # pad clearance to plane layer in 1/100 mil
+       # pad soldermask width in 1/100 mil
+       # silk screen width (1/100 mils)
+       # figure out if we have an even or odd number of pins per side
+       # silk bounding box is -XMAX,-YMAX, XMAX,YMAX (1/100 mils)
+# element_flags, description, pcb-name, value, mark_x, mark_y,
+# text_x, text_y, text_direction, text_scale, text_flags
+Element[0x00000000 "Small outline package, wide (300mil)" "" "SO20W" 0 0 -2000 -6000 0 100 0x00000000]
+(
+# 
+# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags]
+        Pad[   -21000 -22500 
+                        -15000 -22500 
+                       2000 1000 3000 "1" "1" 0x00000100]
+        Pad[   -21000 -17500 
+                        -15000 -17500 
+                       2000 1000 3000 "2" "2" 0x00000100]
+        Pad[   -21000 -12500 
+                        -15000 -12500 
+                       2000 1000 3000 "3" "3" 0x00000100]
+        Pad[   -21000 -7500 
+                        -15000 -7500 
+                       2000 1000 3000 "4" "4" 0x00000100]
+        Pad[   -21000 -2500 
+                        -15000 -2500 
+                       2000 1000 3000 "5" "5" 0x00000100]
+        Pad[   -21000 2500 
+                        -15000 2500 
+                       2000 1000 3000 "6" "6" 0x00000100]
+        Pad[   -21000 7500 
+                        -15000 7500 
+                       2000 1000 3000 "7" "7" 0x00000100]
+        Pad[   -21000 12500 
+                        -15000 12500 
+                       2000 1000 3000 "8" "8" 0x00000100]
+        Pad[   -21000 17500 
+                        -15000 17500 
+                       2000 1000 3000 "9" "9" 0x00000100]
+        Pad[   -21000 22500 
+                        -15000 22500 
+                       2000 1000 3000 "10" "10" 0x00000100]
+        Pad[   21000 22500 
+                        15000 22500 
+                       2000 1000 3000 "11" "11" 0x00000100]
+        Pad[   21000 17500 
+                        15000 17500 
+                       2000 1000 3000 "12" "12" 0x00000100]
+        Pad[   21000 12500 
+                        15000 12500 
+                       2000 1000 3000 "13" "13" 0x00000100]
+        Pad[   21000 7500 
+                        15000 7500 
+                       2000 1000 3000 "14" "14" 0x00000100]
+        Pad[   21000 2500 
+                        15000 2500 
+                       2000 1000 3000 "15" "15" 0x00000100]
+        Pad[   21000 -2500 
+                        15000 -2500 
+                       2000 1000 3000 "16" "16" 0x00000100]
+        Pad[   21000 -7500 
+                        15000 -7500 
+                       2000 1000 3000 "17" "17" 0x00000100]
+        Pad[   21000 -12500 
+                        15000 -12500 
+                       2000 1000 3000 "18" "18" 0x00000100]
+        Pad[   21000 -17500 
+                        15000 -17500 
+                       2000 1000 3000 "19" "19" 0x00000100]
+        Pad[   21000 -22500 
+                        15000 -22500 
+                       2000 1000 3000 "20" "20" 0x00000100]
+       ElementLine[-23000 -24500 -23000  24500 1000]
+       ElementLine[-23000  24500  23000  24500 1000]
+       ElementLine[ 23000  24500  23000 -24500 1000]
+       ElementLine[-23000 -24500 -2500 -24500 1000]
+       ElementLine[ 23000 -24500  2500 -24500 1000]
+       # punt on the arc on small parts as it can cover the pads
+       ElementArc[0 -24500 2500 2500 0 180 1000]
+)
index 93f18f41d4cb7f06d499be50d757a7b401f40959..fc7fc84991715cbaf5d51e017a14a04ebe03d911 100644 (file)
@@ -5,7 +5,7 @@ refdes=U?
 T 1495 3995 8 10 1 1 0 0 1
 device=ht12d-sop
 T -5205 -405 8 10 0 1 0 0 1
-footprint=ht12d-sop
+footprint=SO20W.fp
 P 0 4800 300 4800 1 0 0
 {
 T 0 4800 5 10 0 0 0 0 1