← Back

MX-5 Miata Mazdaspeed 2004-05 (BP-ZET turbo, no VVT) → MoTeC M130 13130 (auto)

MX-5 Miata Mazdaspeed 2004-05 (BP-ZET turbo, no VVT) — MoTeC — M130
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-17

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.

Statusproposal · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job44 wires · 8 connectors · 0 part lines
ToolsCrimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink
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☐☐☐☐☐☐☐
W3SP-14V-1M130-A-260.85☐☐☐☐☐☐☐
W4OEM-4-AGM130-B-120.85☐☐☐☐☐☐☐
W5OEM-3-ASP-GND-10.85☐☐☐☐☐☐☐
W6OEM-3-BSP-GND-10.85☐☐☐☐☐☐☐
W7OEM-4-ASP-GND-10.85☐☐☐☐☐☐☐
W8SP-GND-1M130-A-100.85☐☐☐☐☐☐☐
W9SP-GND-1M130-A-110.85☐☐☐☐☐☐☐
W10OEM-4-OSP-0V-10.5☐☐☐☐☐☐☐
W11SP-0V-1M130-B-150.5☐☐☐☐☐☐☐
W12SP-0V-1M130-B-160.5☐☐☐☐☐☐☐
W13OEM-4-LM130-A-20.5☐☐☐☐☐☐☐
W14OEM-3-YM130-B-10.5☐☐☐☐☐☐☐
W15OEM-3-VM130-B-20.5☐☐☐☐☐☐☐
W16OEM-4-MM130-B-70.5☐☐☐☐☐☐☐
W17OEM-3-FM130-A-30.5☐☐☐☐☐☐☐
W18OEM-3-IM130-A-40.5☐☐☐☐☐☐☐
W19OEM-2-AM130-A-190.5☐☐☐☐☐☐☐
W20OEM-2-DM130-A-230.5☐☐☐☐☐☐☐
W21OEM-2-GM130-A-200.5☐☐☐☐☐☐☐
W22OEM-2-JM130-A-240.5☐☐☐☐☐☐☐
W23OEM-4-XM130-A-140.5☐☐☐☐☐☐☐
W24OEM-4-VM130-A-150.5☐☐☐☐☐☐☐
W25OEM-4-PM130-B-30.5☐☐☐☐☐☐☐
W26OEM-2-BM130-A-210.5☐☐☐☐☐☐☐
W27OEM-2-CM130-A-220.5☐☐☐☐☐☐☐
W28OEM-2-KM130-A-270.5☐☐☐☐☐☐☐
W29OEM-2-MM130-A-280.5☐☐☐☐☐☐☐
W30OEM-3-HM130-A-290.5☐☐☐☐☐☐☐
W31OEM-2-OM130-A-300.5☐☐☐☐☐☐☐
W32OEM-4-AEM130-A-160.5☐☐☐☐☐☐☐
W33OEM-4-AAM130-A-170.5☐☐☐☐☐☐☐
W34OEM-4-WM130-A-250.5☐☐☐☐☐☐☐
W35OEM-4-RM130-B-40.5☐☐☐☐☐☐☐
W36OEM-4-NM130-B-50.5☐☐☐☐☐☐☐
W37OEM-4-ADM130-B-200.5☐☐☐☐☐☐☐
W38OEM-3-TM130-B-80.5☐☐☐☐☐☐☐
W39OEM-3-SM130-B-90.5☐☐☐☐☐☐☐
W40OEM-4-BM130-B-100.5☐☐☐☐☐☐☐
W41OEM-4-CM130-B-110.5☐☐☐☐☐☐☐
W42OEM-4-FM130-B-140.5☐☐☐☐☐☐☐
W43OEM-4-HM130-B-210.5☐☐☐☐☐☐☐
W44OEM-4-IM130-B-220.5☐☐☐☐☐☐☐

Bench test (before first power-up)

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
1M130-A-2M130-B-15open (OL)5 V sensor reference must not touch sensor ground
2M130-A-26M130-A-10open (OL)+12 V supply must not touch power ground
3M130-A-26M130-B-15open (OL)+12 V supply must not touch sensor ground
4M130-B-12M130-B-15open (OL)+12 V supply must not touch sensor ground
5M130-A-10M130-A-2open (OL)power ground must not touch 5 V sensor reference
6M130-A-10M130-B-12open (OL)power ground must not touch +12 V supply
7M130-A-26M130-A-2open (OL)+12 V supply must not touch 5 V sensor reference
8M130-B-12M130-A-2open (OL)+12 V supply 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

M130-AM130-BOEM-2OEM-3OEM-4SP-0VSP-14VSP-GND

Connectors

M130-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Half Bridge Output 2————————
10Battery Negative 1—W8—0.85SP-GND-1———
11Battery Negative 2—W9—0.85SP-GND-1———
12Low Side Ignition 7————————
13Low Side Ignition 8————————
14Analogue Voltage Input 1—W23—0.5OEM-4-X———
15Analogue Voltage Input 2—W24—0.5OEM-4-V———
16Analogue Voltage Input 3—W32—0.5OEM-4-AE———
17Analogue Voltage Input 4—W33—0.5OEM-4-AA———
18Half Bridge Output 1————————
19Peak Hold Injector 1—W19—0.5OEM-2-A———
2Sensor 5.0V A—W13—0.5OEM-4-L———
20Peak Hold Injector 2—W21—0.5OEM-2-G———
21Peak Hold Injector 3—W26—0.5OEM-2-B———
22Peak Hold Injector 4—W27—0.5OEM-2-C———
23Low Side Injector 1—W20—0.5OEM-2-D———
24Low Side Injector 2—W22—0.5OEM-2-J———
25Analogue Voltage Input 5—W34—0.5OEM-4-W———
26Battery Positive—W3—0.85SP-14V-1———
27Peak Hold Injector 5—W28—0.5OEM-2-K———
28Peak Hold Injector 6—W29—0.5OEM-2-M———
29Peak Hold Injector 7—W30—0.5OEM-3-H———
3Low Side Ignition 1—W17—0.5OEM-3-F———
30Peak Hold Injector 8—W31—0.5OEM-2-O———
31Half Bridge Output 3————————
32Half Bridge Output 4————————
33Half Bridge Output 5————————
34Half Bridge Output 6————————
4Low Side Ignition 2—W18—0.5OEM-3-I———
5Low Side Ignition 3————————
6Low Side Ignition 4————————
7Low Side Ignition 5————————
8Low Side Ignition 6————————
9Sensor 5.0V B————————

M130-B

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Universal Digital Input 1—W14—0.5OEM-3-Y———
10Universal Digital Input 5—W40—0.5OEM-4-B———
11Universal Digital Input 6—W41—0.5OEM-4-C———
12Battery Backup—W4—0.85OEM-4-AG———
13Knock Input 2————————
14Universal Digital Input 7—W42—0.5OEM-4-F———
15Sensor 0V A—W11—0.5SP-0V-1———
16Sensor 0V B—W12—0.5SP-0V-1———
17CAN Bus 1 High————————
18CAN Bus 1 Low————————
19Sensor 6.3V————————
2Universal Digital Input 2—W15—0.5OEM-3-V———
20Analogue Voltage Input 6—W37—0.5OEM-4-AD———
21Analogue Voltage Input 7—W43—0.5OEM-4-H———
22Analogue Voltage Input 8—W44—0.5OEM-4-I———
23Ethernet Transmit +————————
24Ethernet Transmit -————————
25Ethernet Receive +————————
26Ethernet Receive -————————
3Analogue Temperature Input 1—W25—0.5OEM-4-P———
4Analogue Temperature Input 2—W35—0.5OEM-4-R———
5Analogue Temperature Input 3—W36—0.5OEM-4-N———
6Analogue Temperature Input 4————————
7Knock Input 1—W16—0.5OEM-4-M———
8Universal Digital Input 3—W38—0.5OEM-3-T———
9Universal Digital Input 4—W39—0.5OEM-3-S———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AInjector 1—W19—0.5M130-A-19———
BCooling fan relay—W26—0.5M130-A-21———
CCondenser fan relay—W27—0.5M130-A-22———
DInjector 2—W20—0.5M130-A-23———
EEGR valve————————
FEGR valve————————
GInjector 3—W21—0.5M130-A-20———
HEGR valve————————
IEGR valve————————
JInjector 4—W22—0.5M130-A-24———
KA/C clutch relay—W28—0.5M130-A-27———
LNC————————
MFuel pump relay—W29—0.5M130-A-28———
NVTCS solenoid (intake butterflies)————————
OFuel pump relay (non-immobiliser)—W31—0.5M130-A-30———
PISC valve +14V feed—W1—0.85SP-14V-1———
QISC valve low side————————
RMalfunction indicator lamp (MIL)————————

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W5—0.85SP-GND-1———
BPower ground—W6—0.85SP-GND-1———
CPurge solenoid valve————————
DEGR boost solenoid————————
ENC————————
FIgnition 1 (coils 1+4, wasted spark)—W17—0.5M130-A-3———
GNC————————
HMain relay—W30—0.5M130-A-29———
IIgnition 2 (coils 2+3, wasted spark)—W18—0.5M130-A-4———
JFront O2 heater————————
KEVAP leak detection pump————————
LNC————————
MAlternator control————————
NNC————————
OTachometer output————————
PRear O2 heater————————
QData link connector (K-line)————————
RNC————————
SImmobiliser—W39—0.5M130-B-9———
TVehicle speed—W38—0.5M130-B-8———
UCharge lamp————————
VCam position (CMP)—W15—0.5M130-B-2———
WNC————————
XNC————————
YCrank position (CKP)—W14—0.5M130-B-1———
ZNC————————

OEM-4

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W7—0.85SP-GND-1———
AARear O2 signal—W33—0.5M130-A-17———
ABNC————————
ACData link connector (DLC TEN, turbo)————————
ADFuel level—W37—0.5M130-B-20———
AEBARO/MAP sensor (turbo boost pressure)—W32—0.5M130-A-16———
AFECU power +14V (main relay)—W2—0.85SP-14V-1———
AGConstant +12V—W4—0.85M130-B-12———
AHEVAP leak detection pump solenoid valve————————
BBrake switch—W40—0.5M130-B-10———
CPower steering pressure switch—W41—0.5M130-B-11———
DBoost control solenoid (turbo)————————
EBoost control solenoid (turbo)————————
FA/C request—W42—0.5M130-B-14———
GNC————————
HNeutral switch—W43—0.5M130-B-21———
IClutch switch—W44—0.5M130-B-22———
JVTCS vacuum switch————————
KNC————————
L+5V sensor supply—W13—0.5M130-A-2———
MKnock sensor—W16—0.5M130-B-7———
NIntake air temperature (IAT)—W36—0.5M130-B-5———
OSignal ground—W10—0.5SP-0V-1———
PCoolant temperature (ECT)—W25—0.5M130-B-3———
QNC————————
RIntake air temperature 2 (IAT2, turbo)—W35—0.5M130-B-4———
SIgnition switch (IG1) sense————————
TGenerator output voltage (terminal P)————————
UNC————————
VThrottle position (TPS)—W24—0.5M130-A-15———
WFront O2 signal—W34—0.5M130-A-25———
XMass air flow (MAF)—W23—0.5M130-A-14———
YNC————————
ZTCM (automatic only)————————

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W10—0.5OEM-4-O———
1——W11—0.5M130-B-15———
1——W12—0.5M130-B-16———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-2-P———
1——W2—0.85OEM-4-AF———
1——W3—0.85M130-A-26———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W5—0.85OEM-3-A———
1——W6—0.85OEM-3-B———
1——W7—0.85OEM-4-A———
1——W8—0.85M130-A-10———
1——W9—0.85M130-A-11———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-2-AInjector 1injector_outM130-A-19Peak Hold Injector 1injector_outcorroborated
OEM-2-BCooling fan relaylow_side_outM130-A-21Peak Hold Injector 3injector_outcorroborated
OEM-2-CCondenser fan relaylow_side_outM130-A-22Peak Hold Injector 4injector_outcorroborated
OEM-2-DInjector 2injector_outM130-A-23Low Side Injector 1injector_outcorroborated
OEM-2-EEGR valvelow_side_out———corroborated
OEM-2-FEGR valvelow_side_out———corroborated
OEM-2-GInjector 3injector_outM130-A-20Peak Hold Injector 2injector_outcorroborated
OEM-2-HEGR valvelow_side_out———corroborated
OEM-2-IEGR valvelow_side_out———corroborated
OEM-2-JInjector 4injector_outM130-A-24Low Side Injector 2injector_outcorroborated
OEM-2-KA/C clutch relaylow_side_outM130-A-27Peak Hold Injector 5injector_outcorroborated
OEM-2-LNC————single_source
OEM-2-MFuel pump relaylow_side_outM130-A-28Peak Hold Injector 6injector_outcorroborated
OEM-2-NVTCS solenoid (intake butterflies)low_side_out———corroborated
OEM-2-OFuel pump relay (non-immobiliser)low_side_outM130-A-30Peak Hold Injector 8injector_outcorroborated
OEM-2-PISC valve +14V feedpower_inM130-A-26Battery Positivepower_incorroborated
OEM-2-QISC valve low sidelow_side_out———corroborated
OEM-2-RMalfunction indicator lamp (MIL)low_side_out———corroborated
OEM-3-APower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundcorroborated
OEM-3-BPower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundcorroborated
OEM-3-CPurge solenoid valvelow_side_out———corroborated
OEM-3-DEGR boost solenoid————conflict
OEM-3-ENC————single_source
OEM-3-FIgnition 1 (coils 1+4, wasted spark)ignition_outM130-A-3Low Side Ignition 1ignition_outcorroborated
OEM-3-GNC————single_source
OEM-3-HMain relaylow_side_outM130-A-29Peak Hold Injector 7injector_outcorroborated
OEM-3-IIgnition 2 (coils 2+3, wasted spark)ignition_outM130-A-4Low Side Ignition 2ignition_outcorroborated
OEM-3-JFront O2 heaterlow_side_out———corroborated
OEM-3-KEVAP leak detection pumplow_side_out———corroborated
OEM-3-LNC————single_source
OEM-3-MAlternator controllow_side_out———corroborated
OEM-3-NNC————single_source
OEM-3-OTachometer outputtacho_out———corroborated
OEM-3-PRear O2 heaterlow_side_out———corroborated
OEM-3-QData link connector (K-line)serial———corroborated
OEM-3-RNC————single_source
OEM-3-SImmobiliserdigital_inM130-B-9Universal Digital Input 4digital_incorroborated
OEM-3-TVehicle speeddigital_inM130-B-8Universal Digital Input 3digital_incorroborated
OEM-3-UCharge lamplow_side_out———corroborated
OEM-3-VCam position (CMP)trigger_inM130-B-2Universal Digital Input 2digital_incorroborated
OEM-3-WNC————single_source
OEM-3-XNC————single_source
OEM-3-YCrank position (CKP)trigger_inM130-B-1Universal Digital Input 1digital_incorroborated
OEM-3-ZNC————single_source
OEM-4-APower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundcorroborated
OEM-4-AARear O2 signallambda_nb_inM130-A-17Analogue Voltage Input 4analog_incorroborated
OEM-4-ABNC————single_source
OEM-4-ACData link connector (DLC TEN, turbo)serial———BrYsingle_source
OEM-4-ADFuel levelanalog_inM130-B-20Analogue Voltage Input 6analog_incorroborated
OEM-4-AEBARO/MAP sensor (turbo boost pressure)analog_inM130-A-16Analogue Voltage Input 3analog_inLYsingle_source
OEM-4-AFECU power +14V (main relay)power_inM130-A-26Battery Positivepower_incorroborated
OEM-4-AGConstant +12Vpower_inM130-B-12Battery Backuppower_incorroborated
OEM-4-AHEVAP leak detection pump solenoid valvelow_side_out———corroborated
OEM-4-BBrake switchdigital_inM130-B-10Universal Digital Input 5digital_incorroborated
OEM-4-CPower steering pressure switchdigital_inM130-B-11Universal Digital Input 6digital_incorroborated
OEM-4-DBoost control solenoid (turbo)high_side_out———Ysingle_source
OEM-4-EBoost control solenoid (turbo)high_side_out———Ysingle_source
OEM-4-FA/C requestdigital_inM130-B-14Universal Digital Input 7digital_incorroborated
OEM-4-GNC————single_source
OEM-4-HNeutral switchdigital_inM130-B-21Analogue Voltage Input 7analog_incorroborated
OEM-4-IClutch switchdigital_inM130-B-22Analogue Voltage Input 8analog_incorroborated
OEM-4-JVTCS vacuum switchdigital_in———corroborated
OEM-4-KNC————single_source
OEM-4-L+5V sensor supplyvrefM130-A-2Sensor 5.0V Avrefcorroborated
OEM-4-MKnock sensorknock_inM130-B-7Knock Input 1knock_incorroborated
OEM-4-NIntake air temperature (IAT)temp_inM130-B-5Analogue Temperature Input 3temp_incorroborated
OEM-4-OSignal groundsensor_groundM130-B-15 + M130-B-16Sensor 0V A + Sensor 0V Bsensor_groundcorroborated
OEM-4-PCoolant temperature (ECT)temp_inM130-B-3Analogue Temperature Input 1temp_incorroborated
OEM-4-QNC————single_source
OEM-4-RIntake air temperature 2 (IAT2, turbo)temp_inM130-B-4Analogue Temperature Input 2temp_inVYsingle_source
OEM-4-SIgnition switch (IG1) sensedigital_in———corroborated
OEM-4-TGenerator output voltage (terminal P)————corroborated
OEM-4-UNC————single_source
OEM-4-VThrottle position (TPS)analog_inM130-A-15Analogue Voltage Input 2analog_incorroborated
OEM-4-WFront O2 signallambda_nb_inM130-A-25Analogue Voltage Input 5analog_incorroborated
OEM-4-XMass air flow (MAF)analog_inM130-A-14Analogue Voltage Input 1analog_incorroborated
OEM-4-YNC————single_source
OEM-4-ZTCM (automatic only)————corroborated

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)—
W3SP-14V-1M130-A-260.85no routeBattery Positive—
W4OEM-4-AGM130-B-120.85no routeConstant +12V—
W5OEM-3-ASP-GND-10.85no routePower ground—
W6OEM-3-BSP-GND-10.85no routePower ground—
W7OEM-4-ASP-GND-10.85no routePower ground—
W8SP-GND-1M130-A-100.85no routeBattery Negative 1—
W9SP-GND-1M130-A-110.85no routeBattery Negative 2—
W10OEM-4-OSP-0V-10.5no routeSignal ground—
W11SP-0V-1M130-B-150.5no routeSensor 0V A—
W12SP-0V-1M130-B-160.5no routeSensor 0V B—
W13OEM-4-LM130-A-20.5no route+5V sensor supply—
W14OEM-3-YM130-B-10.5no routeCrank position (CKP)—
W15OEM-3-VM130-B-20.5no routeCam position (CMP)—
W16OEM-4-MM130-B-70.5no routeKnock sensor—
W17OEM-3-FM130-A-30.5no routeIgnition 1 (coils 1+4, wasted spark)—
W18OEM-3-IM130-A-40.5no routeIgnition 2 (coils 2+3, wasted spark)—
W19OEM-2-AM130-A-190.5no routeInjector 1—
W20OEM-2-DM130-A-230.5no routeInjector 2—
W21OEM-2-GM130-A-200.5no routeInjector 3—
W22OEM-2-JM130-A-240.5no routeInjector 4—
W23OEM-4-XM130-A-140.5no routeMass air flow (MAF)—
W24OEM-4-VM130-A-150.5no routeThrottle position (TPS)—
W25OEM-4-PM130-B-30.5no routeCoolant temperature (ECT)—
W26OEM-2-BM130-A-210.5no routeCooling fan relay—
W27OEM-2-CM130-A-220.5no routeCondenser fan relay—
W28OEM-2-KM130-A-270.5no routeA/C clutch relay—
W29OEM-2-MM130-A-280.5no routeFuel pump relay—
W30OEM-3-HM130-A-290.5no routeMain relay—
W31OEM-2-OM130-A-300.5no routeFuel pump relay (non-immobiliser)—
W32OEM-4-AEM130-A-160.5no routeBARO/MAP sensor (turbo boost pressure)—
W33OEM-4-AAM130-A-170.5no routeRear O2 signal—
W34OEM-4-WM130-A-250.5no routeFront O2 signal—
W35OEM-4-RM130-B-40.5no routeIntake air temperature 2 (IAT2, turbo)—
W36OEM-4-NM130-B-50.5no routeIntake air temperature (IAT)—
W37OEM-4-ADM130-B-200.5no routeFuel level—
W38OEM-3-TM130-B-80.5no routeVehicle speed—
W39OEM-3-SM130-B-90.5no routeImmobiliser—
W40OEM-4-BM130-B-100.5no routeBrake switch—
W41OEM-4-CM130-B-110.5no routePower steering pressure switch—
W42OEM-4-FM130-B-140.5no routeA/C request—
W43OEM-4-HM130-B-210.5no routeNeutral switch—
W44OEM-4-IM130-B-220.5no routeClutch switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (11)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-3-V ↔ M130-B-2OEM-3-V "Cam position (CMP)" [trigger_in] is wired to M130-B-2 "Universal Digital Input 2" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot.
warnNET_FAMILYOEM-3-Y ↔ M130-B-1OEM-3-Y "Crank position (CKP)" [trigger_in] is wired to M130-B-1 "Universal Digital Input 1" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot.
warnNET_FAMILYOEM-4-H ↔ M130-B-21OEM-4-H "Neutral switch" [digital_in] is wired to M130-B-21 "Analogue Voltage Input 7" [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-I ↔ M130-B-22OEM-4-I "Clutch switch" [digital_in] is wired to M130-B-22 "Analogue Voltage Input 8" [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-B ↔ M130-A-21OEM-2-B "Cooling fan relay" [low_side_out] is wired to M130-A-21 "Peak Hold Injector 3" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-C ↔ M130-A-22OEM-2-C "Condenser fan relay" [low_side_out] is wired to M130-A-22 "Peak Hold Injector 4" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-K ↔ M130-A-27OEM-2-K "A/C clutch relay" [low_side_out] is wired to M130-A-27 "Peak Hold Injector 5" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-M ↔ M130-A-28OEM-2-M "Fuel pump relay" [low_side_out] is wired to M130-A-28 "Peak Hold Injector 6" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-O ↔ M130-A-30OEM-2-O "Fuel pump relay (non-immobiliser)" [low_side_out] is wired to M130-A-30 "Peak Hold Injector 8" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-3-H ↔ M130-A-29OEM-3-H "Main relay" [low_side_out] is wired to M130-A-29 "Peak Hold Injector 7" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoUNMAPPEDOEM24 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-Q ISC valve low side; OEM-2-R Malfunction indicator lamp (MIL); OEM-3-C Purge solenoid valve; OEM-3-D EGR boost solenoid; OEM-3-J Front O2 heater; OEM-3-K EVAP leak detection pump; OEM-3-M Alternator control; OEM-3-O Tachometer output; OEM-3-P Rear O2 heater; OEM-3-Q Data link connector (K-line); OEM-3-U Charge lamp; OEM-4-AC Data link connector (DLC TEN, turbo); OEM-4-AH EVAP leak detection pump solenoid valve; OEM-4-D Boost control solenoid (turbo); OEM-4-E Boost control solenoid (turbo); OEM-4-J VTCS vacuum switch; OEM-4-S Ignition switch (IG1) sense; OEM-4-T Generator output voltage (terminal P); OEM-4-Z TCM (automatic only)

Accepted (0)

CodeSubjectReasonBy

Notes

Auto-mapped by auto_map() from the library pin data on 2026-10-17. Review every wire against both manuals before building. Not wired: - OEM-4 S: Ignition switch (IG1) sense: key-on 12 V sense — optional in a swap (the main relay is energized from keyed 12 V, not from this pin); MoTeC M130 has no dedicated key-on input - OEM-4 D: Boost control solenoid (turbo): no free high_side/ls_hs on MoTeC M130 - OEM-4 E: Boost control solenoid (turbo): no free high_side/ls_hs on MoTeC M130 - OEM-3 J: Front O2 heater: no free heater_low_side/low_side/relay_control/ls_hs/injector on MoTeC M130 - OEM-3 P: Rear O2 heater: no free heater_low_side/low_side/relay_control/ls_hs/injector on MoTeC M130 - OEM-2 Q: ISC valve low side: no free low_side/relay_control/heater_low_side/ls_hs/injector rated ≥ 1.0 A on MoTeC M130 - OEM-2 E: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-2 F: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-2 H: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-2 I: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-2 N: VTCS solenoid (intake butterflies): no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-2 R: Malfunction indicator lamp (MIL): no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-3 C: Purge solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-3 K: EVAP leak detection pump: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-3 M: Alternator control: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-3 U: Charge lamp: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 AH: EVAP leak detection pump solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-3 O: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M130 - OEM-4 J: VTCS vacuum switch: no free switch_in/frequency_in/analog_0_5 on MoTeC M130 - OEM-3 Q: Data link connector (K-line): no free k_line on MoTeC M130 - OEM-4 AC: Data link connector (DLC TEN, turbo): no free k_line on MoTeC M130 - OEM-3 D: EGR boost solenoid: 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_docLink G4X MX5NB2X install manual (NB2 2001-05)https://linkecu.com/documentation/MX5XNB2.pdfarchive2026-10-05741efdd9f2c8
4vendor_docMoTeC: M1 ECU Hardware manual (7 Nov 2013) — M130/M150/M170/M190 pinout tableshttps://web.archive.org/web/2023id_/https://www.motec.com.au/hessian/uploads/M1_ECU_Hardware_c2517380e4.pdf—2026-10-0503dc5975f739