1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-25 20:15:54 +02:00

modules/: add E-SWITCH series 320 tact switch

This commit is contained in:
Werner Almesberger 2012-08-22 16:30:36 -03:00
parent d37268a6ba
commit 92b93912a4
4 changed files with 85 additions and 1 deletions

View File

@ -383,3 +383,4 @@ Mechanical
TACTIL-SW-SPST-RA-5.74mm-8.36mm TACTIL-SW-SPST-RA-5.74mm-8.36mm
TACTIL-SW-SPST-RA-9.25mm-11.86mm TACTIL-SW-SPST-RA-9.25mm-11.86mm
TACTIL-SW-SPST-RA-13.26mm-15.85mm TACTIL-SW-SPST-RA-13.26mm-15.85mm
E-SWITCH_320

View File

@ -547,3 +547,13 @@ F: zx62m-b-5p
# Hirose ZX62M-B-5P(01) # Hirose ZX62M-B-5P(01)
# http://www.hirose.co.jp/cataloge_hp/e24200011.pdf # http://www.hirose.co.jp/cataloge_hp/e24200011.pdf
# #
# E-SWITCH series 320 tact switch
F: e-switch320
#
# http://www.e-switch.com/Portals/0/Series_Pdf/320.pdf
#
# Similar:
#
# http://www.ck-components.com/index.php?module=media&action=Display&cmpref=13325&lang=en&width=&height=&format=&alt=
#

View File

@ -2,7 +2,7 @@ MODULES=8_10-card 8_10-socket-ra \
bat-clip-aa-th bga \ bat-clip-aa-th bga \
c-smd c-t-smd \ c-smd c-t-smd \
dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \ dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
eus \ e-switch320 eus \
fiducial \ fiducial \
header he-2row-dip he-shrouded \ header he-2row-dip he-shrouded \
ir \ ir \

73
modules/e-switch320.fpd Normal file
View File

@ -0,0 +1,73 @@
/* MACHINE-GENERATED ! */
frame pos {
table
{ x, y }
{ -1.5, -1.5 }
{ 1.5, 0.5 }
set d = 1mm+0.05mm
__0: vec @(x*pitch, y*pitch)
__1: vec .(d/2, d/2)
__2: vec __0(-d/2, -d/2)
hole . __1
}
frame pin {
set d = 1.22mm+0.07mm
set ratio = 2.5
__0: vec @(d/2, d/2)
__1: vec @(-d/2, -d/2)
hole . __0
__2: vec @(d/2*ratio, -d/2*ratio)
__3: vec @(-d/2*ratio, d/2*ratio)
rpad "$pin" . __2 bare
}
frame pins {
table
{ pin, x, y }
{ 1, -1.5, 1.5 }
{ 2, 0.5, -0.5 }
__0: vec @(x*pitch, y*pitch)
frame pin .
}
frame silk {
table
{ case, cap }
{ 12.4mm, 10.2mm }
__0: vec @(case/2, case/2)
__1: vec @(-case/2, -case/2)
rect . __0 w
__2: vec @(cap/2, -cap/2)
__3: vec @(-cap/2, cap/2)
}
package "E-SWITCH_320"
unit mm
set w = 5mil
set pitch = 2.54mm
__0: vec @(0mm, 0mm)
frame silk @
frame pins @
frame pos @
measy silk.__1 >> silk.__0 2mm
measx silk.__1 >> silk.__0 -2mm
measx pins.__0 >> __0 -150mil
measy pos.__0 >> __0
measy __0 >> pins.__0
measx __0 >> pins.__0 -4mm
measy pins.__0 >> __0 50mil+1mm
measy pin.__1 -> pin.__0 -3mm
measx __0 >> pos.__0 50mil
measx pos.__2 -> pos.__1 -1mm
measx pin.__3 -> pin.__2 2mm