← Back

MX-5 Miata NB2 2001-05 (BP-Z3, VVT; excludes Mazdaspeed) → Emtron SL4 (auto)

MX-5 Miata NB2 2001-05 (BP-Z3, VVT; excludes Mazdaspeed) — Emtron — SL4
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-12

Before you start

Not confident with automotive wiring? Have a professional harness builder or tuner do it, or check your work before first power-up. A wiring mistake can damage the ECU, the engine or the car, or start a fire.

Install modifications

Steps on the car itself, outside the harness. Every harness for this car inherits them.

  • Re-route the pressure-sensor vacuum hose to the intake manifoldrequired

    Re-route the pressure sensor's (Mazda "EGR boost sensor", pin 4AE) vacuum hose directly to the intake manifold, bypassing the EGR boost solenoid. The stock ECU multiplexes baro + MAP through that solenoid: with it off the sensor reads atmosphere, with it energized it reads manifold. After re-routing the sensor reads MAP only, so the standalone needs its own barometric source — its onboard baro sensor if fitted, or a separate baro sensor on a spare analog input. (Alternative, not recommended: keep the hose stock and have the ECU energize the solenoid permanently via a low-side output switched with ignition; this costs an output.)

    Why: With the solenoid off (its default) the sensor reads atmospheric pressure, not manifold pressure, so a standalone that uses this sensor as its MAP input would read the wrong value.

    Where: EGR boost solenoid and the pressure sensor's vacuum hose (sensor signal 4AE).

    Source: Justin Barrera — Miata NA/NB wiring corrections

Statusproposal · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job50 wires · 8 connectors · 3 part lines
ToolsCrimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink
Terminals3-1447221-4
Order of work1. Check every part against the parts list. 2. Cut and label every wire (labels: Export → Wire labels). 3. Crimp and pin connector by connector, ticking the build checklist. 4. Run the bench test with nothing plugged in and the battery disconnected. 5. Only then connect the ECU and power up.

Build checklist

Tick each box as you go. Continuity: meter from end to end, expect under 1 Ω.

WireFromToGaugeColourCutLabelCrimp ACrimp BPin APin BContinuity
W1OEM-2-PSP-14V-10.85☐☐☐☐☐☐☐
W2OEM-4-AFSP-14V-10.85☐☐☐☐☐☐☐
W3OEM-4-DSP-14V-10.85☐☐☐☐☐☐☐
W4SP-14V-1SL4-A-340.85☐☐☐☐☐☐☐
W5SP-14V-1SL4-B-10.85☐☐☐☐☐☐☐
W6OEM-3-ASP-GND-10.85☐☐☐☐☐☐☐
W7OEM-3-BSP-GND-10.85☐☐☐☐☐☐☐
W8OEM-4-ASP-GND-10.85☐☐☐☐☐☐☐
W9SP-GND-1SL4-B-180.85☐☐☐☐☐☐☐
W10SP-GND-1SL4-B-260.85☐☐☐☐☐☐☐
W11OEM-4-OSP-0V-10.5☐☐☐☐☐☐☐
W12SP-0V-1SL4-B-100.5☐☐☐☐☐☐☐
W13OEM-4-LSL4-B-20.5☐☐☐☐☐☐☐
W14OEM-3-YSL4-B-50.5☐☐☐☐☐☐☐
W15SP-0V-1SL4-B-60.5☐☐☐☐☐☐☐
W16OEM-3-VSL4-B-70.5☐☐☐☐☐☐☐
W17SP-0V-1SL4-B-80.5☐☐☐☐☐☐☐
W18OEM-4-MSL4-B-160.5☐☐☐☐☐☐☐
W19OEM-3-FSL4-A-260.5☐☐☐☐☐☐☐
W20OEM-3-ISL4-A-270.5☐☐☐☐☐☐☐
W21OEM-2-ASL4-A-10.5☐☐☐☐☐☐☐
W22OEM-2-DSL4-A-20.5☐☐☐☐☐☐☐
W23OEM-2-GSL4-A-30.5☐☐☐☐☐☐☐
W24OEM-2-JSL4-A-40.5☐☐☐☐☐☐☐
W25OEM-4-XSL4-B-110.5☐☐☐☐☐☐☐
W26OEM-4-VSL4-B-120.5☐☐☐☐☐☐☐
W27OEM-4-PSL4-B-130.5☐☐☐☐☐☐☐
W28OEM-4-SSL4-B-40.5☐☐☐☐☐☐☐
W29OEM-2-BSL4-B-30.5☐☐☐☐☐☐☐
W30OEM-2-CSL4-A-140.5☐☐☐☐☐☐☐
W31OEM-2-KSL4-A-150.5☐☐☐☐☐☐☐
W32OEM-2-MSL4-A-160.5☐☐☐☐☐☐☐
W33OEM-3-HSL4-A-170.5☐☐☐☐☐☐☐
W34OEM-2-OSL4-A-100.5☐☐☐☐☐☐☐
W35OEM-3-JSL4-A-110.5☐☐☐☐☐☐☐
W36OEM-3-PSL4-A-120.5☐☐☐☐☐☐☐
W37OEM-2-QSL4-A-130.5☐☐☐☐☐☐☐
W38OEM-4-AESL4-B-140.5☐☐☐☐☐☐☐
W39OEM-4-AASL4-B-150.5☐☐☐☐☐☐☐
W40OEM-4-WSL4-B-190.5☐☐☐☐☐☐☐
W41OEM-4-NSL4-B-200.5☐☐☐☐☐☐☐
W42OEM-4-ADSL4-B-210.5☐☐☐☐☐☐☐
W43OEM-3-TSL4-A-200.5☐☐☐☐☐☐☐
W44OEM-3-SSL4-A-210.5☐☐☐☐☐☐☐
W45OEM-4-BSL4-A-220.5☐☐☐☐☐☐☐
W46OEM-4-CSL4-A-230.5☐☐☐☐☐☐☐
W47OEM-4-FSL4-A-240.5☐☐☐☐☐☐☐
W48OEM-4-HSL4-A-250.5☐☐☐☐☐☐☐
W49OEM-4-ISL4-B-220.5☐☐☐☐☐☐☐
W50OEM-4-JSL4-B-230.5☐☐☐☐☐☐☐

Bench test (before first power-up)

Pre-power install steps (make these cuts/modifications on the car first, then verify the checks below): Re-route the pressure-sensor vacuum hose to the intake manifold.

Battery disconnected, ECU and every sensor unplugged. Meter on resistance. Each pair below must read open (OL): a reading means a pinched wire, a stray strand or a mis-pinned cavity. Then check continuity of every wire (last column of the build checklist).

#Probe AProbe BExpectWhyReading
1SL4-A-34SL4-B-10open (OL)+12 V supply must not touch sensor ground
2SL4-A-34SL4-B-18open (OL)+12 V supply must not touch power ground
3SL4-B-2SL4-B-10open (OL)5 V sensor reference must not touch sensor ground
4SL4-A-34SL4-B-2open (OL)+12 V supply must not touch 5 V sensor reference
5SL4-B-18SL4-B-2open (OL)power ground must not touch 5 V sensor reference

If any reading doesn't match, stop and get help before powering up.

Revisions

RevLabelByDate
No revisions yet.

Schematic

OEM-2OEM-3OEM-4SL4-ASL4-BSP-0VSP-14VSP-GND

Connectors

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AInjector 1—W21—0.5SL4-A-1———
BCooling fan relay—W29—0.5SL4-B-3———
CCondenser fan relay—W30—0.5SL4-A-14———
DInjector 2—W22—0.5SL4-A-2———
EEGR valve————————
FEGR valve————————
GInjector 3—W23—0.5SL4-A-3———
HEGR valve————————
IEGR valve————————
JInjector 4—W24—0.5SL4-A-4———
KA/C clutch relay—W31—0.5SL4-A-15———
LNC————————
MFuel pump relay—W32—0.5SL4-A-16———
NVTCS solenoid (intake butterflies)————————
OFuel pump relay (non-immobiliser)—W34—0.5SL4-A-10———
PISC valve +14V feed—W1—0.85SP-14V-1———
QISC valve low side—W37—0.5SL4-A-13———
RMalfunction indicator lamp (MIL)————————

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W6—0.85SP-GND-1———
BPower ground—W7—0.85SP-GND-1———
CPurge solenoid valve————————
DEGR boost solenoid————————
ENC————————
FIgnition 1 (coils 1+4, wasted spark)—W19—0.5SL4-A-26———
GNC————————
HMain relay—W33—0.5SL4-A-17———
IIgnition 2 (coils 2+3, wasted spark)—W20—0.5SL4-A-27———
JFront O2 heater—W35—0.5SL4-A-11———
KEVAP leak detection pump————————
LNC————————
MAlternator control————————
NNC————————
OTachometer output————————
PRear O2 heater—W36—0.5SL4-A-12———
QData link connector (K-line)————————
RNC————————
SImmobiliser—W44—0.5SL4-A-21———
TVehicle speed—W43—0.5SL4-A-20———
UCharge lamp————————
VCam position (CMP)—W16—0.5SL4-B-7———
WNC————————
XNC————————
YCrank position (CKP)—W14—0.5SL4-B-5———
ZNC————————

OEM-4

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W8—0.85SP-GND-1———
AARear O2 signal—W39—0.5SL4-B-15———
ABNC————————
ACTCM (automatic only)————————
ADFuel level—W42—0.5SL4-B-21———
AEPressure sensor (Mazda: EGR boost sensor)—W38—0.5SL4-B-14———
AFECU power +14V (main relay)—W2—0.85SP-14V-1———
AGConstant +12V————————
AHEVAP leak detection pump solenoid valve————————
BBrake switch—W45—0.5SL4-A-22———
CPower steering pressure switch—W46—0.5SL4-A-23———
DVVT oil-control solenoid +12V feed—W3—0.85SP-14V-1———
EDiagnostic (DLC TEN) (NA)————————
FA/C request—W47—0.5SL4-A-24———
GNC————————
HNeutral switch—W48—0.5SL4-A-25———
IClutch switch—W49—0.5SL4-B-22———
JVTCS vacuum switch—W50—0.5SL4-B-23———
KNC————————
L+5V sensor supply—W13—0.5SL4-B-2———
MKnock sensor—W18—0.5SL4-B-16———
NIntake air temperature (IAT)—W41—0.5SL4-B-20———
OSignal ground—W11—0.5SP-0V-1———
PCoolant temperature (ECT)—W27—0.5SL4-B-13———
QNC————————
RVVT oil-control solenoid (low-side control)————————
SIgnition switch (IG1) sense—W28—0.5SL4-B-4———
TGenerator output voltage (terminal P)————————
UNC————————
VThrottle position (TPS)—W26—0.5SL4-B-12———
WFront O2 signal—W40—0.5SL4-B-19———
XMass air flow (MAF)—W25—0.5SL4-B-11———
YNC————————
ZTCM (automatic only)————————

SL4-A

Mating face
SL4-A-1 · Injection channel 11SL4-A-2 · Injection channel 22SL4-A-3 · Injection channel 33SL4-A-4 · Injection channel 44SL4-A-5 · NC5SL4-A-6 · NC6SL4-A-7 · NC7SL4-A-8 · NC8SL4-A-9 · Sensor supply 8V9SL4-A-10 · Auxiliary output 110SL4-A-11 · Auxiliary output 211SL4-A-12 · Auxiliary output 312SL4-A-13 · Auxiliary output 413SL4-A-14 · Auxiliary output 514SL4-A-15 · Auxiliary output 615SL4-A-16 · Auxiliary output 716SL4-A-17 · Auxiliary output 817SL4-A-18 · Auxiliary output 918SL4-A-19 · Auxiliary output 1019SL4-A-20 · Digital input 120SL4-A-21 · Digital input 221SL4-A-22 · Digital input 322SL4-A-23 · Digital input 423SL4-A-24 · Digital input 524SL4-A-25 · Digital input 625SL4-A-26 · Ignition channel 126SL4-A-27 · Ignition channel 227SL4-A-28 · Ignition channel 328SL4-A-29 · Ignition channel 429SL4-A-30 · NC30SL4-A-31 · NC31SL4-A-32 · NC32SL4-A-33 · NC33SL4-A-34 · Aux 9–10 14V supply34
Wire side
SL4-A-1 · Injection channel 11SL4-A-2 · Injection channel 22SL4-A-3 · Injection channel 33SL4-A-4 · Injection channel 44SL4-A-5 · NC5SL4-A-6 · NC6SL4-A-7 · NC7SL4-A-8 · NC8SL4-A-9 · Sensor supply 8V9SL4-A-10 · Auxiliary output 110SL4-A-11 · Auxiliary output 211SL4-A-12 · Auxiliary output 312SL4-A-13 · Auxiliary output 413SL4-A-14 · Auxiliary output 514SL4-A-15 · Auxiliary output 615SL4-A-16 · Auxiliary output 716SL4-A-17 · Auxiliary output 817SL4-A-18 · Auxiliary output 918SL4-A-19 · Auxiliary output 1019SL4-A-20 · Digital input 120SL4-A-21 · Digital input 221SL4-A-22 · Digital input 322SL4-A-23 · Digital input 423SL4-A-24 · Digital input 524SL4-A-25 · Digital input 625SL4-A-26 · Ignition channel 126SL4-A-27 · Ignition channel 227SL4-A-28 · Ignition channel 328SL4-A-29 · Ignition channel 429SL4-A-30 · NC30SL4-A-31 · NC31SL4-A-32 · NC32SL4-A-33 · NC33SL4-A-34 · Aux 9–10 14V supply34
CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Injection channel 1—W21—0.5OEM-2-A———
2Injection channel 2—W22—0.5OEM-2-D———
3Injection channel 3—W23—0.5OEM-2-G———
4Injection channel 4—W24—0.5OEM-2-J———
5NC————————
6NC————————
7NC————————
8NC————————
9Sensor supply 8V————————
10Auxiliary output 1—W34—0.5OEM-2-O———
11Auxiliary output 2—W35—0.5OEM-3-J———
12Auxiliary output 3—W36—0.5OEM-3-P———
13Auxiliary output 4—W37—0.5OEM-2-Q———
14Auxiliary output 5—W30—0.5OEM-2-C———
15Auxiliary output 6—W31—0.5OEM-2-K———
16Auxiliary output 7—W32—0.5OEM-2-M———
17Auxiliary output 8—W33—0.5OEM-3-H———
18Auxiliary output 9————————
19Auxiliary output 10————————
20Digital input 1—W43—0.5OEM-3-T———
21Digital input 2—W44—0.5OEM-3-S———
22Digital input 3—W45—0.5OEM-4-B———
23Digital input 4—W46—0.5OEM-4-C———
24Digital input 5—W47—0.5OEM-4-F———
25Digital input 6—W48—0.5OEM-4-H———
26Ignition channel 1—W19—0.5OEM-3-F———
27Ignition channel 2—W20—0.5OEM-3-I———
28Ignition channel 3————————
29Ignition channel 4————————
30NC————————
31NC————————
32NC————————
33NC————————
34Aux 9–10 14V supply—W4—0.85SP-14V-1———

SL4-B

Mating face
SL4-B-1 · ECU 14V supply1SL4-B-2 · Sensor supply Vref1 5.0V2SL4-B-3 · EFI relay output (low side, 200 mA)3SL4-B-4 · Ignition switch input4SL4-B-5 · Crank index sensor +5SL4-B-6 · Crank index sensor −6SL4-B-7 · Sync sensor +7SL4-B-8 · Sync sensor −8SL4-B-9 · Shield (crank/sync/knock)9SL4-B-10 · Analog sensor 0V reference10SL4-B-11 · Analog input 111SL4-B-12 · Analog input 212SL4-B-13 · Analog input 313SL4-B-14 · Analog input 414SL4-B-15 · Analog input 515SL4-B-16 · Knock 1 +16SL4-B-17 · Knock 1 −17SL4-B-18 · ECU ground18SL4-B-19 · Analog input 619SL4-B-20 · Analog input 7 (switchable 1k pull-up)20SL4-B-21 · Analog input 8 (switchable 1k pull-up)21SL4-B-22 · Analog input 9 (switchable 1k pull-up)22SL4-B-23 · Analog input 10 (switchable 1k pull-up)23SL4-B-24 · Knock 2 +24SL4-B-25 · Knock 2 −25SL4-B-26 · ECU ground26SL4-B-27 · CAN 1 H27SL4-B-28 · CAN 1 L28SL4-B-29 · NC29SL4-B-30 · NC30SL4-B-31 · Ethernet Tx +31SL4-B-32 · Ethernet Tx −32SL4-B-33 · Ethernet Rx +33SL4-B-34 · Ethernet Rx −34
Wire side
SL4-B-1 · ECU 14V supply1SL4-B-2 · Sensor supply Vref1 5.0V2SL4-B-3 · EFI relay output (low side, 200 mA)3SL4-B-4 · Ignition switch input4SL4-B-5 · Crank index sensor +5SL4-B-6 · Crank index sensor −6SL4-B-7 · Sync sensor +7SL4-B-8 · Sync sensor −8SL4-B-9 · Shield (crank/sync/knock)9SL4-B-10 · Analog sensor 0V reference10SL4-B-11 · Analog input 111SL4-B-12 · Analog input 212SL4-B-13 · Analog input 313SL4-B-14 · Analog input 414SL4-B-15 · Analog input 515SL4-B-16 · Knock 1 +16SL4-B-17 · Knock 1 −17SL4-B-18 · ECU ground18SL4-B-19 · Analog input 619SL4-B-20 · Analog input 7 (switchable 1k pull-up)20SL4-B-21 · Analog input 8 (switchable 1k pull-up)21SL4-B-22 · Analog input 9 (switchable 1k pull-up)22SL4-B-23 · Analog input 10 (switchable 1k pull-up)23SL4-B-24 · Knock 2 +24SL4-B-25 · Knock 2 −25SL4-B-26 · ECU ground26SL4-B-27 · CAN 1 H27SL4-B-28 · CAN 1 L28SL4-B-29 · NC29SL4-B-30 · NC30SL4-B-31 · Ethernet Tx +31SL4-B-32 · Ethernet Tx −32SL4-B-33 · Ethernet Rx +33SL4-B-34 · Ethernet Rx −34
CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1ECU 14V supply—W5—0.85SP-14V-1———
2Sensor supply Vref1 5.0V—W13—0.5OEM-4-L———
3EFI relay output (low side, 200 mA)—W29—0.5OEM-2-B———
4Ignition switch input—W28—0.5OEM-4-S———
5Crank index sensor +—W14—0.5OEM-3-Y———
6Crank index sensor −—W15—0.5SP-0V-1———
7Sync sensor +—W16—0.5OEM-3-V———
8Sync sensor −—W17—0.5SP-0V-1———
9Shield (crank/sync/knock)————————
10Analog sensor 0V reference—W12—0.5SP-0V-1———
11Analog input 1—W25—0.5OEM-4-X———
12Analog input 2—W26—0.5OEM-4-V———
13Analog input 3—W27—0.5OEM-4-P———
14Analog input 4—W38—0.5OEM-4-AE———
15Analog input 5—W39—0.5OEM-4-AA———
16Knock 1 +—W18—0.5OEM-4-M———
17Knock 1 −————————
18ECU ground—W9—0.85SP-GND-1———
19Analog input 6—W40—0.5OEM-4-W———
20Analog input 7 (switchable 1k pull-up)—W41—0.5OEM-4-N———
21Analog input 8 (switchable 1k pull-up)—W42—0.5OEM-4-AD———
22Analog input 9 (switchable 1k pull-up)—W49—0.5OEM-4-I———
23Analog input 10 (switchable 1k pull-up)—W50—0.5OEM-4-J———
24Knock 2 +————————
25Knock 2 −————————
26ECU ground—W10—0.85SP-GND-1———
27CAN 1 H————————
28CAN 1 L————————
29NC————————
30NC————————
31Ethernet Tx +————————
32Ethernet Tx −————————
33Ethernet Rx +————————
34Ethernet Rx −————————

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W15—0.5SL4-B-6———
1——W11—0.5OEM-4-O———
1——W12—0.5SL4-B-10———
1——W17—0.5SL4-B-8———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-2-P———
1——W2—0.85OEM-4-AF———
1——W3—0.85OEM-4-D———
1——W4—0.85SL4-A-34———
1——W5—0.85SL4-B-1———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W6—0.85OEM-3-A———
1——W7—0.85OEM-3-B———
1——W8—0.85OEM-4-A———
1——W9—0.85SL4-B-18———
1——W10—0.85SL4-B-26———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-2-AInjector 1injector_outSL4-A-1Injection channel 1injector_outYBsingle_source
OEM-2-BCooling fan relaylow_side_outSL4-B-3EFI relay output (low side, 200 mA)low_side_outRYsingle_source
OEM-2-CCondenser fan relaylow_side_outSL4-A-14Auxiliary output 5switch_outLWsingle_source
OEM-2-DInjector 2injector_outSL4-A-2Injection channel 2injector_outVGsingle_source
OEM-2-EEGR valvelow_side_out———Lgsingle_source
OEM-2-FEGR valvelow_side_out———WGsingle_source
OEM-2-GInjector 3injector_outSL4-A-3Injection channel 3injector_outYRsingle_source
OEM-2-HEGR valvelow_side_out———PBsingle_source
OEM-2-IEGR valvelow_side_out———Psingle_source
OEM-2-JInjector 4injector_outSL4-A-4Injection channel 4injector_outYGsingle_source
OEM-2-KA/C clutch relaylow_side_outSL4-A-15Auxiliary output 6switch_outLBsingle_source
OEM-2-LNC————unverified
OEM-2-MFuel pump relaylow_side_outSL4-A-16Auxiliary output 7switch_outRWsingle_source
OEM-2-NVTCS solenoid (intake butterflies)low_side_out———BWsingle_source
OEM-2-OFuel pump relay (non-immobiliser)low_side_outSL4-A-10Auxiliary output 1switch_outRsingle_source
OEM-2-PISC valve +14V feedpower_inSL4-A-34 + SL4-B-1Aux 9–10 14V supply + ECU 14V supplypower_inOrsingle_source
OEM-2-QISC valve low sidelow_side_outSL4-A-13Auxiliary output 4switch_outVRsingle_source
OEM-2-RMalfunction indicator lamp (MIL)low_side_out———WLsingle_source
OEM-3-APower groundgroundSL4-B-18 + SL4-B-26ECU ground + ECU groundgroundBsingle_source
OEM-3-BPower groundgroundSL4-B-18 + SL4-B-26ECU ground + ECU groundgroundBRsingle_source
OEM-3-CPurge solenoid valvelow_side_out———GYsingle_source
OEM-3-DEGR boost solenoid————GyBsingle_source
OEM-3-ENC————unverified
OEM-3-FIgnition 1 (coils 1+4, wasted spark)ignition_outSL4-A-26Ignition channel 1ignition_outBrWsingle_source
OEM-3-GNC————unverified
OEM-3-HMain relaylow_side_outSL4-A-17Auxiliary output 8switch_outLOrsingle_source
OEM-3-IIgnition 2 (coils 2+3, wasted spark)ignition_outSL4-A-27Ignition channel 2ignition_outBYsingle_source
OEM-3-JFront O2 heaterlow_side_outSL4-A-11Auxiliary output 2switch_outBOrsingle_source
OEM-3-KEVAP leak detection pumplow_side_out———YBsingle_source
OEM-3-LNC————unverified
OEM-3-MAlternator controllow_side_out———GyRsingle_source
OEM-3-NNC————unverified
OEM-3-OTachometer outputtacho_out———GOrsingle_source
OEM-3-PRear O2 heaterlow_side_outSL4-A-12Auxiliary output 3switch_outWBsingle_source
OEM-3-QData link connector (K-line)serial———GWsingle_source
OEM-3-RNC————unverified
OEM-3-SImmobiliserdigital_inSL4-A-21Digital input 2digital_inRBsingle_source
OEM-3-TVehicle speeddigital_inSL4-A-20Digital input 1digital_inGRsingle_source
OEM-3-UCharge lamplow_side_out———BrRsingle_source
OEM-3-VCam position (CMP)trigger_inSL4-B-7Sync sensor +trigger_inGyLsingle_source
OEM-3-WNC————unverified
OEM-3-XNC————unverified
OEM-3-YCrank position (CKP)trigger_inSL4-B-5Crank index sensor +trigger_inVWsingle_source
OEM-3-ZNC————unverified
OEM-4-APower groundgroundSL4-B-18 + SL4-B-26ECU ground + ECU groundgroundBLsingle_source
OEM-4-AARear O2 signallambda_nb_inSL4-B-15Analog input 5analog_inRsingle_source
OEM-4-ABNC————unverified
OEM-4-ACTCM (automatic only)————VGsingle_source
OEM-4-ADFuel levelanalog_inSL4-B-21Analog input 8 (switchable 1k pull-up)analog_inBrBsingle_source
OEM-4-AEPressure sensor (Mazda: EGR boost sensor)analog_inSL4-B-14Analog input 4analog_inLYcorroborated
OEM-4-AFECU power +14V (main relay)power_inSL4-A-34 + SL4-B-1Aux 9–10 14V supply + ECU 14V supplypower_inWRsingle_source
OEM-4-AGConstant +12Vpower_in———LRsingle_source
OEM-4-AHEVAP leak detection pump solenoid valvelow_side_out———RGsingle_source
OEM-4-BBrake switchdigital_inSL4-A-22Digital input 3digital_inGsingle_source
OEM-4-CPower steering pressure switchdigital_inSL4-A-23Digital input 4digital_inBrsingle_source
OEM-4-DVVT oil-control solenoid +12V feedpower_inSL4-A-34 + SL4-B-1Aux 9–10 14V supply + ECU 14V supplypower_inYsingle_source
OEM-4-EDiagnostic (DLC TEN) (NA)serial———LYsingle_source
OEM-4-FA/C requestdigital_inSL4-A-24Digital input 5digital_inLgBsingle_source
OEM-4-GNC————unverified
OEM-4-HNeutral switchdigital_inSL4-A-25Digital input 6digital_inVsingle_source
OEM-4-IClutch switchdigital_inSL4-B-22Analog input 9 (switchable 1k pull-up)analog_inWGsingle_source
OEM-4-JVTCS vacuum switchdigital_inSL4-B-23Analog input 10 (switchable 1k pull-up)analog_inOrsingle_source
OEM-4-KNC————unverified
OEM-4-L+5V sensor supplyvrefSL4-B-2Sensor supply Vref1 5.0VvrefLgRsingle_source
OEM-4-MKnock sensorknock_inSL4-B-16Knock 1 +knock_inWsingle_source
OEM-4-NIntake air temperature (IAT)temp_inSL4-B-20Analog input 7 (switchable 1k pull-up)analog_inPLsingle_source
OEM-4-OSignal groundsensor_groundSL4-B-10 + SL4-B-6 + SL4-B-8Analog sensor 0V reference + Crank index sensor − + Sync sensor −sensor_ground + trigger_inBRsingle_source
OEM-4-PCoolant temperature (ECT)temp_inSL4-B-13Analog input 3analog_inRLsingle_source
OEM-4-QNC————unverified
OEM-4-RVVT oil-control solenoid (low-side control)low_side_out———VYcorroborated
OEM-4-SIgnition switch (IG1) sensedigital_inSL4-B-4Ignition switch inputdigital_inBWsingle_source
OEM-4-TGenerator output voltage (terminal P)————Gysingle_source
OEM-4-UNC————unverified
OEM-4-VThrottle position (TPS)analog_inSL4-B-12Analog input 2analog_inGBsingle_source
OEM-4-WFront O2 signallambda_nb_inSL4-B-19Analog input 6analog_inLsingle_source
OEM-4-XMass air flow (MAF)analog_inSL4-B-11Analog input 1analog_inPsingle_source
OEM-4-YNC————unverified
OEM-4-ZTCM (automatic only)————PBsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-2-PSP-14V-10.85no routeISC valve +14V feed—
W2OEM-4-AFSP-14V-10.85no routeECU power +14V (main relay)—
W3OEM-4-DSP-14V-10.85no routeVVT oil-control solenoid +12V feed—
W4SP-14V-1SL4-A-340.85no routeAux 9–10 14V supply—
W5SP-14V-1SL4-B-10.85no routeECU 14V supply—
W6OEM-3-ASP-GND-10.85no routePower ground—
W7OEM-3-BSP-GND-10.85no routePower ground—
W8OEM-4-ASP-GND-10.85no routePower ground—
W9SP-GND-1SL4-B-180.85no routeECU ground—
W10SP-GND-1SL4-B-260.85no routeECU ground—
W11OEM-4-OSP-0V-10.5no routeSignal ground—
W12SP-0V-1SL4-B-100.5no routeAnalog sensor 0V reference—
W13OEM-4-LSL4-B-20.5no route+5V sensor supply—
W14OEM-3-YSL4-B-50.5no routeCrank position (CKP)—
W15SP-0V-1SL4-B-60.5no routeCrank index sensor −—
W16OEM-3-VSL4-B-70.5no routeCam position (CMP)—
W17SP-0V-1SL4-B-80.5no routeSync sensor −—
W18OEM-4-MSL4-B-160.5no routeKnock sensor—
W19OEM-3-FSL4-A-260.5no routeIgnition 1 (coils 1+4, wasted spark)—
W20OEM-3-ISL4-A-270.5no routeIgnition 2 (coils 2+3, wasted spark)—
W21OEM-2-ASL4-A-10.5no routeInjector 1—
W22OEM-2-DSL4-A-20.5no routeInjector 2—
W23OEM-2-GSL4-A-30.5no routeInjector 3—
W24OEM-2-JSL4-A-40.5no routeInjector 4—
W25OEM-4-XSL4-B-110.5no routeMass air flow (MAF)—
W26OEM-4-VSL4-B-120.5no routeThrottle position (TPS)—
W27OEM-4-PSL4-B-130.5no routeCoolant temperature (ECT)—
W28OEM-4-SSL4-B-40.5no routeIgnition switch (IG1) sense—
W29OEM-2-BSL4-B-30.5no routeCooling fan relay—
W30OEM-2-CSL4-A-140.5no routeCondenser fan relay—
W31OEM-2-KSL4-A-150.5no routeA/C clutch relay—
W32OEM-2-MSL4-A-160.5no routeFuel pump relay—
W33OEM-3-HSL4-A-170.5no routeMain relay—
W34OEM-2-OSL4-A-100.5no routeFuel pump relay (non-immobiliser)—
W35OEM-3-JSL4-A-110.5no routeFront O2 heater—
W36OEM-3-PSL4-A-120.5no routeRear O2 heater—
W37OEM-2-QSL4-A-130.5no routeISC valve low side—
W38OEM-4-AESL4-B-140.5no routePressure sensor (Mazda: EGR boost sensor)—
W39OEM-4-AASL4-B-150.5no routeRear O2 signal—
W40OEM-4-WSL4-B-190.5no routeFront O2 signal—
W41OEM-4-NSL4-B-200.5no routeIntake air temperature (IAT)—
W42OEM-4-ADSL4-B-210.5no routeFuel level—
W43OEM-3-TSL4-A-200.5no routeVehicle speed—
W44OEM-3-SSL4-A-210.5no routeImmobiliser—
W45OEM-4-BSL4-A-220.5no routeBrake switch—
W46OEM-4-CSL4-A-230.5no routePower steering pressure switch—
W47OEM-4-FSL4-A-240.5no routeA/C request—
W48OEM-4-HSL4-A-250.5no routeNeutral switch—
W49OEM-4-ISL4-B-220.5no routeClutch switch—
W50OEM-4-JSL4-B-230.5no routeVTCS vacuum switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit
connector4-1437290-0TESuperseal 1.0 34-way plug, Key 11.000ea
connector4-1437290-1TESuperseal 1.0 34-way plug, Key 21.000ea
terminal3-1447221-4TESuperseal 1.0 socket terminal, 20 AWG (0.5 sq mm)43.000ea

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (14)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-4-I ↔ SL4-B-22OEM-4-I "Clutch switch" [digital_in] is wired to SL4-B-22 "Analog input 9 (switchable 1k pull-up)" [analog_in]. Analog and digital on one net. A switch on an analog input works with a pull-up and a threshold; an analog sensor on a digital input loses its value.
warnNET_FAMILYOEM-4-J ↔ SL4-B-23OEM-4-J "VTCS vacuum switch" [digital_in] is wired to SL4-B-23 "Analog input 10 (switchable 1k pull-up)" [analog_in]. Analog and digital on one net. A switch on an analog input works with a pull-up and a threshold; an analog sensor on a digital input loses its value.
infoNET_FAMILYOEM-2-C ↔ SL4-A-14OEM-2-C "Condenser fan relay" [low_side_out] is wired to SL4-A-14 "Auxiliary output 5" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-2-K ↔ SL4-A-15OEM-2-K "A/C clutch relay" [low_side_out] is wired to SL4-A-15 "Auxiliary output 6" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-2-M ↔ SL4-A-16OEM-2-M "Fuel pump relay" [low_side_out] is wired to SL4-A-16 "Auxiliary output 7" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-2-O ↔ SL4-A-10OEM-2-O "Fuel pump relay (non-immobiliser)" [low_side_out] is wired to SL4-A-10 "Auxiliary output 1" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-2-Q ↔ SL4-A-13OEM-2-Q "ISC valve low side" [low_side_out] is wired to SL4-A-13 "Auxiliary output 4" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-3-H ↔ SL4-A-17OEM-3-H "Main relay" [low_side_out] is wired to SL4-A-17 "Auxiliary output 8" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-3-J ↔ SL4-A-11OEM-3-J "Front O2 heater" [low_side_out] is wired to SL4-A-11 "Auxiliary output 2" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-3-P ↔ SL4-A-12OEM-3-P "Rear O2 heater" [low_side_out] is wired to SL4-A-12 "Auxiliary output 3" [switch_out]. Configure this output as low side.
infoNET_FAMILYOEM-4-N ↔ SL4-B-20OEM-4-N "Intake air temperature (IAT)" [temp_in] is wired to SL4-B-20 "Analog input 7 (switchable 1k pull-up)" [analog_in]. Thermistor on a plain analog input needs a pull-up; check the channel can enable one.
infoNET_FAMILYOEM-4-O ↔ SL4-B-6OEM-4-O "Signal ground" [sensor_ground] is wired to SL4-B-6 "Crank index sensor −" [trigger_in]. Trigger return tied to sensor/trigger ground: correct for single-ended trigger inputs.
infoNET_FAMILYOEM-4-P ↔ SL4-B-13OEM-4-P "Coolant temperature (ECT)" [temp_in] is wired to SL4-B-13 "Analog input 3" [analog_in]. Thermistor on a plain analog input needs a pull-up; check the channel can enable one.
infoUNMAPPEDOEM19 optional OEM pins are not mapped: OEM-2-E EGR valve; OEM-2-F EGR valve; OEM-2-H EGR valve; OEM-2-I EGR valve; OEM-2-N VTCS solenoid (intake butterflies); OEM-2-R Malfunction indicator lamp (MIL); OEM-3-C Purge solenoid valve; OEM-3-D EGR boost solenoid; OEM-3-K EVAP leak detection pump; OEM-3-M Alternator control; OEM-3-O Tachometer output; OEM-3-Q Data link connector (K-line); OEM-3-U Charge lamp; OEM-4-AC TCM (automatic only); OEM-4-AH EVAP leak detection pump solenoid valve; OEM-4-E Diagnostic (DLC TEN) (NA); OEM-4-R VVT oil-control solenoid (low-side control); OEM-4-T Generator output voltage (terminal P); OEM-4-Z TCM (automatic only)

Accepted (1)

CodeSubjectReasonBy
REQUIRED_UNMAPPEDOEM-4-AGBattery-constant (memory) feed of the stock ECU: the new ECU has no such input, so it is not needed.mapping-proposal

Notes

Auto-mapped by auto_map() from the library pin data on 2026-10-11. Review every wire against both manuals before building. Not wired: - OEM-4 AG: Constant +12V: Emtron SL4 has no battery-constant input; not needed - SL4-B 17: Knock 1 − left open: the stock knock sensor has one ECU wire; check the ECU manual for single-wire knock sensors - OEM-2 E: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-2 F: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-2 H: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-2 I: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-2 N: VTCS solenoid (intake butterflies): no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-2 R: Malfunction indicator lamp (MIL): no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-3 C: Purge solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-3 K: EVAP leak detection pump: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-3 M: Alternator control: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-3 U: Charge lamp: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-4 AH: EVAP leak detection pump solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-4 R: VVT oil-control solenoid (low-side control): no free low_side/relay_control/heater_low_side/ls_hs/injector on Emtron SL4 - OEM-3 O: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on Emtron SL4 - OEM-3 Q: Data link connector (K-line): no free k_line on Emtron SL4 - OEM-4 E: Diagnostic (DLC TEN) (NA): no free k_line on Emtron SL4 - OEM-3 D: EGR boost solenoid: not classified in the library; wire by hand - OEM-4 AC: TCM (automatic only): not classified in the library; wire by hand - OEM-4 T: Generator output voltage (terminal P): not classified in the library; wire by hand - OEM-4 Z: TCM (automatic only): not classified in the library; wire by hand

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4oem_manual2005 Mazda MX-5 Miata Engine Performance Control System (PCM terminal voltage reference, BP and BP WITH TC)https://trull.org/alex/pubmirror/www.mellens.net/mazda/Mazda-Miata-2005/engine_control_system.pdf———
4vendor_docAdaptronic eSel039 Select Plugin ECU for Mazda MX5 / Miata NB8B/C (OEM ECU pinout)https://www.miataturbo.net/attachments/ecus-tuning-54/04-msm-ecu-pinout-104032/nb8bc_oem_ecu_pinouts-224948d1602912806———
4vendor_docEmtron SL4/SL6/SL8 ECU datasheetshttps://docs.emtronaustralia.com.au/engine-management/datasheets/index.htmlarchive2026-10-051e22846cec94
4vendor_docEmtron SL4/SL6/SL8 pinout pageshttps://docs.emtronaustralia.com.au/engine-management/wiring/index.htmlarchive2026-10-05e52b3da9996a
4vendor_docLink G4X MX5NB2X install manual (NB2 2001-05)https://linkecu.com/documentation/MX5XNB2.pdfarchive2026-10-05741efdd9f2c8
4oem_manualMazda MX-5 NB2 (2003) wiring diagram — engine / starting / charginghttps://web.archive.org/web/20191104195207/http://mellens.net/mazda/mazda_miata_extra_manual/2003_wiring.pdf—2026-10-055ee0777f12c1
2expert_reportJustin Barrera — Miata NA/NB wiring corrections————