WireViz/examples/ex16.yml

44 lines
1013 B
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:
pins: [1, 5, 7]
color: PK
type: loop
SH2:
pins: [2, 6]
color: RD
X2:
type: Molex KK 254
subtype: female
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND]
shorts:
SH1:
pins: [1, 5, 7]
type: loop
SH2:
pins: [2, 6]
type: loop
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