Skip to content
Snippets Groups Projects
Commit 4226fdec authored by Krisjanis Rijnieks's avatar Krisjanis Rijnieks :lion_face:
Browse files

Add Switch C&K AYZ0102AGRLC with footprint

parent 386f3158
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,12 @@ K bipolar half bridge h-bridge motor driver allegro microsystems
F https://www.allegromicro.com/~/media/Files/Datasheets/A4982-Datasheet.ashx
$ENDCMP
#
$CMP SWITCH_AYZ0102AGRLC
D Switch, single pole double throw, Slide Switch SPDT Surface Mount, Right Angle
K switch single-pole double-throw spdt ON-ON
F https://www.ckswitches.com/media/1431/ayz.pdf
$ENDCMP
#
$CMP Speaker
D Generic Speaker
K speaker sound loudspeaker buzzer
......
......@@ -2818,6 +2818,24 @@ X GNDDetect 9 0 -800 200 R 59 59 1 1 B
ENDDRAW
ENDDEF
#
# SWITCH_AYZ0102AGRLC
#
DEF SWITCH_AYZ0102AGRLC SW 0 0 Y N 1 F N
F0 "SW" 0 170 50 H V C CNN
F1 "SWITCH_AYZ0102AGRLC" 0 -200 50 H V C CNN
F2 "fab:Switch_C&K_AYZ0102AGRLC_7.2x3mm_P2.5mm" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C -80 0 20 0 0 0 N
C 80 -100 20 0 0 0 N
C 80 100 20 0 1 0 N
P 2 0 1 0 -60 10 65 90 N
X A 1 200 100 100 L 50 50 1 1 P
X B 2 -200 0 100 R 50 50 1 1 P
X C 3 200 -100 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Speaker
#
DEF Speaker LS 0 0 Y N 1 F N
......
(module Switch_C&K_AYZ0102AGRLC_7.2x3mm_P2.5mm (layer F.Cu) (tedit 5EC66265)
(descr http://www.ckswitches.com/media/1422/js.pdf)
(tags "switch spdt")
(attr smd)
(fp_text reference REF** (at 0 -4.8) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Switch_C&K_AYZ0102AGRLC_7.2x3mm_P2.5mm (at 0 -2.9) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -5 -2.25) (end -5 -2.25) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.5 -4.29) (end -3.5 -4.29) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.5 2.5) (end -1.5 1.5) (layer F.Fab) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.6 -1.5) (end -3.6 1.5) (layer F.Fab) (width 0.1))
(fp_line (start 3.6 1.5) (end -3.6 1.5) (layer F.Fab) (width 0.1))
(fp_line (start 3.6 -1.5) (end 3.6 1.5) (layer F.Fab) (width 0.1))
(fp_line (start -3.6 -1.5) (end 3.6 -1.5) (layer F.Fab) (width 0.1))
(fp_line (start 0 2.5) (end 0 1.5) (layer F.Fab) (width 0.1))
(fp_line (start -1.5 2.5) (end 0 2.5) (layer F.Fab) (width 0.1))
(fp_line (start 1.5 2.5) (end 1.5 1.5) (layer F.Fab) (width 0.1))
(fp_line (start 3.5 -4.29) (end 3.5 -1.83) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.5 -1.83) (end 3.95 -1.83) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.99 -1.89) (end -3.5 -1.89) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.5 -1.89) (end -3.5 -4.29) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.95 -1.83) (end 3.95 1.82) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.95 1.82) (end 1.86 1.82) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.86 1.82) (end 1.86 2.91) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.86 2.91) (end -1.93 2.91) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.93 2.91) (end -1.93 1.84) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.93 1.84) (end -3.99 1.84) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.99 1.84) (end -3.99 -1.89) (layer F.CrtYd) (width 0.05))
(pad "" np_thru_hole circle (at 1.5 0) (size 0.9 0.9) (drill 0.9) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -1.5 0) (size 0.9 0.9) (drill 0.9) (layers *.Cu *.Mask))
(pad 3 smd rect (at 2.5 -2.75) (size 1.5 2.5) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 0 -2.75) (size 1.5 2.5) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -2.5 -2.75) (size 1.5 2.5) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Buttons_Switches_SMD.3dshapes/SW_SPDT_CK-JS102011SAQN.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment