1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-22 08:28:26 +02:00

add Panasonic EVQQ7 "joystick" switch

Footprint is just draft quality for now.
This commit is contained in:
Werner Almesberger 2012-11-05 17:47:12 -03:00
parent 169136f47d
commit 2ed2889fe1
7 changed files with 156 additions and 1 deletions

View File

@ -76,6 +76,7 @@ Werner Almesberger <werner@almesberger.net>
components/balun.lib components/balun.lib
components/xtal-4.lib components/xtal-4.lib
components/powered.lib components/powered.lib
components/evqq7.lib
modules/pads.fpd modules/pads.fpd
modules/stdpass.fpd modules/stdpass.fpd
modules/8_10-card.fpd modules/8_10-card.fpd
@ -87,6 +88,7 @@ Werner Almesberger <werner@almesberger.net>
modules/sot-323.fpd modules/sot-323.fpd
modules/ssop.fpd modules/ssop.fpd
modules/sot.fpd modules/sot.fpd
modules/evqq7.fpd
Xiangfu <xiangfu@openmobilefree.net> Xiangfu <xiangfu@openmobilefree.net>

View File

@ -139,6 +139,7 @@ Electromechanical
Switch Switch
FSMRA2JH FSMRA2JH
SW_PUSH SW_PUSH
EVQQ7
Case Case
MH MH
Sensor Sensor

View File

@ -141,3 +141,4 @@ LibName69=./adxl32x
LibName70=./xc6slx9-tqg144 LibName70=./xc6slx9-tqg144
LibName71=./74x595 LibName71=./74x595
LibName72=./nmosfet-gsd LibName72=./nmosfet-gsd
LibName73=./evqq7

53
components/evqq7.lib Normal file
View File

@ -0,0 +1,53 @@
EESchema-LIBRARY Version 2.3 Date: Mon Nov 5 17:16:22 2012
#encoding utf-8
#
# EVQQ7
#
DEF EVQQ7 SW 0 0 N Y 1 F N
F0 "SW" 150 270 60 H V C CNN
F1 "EVQQ7" -260 -280 60 H V C CNN
DRAW
C -150 0 10 0 1 0 N
C -80 0 10 0 1 0 N
C -60 -60 10 0 1 0 N
C -60 60 10 0 1 0 N
C 0 0 10 0 1 0 N
C 60 -60 10 0 1 0 N
C 60 60 10 0 1 0 N
P 2 0 1 0 -200 -150 -150 -200 N
P 2 0 1 0 -200 -100 -100 -100 N
P 2 0 1 0 -200 0 -160 0 N
P 2 0 1 0 -200 100 -100 100 N
P 2 0 1 0 -200 150 -200 -150 N
P 2 0 1 0 -200 150 -150 200 N
P 2 0 1 0 -100 -100 -70 -70 N
P 2 0 1 0 -100 100 -70 70 N
P 2 0 1 0 -90 -10 -130 -30 N
P 2 0 1 0 -70 0 -10 0 N
P 2 0 1 0 -10 10 -30 60 N
P 2 0 1 0 0 -10 0 -200 N
P 2 0 1 0 0 200 0 10 N
P 2 0 1 0 10 0 200 0 N
P 2 0 1 0 100 -100 70 -70 N
P 2 0 1 0 100 100 70 70 N
P 2 0 1 0 150 -200 -150 -200 N
P 2 0 1 0 150 200 -150 200 N
P 2 0 1 0 150 200 200 150 N
P 2 0 1 0 200 -150 150 -200 N
P 2 0 1 0 200 -100 100 -100 N
P 2 0 1 0 200 100 100 100 N
P 2 0 1 0 200 150 200 -150 N
X COM 1 0 400 200 D 50 50 1 1 P
X A 2 -400 100 200 R 50 50 1 1 P
X E 3 -400 0 200 R 50 50 1 1 P
X B 4 -400 -100 200 R 50 50 1 1 P
X COM 5 0 -400 200 U 50 50 1 1 P
X D 6 400 -100 200 L 50 50 1 1 P
X COM 7 400 0 200 L 50 50 1 1 P
X C 8 400 100 200 L 50 50 1 1 P
X GND 9 -100 400 200 D 50 50 1 1 P
X GND 10 100 -400 200 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library

View File

@ -386,3 +386,4 @@ Mechanical
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 E-SWITCH_320
EVQQ7

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 \
e-switch320 eus \ e-switch320 eus evqq7 \
fiducial \ fiducial \
header he-2row-dip he-shrouded \ header he-2row-dip he-shrouded \
ir \ ir \

97
modules/evqq7.fpd Normal file
View File

@ -0,0 +1,97 @@
/* MACHINE-GENERATED ! */
frame outline {
table
{ r, len, w }
{ 8.7mm/2, 1mm, 5mil }
__0: vec @(r/sqrt(2), r/sqrt(2))
__1: vec .(-len/2/sqrt(2), len/2/sqrt(2))
__2: vec __0(len/2/sqrt(2), -len/2/sqrt(2))
line __1 . w
}
frame pad {
__0: vec @(px/2, py/2)
__1: vec @(-px/2, -py/2)
pad "$name" . __0
}
frame gnd {
table
{ name, dx, dy }
{ 9, -1, 1 }
{ 10, 1, -1 }
table
{ xi, xo, yi, yo }
{ 1.8mm, 3.4mm, 7.4mm, 8.6mm }
set x = (xi+xo)/4*dx
set y = (yi+yo)/4*dy
set px = (xo-xi)/2
set py = (yo-yi)/2
__0: vec @(x, y)
frame pad .
}
frame head {
table
{ name, dy }
{ 1, 1 }
{ 5, -1 }
set x = 0mm
table
{ px, yi, yo }
{ 0.8mm, 6.2mm, 8mm }
set y = (yi+yo)/4*dy
set py = (yo-yi)/2
__0: vec @(x, y)
frame pad .
}
frame side {
table
{ name, dx, dy }
{ 2, -1, 1 }
{ 3, -1, 0 }
{ 4, -1, -1 }
{ 6, 1, -1 }
{ 7, 1, 0 }
{ 8, 1, 1 }
set x = (xi+xo)/4*dx
set y = (yi+yo)/4*dy
table
{ xi, xo, yi, yo }
{ 6.2mm, 8mm, 3.2mm, 4.8mm }
set px = (xo-xi)/2
set py = (yo-yi)/2
__0: vec @(x, y)
frame pad .
}
package "EVQQ7"
unit mm
frame side @
frame head @
frame gnd @
frame outline @
measx pad.__1 -> pad.__0 1.2mm
measx pad.__0 >> pad.__1 0.5mm
measx pad.__1 >> pad.__0 -0.4mm