WireViz/tutorial/tutorial08.yml
Tyler Ward aed777169b Update Tutorial 08
Tutorial changed to use short parn number field names
Add aditional bom items to example
2020-07-22 23:59:56 +01:00

53 lines
1.1 KiB
YAML

connectors:
X1: &template1 # define a template for later use
type: Molex KK 254
pincount: 4
subtype: female
manufacturer: Molex # set manufacter name
mpn: 22013047 # set manufacturer part number
X2:
<<: *template1 # reuse template
pn: CON4 # set an internal part number
X3:
<<: *template1 # reuse template
cables:
W1:
wirecount: 4
length: 1
gauge: 0.25 mm2
color_code: IEC
manufacturer: CablesCo
mpn: ABC123
pn: CAB1
W2:
category: bundle
length: 1
gauge: 0.25 mm2
colors: [YE, BK, BK, RD]
manufacturer: [WiresCo,WiresCo,WiresCo,WiresCo] # set a manufacter per wire
mpn: [W1-YE,W1-BK,W1-BK,W1-RD]
pn: [WIRE1,WIRE2,WIRE2,WIRE3]
connections:
-
- X1: [1-4]
- W1: [1-4]
- X2: [1-4]
-
- X1: [1-4]
- W2: [1-4]
- X3: [1-4]
additional_bom_items:
- # define an additional item to add to the bill of materials
description: Label, pinout information
qty: 2
designators:
- X2
- X3
manufacturer: generic company
mpn: Label1
pn: Label-ID-1