← Back

MX-5 Miata NB2 2001-05 (BP-Z3, VVT) → MoTeC M130 13130 (auto)

MX-5 Miata NB2 2001-05 (BP-Z3, VVT) — MoTeC — M130
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-05

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—W29—0.5OEM-3-P———
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—W35—0.5OEM-4-X———
15Analogue Voltage Input 2—W36—0.5OEM-4-V———
16Analogue Voltage Input 3—W37—0.5OEM-4-AA———
17Analogue Voltage Input 4—W38—0.5OEM-4-W———
18Half Bridge Output 1—W28—0.5OEM-3-J———
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—W23—0.5OEM-2-B———
22Peak Hold Injector 4—W24—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—W41—0.5OEM-4-AD———
26Battery Positive—W3—0.85SP-14V-1———
27Peak Hold Injector 5—W25—0.5OEM-2-K———
28Peak Hold Injector 6—W26—0.5OEM-2-M———
29Peak Hold Injector 7—W27—0.5OEM-3-H———
3Low Side Ignition 1—W17—0.5OEM-3-F———
30Peak Hold Injector 8—W30—0.5OEM-2-Q———
31Half Bridge Output 3—W31—0.5OEM-2-E———
32Half Bridge Output 4—W32—0.5OEM-2-F———
33Half Bridge Output 5—W33—0.5OEM-2-H———
34Half Bridge Output 6—W34—0.5OEM-2-I———
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—W44—0.5OEM-4-B———
11Universal Digital Input 6—W45—0.5OEM-4-C———
12Battery Backup—W4—0.85OEM-4-AG———
13Knock Input 2————————
14Universal Digital Input 7—W46—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—W47—0.5OEM-4-H———
21Analogue Voltage Input 7—W48—0.5OEM-4-I———
22Analogue Voltage Input 8—W49—0.5OEM-4-J———
23Ethernet Transmit +————————
24Ethernet Transmit -————————
25Ethernet Receive +————————
26Ethernet Receive -————————
3Analogue Temperature Input 1—W39—0.5OEM-4-P———
4Analogue Temperature Input 2—W40—0.5OEM-4-N———
5Analogue Temperature Input 3————————
6Analogue Temperature Input 4————————
7Knock Input 1—W16—0.5OEM-4-M———
8Universal Digital Input 3—W42—0.5OEM-3-T———
9Universal Digital Input 4—W43—0.5OEM-3-S———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AInjector 1—W19—0.5M130-A-19———
BCooling fan relay—W23—0.5M130-A-21———
CCondenser fan relay—W24—0.5M130-A-22———
DInjector 2—W20—0.5M130-A-23———
EEGR valve—W31—0.5M130-A-31———
FEGR valve—W32—0.5M130-A-32———
GInjector 3—W21—0.5M130-A-20———
HEGR valve—W33—0.5M130-A-33———
IEGR valve—W34—0.5M130-A-34———
JInjector 4—W22—0.5M130-A-24———
KA/C clutch relay—W25—0.5M130-A-27———
MFuel pump relay—W26—0.5M130-A-28———
NVTCS solenoid (intake butterflies)————————
PISC valve +14V feed—W1—0.85SP-14V-1———
QISC valve low side—W30—0.5M130-A-30———
RMalfunction indicator lamp (MIL)————————

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W5—0.85SP-GND-1———
BPower ground—W6—0.85SP-GND-1———
DEGR boost solenoid————————
ECharcoal canister purge————————
FIgnition 1 (coils 1+4, wasted spark)—W17—0.5M130-A-3———
HMain relay—W27—0.5M130-A-29———
IIgnition 2 (coils 2+3, wasted spark)—W18—0.5M130-A-4———
JFront O2 heater—W28—0.5M130-A-18———
MAlternator control————————
OTachometer output————————
PRear O2 heater—W29—0.5M130-A-1———
SImmobiliser—W43—0.5M130-B-9———
TVehicle speed—W42—0.5M130-B-8———
UCharge lamp————————
VCam position (CMP)—W15—0.5M130-B-2———
YCrank position (CKP)—W14—0.5M130-B-1———

OEM-4

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W7—0.85SP-GND-1———
AARear O2 signal—W37—0.5M130-A-16———
ADFuel level—W41—0.5M130-A-25———
AFECU power +14V (main relay)—W2—0.85SP-14V-1———
AGConstant +12V—W4—0.85M130-B-12———
BBrake switch—W44—0.5M130-B-10———
CPower steering pressure switch—W45—0.5M130-B-11———
DVVT oil-control solenoid————————
FA/C request—W46—0.5M130-B-14———
HNeutral switch—W47—0.5M130-B-20———
IClutch switch—W48—0.5M130-B-21———
JVTCS vacuum switch—W49—0.5M130-B-22———
L+5V sensor supply—W13—0.5M130-A-2———
MKnock sensor—W16—0.5M130-B-7———
NIntake air temperature (IAT)—W40—0.5M130-B-4———
OSignal ground—W10—0.5SP-0V-1———
PCoolant temperature (ECT)—W39—0.5M130-B-3———
VThrottle position (TPS)—W36—0.5M130-A-15———
WFront O2 signal—W38—0.5M130-A-17———
XMass air flow (MAF)—W35—0.5M130-A-14———

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_outsingle_source
OEM-2-BCooling fan relaylow_side_outM130-A-21Peak Hold Injector 3injector_outsingle_source
OEM-2-CCondenser fan relaylow_side_outM130-A-22Peak Hold Injector 4injector_outsingle_source
OEM-2-DInjector 2injector_outM130-A-23Low Side Injector 1injector_outsingle_source
OEM-2-EEGR valvelow_side_outM130-A-31Half Bridge Output 3hbridge_outsingle_source
OEM-2-FEGR valvelow_side_outM130-A-32Half Bridge Output 4hbridge_outsingle_source
OEM-2-GInjector 3injector_outM130-A-20Peak Hold Injector 2injector_outsingle_source
OEM-2-HEGR valvelow_side_outM130-A-33Half Bridge Output 5hbridge_outsingle_source
OEM-2-IEGR valvelow_side_outM130-A-34Half Bridge Output 6hbridge_outsingle_source
OEM-2-JInjector 4injector_outM130-A-24Low Side Injector 2injector_outsingle_source
OEM-2-KA/C clutch relaylow_side_outM130-A-27Peak Hold Injector 5injector_outsingle_source
OEM-2-MFuel pump relaylow_side_outM130-A-28Peak Hold Injector 6injector_outsingle_source
OEM-2-NVTCS solenoid (intake butterflies)low_side_out———single_source
OEM-2-PISC valve +14V feedpower_inM130-A-26Battery Positivepower_insingle_source
OEM-2-QISC valve low sidelow_side_outM130-A-30Peak Hold Injector 8injector_outsingle_source
OEM-2-RMalfunction indicator lamp (MIL)low_side_out———single_source
OEM-3-APower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundsingle_source
OEM-3-BPower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundsingle_source
OEM-3-DEGR boost solenoidlow_side_out———single_source
OEM-3-ECharcoal canister purgelow_side_out———single_source
OEM-3-FIgnition 1 (coils 1+4, wasted spark)ignition_outM130-A-3Low Side Ignition 1ignition_outsingle_source
OEM-3-HMain relaylow_side_outM130-A-29Peak Hold Injector 7injector_outsingle_source
OEM-3-IIgnition 2 (coils 2+3, wasted spark)ignition_outM130-A-4Low Side Ignition 2ignition_outsingle_source
OEM-3-JFront O2 heaterlow_side_outM130-A-18Half Bridge Output 1hbridge_outsingle_source
OEM-3-MAlternator controllow_side_out———single_source
OEM-3-OTachometer outputtacho_out———single_source
OEM-3-PRear O2 heaterlow_side_outM130-A-1Half Bridge Output 2hbridge_outsingle_source
OEM-3-SImmobiliserdigital_inM130-B-9Universal Digital Input 4digital_insingle_source
OEM-3-TVehicle speeddigital_inM130-B-8Universal Digital Input 3digital_insingle_source
OEM-3-UCharge lamplow_side_out———single_source
OEM-3-VCam position (CMP)trigger_inM130-B-2Universal Digital Input 2digital_insingle_source
OEM-3-YCrank position (CKP)trigger_inM130-B-1Universal Digital Input 1digital_insingle_source
OEM-4-APower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundsingle_source
OEM-4-AARear O2 signallambda_nb_inM130-A-16Analogue Voltage Input 3analog_insingle_source
OEM-4-ADFuel levelanalog_inM130-A-25Analogue Voltage Input 5analog_insingle_source
OEM-4-AFECU power +14V (main relay)power_inM130-A-26Battery Positivepower_insingle_source
OEM-4-AGConstant +12Vpower_inM130-B-12Battery Backuppower_insingle_source
OEM-4-BBrake switchdigital_inM130-B-10Universal Digital Input 5digital_insingle_source
OEM-4-CPower steering pressure switchdigital_inM130-B-11Universal Digital Input 6digital_insingle_source
OEM-4-DVVT oil-control solenoidlow_side_out———single_source
OEM-4-FA/C requestdigital_inM130-B-14Universal Digital Input 7digital_insingle_source
OEM-4-HNeutral switchdigital_inM130-B-20Analogue Voltage Input 6analog_insingle_source
OEM-4-IClutch switchdigital_inM130-B-21Analogue Voltage Input 7analog_insingle_source
OEM-4-JVTCS vacuum switchdigital_inM130-B-22Analogue Voltage Input 8analog_insingle_source
OEM-4-L+5V sensor supplyvrefM130-A-2Sensor 5.0V Avrefsingle_source
OEM-4-MKnock sensorknock_inM130-B-7Knock Input 1knock_insingle_source
OEM-4-NIntake air temperature (IAT)temp_inM130-B-4Analogue Temperature Input 2temp_insingle_source
OEM-4-OSignal groundsensor_groundM130-B-15 + M130-B-16Sensor 0V A + Sensor 0V Bsensor_groundsingle_source
OEM-4-PCoolant temperature (ECT)temp_inM130-B-3Analogue Temperature Input 1temp_insingle_source
OEM-4-VThrottle position (TPS)analog_inM130-A-15Analogue Voltage Input 2analog_insingle_source
OEM-4-WFront O2 signallambda_nb_inM130-A-17Analogue Voltage Input 4analog_insingle_source
OEM-4-XMass air flow (MAF)analog_inM130-A-14Analogue Voltage Input 1analog_insingle_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)—
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-2-BM130-A-210.5no routeCooling fan relay—
W24OEM-2-CM130-A-220.5no routeCondenser fan relay—
W25OEM-2-KM130-A-270.5no routeA/C clutch relay—
W26OEM-2-MM130-A-280.5no routeFuel pump relay—
W27OEM-3-HM130-A-290.5no routeMain relay—
W28OEM-3-JM130-A-180.5no routeFront O2 heater—
W29OEM-3-PM130-A-10.5no routeRear O2 heater—
W30OEM-2-QM130-A-300.5no routeISC valve low side—
W31OEM-2-EM130-A-310.5no routeEGR valve—
W32OEM-2-FM130-A-320.5no routeEGR valve—
W33OEM-2-HM130-A-330.5no routeEGR valve—
W34OEM-2-IM130-A-340.5no routeEGR valve—
W35OEM-4-XM130-A-140.5no routeMass air flow (MAF)—
W36OEM-4-VM130-A-150.5no routeThrottle position (TPS)—
W37OEM-4-AAM130-A-160.5no routeRear O2 signal—
W38OEM-4-WM130-A-170.5no routeFront O2 signal—
W39OEM-4-PM130-B-30.5no routeCoolant temperature (ECT)—
W40OEM-4-NM130-B-40.5no routeIntake air temperature (IAT)—
W41OEM-4-ADM130-A-250.5no routeFuel level—
W42OEM-3-TM130-B-80.5no routeVehicle speed—
W43OEM-3-SM130-B-90.5no routeImmobiliser—
W44OEM-4-BM130-B-100.5no routeBrake switch—
W45OEM-4-CM130-B-110.5no routePower steering pressure switch—
W46OEM-4-FM130-B-140.5no routeA/C request—
W47OEM-4-HM130-B-200.5no routeNeutral switch—
W48OEM-4-IM130-B-210.5no routeClutch switch—
W49OEM-4-JM130-B-220.5no routeVTCS vacuum switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (18)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-2-E ↔ M130-A-31OEM-2-E "EGR valve" [low_side_out] is wired to M130-A-31 "Half Bridge Output 3" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-F ↔ M130-A-32OEM-2-F "EGR valve" [low_side_out] is wired to M130-A-32 "Half Bridge Output 4" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-H ↔ M130-A-33OEM-2-H "EGR valve" [low_side_out] is wired to M130-A-33 "Half Bridge Output 5" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-I ↔ M130-A-34OEM-2-I "EGR valve" [low_side_out] is wired to M130-A-34 "Half Bridge Output 6" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-3-J ↔ M130-A-18OEM-3-J "Front O2 heater" [low_side_out] is wired to M130-A-18 "Half Bridge Output 1" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-3-P ↔ M130-A-1OEM-3-P "Rear O2 heater" [low_side_out] is wired to M130-A-1 "Half Bridge Output 2" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
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-20OEM-4-H "Neutral switch" [digital_in] is wired to M130-B-20 "Analogue Voltage Input 6" [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-21OEM-4-I "Clutch 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-J ↔ M130-B-22OEM-4-J "VTCS vacuum 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-Q ↔ M130-A-30OEM-2-Q "ISC valve low side" [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.
infoUNMAPPEDOEM8 optional OEM pins are not mapped: OEM-2-N VTCS solenoid (intake butterflies); OEM-2-R Malfunction indicator lamp (MIL); OEM-3-D EGR boost solenoid; OEM-3-E Charcoal canister purge; OEM-3-M Alternator control; OEM-3-O Tachometer output; OEM-3-U Charge lamp; OEM-4-D VVT oil-control solenoid

Accepted (0)

CodeSubjectReasonBy

Notes

Auto-mapped by auto_map() from the library pin data on 2026-10-04. Review every wire against both manuals before building. Not wired: - OEM-2 N: VTCS solenoid (intake butterflies): no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-2 R: Malfunction indicator lamp (MIL): no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 D: EGR boost solenoid: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 E: Charcoal canister purge: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 M: Alternator control: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 U: Charge lamp: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-4 D: VVT oil-control solenoid: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 O: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M130

Sources

ReliabilityKindTitleURL
4vendor_docLink G4X MX5NB2X install manual (NB2 2001-05)https://linkecu.com/documentation/MX5XNB2.pdf
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