48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
connectors:
|
|
X1:
|
|
type: Molex KK 254 # more information
|
|
subtype: female
|
|
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND] # pincount is implicit in pinout
|
|
shorts:
|
|
- SH1: [1, 5, 7]
|
|
- SH2: [2, 6]
|
|
additional_components:
|
|
- references: SH1
|
|
color: PK
|
|
manufacturer: WireViz
|
|
mpn: 42XCD42A5
|
|
type: shortPartA
|
|
qty: 42
|
|
unit: mm
|
|
- references: SH2
|
|
color: RD
|
|
manufacturer: WireViz
|
|
mpn: 42XCD42A5
|
|
type: shortPartB
|
|
X2:
|
|
type: Molex KK 254
|
|
subtype: female
|
|
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND]
|
|
shorts:
|
|
- SH1: [1, 5, 7]
|
|
- SH2: [2, 6]
|
|
|
|
cables:
|
|
W1:
|
|
color_code: IEC # auto-color wires based on a standard
|
|
wirecount: 4 # need to specify number of wires explicitly when using a color code
|
|
gauge: 0.25 mm2 # also accepts AWG as unit
|
|
show_equiv: true # auto-calculate AWG equivalent from metric gauge
|
|
length: 0.2 # length in m
|
|
shield: true
|
|
type: Serial
|
|
|
|
connections:
|
|
-
|
|
- X1: [1-4]
|
|
- W1: [1-4]
|
|
- X2: [1,2,4,3] # crossover
|
|
- # connection from connector pin to wire shielding
|
|
- X1: 1
|
|
- W1: s
|