From 5ef4f4a369375d490a76125f09f4cc426f3d8e34 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 12 Sep 2011 14:30:19 -0300 Subject: [PATCH] labsw/: removed copper from mounting holes --- labsw/LOG | 2 +- labsw/labsw.brd | 148 +++++++++++++++++++-------------------- labsw/modules/spacer.fpd | 19 +++-- 3 files changed, 90 insertions(+), 79 deletions(-) diff --git a/labsw/LOG b/labsw/LOG index af5cc74..422191b 100644 --- a/labsw/LOG +++ b/labsw/LOG @@ -224,11 +224,11 @@ To do: debounce buttons (in software) before accepting a state change. - added low-pass filters to button inputs, to suppress interferences, e.g., from load being switched (with help from Joerg Reisenweber) - added hardware revision ID pins + - use SPACER-*-BARE for mounting holes without copper Pending: - widen column cavities by 0.2 mm on each side - consider pulling in front edge a little in buttons area -- uncopper mounting holes (using "loop" as "if" in fped) - change mill nominal diameter from 35 mil to 26-27 mil - move vias between OUT opto-couplers 0.2 mm to the center - add orientation markings on copper layer for MCU and DIP sockets diff --git a/labsw/labsw.brd b/labsw/labsw.brd index db56b9f..4c85bce 100644 --- a/labsw/labsw.brd +++ b/labsw/labsw.brd @@ -1,4 +1,4 @@ -PCBNEW-BOARD Version 1 date Sat Sep 3 02:53:35 2011 +PCBNEW-BOARD Version 1 date Mon Sep 12 14:29:26 2011 # Created by Pcbnew(2010-12-27 BZR 2685)-unstable @@ -20,7 +20,7 @@ $EndGENERAL $SHEETDESCR Sheet A4 11700 8267 Title "Lab Switch" -Date "3 sep 2011" +Date "12 sep 2011" Rev "0" Comp "Werner Almesberger" Comment1 "" @@ -1966,78 +1966,6 @@ Ne 1 "+5V" Po 0 373 $EndPAD $EndMODULE SOT-323 -$MODULE SPACER-4mm -Po 39370 26772 0 15 4E5F3472 4E5F34BE ~~ -Li SPACER-4mm -Sc 4E5F34BE -AR -Op 0 0 0 -At SMD -T0 0 -150 200 200 0 40 N V 25 N"SPACER-4mm" -T1 0 150 200 200 0 40 N I 25 N"Val*" -DC 0 0 0 -1968 50 21 -$PAD -Sh "1" O 3542 3542 0 0 0 -Dr 1652 0 0 -At STD N 00CC8001 -Ne 0 "" -Po 0 0 -$EndPAD -$EndMODULE SPACER-4mm -$MODULE SPACER-4mm -Po 74803 40394 0 15 4E5F3472 4E5923BD ~~ -Li SPACER-4mm -Sc 4E5923BD -AR -Op 0 0 0 -At SMD -T0 0 -150 200 200 0 40 N V 25 N"SPACER" -T1 0 150 200 200 0 40 N I 25 N"Val*" -DC 0 0 0 -1968 50 21 -$PAD -Sh "1" O 3542 3542 0 0 0 -Dr 1652 0 0 -At STD N 00CC8001 -Ne 0 "" -Po 0 0 -$EndPAD -$EndMODULE SPACER-4mm -$MODULE SPACER-4mm -Po 39370 41417 0 15 4E5F3472 4E592396 ~~ -Li SPACER-4mm -Sc 4E592396 -AR -Op 0 0 0 -At SMD -T0 0 -150 200 200 0 40 N V 25 N"SPACER" -T1 0 150 200 200 0 40 N I 25 N"Val*" -DC 0 0 0 -1968 50 21 -$PAD -Sh "1" O 3542 3542 0 0 0 -Dr 1652 0 0 -At STD N 00CC8001 -Ne 0 "" -Po 0 0 -$EndPAD -$EndMODULE SPACER-4mm -$MODULE SPACER-4mm -Po 74803 26772 0 15 4E5F3472 4E592A99 ~~ -Li SPACER-4mm -Sc 4E592A99 -AR -Op 0 0 0 -At SMD -T0 0 -150 200 200 0 40 N V 25 N"SPACER" -T1 0 150 200 200 0 40 N I 25 N"Val*" -DC 0 0 0 -1968 50 21 -$PAD -Sh "1" O 3542 3542 0 0 0 -Dr 1652 0 0 -At STD N 00CC8001 -Ne 0 "" -Po 0 0 -$EndPAD -$EndMODULE SPACER-4mm $MODULE HDR-3x1-200mil Po 43780 33937 2700 15 4E5F86FD 4E57153E ~~ Li HDR-3x1-200mil @@ -2429,6 +2357,78 @@ Ne 37 "CH1_OPT" Po 1499 1499 $EndPAD $EndMODULE DIP-8-300mil +$MODULE SPACER-4mm-BARE +Po 74803 26772 0 15 4E6E4146 4E592A99 ~~ +Li SPACER-4mm-BARE +Sc 4E592A99 +AR +Op 0 0 0 +At SMD +T0 0 -150 200 200 0 40 N V 25 N"SPACER" +T1 0 150 200 200 0 40 N I 25 N"Val*" +DC 0 0 0 -1968 50 21 +$PAD +Sh "HOLE" C 1652 1652 0 0 0 +Dr 1652 0 0 +At HOLE N 00C00000 +Ne 0 "" +Po 0 0 +$EndPAD +$EndMODULE SPACER-4mm-BARE +$MODULE SPACER-4mm-BARE +Po 39370 41417 0 15 4E6E4146 4E592396 ~~ +Li SPACER-4mm-BARE +Sc 4E592396 +AR +Op 0 0 0 +At SMD +T0 0 -150 200 200 0 40 N V 25 N"SPACER" +T1 0 150 200 200 0 40 N I 25 N"Val*" +DC 0 0 0 -1968 50 21 +$PAD +Sh "HOLE" C 1652 1652 0 0 0 +Dr 1652 0 0 +At HOLE N 00C00000 +Ne 0 "" +Po 0 0 +$EndPAD +$EndMODULE SPACER-4mm-BARE +$MODULE SPACER-4mm-BARE +Po 74803 40394 0 15 4E6E4146 4E5923BD ~~ +Li SPACER-4mm-BARE +Sc 4E5923BD +AR +Op 0 0 0 +At SMD +T0 0 -150 200 200 0 40 N V 25 N"SPACER" +T1 0 150 200 200 0 40 N I 25 N"Val*" +DC 0 0 0 -1968 50 21 +$PAD +Sh "HOLE" C 1652 1652 0 0 0 +Dr 1652 0 0 +At HOLE N 00C00000 +Ne 0 "" +Po 0 0 +$EndPAD +$EndMODULE SPACER-4mm-BARE +$MODULE SPACER-4mm-BARE +Po 39370 26772 0 15 4E6E4146 4E5F34BE ~~ +Li SPACER-4mm-BARE +Sc 4E5F34BE +AR +Op 0 0 0 +At SMD +T0 0 -150 200 200 0 40 N V 25 N"SPACER-4mm" +T1 0 150 200 200 0 40 N I 25 N"Val*" +DC 0 0 0 -1968 50 21 +$PAD +Sh "HOLE" C 1652 1652 0 0 0 +Dr 1652 0 0 +At HOLE N 00C00000 +Ne 0 "" +Po 0 0 +$EndPAD +$EndMODULE SPACER-4mm-BARE $TEXTPCB Te "qi-hw.com" Po 62756 27638 800 800 120 0 diff --git a/labsw/modules/spacer.fpd b/labsw/modules/spacer.fpd index 0c48f35..197f466 100644 --- a/labsw/modules/spacer.fpd +++ b/labsw/modules/spacer.fpd @@ -1,6 +1,14 @@ /* MACHINE-GENERATED ! */ -package "SPACER-$nominal" +frame copper { + loop if = 1, copper + + __2: vec @(disc/2, -disc/2) + __3: vec @(-disc/2, disc/2) + rpad "1" . __2 +} + +package "SPACER-$nominal$type" unit mm table @@ -8,6 +16,11 @@ table { 3mm } { 4mm } +table + { type, copper } + { "", 1 } + { "-BARE", 0 } + set hole = nominal+0.2mm set disc = 9mm @@ -19,8 +32,6 @@ set w = 5mil __0: vec @(hole/2, hole/2) __1: vec @(-hole/2, -hole/2) hole . __0 -__2: vec @(disc/2, -disc/2) -__3: vec @(-disc/2, disc/2) -rpad "1" . __2 __4: vec @(area/2, 0mm) circ @ . w +frame copper @