qeda_library/connector/rj45_hc-rj45-5ja-1.yaml

56 lines
1.4 KiB
YAML

name: HC-RJ45-5JA-1-5
description: connector, RJ45, with LEDs
datasheet: https://datasheet.lcsc.com/lcsc/2204251600_HCTL-HC-RJ45-5JA-1-5-Y_C3000187.pdf
pinout:
LED_R:
LEDA_R: 12
LEDC_R: 11
LED_L:
LEDA_L: 10
LEDC_L: 9
8P8C: 1-8
properties:
passive: LED_R, LED_L, 8P8C, SHELL
schematic:
symbol: connector
left: LED_L, LED_R
right: 8P8C
housing:
pattern: custom
bodyWidth: 15.9
bodyLength: 15.2
height: 13.0
model:
file: 'library/connector/rj45_hc-rj45-5ja-1.step'
rotation: 0,0,0
position: 0,0,0
# 8P8C pins
holeDiameter: 1.0 # 1.2 according to recommended pattern, but far to large, and smaller allows routing between pads
padDiameter: 1.4
verticalPitch: 1.02
horizontalPitch: 1.78
# pin 1 on 1.02*3.5-1.02*n, 15.2/2-9.13=-1.53 or +1.78=0.25
padPosition: 3.57, 0.25, 2.55, -1.53, 1.53, 0.25, 0.51, -1.53, -0.51, 0.25, -1.53, -1.53, -2.55, 0.25, -3.57, -1.53
# right LED
holeDiameter1: 1.0 # 1.2 according to recommended pattern
padDiameter1: 1.4
# 15.2/2-14=-6.4 13.7/2=6.85 9.14/2=4.57
padPosition1: 6.85, -6.4, 4.57, -6.4
# left LED
holeDiameter2: 1.0 # 1.2 according to recommended pattern
padDiameter2: 1.4
padPosition2: -4.57, -6.4, -6.85, -6.4
# mounting holes
holeDiameter3: 3.0 # 3.2 according to recommended pattern, but neck is 2.5 and head is 3.0
# Y 15.2/2-5.0
padPosition3: 6.35, 2.6, -6.35, 2.6