Motorsport wiring loom and CAN bus: planning, building and testing
In my experience, a large share of the problems on standalone conversions comes from the electrics, not the calibration. A properly planned loom and a correctly built CAN bus save many hours of fault finding. This guide follows my process from planning to testing.
Pin-out plan first
Every loom starts with a pin-out plan. It lists, for every ECU pin, its function, which sensor or actuator is connected, which wire gauge and colour are used and at which connector pin the wire ends. All other devices belong in it too, such as the dash, wideband controller, PDM and data logger.
Spare pins should be deliberately reserved in the plan, for example for a later oil pressure or exhaust temperature sensor. On newer ECUs with multi-purpose pins the plan matters even more, because a pin can be either an output or an input, but not both. On the G4X XtremeX, for example, the second CAN bus uses two digital inputs. The finished plan belongs with the car’s documentation.
Connectors, wiring and shielding
In the engine bay and in racing, sealed connectors, strain relief and wiring rated for temperature and current are what count. Wire gauges depend on the load current and the length of the run.
Weak sensor signals need particular care. Inductive crank and cam sensors as well as knock sensors are connected with shielded cable. The shield is terminated at one end only, usually on the ECU side. These wires are routed away from ignition coils, ignition leads and power cables. CAN wires are run as a twisted pair.
On older cars the existing loom deserves a look before any conversion. On many Mercedes-Benz cars built from 1992 to 1996 the engine loom insulation cracks with age.
A clean grounding concept
Many apparently mysterious faults come down to grounding. Power grounds for injectors, coils and actuators and sensor grounds for the measurement signals are run separately. Sensors take their ground from the ECU’s sensor ground output, not from any convenient point on the body.
Engine, body and battery need adequately sized ground connections. Under load there should be hardly any voltage drop between the battery negative terminal and the engine block. This can be checked with a multimeter with the engine running.
PDM instead of relays and fuses
A power distribution module, or PDM, replaces relays and fuses with electronically switched outputs. Currents are monitored, outputs can be programmed, and in a fault only the affected circuit is switched off. Over CAN the PDM exchanges data with the ECU and the dash, for example to control the fan and fuel pump or for warnings.
Building the CAN bus correctly
The ECU, dash, wideband controller, telemetry, PDM and EGT modules communicate over CAN. Wideband lambda values arrive digitally instead of as a 0–5 V signal, avoiding the error sources of analogue transmission. With six exhaust temperature probes on one CAN module, cylinders can be balanced with trims and individually protected against over-temperature. For this to work reliably, a few rules apply:
- A linear topology with short stubs instead of a star.
- One 120 Ω termination resistor at each end of the bus, not at every device. Many devices have a switchable internal resistor that may only be active at the ends. With the ignition off you then measure about 60 Ω between CAN-H and CAN-L.
- All nodes on a bus run at the same bit rate. High-speed CAN to ISO 11898 is designed for up to 1 Mbit/s.
- Each message ID may be sent on the bus by one device only. In arbitration the ID with the higher priority, meaning the lower value, wins.
On Link’s G5 Voodoo Neo, CAN 1 sits on its own connector that supplies the CAN devices with +14 V at up to 3.6 A continuous. On cars with a factory ECU the CAN bus is not always on the OBD port. On the B58 in the GR Supra, for example, CAN sensors such as flex fuel are therefore wired directly.
On the bench first, then in the car
Before a loom goes into the car, I check the CAN network on a bench setup. ECU, dash, wideband controller, PDM and other modules are connected, bit rates and IDs are aligned and all values are checked for plausibility. A fault that is quickly found on the bench can cost hours once everything is installed.
From the pin-out plan to the finished motorsport loom, everything is matched to the ECU, sensors and package space. Start-up and calibration follow, remotely or on the dyno.
Cable sizes, voltage drop, earthing and crimping in detail: guide to wiring basics and cable sizes →
FAQ
How many termination resistors does a CAN bus need?
Two, one 120 Ω resistor at each end of the bus. With the ignition off you then measure about 60 Ω between CAN-H and CAN-L.
Why lambda over CAN instead of analogue?
The values arrive digitally, without the error sources of an analogue 0–5 V signal. That matters for throttle response and part-load control.
Do you also build the loom?
Yes, from the pin-out plan to the finished motorsport loom, matched to the ECU, sensors and package space. I check the CAN network on a bench setup first.
Related engines
More guides
- Getting a standalone ECU calibrated: process and requirements
- Link G4X or G5 Voodoo Neo: comparing the ECUs
- Remote tuning via datalogs: process, channels and limits
- Trigger wheels for turbo conversions: getting the crank and cam signals right
- E85 and flex fuel: what changes in the calibration
- Knock control and engine protection: how an ECU safeguards the engine
- Injectors and fuel system: sizing and characterisation data
- Boost control on turbo engines: wastegate, control strategy and launch functions
- Dyno power measurement: principle, correction standards and limits
- Preparing for a dyno or remote tuning session: the checklist
- Tuning ignition coils compared: R8, 1.4 TFSI, R35, 1NZ, IGN-1A and more
Want this on your car?
Calibration remotely via datalogs or on the dyno, with Link, Haltech, MaxxECU, Ecumaster or EcuTek. Send me vehicle, ECU and goal.
Last updated: