Design Wire Harnesses

Flux designs the boards and the wire harnesses between them in the same project: connectors, pinouts and wires.

Get a cable design that matches your boards, without a second pinout in a spreadsheet. Flux is an AI hardware engineer. Flux designs each cable from the connectors and nets in your project and documents it in the project files.

Describe the harness

Tell Flux what the cables connect, which connectors they use, and how long they are.

I am building a small ground robot. Design the wire harness that connects the main controller board to the drive motor driver and the battery. Use JST GH connectors on the controller side and XT30 for battery power. Each run is 250 mm.
Design the harness between the flight controller and the four ESCs of this drone. Each signal cable is 150 mm.
Design a 600 mm harness from the vehicle control unit connector J1 to the dashboard connector J2. Match pins that share a net.

Open the Chat panel and describe the cables. When Flux needs more data, it asks you in the chat. For example, it asks for the pinout of a board that is not in the project, or for the battery voltage and current. Reply in the chat, or tell Flux to define the values that you do not have. Flux states each value that it chose.


Design a multi-board harness

Ask Flux to design the board-to-board harness for a complete device.

Design the system interconnect for a robot arm with a controller board, three motor-driver boards, and a sensor board. Connect the controller to each board. Show the branches, connectors, pinouts, wire gauges and lengths, and a drawing for each cable.

Open the Chat panel in the project and describe the boards and connections. Flux uses the connectors and nets in the project to create the harness record and system wiring table.


Choose connectors and mating housings

Tell Flux the board connectors at each end of the cable. Give the reference designators in the project or the connector part numbers.

Use J1 and J2 in this project as the two ends of the cable.
The controller uses a JST B4B-PH-K-S header. Find the mating housing and the crimp contacts for the cable.

Flux finds the mating cable housing for each board connector. It uses the housing that the board connector's datasheet names as its mate, not the board-mounted header. Flux also lists the crimp contacts, and the contact gender at each end.


Choose wires

Tell Flux the gauge, wire family, or colors when you want specific values. Tell Flux the current when a wire carries power.

Use red for 5V, black for GND, and one color for each signal wire.
The battery is a 3S LiPo, 11.1 V, 15 A continuous and 30 A peak. Size the power wires for that current.
Use 22 AWG wire for all wires in the test rig cable.

Flux makes one wire for each net that both ends share. When you do not give the wire values, Flux selects stocked UL 1007 wire, the thinnest gauge that both connectors accept, and one color for each wire. When a net carries more current than that gauge can carry, Flux selects a thicker stocked gauge.


Set the cable length

Tell Flux the length of each cable.

Make the signal cable 250 mm and the power cable 300 mm.
Each drone arm cable runs 180 mm from the flight controller to the arm board.

The length depends on where the parts are in the device and how the cable runs between them. When the request has no length, Flux asks for it before it quotes. The wiring table records the length of each wire.


Branched harnesses and splices

Ask Flux to create the branches and splices for the harness.

Make one trunk from the controller connector, with branches to three motor connectors and two sensor connectors. Add the splices, name each branch, and show the wires and connections in the drawing and wiring table.

Open the Chat panel and describe each branch and splice. Flux records the branch connections and splice points in the harness drawing and wiring table.


Shielding and coverings

Ask Flux to add the cable shield and protective coverings.

Use shielded cable for the sensor branches, a braided sleeve on the trunk, heat shrink at the branch points, and conduit where the harness passes the robot arm joints. List each covering and where it is used.

Open the Chat panel and specify the cable and covering for each section. Flux lists the shielded cable, braided sleeve, heat shrink, and conduit in the harness record and bill of materials.


Bundle diameter

Ask Flux to calculate the outside diameter of each harness section.

Calculate the bundle diameter for the trunk and every branch. Include the wire insulation and the specified shield, braided sleeve, heat shrink, or conduit in each calculation.

Open the Chat panel and ask for the bundle diameters. Flux adds a diameter for each trunk and branch to the harness record.


Get the wiring table and the harness drawing

Tell Flux which documents you want for the harness.

Give me the connectors and mating housings, the wire gauge and color for each wire, the pin-to-pin wiring table, and a harness drawing.
Add a cable bill of materials for 10 sets of the harness to the project files.

Flux writes a harness build record to the project files. Select Files in the project view switcher to open it. The record contains:

  • A harness drawing that shows each cable from end to end, with the connector, pin, signal, color, gauge, and length of each wire.

  • A pin-to-pin wiring table for all wires.

  • A cable bill of materials with the housings, contacts, connectors, wire, and labels, for one set and for the quantity that you ask for.

  • Assembly and test steps for the cable.

  • The quote from the manufacturer, when you ask for one.

This example shows a part of the harness drawing for the logic cable of a ground robot:

CABLE A — LOGIC: C1 controller C2 driver
JST GHR-06V-S + female contacts JST GHR-06V-S + female contacts
1 5V ---- red 26 AWG, 250 +/-5 mm ---- 1 5V
2 GND ---- black 26 AWG, 250 +/-5 mm ---- 2 GND
3 PWM_A ---- blue 28 AWG, 250 +/-5 mm ---- 3 PWM_A
4 DIR_A ---- white 28 AWG, 250 +/-5 mm ---- 4 DIR_A
5 PWM_B ---- green 28 AWG, 250 +/-5 mm ---- 5 PWM_B
6 DIR_B ---- yellow 28 AWG, 250 +/-5 mm ---- 6 DIR_B

Formboard (1:1) drawing

Ask Flux to create a full-scale formboard drawing for the harness.

Make a 1:1 formboard drawing for this harness. Show the trunk, branches, connector positions, splice points, wire lengths, and the board-to-board labels.

Open Files in the project view switcher to open the saved formboard drawing. Flux lays out the harness at 1:1 scale and labels its connectors, branches, and splice points.


Cut list and connector cavity table

Ask Flux to prepare the wire cut list and a cavity table for every connector.

Make a cut list with wire ID, source and destination cavities, signal, color, gauge, and cut length. Add a connector cavity table with each cavity, terminal, and wire ID.

Open Files in the project view switcher to open the saved tables. Flux lists each wire and length in the cut list, and each connector cavity and its wire in the cavity tables.


Continuity test table

Ask Flux to create the continuity checks for each cable.

Make a continuity test table for this harness. List each source pin and destination pin, the expected connection, and the test result field. Include the branches and splices.

Open Files in the project view switcher to open the continuity table. Flux lists the pin pairs and expected connections for each cable branch.


Change the harness

Tell Flux what to change.

Swap the DIR_A and DIR_B wires and update the drawing and the wiring table.
Change the power cable to 400 mm and quote the set again.

Enter the change in the same chat thread. Flux updates the harness build record and makes a new quote when you ask for one.


Next steps