From b106ea3ba569218cf7c219a72d8179f79c6e8234 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 2 Aug 2012 21:39:38 -0700 Subject: [PATCH] A6R rotary switches require custom 36mil holes Can't use the standard DIP6 package Signed-off-by: Keith Packard --- packages/A6R-102R.fp | 18 +++++++++++ symbols/A6R-102R.sym | 2 +- telefire.pcb | 72 ++++++++++++++++++++++---------------------- telefire.sch | 8 ++--- 4 files changed, 59 insertions(+), 41 deletions(-) create mode 100644 packages/A6R-102R.fp diff --git a/packages/A6R-102R.fp b/packages/A6R-102R.fp new file mode 100644 index 0000000..5519912 --- /dev/null +++ b/packages/A6R-102R.fp @@ -0,0 +1,18 @@ +# retain backwards compatibility to older versions of PKG_DIL +# which did not have 100,60,28 args +Element(0x00 "A6R Rotary Switches" "" "A6R-102R" 220 100 3 100 0x00) +( + Pin(50 50 68 36 "1" 0x101) + Pin(50 150 68 36 "2" 0x01) + Pin(50 250 68 36 "3" 0x01) + Pin(350 250 68 36 "4" 0x01) + Pin(350 150 68 36 "5" 0x01) + Pin(350 50 68 36 "6" 0x01) + ElementLine(0 0 0 300 10) + ElementLine(0 300 400 300 10) + ElementLine(400 300 400 0 10) + ElementLine(0 0 150 0 10) + ElementLine(250 0 400 0 10) + ElementArc(200 0 50 50 0 180 10) + Mark(200 150) +) diff --git a/symbols/A6R-102R.sym b/symbols/A6R-102R.sym index f2513ad..f74d54f 100644 --- a/symbols/A6R-102R.sym +++ b/symbols/A6R-102R.sym @@ -71,7 +71,7 @@ refdes=S? T 470 98 8 10 1 1 0 0 1 value=A6R-102R T 4500 20600 8 10 0 1 0 0 1 -footprint=DIP6 +footprint=A6R-102R T 3600 21700 8 10 0 1 0 0 1 vendor_part_number=653-A6R-101RF T 1595 19996 8 10 0 1 0 0 1 diff --git a/telefire.pcb b/telefire.pcb index f90e169..296ffa2 100644 --- a/telefire.pcb +++ b/telefire.pcb @@ -6,11 +6,11 @@ FileVersion[20070407] PCB["TeleFire" 400000 450000] Grid[100.0 0 0 0] -Cursor[313000 52600 0.000000] +Cursor[240200 300 0.000000] PolyArea[200000000.000000] Thermal[0.500000] DRC[500 1000 500 500 1500 700] -Flags("showdrc,nameonpcb,clearnew,snappin") +Flags("showdrc,nameonpcb,clearnew,snappin,orthomove") Groups("1,c:2,s:3") Styles["Signal,1000,2900,1500,1000:Power,2500,6000,3500,1000:Fat,2500,6000,3500,1000:Skinny,600,2402,1181,600"] @@ -1461,40 +1461,6 @@ Element["" "0402" "C1" "0.1uF" 357400 113600 -2400 -8200 0 100 ""] ) -Element["" "DIP6" "S2" "A6R-102R" 291000 32200 17000 5000 3 100 ""] -( - Pin[0 0 6000 3000 6600 2800 "+1" "1" "square,edge2"] - Pin[0 10000 6000 3000 6600 2800 "C" "2" "edge2,thermal(1X)"] - Pin[0 20000 6000 3000 6600 2800 "+4" "3" "edge2"] - Pin[30000 20000 6000 3000 6600 2800 "+2" "4" "edge2"] - Pin[30000 10000 6000 3000 6600 2800 "C" "5" "edge2,thermal(1X)"] - Pin[30000 0 6000 3000 6600 2800 "+8" "6" "edge2"] - ElementLine [-5000 -5000 -5000 25000 1000] - ElementLine [-5000 25000 35000 25000 1000] - ElementLine [35000 25000 35000 -5000 1000] - ElementLine [-5000 -5000 10000 -5000 1000] - ElementLine [20000 -5000 35000 -5000 1000] - ElementArc [15000 -5000 5000 5000 0 180 1000] - - ) - -Element["" "DIP6" "S1" "A6R-102R" 338500 32200 17000 5000 3 100 ""] -( - Pin[0 0 6000 3000 6600 2800 "+1" "1" "square,edge2"] - Pin[0 10000 6000 3000 6600 2800 "C" "2" "edge2,thermal(1X)"] - Pin[0 20000 6000 3000 6600 2800 "+4" "3" "edge2"] - Pin[30000 20000 6000 3000 6600 2800 "+2" "4" "edge2"] - Pin[30000 10000 6000 3000 6600 2800 "C" "5" "edge2,thermal(1X)"] - Pin[30000 0 6000 3000 6600 2800 "+8" "6" "edge2"] - ElementLine [-5000 -5000 -5000 25000 1000] - ElementLine [-5000 25000 35000 25000 1000] - ElementLine [35000 25000 35000 -5000 1000] - ElementLine [-5000 -5000 10000 -5000 1000] - ElementLine [20000 -5000 35000 -5000 1000] - ElementArc [15000 -5000 5000 5000 0 180 1000] - - ) - Element["" "SO16" "U2" "74HC597M" 332000 100200 15000 -2500 3 100 ""] ( Pad[17500 -13500 17500 -7000 2000 1000 3000 "D1" "1" "square"] @@ -1994,6 +1960,40 @@ Element["" "74x" "R101" "10k" 334600 70200 -10000 -11100 3 100 ""] ElementLine [-6050 6700 6050 6700 1000] ElementLine [-6050 -6700 6050 -6700 1000] + ) + +Element["" "A6R-102R" "S2" "A6R-102R" 306000 42100 2000 -5000 3 100 ""] +( + Pin[-15000 -10000 6800 3000 7400 3600 "1" "1" "square,edge2"] + Pin[-15000 0 6800 3000 7400 3600 "2" "2" "edge2,thermal(1X)"] + Pin[-15000 10000 6800 3000 7400 3600 "3" "3" "edge2"] + Pin[15000 10000 6800 3000 7400 3600 "4" "4" "edge2"] + Pin[15000 0 6800 3000 7400 3600 "5" "5" "edge2,thermal(1X)"] + Pin[15000 -10000 6800 3000 7400 3600 "6" "6" "edge2"] + ElementLine [-20000 -15000 -20000 15000 1000] + ElementLine [-20000 15000 20000 15000 1000] + ElementLine [20000 15000 20000 -15000 1000] + ElementLine [-20000 -15000 -5000 -15000 1000] + ElementLine [5000 -15000 20000 -15000 1000] + ElementArc [0 -15000 5000 5000 0 180 1000] + + ) + +Element["" "A6R-102R" "S1" "A6R-102R" 353500 42100 2000 -5000 3 100 ""] +( + Pin[-15000 -10000 6800 3000 7400 3600 "1" "1" "square,edge2"] + Pin[-15000 0 6800 3000 7400 3600 "2" "2" "edge2,thermal(1X)"] + Pin[-15000 10000 6800 3000 7400 3600 "3" "3" "edge2"] + Pin[15000 10000 6800 3000 7400 3600 "4" "4" "edge2"] + Pin[15000 0 6800 3000 7400 3600 "5" "5" "edge2,thermal(1X)"] + Pin[15000 -10000 6800 3000 7400 3600 "6" "6" "edge2"] + ElementLine [-20000 -15000 -20000 15000 1000] + ElementLine [-20000 15000 20000 15000 1000] + ElementLine [20000 15000 20000 -15000 1000] + ElementLine [-20000 -15000 -5000 -15000 1000] + ElementLine [5000 -15000 20000 -15000 1000] + ElementArc [0 -15000 5000 5000 0 180 1000] + ) Layer(1 "top") ( diff --git a/telefire.sch b/telefire.sch index a11a406..99ffcaf 100644 --- a/telefire.sch +++ b/telefire.sch @@ -1061,8 +1061,8 @@ T 40405 63825 5 10 1 1 0 6 1 refdes=S1 T 40730 62398 5 10 1 1 0 6 1 value=A6R-102R -T 36700 82900 5 10 0 1 0 6 1 -footprint=DIP6 +T 41200 62300 5 10 0 0 0 0 1 +footprint=A6R-102R } C 41200 60100 1 0 1 A6R-102R.sym { @@ -1070,8 +1070,8 @@ T 40405 61625 5 10 1 1 0 6 1 refdes=S2 T 40730 60198 5 10 1 1 0 6 1 value=A6R-102R -T 36700 80700 5 10 0 1 0 6 1 -footprint=DIP6 +T 41200 60100 5 10 0 0 0 0 1 +footprint=A6R-102R } N 39400 63500 39400 63100 4 N 39400 60900 39400 61300 4 -- 2.47.2