qeda_library/mechanical/switch_xkb_sk-3296s.yaml

89 lines
2.3 KiB
YAML

name: XKB_SK-3296S-01
variations: L1, L2, L3
description: switch, surface mount, on-on
datasheet: https://datasheet.lcsc.com/lcsc/2002271741_XKB-Connectivity-SK-3296S-01-L1_C319020.pdf
pinout:
1: 1
C: 2
2: 3
schematic:
symbol: switch
left: C
right: 1, 2
housing@L1:
pattern: custom
bodyWidth: 6.6
bodyLength: 4.2 # 2.7+1.5
height: 1.4
bodyPosition: 0, -0.75 # (2.7+1.5)/-2+2.7/2
silkscreen: M -3.0 -0.8 3.0 -0.8 # switch case edge (1.55-0.75)
model: # from https://www.helloxkb.com/Home/Goods/goodsInfo/id/3319
file: 'library/mechanical/switch_xkb_sk-3296s-01-l1.stp'
rotation: -90,0,180
position: 0,-0.75,0
# 1, 2, C
padWidth: 0.9
padHeight: 1.2 # 4.3-3.1
padPosition: -2.25, 2.1, -0.75, 2.1, 2.25, 2.1 # 6.8/-2+0.7+0.9/2, 1.5+1.2/2, ., 6.8/-2+2.2+3.9-0.9/2, .
# mounting tabs
padWidth1: 0.8 # 0.8
padHeight1: 0.9
padPosition1: -3.8, -1.1, -3.8, 1.1, 3.8, -1.1, 3.8, 1.1 # 6.8/-2-0.8/2 , -1.55+0.9/2 , . , -1.55+2.2+0.9/2
# mounting hole
holeDiameter2: 0.9
padDiameter2: 0
padPosition2: -1.5, 0, 1.5, 0
housing@L2:
pattern: custom
bodyWidth: 6.6
bodyLength: 4.7 # 2.7+2.0
height: 1.4
bodyPosition: 0, -1.0 # (2.7+2.0)/-2+2.7/2
silkscreen: M -3.3 -0.55 3.3 -0.55 # switch case edge (1.55-1.0)
# 1, 2, C
padWidth: 0.9
padHeight: 1.2 # 4.3-3.1
padPosition: -2.25, 2.1, -0.75, 2.1, 2.25, 2.1 # 6.8/-2+0.7+0.9/2, 1.5+1.2/2, ., 6.8/-2+2.2+3.9-0.9/2, .
# mounting tabs
padWidth1: 0.8 # 0.8
padHeight1: 0.9
padPosition1: -3.8, -1.1, -3.8, 1.1, 3.8, -1.1, 3.8, 1.1 # 6.8/-2-0.8/2 , -1.55+0.9/2 , . , -1.55+2.2
# mounting hole
holeDiameter2: 0.9
padDiameter2: 0
padPosition2: -1.5, 0, 1.5, 0
housing@L3:
pattern: custom
bodyWidth: 6.6
bodyLength: 5.2 # 2.7+2.5
height: 1.4
bodyPosition: 0, -1.25 # (2.7+2.5)/-2+2.7/2
silkscreen: M -3.3 -0.3 3.3 -0.3 # switch case edge (1.55-1.25)
# 1, 2, C
padWidth: 0.9
padHeight: 1.2 # 4.3-3.1
padPosition: -2.25, 2.1, -0.75, 2.1, 2.25, 2.1 # 6.8/-2+0.7+0.9/2, 1.5+1.2/2, ., 6.8/-2+2.2+3.9-0.9/2, .
# mounting tabs
padWidth1: 0.8 # 0.8
padHeight1: 0.9
padPosition1: -3.8, -1.1, -3.8, 1.1, 3.8, -1.1, 3.8, 1.1 # 6.8/-2-0.8/2 , -1.55+0.9/2 , . , -1.55+2.2
# mounting hole
holeDiameter2: 0.9
padDiameter2: 0
padPosition2: -1.5, 0, 1.5, 0