Compare commits

...

3 Commits

Author SHA1 Message Date
King Kévin 657d39e198 add USB A receptacle 2024-05-11 17:09:59 +02:00
King Kévin 523a53c532 add slide switch 2024-05-11 17:09:59 +02:00
King Kévin 1b45488f6e make tighter footprint for tab, and add 3d model 2024-05-11 17:09:59 +02:00
9 changed files with 30485 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,6 @@ name: MOLEX_197054001
description: PCB tab
datasheet: https://www.molex.com/content/dam/molex/molex-dot-com/products/automated/en-us/salesdrawingpdf/197/19705/197054001_sd.pdf
keywords: connector, tab
distributors: LCSC C505008
pinout:
TAB: 1,2
@ -18,7 +17,17 @@ housing:
bodyWidth: 7.9
bodyLength: 3.0
height: 14.22
model:
file: "library/connector/tab_molex_197054001.stp"
rotation: -90,0,0
position: 0,0,0.85
pitch: 5.08
holeDiameter: 1.70
# the datasheet recommends round holes
#holeDiameter: 1.70
slotWidth: 1.9 # Math.sqrt(1.22**2+0.81**2)*1.2 = 1.757
padWidth: 2.7 # 1.76 + 0.35*2
slotHeight: 1.0 # 0.81 * 1.2 = 0.972
padHeight: 1.7 # 1.0 + 0.35*2
columnCount: 2
rowCount: 1

View File

@ -0,0 +1,48 @@
name: USB-A-2.0_RECEPTACLE_912-121A2026S10100
description: USB 2.0 standard-A receptacle, surface mount
datasheet: https://datasheet.lcsc.com/lcsc/2102261733_Jing-Extension-of-the-Electronic-Co--912-121A2023S10100_C42428.pdf
keywords: connector, USB
# LCSC C42425
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
GND: 4
SHELL:
SHIELD: 5
properties:
power: VBUS
ground: GND
bidir: D-, D+
passive: SHIELD
schematic:
symbol: connector
right: USB
bottom: SHELL
housing:
pattern: custom
bodyWidth: 13.1
bodyLength: 10.6
height: 6.3
model: # from EasyEDA using JLC2KiCad
file: 'library/connector/usb-a-2.0-receptacle_c42428.stp'
rotation: 0,0,0
position: 0,5.55,0
# signal pins
padWidth: 1.0
padHeight: 2.0 # hand tuned, not in datasheet
padPosition: -3.5, -5.54, -1.0, -5.54, 1.0, -5.54, 3.5, -5.54 # y: tab - 7.54
# shell tabs
numbers1: 5, 5
slotWidth1: 0.6
slotHeight1: 1.6
padWidth1: 1.6
padHeight1: 2.6
padPosition1: -6.4, 2.0, 6.4, 2.0 # y: 10.6/2 - 3.3 measured, not in datasheet

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ name: USB-A-2.0_RECEPTACLE_C42428
description: USB 2.0 standard-A receptacle, surface mount
datasheet: https://datasheet.lcsc.com/lcsc/2102261733_Jing-Extension-of-the-Electronic-Co--912-121A2023S10100_C42428.pdf
keywords: connector, USB
# LCSC C42428 and C42425
# LCSC C42428
pinout:
USB:
@ -26,9 +26,13 @@ schematic:
housing:
pattern: custom
bodyWidth: 13.10
bodyWidth: 14.3
bodyLength: 10.6
height: 5.7
height: 6.9
model: # from EasyEDA using JLC2KiCad
file: 'library/connector/usb-a-2.0-receptacle_c42428.stp'
rotation: 0,0,0
position: 0,6.1,0
# signal pins
padWidth: 1.0

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,57 @@
name: XKB_SK-3245S
# variation A not defined here
variations: L1-B, L2-B, L3-B, L4-B
description: switch, surface mount, SPDT/DPDT
datasheet: https://www.helloxkb.com/public/images/pdf/SK-3245S-X-X.pdf
pinout@L1-B: 1-6
pinout@L2-B: 1-6
pinout@L3-B: 1-6
pinout@L4-B: 1-6
schematic:
symbol: switch
left: 1-3
right: 4-6
housing@B: &B
pattern: custom
bodyWidth: 3.55
bodyLength: 9.1
height: 3.55
numbers: 1, 4, 2, 5, 3, 6
padWidth: 1.1
padHeight: 0.8
rowCount: 3
columnCount: 2
horizontalPitch: 6.53
verticalPitch: 2.5
housing@L1-B:
suffix: -L1-B
<<: *B
silkscreen: M 3.775 -1.75 3.775 1.75 # switch level (3.55/2 + L, )
housing@L2-B:
suffix: -L2-B
<<: *B
silkscreen: M 4.275 -1.75 4.275 1.75 # switch level (3.55/2 + L, )
housing@L3-B:
suffix: -L3-B
<<: *B
silkscreen: M 4.775 -1.75 4.775 1.75 # switch level (3.55/2 + L, )
housing@L4-B:
suffix: -L4-B
<<: *B
silkscreen: M 5.775 -1.75 5.775 1.75 # switch level (3.55/2 + L, )
model: # from http://www.helloxkb.com/public/images/zip/SK-3245S-L4-B.zip
file: 'library/mechanical/switch_xkb_sk-3245s-l4-b.step'
rotation: -90,0,0
position: 0,0,0.35