57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
connectors: # This is based on tutorial3(ex1) and adds some Shorts to the connectors
|
|
X1: # An example of Shorts
|
|
type: Molex KK 254
|
|
subtype: female
|
|
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND]
|
|
shorts: # A List(Dict) of shorts is created
|
|
- SH1: [1, 5, 7] # First is the designator than a list of pins to be shorted
|
|
- SH2: [2, 6]
|
|
additional_components: # Some Additional Components to describe the short in more detail, they are not necessary if no further detail is needed
|
|
- references: SH1
|
|
color: PK # The color of the short, can also be multicolor
|
|
manufacturer: WireViz
|
|
mpn: 42XCD42A5
|
|
type: shortPartA
|
|
qty: 42 # The length or some other quantity
|
|
unit: mm # The unit of the qty, in this example the length
|
|
- references: SH2
|
|
color: RD
|
|
manufacturer: WireViz
|
|
mpn: 42XCD42A5
|
|
type: shortPartB
|
|
|
|
X2: # An example of Loops and how an Additional Component can describe more than one Short or Loop
|
|
type: Molex KK 254
|
|
subtype: female
|
|
pinlabels: [GND, VCC, RX, TX, GND, VCC, GND]
|
|
loops:
|
|
- LO1: [1, 5, 7]
|
|
- LO2: [2, 6]
|
|
additional_components:
|
|
- references: [LO1, LO2] # example to show how one additional_components can reference more than one short or loop
|
|
color: PK
|
|
manufacturer: WireViz
|
|
mpn: 42XCD42A5
|
|
type: loopPartC
|
|
qty: 21
|
|
unit: mm
|
|
|
|
cables:
|
|
W1:
|
|
color_code: IEC
|
|
wirecount: 4
|
|
gauge: 0.25 mm2
|
|
show_equiv: true
|
|
length: 0.2
|
|
shield: true
|
|
type: Serial
|
|
|
|
connections:
|
|
-
|
|
- X1: [1-4]
|
|
- W1: [1-4]
|
|
- X2: [1,2,4,3]
|
|
-
|
|
- X1: 1
|
|
- W1: s
|