name: HRO_TYPE-C-31-M-04
description: USB 3.1 receptacle, type C
datasheet: https://datasheet.lcsc.com/szlcsc/1903211731_Korean-Hroparts-Elec-TYPE-C-31-M-04_C129018.pdf
keywords: connector, USB

pinout:
  A:
    SSTX+1: 2
    SSTX-1: 3
    CC1: 5
    D+1: 6
    D-1: 7
    SBU1: 8
    SSRX-2: 10
    SSRX+2: 11
  B:
    SSRX+1: 14
    SSRX-1: 15
    SBU2: 17
    D+2: 18
    D-2: 19
    CC2: 20
    SSTX-2: 22
    SSTX+2: 23
  GND: 1, 12, 13, 24
  VBUS: 4, 9, 16, 21
  SHIELD: 25, 26, 27, 28
  MOUNTING: 29, 30

properties:
  power: VBUS
  ground: GND
  bidir: D-, D+, CC1, CC2, SUB1, SUB2
  in: SSRX−1, SSRX+1, SSRX−2, SSRX+2
  out: SSTX−1, SSTX+1, SSTX−2, SSTX+2
  passive: SHIELD
  nc: MOUNTING

schematic:
  symbol: connector
  right: A, B
  top: VBUS
  bottom: GND, SHIELD

housing:
  pattern: custom
  bodyWidth: 9.55-10.15
  bodyLength: 9.87
  bodyPosition: 0, 3.235 # use mounting holes line as center (8.17 - 9.87 / 2)
  height: 3.32

  # A
  padWidth: 0.30
  padHeight: 0.90
  pitch: 0.50
  rowCount: 1
  columnCount: 12
  rowDX: 0
  rowDY: -0.56

  # B
  holeDiameter1: 0.4
  padDiameter1: 0.6
  padPosition1: -2.875, 0.65, -2.475, 1.35, -1.675, 1.35, -1.275, 0.65, -0.875, 1.35, -0.457, 0.65, 0.457, 0.65, 0.875, 1.35, 1.275, 0.65, 1.675, 1.35, 2.475, 1.35, 2.875, 0.65

  # shield
  holeDiameter2: 1.1
  padDiameter2: 1.5
  padPosition2: -4.195, 1.24, 4.195, 1.24, -4.565, 5.64, 4.565, 5.64

  # mounting hole
  holeDiameter3: 0.65
  padPosition3: -3.675, 0, 3.675, 0

