qeda_library/connector/usb-c_hro_type-c-31-m-12.yaml

72 lines
2.0 KiB
YAML

name: HRO_TYPE-C-31-M-12
description: USB 3.1 receptacle, type-C, 16-pin, surface mount signal, through-hole housing
datasheet: https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf
keywords: connector, USB
pinout:
A:
CC1: 6 # A5
DP1: 8 # A6
DN1: 9 # A7
SBU1: 11 # A8
B:
CC2: 12 # B5
DP2: 10 # B6
DN2: 7 # B7
SBU2: 5 # B8
GND: 1, 2, 15, 16 # A1, B12, B1, A12
VBUS: 3, 4, 13, 14 # A4, B9, B4, A9
SHIELD: 17, 18, 19, 20
MOUNTING: 21, 22
properties:
power: VBUS
ground: GND
bidir: DP1, DN1, DP2, DN2, CC1, CC2, SBU1, SBU2
passive: SHIELD
nc: MOUNTING
schematic:
symbol: connector
left: A
right: B
top: VBUS
bottom: GND, SHIELD
housing:
pattern: custom
bodyWidth: 8.79-9.09
bodyLength: 7.15-7.45
bodyPosition: 0, 0 # use case center
height: 3.21
model: # from /usr/share/kicad/3dmodels/Connector_USB.3dshapes/USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.step
file: "library/connector/usb-c_hro_type-c-31-m-12.step"
rotation: 0,0,180
position: 0,0,0
# A + B
padWidth: 0.30
padHeight: 1.45
padPosition: 3.4, 4.305, 3.1, 4.305, 2.6, 4.305, 2.3, 4.305, 1.75, 4.305, 1.25, 4.305, 0.75, 4.305, 0.25, 4.305, -0.25, 4.305, -0.75, 4.305, -1.25, 4.305, -1.75, 4.305, -2.3, 4.305, -2.6, 4.305, -3.1, 4.305, -3.4, 4.305 # X: -6.5/2-0.3/2=3.4, -6.5/2+0.3/2=-3.1, -2.45-0.3/2=-2.6, -2.45+0.3/2=-2.3 Y: -(2.60+4.18)/2+2.60+5.82-1.45/2 = 4.305
# top shield
slotWidth1: 0.6
slotHeight1: 1.7
padWidth1: 1.0
padHeight1: 2.1
padPosition1: -4.32, 3.39, 4.32, 3.39 # X: 8.64/2 = 4.32, Y: -(2.60+4.18)/2+2.60+4.18 = 3.39
# bottom shield
slotWidth2: 0.6
slotHeight2: 1.2
padWidth2: 1.0
padHeight2: 1.6
padPosition2: -4.32, -0.78, 4.32, -0.78 # X: 8.64/2 = 4.32, Y: -(2.60+4.18)/2+2.60 = -0.79
# mounting hole
holeDiameter3: 0.65
padDiameter3: 0.0
padPosition3: -2.89, 2.86, 2.89, 2.86 # X: 5.78/2 = 2.89, Y: -(2.60 + 4.18)/2+2.60+3.65 = 2.86