← Back

MX-5 Miata NB1 1999-00 (BP-4W) → MoTeC M130 13130 (auto)

MX-5 Miata NB1 1999-00 (BP-4W) — MoTeC — M130
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-04

Revisions

RevLabelByDate
No revisions yet.

Schematic

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

Connectors

M130-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Half Bridge Output 2—W28—0.5OEM-3-V———
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-2-L———
15Analogue Voltage Input 2—W36—0.5OEM-3-E———
16Analogue Voltage Input 3—W37—0.5OEM-2-C———
17Analogue Voltage Input 4—W38—0.5OEM-3-J———
18Half Bridge Output 1—W27—0.5OEM-1-U———
19Peak Hold Injector 1—W19—0.5OEM-3-W———
2Sensor 5.0V A—W13—0.5OEM-2-I———
20Peak Hold Injector 2—W21—0.5OEM-3-Y———
21Peak Hold Injector 3—W23—0.5OEM-1-I———
22Peak Hold Injector 4—W24—0.5OEM-1-R———
23Low Side Injector 1—W20—0.5OEM-3-X———
24Low Side Injector 2—W22—0.5OEM-3-Z———
25Analogue Voltage Input 5—W41—0.5OEM-2-A———
26Battery Positive—W3—0.85SP-14V-1———
27Peak Hold Injector 5—W25—0.5OEM-1-S———
28Peak Hold Injector 6—W26—0.5OEM-3-N———
29Peak Hold Injector 7—W29—0.5OEM-3-O———
3Low Side Ignition 1—W17—0.5OEM-3-G———
30Peak Hold Injector 8—W30—0.5OEM-1-E———
31Half Bridge Output 3—W31—0.5OEM-1-O———
32Half Bridge Output 4—W32—0.5OEM-1-Q———
33Half Bridge Output 5—W33—0.5OEM-2-M———
34Half Bridge Output 6—W34—0.5OEM-2-N———
4Low Side Ignition 2—W18—0.5OEM-3-H———
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-2-J———
10Universal Digital Input 5—W46—0.5OEM-1-G———
11Universal Digital Input 6—W47—0.5OEM-1-P———
12Battery Backup—W4—0.85OEM-1-A———
13Knock Input 2————————
14Universal Digital Input 7—W48—0.5OEM-1-V———
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-2-H———
20Analogue Voltage Input 6—W42—0.5OEM-3-K———
21Analogue Voltage Input 7—W43—0.5OEM-3-S———
22Analogue Voltage Input 8—W49—0.5OEM-3-I———
23Ethernet Transmit +————————
24Ethernet Transmit -————————
25Ethernet Receive +————————
26Ethernet Receive -————————
3Analogue Temperature Input 1—W39—0.5OEM-2-E———
4Analogue Temperature Input 2—W40—0.5OEM-2-B———
5Analogue Temperature Input 3————————
6Analogue Temperature Input 4————————
7Knock Input 1—W16—0.5OEM-2-F———
8Universal Digital Input 3—W44—0.5OEM-2-D———
9Universal Digital Input 4—W45—0.5OEM-1-F———

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V—W4—0.85M130-B-12———
BECU power +14V (main relay)—W1—0.85SP-14V-1———
EMalfunction indicator lamp (MIL)—W30—0.5M130-A-30———
FBrake switch—W45—0.5M130-B-9———
GPower steering pressure switch—W46—0.5M130-B-10———
ICondenser fan relay—W23—0.5M130-A-21———
OAlternator control—W31—0.5M130-A-31———
PA/C request—W47—0.5M130-B-11———
QCharge lamp—W32—0.5M130-A-32———
RCooling fan relay—W24—0.5M130-A-22———
SA/C clutch relay—W25—0.5M130-A-27———
UFront O2 heater—W27—0.5M130-A-18———
VNeutral switch—W48—0.5M130-B-14———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AFuel tank pressure—W41—0.5M130-A-25———
BIntake air temperature (IAT)—W40—0.5M130-B-4———
CFront O2 signal—W37—0.5M130-A-16———
DVehicle speed—W44—0.5M130-B-8———
ECoolant temperature (ECT)—W39—0.5M130-B-3———
FKnock sensor—W16—0.5M130-B-7———
HCam position (CMP)—W15—0.5M130-B-2———
I+5V sensor supply—W13—0.5M130-A-2———
JCrank position (CKP)—W14—0.5M130-B-1———
KTachometer output————————
LMass air flow (MAF)—W35—0.5M130-A-14———
MEGR valve—W33—0.5M130-A-33———
NEGR valve—W34—0.5M130-A-34———
OEGR valve————————
PEGR valve————————

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W5—0.85SP-GND-1———
BPower ground—W6—0.85SP-GND-1———
CPower ground—W7—0.85SP-GND-1———
EThrottle position (TPS)—W36—0.5M130-A-15———
FSignal ground—W10—0.5SP-0V-1———
GIgnition 1 (coils 1+4, wasted spark)—W17—0.5M130-A-3———
HIgnition 2 (coils 2+3, wasted spark)—W18—0.5M130-A-4———
IClutch switch—W49—0.5M130-B-22———
JRear O2 signal—W38—0.5M130-A-17———
KFuel level—W42—0.5M130-B-20———
LEvap purge solenoid————————
MISC valve +14V feed—W2—0.85SP-14V-1———
NFuel pump relay—W26—0.5M130-A-28———
OISC valve low side—W29—0.5M130-A-29———
QVICS solenoid (intake butterflies)————————
SEGR boost sensor—W43—0.5M130-B-21———
TEGR boost solenoid————————
UCanister drain cut valve (CDCV)————————
VRear O2 heater—W28—0.5M130-A-1———
WInjector 1—W19—0.5M130-A-19———
XInjector 2—W20—0.5M130-A-23———
YInjector 3—W21—0.5M130-A-20———
ZInjector 4—W22—0.5M130-A-24———

SP-0V

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

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85OEM-3-M———
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-3-C———
1——W8—0.85M130-A-10———
1——W9—0.85M130-A-11———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-1-AConstant +12Vpower_inM130-B-12Battery Backuppower_insingle_source
OEM-1-BECU power +14V (main relay)power_inM130-A-26Battery Positivepower_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outM130-A-30Peak Hold Injector 8injector_outsingle_source
OEM-1-FBrake switchdigital_inM130-B-9Universal Digital Input 4digital_insingle_source
OEM-1-GPower steering pressure switchdigital_inM130-B-10Universal Digital Input 5digital_insingle_source
OEM-1-ICondenser fan relaylow_side_outM130-A-21Peak Hold Injector 3injector_outsingle_source
OEM-1-OAlternator controllow_side_outM130-A-31Half Bridge Output 3hbridge_outsingle_source
OEM-1-PA/C requestdigital_inM130-B-11Universal Digital Input 6digital_insingle_source
OEM-1-QCharge lamplow_side_outM130-A-32Half Bridge Output 4hbridge_outsingle_source
OEM-1-RCooling fan relaylow_side_outM130-A-22Peak Hold Injector 4injector_outsingle_source
OEM-1-SA/C clutch relaylow_side_outM130-A-27Peak Hold Injector 5injector_outsingle_source
OEM-1-UFront O2 heaterlow_side_outM130-A-18Half Bridge Output 1hbridge_outsingle_source
OEM-1-VNeutral switchdigital_inM130-B-14Universal Digital Input 7digital_insingle_source
OEM-2-AFuel tank pressureanalog_inM130-A-25Analogue Voltage Input 5analog_insingle_source
OEM-2-BIntake air temperature (IAT)temp_inM130-B-4Analogue Temperature Input 2temp_insingle_source
OEM-2-CFront O2 signallambda_nb_inM130-A-16Analogue Voltage Input 3analog_insingle_source
OEM-2-DVehicle speeddigital_inM130-B-8Universal Digital Input 3digital_insingle_source
OEM-2-ECoolant temperature (ECT)temp_inM130-B-3Analogue Temperature Input 1temp_insingle_source
OEM-2-FKnock sensorknock_inM130-B-7Knock Input 1knock_insingle_source
OEM-2-HCam position (CMP)trigger_inM130-B-2Universal Digital Input 2digital_insingle_source
OEM-2-I+5V sensor supplyvrefM130-A-2Sensor 5.0V Avrefsingle_source
OEM-2-JCrank position (CKP)trigger_inM130-B-1Universal Digital Input 1digital_insingle_source
OEM-2-KTachometer outputtacho_out———single_source
OEM-2-LMass air flow (MAF)analog_inM130-A-14Analogue Voltage Input 1analog_insingle_source
OEM-2-MEGR valvelow_side_outM130-A-33Half Bridge Output 5hbridge_outsingle_source
OEM-2-NEGR valvelow_side_outM130-A-34Half Bridge Output 6hbridge_outsingle_source
OEM-2-OEGR valvelow_side_out———single_source
OEM-2-PEGR valvelow_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-CPower groundgroundM130-A-10 + M130-A-11Battery Negative 1 + Battery Negative 2groundsingle_source
OEM-3-EThrottle position (TPS)analog_inM130-A-15Analogue Voltage Input 2analog_insingle_source
OEM-3-FSignal groundsensor_groundM130-B-15 + M130-B-16Sensor 0V A + Sensor 0V Bsensor_groundsingle_source
OEM-3-GIgnition 1 (coils 1+4, wasted spark)ignition_outM130-A-3Low Side Ignition 1ignition_outsingle_source
OEM-3-HIgnition 2 (coils 2+3, wasted spark)ignition_outM130-A-4Low Side Ignition 2ignition_outsingle_source
OEM-3-IClutch switchdigital_inM130-B-22Analogue Voltage Input 8analog_insingle_source
OEM-3-JRear O2 signallambda_nb_inM130-A-17Analogue Voltage Input 4analog_insingle_source
OEM-3-KFuel levelanalog_inM130-B-20Analogue Voltage Input 6analog_insingle_source
OEM-3-LEvap purge solenoidlow_side_out———single_source
OEM-3-MISC valve +14V feedpower_inM130-A-26Battery Positivepower_insingle_source
OEM-3-NFuel pump relaylow_side_outM130-A-28Peak Hold Injector 6injector_outsingle_source
OEM-3-OISC valve low sidelow_side_outM130-A-29Peak Hold Injector 7injector_outsingle_source
OEM-3-QVICS solenoid (intake butterflies)low_side_out———single_source
OEM-3-SEGR boost sensoranalog_inM130-B-21Analogue Voltage Input 7analog_insingle_source
OEM-3-TEGR boost solenoidlow_side_out———single_source
OEM-3-UCanister drain cut valve (CDCV)low_side_out———single_source
OEM-3-VRear O2 heaterlow_side_outM130-A-1Half Bridge Output 2hbridge_outsingle_source
OEM-3-WInjector 1injector_outM130-A-19Peak Hold Injector 1injector_outsingle_source
OEM-3-XInjector 2injector_outM130-A-23Low Side Injector 1injector_outsingle_source
OEM-3-YInjector 3injector_outM130-A-20Peak Hold Injector 2injector_outsingle_source
OEM-3-ZInjector 4injector_outM130-A-24Low Side Injector 2injector_outsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2OEM-3-MSP-14V-10.85no routeISC valve +14V feed—
W3SP-14V-1M130-A-260.85no routeBattery Positive—
W4OEM-1-AM130-B-120.85no routeConstant +12V—
W5OEM-3-ASP-GND-10.85no routePower ground—
W6OEM-3-BSP-GND-10.85no routePower ground—
W7OEM-3-CSP-GND-10.85no routePower ground—
W8SP-GND-1M130-A-100.85no routeBattery Negative 1—
W9SP-GND-1M130-A-110.85no routeBattery Negative 2—
W10OEM-3-FSP-0V-10.5no routeSignal ground—
W11SP-0V-1M130-B-150.5no routeSensor 0V A—
W12SP-0V-1M130-B-160.5no routeSensor 0V B—
W13OEM-2-IM130-A-20.5no route+5V sensor supply—
W14OEM-2-JM130-B-10.5no routeCrank position (CKP)—
W15OEM-2-HM130-B-20.5no routeCam position (CMP)—
W16OEM-2-FM130-B-70.5no routeKnock sensor—
W17OEM-3-GM130-A-30.5no routeIgnition 1 (coils 1+4, wasted spark)—
W18OEM-3-HM130-A-40.5no routeIgnition 2 (coils 2+3, wasted spark)—
W19OEM-3-WM130-A-190.5no routeInjector 1—
W20OEM-3-XM130-A-230.5no routeInjector 2—
W21OEM-3-YM130-A-200.5no routeInjector 3—
W22OEM-3-ZM130-A-240.5no routeInjector 4—
W23OEM-1-IM130-A-210.5no routeCondenser fan relay—
W24OEM-1-RM130-A-220.5no routeCooling fan relay—
W25OEM-1-SM130-A-270.5no routeA/C clutch relay—
W26OEM-3-NM130-A-280.5no routeFuel pump relay—
W27OEM-1-UM130-A-180.5no routeFront O2 heater—
W28OEM-3-VM130-A-10.5no routeRear O2 heater—
W29OEM-3-OM130-A-290.5no routeISC valve low side—
W30OEM-1-EM130-A-300.5no routeMalfunction indicator lamp (MIL)—
W31OEM-1-OM130-A-310.5no routeAlternator control—
W32OEM-1-QM130-A-320.5no routeCharge lamp—
W33OEM-2-MM130-A-330.5no routeEGR valve—
W34OEM-2-NM130-A-340.5no routeEGR valve—
W35OEM-2-LM130-A-140.5no routeMass air flow (MAF)—
W36OEM-3-EM130-A-150.5no routeThrottle position (TPS)—
W37OEM-2-CM130-A-160.5no routeFront O2 signal—
W38OEM-3-JM130-A-170.5no routeRear O2 signal—
W39OEM-2-EM130-B-30.5no routeCoolant temperature (ECT)—
W40OEM-2-BM130-B-40.5no routeIntake air temperature (IAT)—
W41OEM-2-AM130-A-250.5no routeFuel tank pressure—
W42OEM-3-KM130-B-200.5no routeFuel level—
W43OEM-3-SM130-B-210.5no routeEGR boost sensor—
W44OEM-2-DM130-B-80.5no routeVehicle speed—
W45OEM-1-FM130-B-90.5no routeBrake switch—
W46OEM-1-GM130-B-100.5no routePower steering pressure switch—
W47OEM-1-PM130-B-110.5no routeA/C request—
W48OEM-1-VM130-B-140.5no routeNeutral switch—
W49OEM-3-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 (16)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-1-O ↔ M130-A-31OEM-1-O "Alternator control" [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-1-Q ↔ M130-A-32OEM-1-Q "Charge lamp" [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-1-U ↔ M130-A-18OEM-1-U "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-2-H ↔ M130-B-2OEM-2-H "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-2-J ↔ M130-B-1OEM-2-J "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-2-M ↔ M130-A-33OEM-2-M "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-N ↔ M130-A-34OEM-2-N "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-I ↔ M130-B-22OEM-3-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.
warnNET_FAMILYOEM-3-V ↔ M130-A-1OEM-3-V "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.
infoNET_FAMILYOEM-1-E ↔ M130-A-30OEM-1-E "Malfunction indicator lamp (MIL)" [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-1-I ↔ M130-A-21OEM-1-I "Condenser 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-1-R ↔ M130-A-22OEM-1-R "Cooling 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-1-S ↔ M130-A-27OEM-1-S "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-3-N ↔ M130-A-28OEM-3-N "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-3-O ↔ M130-A-29OEM-3-O "ISC valve low side" [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.
infoUNMAPPEDOEM7 optional OEM pins are not mapped: OEM-2-K Tachometer output; OEM-2-O EGR valve; OEM-2-P EGR valve; OEM-3-L Evap purge solenoid; OEM-3-Q VICS solenoid (intake butterflies); OEM-3-T EGR boost solenoid; OEM-3-U Canister drain cut valve (CDCV)

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 O: EGR valve: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-2 P: EGR valve: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 L: Evap purge solenoid: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 Q: VICS solenoid (intake butterflies): no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 T: EGR boost solenoid: no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-3 U: Canister drain cut valve (CDCV): no free low_side/ls_hs/injector/hbridge on MoTeC M130 - OEM-2 K: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M130

Sources

ReliabilityKindTitleURL
4vendor_docLink G4X MX5NB1X install manual (NB1 1999-00)https://linkecu.com/documentation/MX5XNB1.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