Skip to content
WireVizDocsOpen editor
Examples

Connector loop wiring

Show a link between two pins inside one connector.

Connector loop wiring rendered with WireViz, showing the connectors, wires and pin assignments
Generated directly from the example YAML with WireViz 0.4.1.

Purpose

Use loops to document an internal pin-to-pin link separately from the external cable. This jumper arrangement is illustrative, not a certified electrical design.

Components

  • JUMPERED has four positions and an internal link between pins 1 and 2.
  • DEVICE has two positions.
  • W1 contains two 24 AWG conductors and is 0.3 meters long.

Wiring

The declaration loops: [[1, 2]] connects pins 1 and 2 within JUMPERED. Its pins 1 and 3 connect through the cable to device pins 1 and 2. Pin 4 is unused. A loop does not create another cable conductor or automatically add a separately purchased jumper to the BOM.

What to change

Each loop entry must contain two existing pin IDs. Add further pairs for other internal links. If a real jumper needs its own procurement entry, add an additional BOM item with the appropriate part and quantity.

Generated bill of materials

Id Description Qty Unit Designators
1 Cable, 2 x 24 AWG 0.3 m W1
2 Connector, Four-position connector, 4 pins 1 JUMPERED
3 Connector, Two-position device connector, 2 pins 1 DEVICE

YAML source

connector-loop.yml
metadata:
  title: Connector with an internal jumper
  description: Illustrative connector-loop example, not a certified electrical design.

connectors:
  JUMPERED:
    type: Four-position connector
    pincount: 4
    pinlabels: [REFERENCE_A, REFERENCE_B, SIGNAL, UNUSED]
    loops: [[1, 2]]
    notes: Pins 1 and 2 are linked within this illustrative assembly.
  DEVICE:
    type: Two-position device connector
    pincount: 2
    pinlabels: [REFERENCE, SIGNAL]

cables:
  W1:
    wirecount: 2
    gauge: 24 AWG
    length: 0.3
    colors: [BK, YE]
    wirelabels: [REFERENCE, SIGNAL]

connections:
  - - JUMPERED: [1, 3]
    - W1: [1, 2]
    - DEVICE: [1, 2]