Use positively retained connectors, or a supported soldered interconnect, instead of loose individual jumper leads between enclosed boards. Support each board independently, then restrain the harness so cable movement cannot load pins or solder joints. Connector retention and wire support solve different problems; you need both. For boards without mounting holes, establish secure support before designing the wiring. The separate article on mounting a PCB without mounting holes covers that mechanical problem.
What you need before choosing connectors
Start with the electrical requirements and the movement expected inside the enclosure. A connector that stays mated can still develop intermittent contacts if its application limits are exceeded.
Gather these items before selecting parts:
- Board drawings showing connector locations, pin assignments, mating direction and component keepouts.
- Maximum continuous current, startup current and voltage for every circuit.
- Signal requirements, including differential pairs, shielding and permitted cable length.
- Expected operating temperature, vibration exposure and transport conditions.
- Connector documentation covering contact compatibility, wire range, termination tools and retention features.
- A harness drawing identifying both ends, support points and the intended service position.
Limit this approach to circuits whose electrical requirements you understand. Mains wiring, safety circuits and other regulated connections need their applicable design and verification procedures.
Measure available space with the connector fully mated and its latch accessible. Allow room for the cable exit and specified bend radius. A connector body that fits beside a board may still leave no room to release it.
The article on wiring enclosure-mounted components to a PCB addresses the related transition between fixed enclosure hardware and board connections.
Build the interconnect in this order
-
Fix the board positions before measuring the harness.
Secure both boards using supports suitable for their mass and expected movement. Do not suspend one board from another board's header unless that arrangement is specifically designed for the load. Check clearance beneath solder joints and around components. Include the installed connector, cable exit and support hardware in the layout. Harness length measured between loose boards usually becomes wrong after final assembly.
-
Choose the connection architecture.
Use a flexible harness with retained connectors when boards need independent removal or occupy different mounting surfaces. A rigid carrier board can suit closely spaced boards with a repeatable geometry. However, its supports and connectors must tolerate the assembly tolerances without bending either board. Use a soldered interconnect when disconnection is unnecessary and suitable termination points are available. None of these arrangements should depend on unsupported wires holding the boards together.
-
Select retention for the complete mating pair.
Look for a positive latch, locking screw or another documented retention system suitable for the application. Confirm that the selected contacts, housings and mating header belong together. A 0.100 in [2.54 mm] pitch identifies spacing, not compatibility or vibration performance. A wire housing with a latch does not gain retention when fitted to an unrelated unshrouded header. If the board only has exposed pins, use a compatible documented mating solution or a properly engineered adapter.
-
Match the contacts and wire to the circuit.
Check current capacity using the connector manufacturer's conditions, including temperature, wire size and the number of loaded contacts. Check contact suitability for low-level signals as well as power circuits. Preserve required differential pairs and shielding arrangements; connector retention does not correct poor signal routing. Select flexible wire where movement is expected. Follow the specified insulation diameter and conductor range so the terminal grips both conductor and insulation correctly.
-
Make controlled terminations.
For crimp contacts, use the specified tooling and inspect conductor capture, insulation support and contact seating. Apply the documented verification method without substituting an arbitrary pull force. For screw or spring terminals, follow strip length, conductor preparation and torque instructions where applicable. Use ferrules only when the terminal documentation permits them. Do not tin stranded wire before placing it under a screw clamp unless explicitly permitted; solder can creep and reduce clamping force.
-
Support soldered connections before they can flex.
Use solder pads or terminals intended for the connection, with a process suitable for the board and wire. Avoid adding wires to component leads or undocumented test points without checking their electrical and mechanical suitability. Insulate exposed joints and restrain the insulated wire near the termination without stressing the pad. Solder wicking makes part of a flexible conductor rigid. Keep repeated bending away from that transition, and do not use a solder fillet as strain relief.
-
Route and restrain the harness.
Place supports so harness weight and movement transfer into the mounting structure, not the contacts. Keep wires away from sharp edges, hot components, latch mechanisms and door pinch points. Tighten restraints enough to prevent migration without crushing insulation. Leave enough controlled slack to avoid tension across the expected movement range, but prevent loops from striking components. The article on cable service loop retention without enclosure holes explains ways to retain that slack without unnecessary penetrations.
-
Provide a deliberate service position.
Arrange the harness so you can release the latch and grip the connector housing without pulling its wires. Support the board during removal rather than letting it hang from the harness. Label both ends and verify the pin map against the circuit drawing. Use keying or distinct connector arrangements to prevent incorrect mating; labels alone do not physically prevent it. Document which restraints must be released and restored during service.
Checks before closing the enclosure
Isolate all power sources before inspection or adjustment, including batteries and stored-energy sources. Verify the assembly electrically before energizing it under controlled conditions.
- Confirm each contact is fully seated and each retention feature is engaged.
- Verify continuity, polarity and absence of unintended shorts against the approved wiring drawing.
- Inspect for damaged insulation, exposed strands, displaced contacts and solder bridges.
- Move serviceable boards through their intended travel while watching harness tension and bend locations.
- Close the door slowly and check the complete harness for pinching or interference.
- Confirm connector access remains possible after covers, ducts and neighboring equipment are installed.
Do not treat a hand shake as vibration qualification. Define the expected service environment and acceptance criteria before evaluating the assembly. A controlled test should check electrical continuity as well as visible movement and damage.
For transport-specific inspection, use the article on enclosure transport testing for loose wiring and relays. Transport checks complement interconnect design; they do not establish suitability for continuous machine vibration.
Mistakes that damage wiring or compromise the seal
Treating friction as a lock. Individual jumper sockets may be convenient during development, but friction alone is not positive retention. Select the complete connection for the expected environment rather than adding an improvised adhesive restraint.
Using a latch as strain relief. A latched housing can remain connected while wire movement damages its terminations. Support the harness separately from the connector.
Making every cable taut. A straight, tight harness transfers assembly tolerances and movement directly into the contacts. Provide controlled slack while respecting the cable's minimum bend radius.
Adding unplanned wall holes. An internal cable support does not justify an unsealed penetration through the enclosure. Put supports on suitable internal structure where practical. If a penetration is necessary, review its sealing and effect on the specified enclosure rating.
Ignoring the external cable pull. A retained board connector is not a cable-entry restraint. External loads need an appropriate entry fitting and internal support arrangement. The article on cable strain relief for sealed enclosure entries covers that separate load path.
Trapping wiring at the gasket. Keep harnesses, labels and restraints away from sealing surfaces. An intact gasket cannot seal correctly over a trapped conductor.
What to specify for the enclosure and harness
For custom enclosures, define material, width, height, depth and every required cutout. Include an internal layout showing board envelopes, connector mating directions, harness supports and service access. We build custom enclosures from one piece; the approved drawing should identify the enclosure work rather than imply unspecified electronics assembly.
Send the following interconnect details with the layout:
- Connector mating-pair identifiers, retention method and cable exit direction.
- Circuit pin map, conductor sizes, shielding and harness length tolerances.
- Required support locations and prohibited drilling areas.
- Clearance needed to unlatch connectors and remove each board.
- Expected vibration environment and the verification method for the completed assembly.
If an environmental rating is required, specify it for the complete enclosure design, including penetrations. Our enclosure ratings are manufacturer ratings for the specified design; the enclosures are not UL listed. Connector retention does not establish an enclosure rating, and an enclosure rating does not establish vibration endurance.
Enclosures for this job
Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 304 stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
What should replace loose jumper wires between circuit boards?
Use a complete connector system with documented positive retention and contacts suitable for the circuit. Support the harness separately so cable movement cannot pull on the terminals. Confirm that the mating header supports the selected retention feature; matching pin spacing alone does not establish compatibility.
Is soldering more vibration resistant than using a connector?
Neither method is automatically better. A correctly terminated, retained connector allows controlled servicing. A supported soldered connection can suit a permanent assembly, but unsupported wires can fatigue near the solder joint. Choose according to electrical requirements, movement, access and the ability to verify workmanship.
Can a board-to-board header also support the second board?
Only use the header as a structural support when the board assembly and connector are designed for that arrangement. Otherwise, support each board independently. Board movement and mass can load connector solder joints even when the electrical connection remains fully engaged.
How much slack should an internal wiring harness have?
There is no universal length. Determine slack from the installed geometry, expected movement, cable bend radius and service position. The harness must avoid tension at both ends without leaving an uncontrolled loop that can strike components, catch a latch or enter the door seal.





