mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 08:51:53 +02:00
modules/: add E-SWITCH series 320 tact switch
This commit is contained in:
parent
d37268a6ba
commit
92b93912a4
@ -383,3 +383,4 @@ Mechanical
|
||||
TACTIL-SW-SPST-RA-5.74mm-8.36mm
|
||||
TACTIL-SW-SPST-RA-9.25mm-11.86mm
|
||||
TACTIL-SW-SPST-RA-13.26mm-15.85mm
|
||||
E-SWITCH_320
|
||||
|
10
modules/INFO
10
modules/INFO
@ -547,3 +547,13 @@ F: zx62m-b-5p
|
||||
# Hirose ZX62M-B-5P(01)
|
||||
# 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=
|
||||
#
|
||||
|
@ -2,7 +2,7 @@ MODULES=8_10-card 8_10-socket-ra \
|
||||
bat-clip-aa-th bga \
|
||||
c-smd c-t-smd \
|
||||
dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
|
||||
eus \
|
||||
e-switch320 eus \
|
||||
fiducial \
|
||||
header he-2row-dip he-shrouded \
|
||||
ir \
|
||||
|
73
modules/e-switch320.fpd
Normal file
73
modules/e-switch320.fpd
Normal 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
|
Loading…
Reference in New Issue
Block a user