Connector and cable (WireViz)

WireViz produces a harness drawing and a bill of materials from the same description, which means the diagram and the pinout cannot disagree.


#What this example shows

  • Connectors with typed pin labels.

  • A cable with gauge, length and wire colours.

  • Connections mapping pins to wires to pins.


#A worked example

Open it, edit it, or copy the source below.

Connector and cable (WireViz)

The source, which you can paste into a new diagram and edit:

connectors:
  PSU:
    type: Molex Mini-Fit Jr
    subtype: male
    pinlabels: [+12V, GND, +5V, GND]
    notes: Panel mounted

  BOARD:
    type: JST PH
    subtype: female
    pinlabels: [VIN, GND, VLOGIC, GND]
    notes: Underside of the controller board

cables:
  W1:
    gauge: 20 AWG
    length: 0.45
    colors: [RD, BK, YE, BK]
    shield: false

connections:
  -
    - PSU: [1, 2, 3, 4]
    - W1: [1, 2, 3, 4]
    - BOARD: [1, 2, 3, 4]

#Making it your own

  • Colour codes are two-letter abbreviations: RD, BK, YE, BU, GN, WH.

  • Length is in metres and appears in the parts list, so get it right.

  • Say which side of the connector the pin numbering refers to.



Specialists. Borrow one when you need it.