From 28bdc2d18743817990fb09835250dd6cb9dc4cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 26 Jun 2021 13:09:25 +0200 Subject: [PATCH] add SMD switch --- mechanical/switch_xkb_sk-3296s.yaml | 86 +++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 mechanical/switch_xkb_sk-3296s.yaml diff --git a/mechanical/switch_xkb_sk-3296s.yaml b/mechanical/switch_xkb_sk-3296s.yaml new file mode 100644 index 0000000..30f9158 --- /dev/null +++ b/mechanical/switch_xkb_sk-3296s.yaml @@ -0,0 +1,86 @@ +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 +keywords: mechanical, switch + + +pinout: + 1: 2 + C: 1 + 2: 3 + +schematic: + symbol: connector + 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.3 -0.8 3.3 -0.8 # switch case edge (1.55-0.75) + + # 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 +