From 00e9790a224eb9add19e01e9095b80b05f6cf944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 8 Aug 2022 19:40:28 +0200 Subject: [PATCH] add DIP switch --- mechanical/dip-switch_dsicxxls.yaml | 121 ++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 mechanical/dip-switch_dsicxxls.yaml diff --git a/mechanical/dip-switch_dsicxxls.yaml b/mechanical/dip-switch_dsicxxls.yaml new file mode 100644 index 0000000..bea6322 --- /dev/null +++ b/mechanical/dip-switch_dsicxxls.yaml @@ -0,0 +1,121 @@ +name: XKB_DSICxxLS +variations: DSIC01LS, DSIC02LS, DSIC03LS, DSIC04LS, DSIC05LS, DSIC06LS, DSIC07LS, DSIC08LS, DSIC09LS, DSIC10LS, DSIC12LS +description: switch, SIP, surface mount +datasheet: https://datasheet.lcsc.com/lcsc/2110151630_XKB-Connectivity-DSIC07LS-P_C319033.pdf + +pinout@DSIC01LS: + LEFT: 1 + RIGHT: 2 + +pinout@DSIC02LS: + LEFT: 1-2 + RIGHT: 3-4 + +pinout@DSIC03LS: + LEFT: 1-3 + RIGHT: 4-6 + +pinout@DSIC04LS: + LEFT: 1-4 + RIGHT: 5-8 + +pinout@DSIC05LS: + LEFT: 1-5 + RIGHT: 6-10 + +pinout@DSIC06LS: + LEFT: 1-6 + RIGHT: 7-12 + +pinout@DSIC07LS: + LEFT: 1-7 + RIGHT: 8-14 + +pinout@DSIC08LS: + LEFT: 1-8 + RIGHT: 9-16 + +pinout@DSIC09LS: + LEFT: 1-9 + RIGHT: 10-18 + +pinout@DSIC10LS: + LEFT: 1-10 + RIGHT: 11-20 + +pinout@DSIC12LS: + LEFT: 1-12 + RIGHT: 13-24 + +schematic: + symbol: switch + left: LEFT + right: RIGHT + +housing: &DSICxxLS + pattern: sop + bodyWidth: 6.1 + height: 3.55 # Projection version + leadLength: 1.15 + leadWidth: 0.6 + leadSpan: 9.76 + padSpace: 7.6 + padWidth: 1.7 + padHeight: 1.1 + pitch: 2.54 + +housing@DSIC01LS: + <<: *DSICxxLS + bodyLength: 2.54 # A + leadCount: 2 + +housing@DSIC02LS: + <<: *DSICxxLS + bodyLength: 5.08 # A + leadCount: 4 + +housing@DSIC03LS: + <<: *DSICxxLS + bodyLength: 7.62 # A + leadCount: 6 + +housing@DSIC04LS: + <<: *DSICxxLS + bodyLength: 10.16 # A + leadCount: 8 + +housing@DSIC05LS: + <<: *DSICxxLS + bodyLength: 12.7 # A + leadCount: 10 + +housing@DSIC06LS: + <<: *DSICxxLS + bodyLength: 15.24 # A + leadCount: 12 + +housing@DSIC07LS: + <<: *DSICxxLS + bodyLength: 17.78 # A + leadCount: 14 + +housing@DSIC08LS: + <<: *DSICxxLS + bodyLength: 20.32 # A + leadCount: 16 + +housing@DSIC09LS: + <<: *DSICxxLS + bodyLength: 22.86 # A + leadCount: 18 + +housing@DSIC10LS: + <<: *DSICxxLS + bodyLength: 25.4 # A + leadCount: 20 + +housing@DSIC12LS: + <<: *DSICxxLS + bodyLength: 30.48 # A + leadCount: 24 +