MX-5 Miata NA8 1996-97 (BP-ZE, 1.8, OBD-II) → MoTeC M130 13130 (auto)
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.
| Status | draft · not yet verified: nobody has reported building and running this harness |
|---|---|
| Open errors | none |
| Size of the job | 43 wires · 8 connectors · 0 part lines |
| Tools | Crimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink |
| Order of work | 1. 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 Ω.
| Wire | From | To | Gauge | Colour | Cut | Label | Crimp A | Crimp B | Pin A | Pin B | Continuity |
|---|---|---|---|---|---|---|---|---|---|---|---|
| W1 | OEM-4-B | SP-14V-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W2 | SP-14V-1 | M130-A-26 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W3 | OEM-4-I | M130-B-12 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W4 | OEM-4-A | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W5 | OEM-4-C | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W6 | OEM-4-D | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W7 | OEM-4-K | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W8 | SP-GND-1 | M130-A-10 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W9 | SP-GND-1 | M130-A-11 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W10 | OEM-3-O | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W11 | OEM-4-H | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W12 | SP-0V-1 | M130-B-15 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W13 | SP-0V-1 | M130-B-16 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W14 | OEM-3-I | M130-A-2 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W15 | OEM-4-E | M130-B-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W16 | OEM-4-G | M130-B-2 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W17 | OEM-4-F | M130-B-8 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W18 | OEM-4-N | M130-A-3 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W19 | OEM-4-R | M130-A-4 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W20 | OEM-4-U | M130-A-19 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W21 | OEM-4-V | M130-A-23 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W22 | OEM-4-W | M130-A-20 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W23 | OEM-4-X | M130-A-24 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W24 | OEM-3-B | M130-A-14 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W25 | OEM-3-F | M130-A-15 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W26 | OEM-3-G | M130-B-3 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W27 | OEM-1-A | M130-A-21 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W28 | OEM-1-B | M130-A-22 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W29 | OEM-1-G | M130-A-27 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W30 | OEM-1-U | M130-A-28 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W31 | OEM-3-M | M130-A-29 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W32 | OEM-1-E | M130-A-30 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W33 | OEM-3-H | M130-A-16 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W34 | OEM-3-N | M130-A-17 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W35 | OEM-3-C | M130-A-25 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W36 | OEM-3-D | M130-B-20 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W37 | OEM-3-K | M130-B-4 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W38 | OEM-3-J | M130-B-21 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W39 | OEM-1-M | M130-B-9 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W40 | OEM-1-C | M130-B-10 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W41 | OEM-1-K | M130-B-11 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W42 | OEM-1-L | M130-B-14 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W43 | OEM-1-Q | M130-B-22 | 0.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 A | Probe B | Expect | Why | Reading |
|---|---|---|---|---|---|
| 1 | M130-A-2 | M130-A-10 | open (OL) | 5 V sensor reference must not touch power ground | |
| 2 | M130-A-2 | M130-B-15 | open (OL) | 5 V sensor reference must not touch sensor ground | |
| 3 | M130-A-10 | M130-A-26 | open (OL) | power ground must not touch +12 V supply | |
| 4 | M130-A-10 | M130-B-12 | open (OL) | power ground must not touch +12 V supply | |
| 5 | M130-A-2 | M130-A-26 | open (OL) | 5 V sensor reference must not touch +12 V supply | |
| 6 | M130-A-2 | M130-B-12 | open (OL) | 5 V sensor reference must not touch +12 V supply | |
| 7 | M130-B-15 | M130-A-26 | open (OL) | sensor ground must not touch +12 V supply | |
| 8 | M130-B-15 | M130-B-12 | open (OL) | sensor ground must not touch +12 V supply |
If any reading doesn't match, stop and get help before powering up.
Revisions
| Rev | Label | By | Date |
|---|---|---|---|
| No revisions yet. | |||
Schematic
Connectors
M130-A
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Half Bridge Output 2 | — | — | — | — | — | — | — | — |
| 10 | Battery Negative 1 | — | W8 | — | 0.85 | SP-GND-1 | — | — | — |
| 11 | Battery Negative 2 | — | W9 | — | 0.85 | SP-GND-1 | — | — | — |
| 12 | Low Side Ignition 7 | — | — | — | — | — | — | — | — |
| 13 | Low Side Ignition 8 | — | — | — | — | — | — | — | — |
| 14 | Analogue Voltage Input 1 | — | W24 | — | 0.5 | OEM-3-B | — | — | — |
| 15 | Analogue Voltage Input 2 | — | W25 | — | 0.5 | OEM-3-F | — | — | — |
| 16 | Analogue Voltage Input 3 | — | W33 | — | 0.5 | OEM-3-H | — | — | — |
| 17 | Analogue Voltage Input 4 | — | W34 | — | 0.5 | OEM-3-N | — | — | — |
| 18 | Half Bridge Output 1 | — | — | — | — | — | — | — | — |
| 19 | Peak Hold Injector 1 | — | W20 | — | 0.5 | OEM-4-U | — | — | — |
| 2 | Sensor 5.0V A | — | W14 | — | 0.5 | OEM-3-I | — | — | — |
| 20 | Peak Hold Injector 2 | — | W22 | — | 0.5 | OEM-4-W | — | — | — |
| 21 | Peak Hold Injector 3 | — | W27 | — | 0.5 | OEM-1-A | — | — | — |
| 22 | Peak Hold Injector 4 | — | W28 | — | 0.5 | OEM-1-B | — | — | — |
| 23 | Low Side Injector 1 | — | W21 | — | 0.5 | OEM-4-V | — | — | — |
| 24 | Low Side Injector 2 | — | W23 | — | 0.5 | OEM-4-X | — | — | — |
| 25 | Analogue Voltage Input 5 | — | W35 | — | 0.5 | OEM-3-C | — | — | — |
| 26 | Battery Positive | — | W2 | — | 0.85 | SP-14V-1 | — | — | — |
| 27 | Peak Hold Injector 5 | — | W29 | — | 0.5 | OEM-1-G | — | — | — |
| 28 | Peak Hold Injector 6 | — | W30 | — | 0.5 | OEM-1-U | — | — | — |
| 29 | Peak Hold Injector 7 | — | W31 | — | 0.5 | OEM-3-M | — | — | — |
| 3 | Low Side Ignition 1 | — | W18 | — | 0.5 | OEM-4-N | — | — | — |
| 30 | Peak Hold Injector 8 | — | W32 | — | 0.5 | OEM-1-E | — | — | — |
| 31 | Half Bridge Output 3 | — | — | — | — | — | — | — | — |
| 32 | Half Bridge Output 4 | — | — | — | — | — | — | — | — |
| 33 | Half Bridge Output 5 | — | — | — | — | — | — | — | — |
| 34 | Half Bridge Output 6 | — | — | — | — | — | — | — | — |
| 4 | Low Side Ignition 2 | — | W19 | — | 0.5 | OEM-4-R | — | — | — |
| 5 | Low Side Ignition 3 | — | — | — | — | — | — | — | — |
| 6 | Low Side Ignition 4 | — | — | — | — | — | — | — | — |
| 7 | Low Side Ignition 5 | — | — | — | — | — | — | — | — |
| 8 | Low Side Ignition 6 | — | — | — | — | — | — | — | — |
| 9 | Sensor 5.0V B | — | — | — | — | — | — | — | — |
M130-B
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Universal Digital Input 1 | — | W15 | — | 0.5 | OEM-4-E | — | — | — |
| 10 | Universal Digital Input 5 | — | W40 | — | 0.5 | OEM-1-C | — | — | — |
| 11 | Universal Digital Input 6 | — | W41 | — | 0.5 | OEM-1-K | — | — | — |
| 12 | Battery Backup | — | W3 | — | 0.85 | OEM-4-I | — | — | — |
| 13 | Knock Input 2 | — | — | — | — | — | — | — | — |
| 14 | Universal Digital Input 7 | — | W42 | — | 0.5 | OEM-1-L | — | — | — |
| 15 | Sensor 0V A | — | W12 | — | 0.5 | SP-0V-1 | — | — | — |
| 16 | Sensor 0V B | — | W13 | — | 0.5 | SP-0V-1 | — | — | — |
| 17 | CAN Bus 1 High | — | — | — | — | — | — | — | — |
| 18 | CAN Bus 1 Low | — | — | — | — | — | — | — | — |
| 19 | Sensor 6.3V | — | — | — | — | — | — | — | — |
| 2 | Universal Digital Input 2 | — | W16 | — | 0.5 | OEM-4-G | — | — | — |
| 20 | Analogue Voltage Input 6 | — | W36 | — | 0.5 | OEM-3-D | — | — | — |
| 21 | Analogue Voltage Input 7 | — | W38 | — | 0.5 | OEM-3-J | — | — | — |
| 22 | Analogue Voltage Input 8 | — | W43 | — | 0.5 | OEM-1-Q | — | — | — |
| 23 | Ethernet Transmit + | — | — | — | — | — | — | — | — |
| 24 | Ethernet Transmit - | — | — | — | — | — | — | — | — |
| 25 | Ethernet Receive + | — | — | — | — | — | — | — | — |
| 26 | Ethernet Receive - | — | — | — | — | — | — | — | — |
| 3 | Analogue Temperature Input 1 | — | W26 | — | 0.5 | OEM-3-G | — | — | — |
| 4 | Analogue Temperature Input 2 | — | W37 | — | 0.5 | OEM-3-K | — | — | — |
| 5 | Analogue Temperature Input 3 | — | — | — | — | — | — | — | — |
| 6 | Analogue Temperature Input 4 | — | — | — | — | — | — | — | — |
| 7 | Knock Input 1 | — | — | — | — | — | — | — | — |
| 8 | Universal Digital Input 3 | — | W17 | — | 0.5 | OEM-4-F | — | — | — |
| 9 | Universal Digital Input 4 | — | W39 | — | 0.5 | OEM-1-M | — | — | — |
OEM-1
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Cooling fan relay (low-side) | — | W27 | — | 0.5 | M130-A-21 | — | — | — |
| B | A/C condenser fan relay | — | W28 | — | 0.5 | M130-A-22 | — | — | — |
| C | Starter input (12V while cranking) | — | W40 | — | 0.5 | M130-B-10 | — | — | — |
| E | Check engine light (MIL) | — | W32 | — | 0.5 | M130-A-30 | — | — | — |
| G | A/C clutch relay | — | W29 | — | 0.5 | M130-A-27 | — | — | — |
| K | A/C pressure switch (A/C request) | — | W41 | — | 0.5 | M130-B-11 | — | — | — |
| L | Clutch switch | — | W42 | — | 0.5 | M130-B-14 | — | — | — |
| M | Vehicle speed sensor (VSS) | — | W39 | — | 0.5 | M130-B-9 | — | — | — |
| Q | Brake switch | — | W43 | — | 0.5 | M130-B-22 | — | — | — |
| U | Fuel pump relay (low-side) | — | W30 | — | 0.5 | M130-A-28 | — | — | — |
OEM-3
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| B | MAF sensor input | — | W24 | — | 0.5 | M130-A-14 | — | — | — |
| C | Front O2 sensor input | — | W35 | — | 0.5 | M130-A-25 | — | — | — |
| D | Rear O2 sensor input | — | W36 | — | 0.5 | M130-B-20 | — | — | — |
| F | Throttle position (TPS) | — | W25 | — | 0.5 | M130-A-15 | — | — | — |
| G | Engine coolant temp (CLT) | — | W26 | — | 0.5 | M130-B-3 | — | — | — |
| H | EGR boost sensor | — | W33 | — | 0.5 | M130-A-16 | — | — | — |
| I | +5V sensor reference | — | W14 | — | 0.5 | M130-A-2 | — | — | — |
| J | EGR valve position sensor | — | W38 | — | 0.5 | M130-B-21 | — | — | — |
| K | Intake air temp (IAT) | — | W37 | — | 0.5 | M130-B-4 | — | — | — |
| L | Idle switch (closed throttle) | — | — | — | — | — | — | — | — |
| M | Front O2 heater control | — | W31 | — | 0.5 | M130-A-29 | — | — | — |
| N | EGR boost sensor (2nd channel) | — | W34 | — | 0.5 | M130-A-17 | — | — | — |
| O | Sensor ground | — | W10 | — | 0.5 | SP-0V-1 | — | — | — |
| P | Power steering pressure switch | — | — | — | — | — | — | — | — |
OEM-4
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Chassis ground | — | W4 | — | 0.85 | SP-GND-1 | — | — | — |
| B | ECU power +12V (main relay) | — | W1 | — | 0.85 | SP-14V-1 | — | — | — |
| C | Chassis ground | — | W5 | — | 0.85 | SP-GND-1 | — | — | — |
| D | Chassis ground | — | W6 | — | 0.85 | SP-GND-1 | — | — | — |
| E | Crank position (CKP) sensor | — | W15 | — | 0.5 | M130-B-1 | — | — | — |
| F | CAS SGT (cam trigger) | — | W17 | — | 0.5 | M130-B-8 | — | — | — |
| G | CAS SGC (cam sync) | — | W16 | — | 0.5 | M130-B-2 | — | — | — |
| H | Crank pickup timing ground (CKP gnd) | — | W11 | — | 0.5 | SP-0V-1 | — | — | — |
| I | Permanent +12V (battery) | — | W3 | — | 0.85 | M130-B-12 | — | — | — |
| J | PRC solenoid (FPR control) | — | — | — | — | — | — | — | — |
| K | Chassis ground | — | W7 | — | 0.85 | SP-GND-1 | — | — | — |
| L | Tachometer output | — | — | — | — | — | — | — | — |
| N | Ignition coil trigger (cyl 1&4) | — | W18 | — | 0.5 | M130-A-3 | — | — | — |
| O | EGR vent solenoid | — | — | — | — | — | — | — | — |
| P | EGR vacuum solenoid | — | — | — | — | — | — | — | — |
| Q | Idle air control (IAC) valve | — | — | — | — | — | — | — | — |
| R | Ignition coil trigger (cyl 2&3) | — | W19 | — | 0.5 | M130-A-4 | — | — | — |
| T | EVAP purge solenoid | — | — | — | — | — | — | — | — |
| U | Injector 1 (cyl 1) | — | W20 | — | 0.5 | M130-A-19 | — | — | — |
| V | Injector 2 (cyl 2) | — | W21 | — | 0.5 | M130-A-23 | — | — | — |
| W | Injector 3 (cyl 3) | — | W22 | — | 0.5 | M130-A-20 | — | — | — |
| X | Injector 4 (cyl 4) | — | W23 | — | 0.5 | M130-A-24 | — | — | — |
SP-0V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W10 | — | 0.5 | OEM-3-O | — | — | — |
| 1 | — | — | W11 | — | 0.5 | OEM-4-H | — | — | — |
| 1 | — | — | W12 | — | 0.5 | M130-B-15 | — | — | — |
| 1 | — | — | W13 | — | 0.5 | M130-B-16 | — | — | — |
SP-14V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W1 | — | 0.85 | OEM-4-B | — | — | — |
| 1 | — | — | W2 | — | 0.85 | M130-A-26 | — | — | — |
SP-GND
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W4 | — | 0.85 | OEM-4-A | — | — | — |
| 1 | — | — | W5 | — | 0.85 | OEM-4-C | — | — | — |
| 1 | — | — | W6 | — | 0.85 | OEM-4-D | — | — | — |
| 1 | — | — | W7 | — | 0.85 | OEM-4-K | — | — | — |
| 1 | — | — | W8 | — | 0.85 | M130-A-10 | — | — | — |
| 1 | — | — | W9 | — | 0.85 | M130-A-11 | — | — | — |
Pin map
| OEM point | OEM function | OEM family | Target point | Target function | Target family | Wire colour | Evidence |
|---|---|---|---|---|---|---|---|
| OEM-1-A | Cooling fan relay (low-side) | low_side_out | M130-A-21 | Peak Hold Injector 3 | injector_out | corroborated | |
| OEM-1-B | A/C condenser fan relay | low_side_out | M130-A-22 | Peak Hold Injector 4 | injector_out | corroborated | |
| OEM-1-C | Starter input (12V while cranking) | digital_in | M130-B-10 | Universal Digital Input 5 | digital_in | corroborated | |
| OEM-1-E | Check engine light (MIL) | low_side_out | M130-A-30 | Peak Hold Injector 8 | injector_out | corroborated | |
| OEM-1-G | A/C clutch relay | low_side_out | M130-A-27 | Peak Hold Injector 5 | injector_out | corroborated | |
| OEM-1-K | A/C pressure switch (A/C request) | digital_in | M130-B-11 | Universal Digital Input 6 | digital_in | corroborated | |
| OEM-1-L | Clutch switch | digital_in | M130-B-14 | Universal Digital Input 7 | digital_in | corroborated | |
| OEM-1-M | Vehicle speed sensor (VSS) | digital_in | M130-B-9 | Universal Digital Input 4 | digital_in | corroborated | |
| OEM-1-Q | Brake switch | digital_in | M130-B-22 | Analogue Voltage Input 8 | analog_in | corroborated | |
| OEM-1-U | Fuel pump relay (low-side) | low_side_out | M130-A-28 | Peak Hold Injector 6 | injector_out | corroborated | |
| OEM-3-B | MAF sensor input | analog_in | M130-A-14 | Analogue Voltage Input 1 | analog_in | corroborated | |
| OEM-3-C | Front O2 sensor input | lambda_nb_in | M130-A-25 | Analogue Voltage Input 5 | analog_in | corroborated | |
| OEM-3-D | Rear O2 sensor input | lambda_nb_in | M130-B-20 | Analogue Voltage Input 6 | analog_in | corroborated | |
| OEM-3-F | Throttle position (TPS) | analog_in | M130-A-15 | Analogue Voltage Input 2 | analog_in | corroborated | |
| OEM-3-G | Engine coolant temp (CLT) | temp_in | M130-B-3 | Analogue Temperature Input 1 | temp_in | corroborated | |
| OEM-3-H | EGR boost sensor | analog_in | M130-A-16 | Analogue Voltage Input 3 | analog_in | corroborated | |
| OEM-3-I | +5V sensor reference | vref | M130-A-2 | Sensor 5.0V A | vref | corroborated | |
| OEM-3-J | EGR valve position sensor | analog_in | M130-B-21 | Analogue Voltage Input 7 | analog_in | corroborated | |
| OEM-3-K | Intake air temp (IAT) | temp_in | M130-B-4 | Analogue Temperature Input 2 | temp_in | corroborated | |
| OEM-3-L | Idle switch (closed throttle) | digital_in | — | — | — | corroborated | |
| OEM-3-M | Front O2 heater control | low_side_out | M130-A-29 | Peak Hold Injector 7 | injector_out | corroborated | |
| OEM-3-N | EGR boost sensor (2nd channel) | analog_in | M130-A-17 | Analogue Voltage Input 4 | analog_in | corroborated | |
| OEM-3-O | Sensor ground | sensor_ground | M130-B-15 + M130-B-16 | Sensor 0V A + Sensor 0V B | sensor_ground | corroborated | |
| OEM-3-P | Power steering pressure switch | digital_in | — | — | — | corroborated | |
| OEM-4-A | Chassis ground | ground | M130-A-10 + M130-A-11 | Battery Negative 1 + Battery Negative 2 | ground | corroborated | |
| OEM-4-B | ECU power +12V (main relay) | power_in | M130-A-26 | Battery Positive | power_in | corroborated | |
| OEM-4-C | Chassis ground | ground | M130-A-10 + M130-A-11 | Battery Negative 1 + Battery Negative 2 | ground | corroborated | |
| OEM-4-D | Chassis ground | ground | M130-A-10 + M130-A-11 | Battery Negative 1 + Battery Negative 2 | ground | corroborated | |
| OEM-4-E | Crank position (CKP) sensor | trigger_in | M130-B-1 | Universal Digital Input 1 | digital_in | corroborated | |
| OEM-4-F | CAS SGT (cam trigger) | trigger_in | M130-B-8 | Universal Digital Input 3 | digital_in | corroborated | |
| OEM-4-G | CAS SGC (cam sync) | trigger_in | M130-B-2 | Universal Digital Input 2 | digital_in | corroborated | |
| OEM-4-H | Crank pickup timing ground (CKP gnd) | sensor_ground | M130-B-15 + M130-B-16 | Sensor 0V A + Sensor 0V B | sensor_ground | corroborated | |
| OEM-4-I | Permanent +12V (battery) | power_in | M130-B-12 | Battery Backup | power_in | corroborated | |
| OEM-4-J | PRC solenoid (FPR control) | low_side_out | — | — | — | corroborated | |
| OEM-4-K | Chassis ground | ground | M130-A-10 + M130-A-11 | Battery Negative 1 + Battery Negative 2 | ground | corroborated | |
| OEM-4-L | Tachometer output | tacho_out | — | — | — | corroborated | |
| OEM-4-N | Ignition coil trigger (cyl 1&4) | ignition_out | M130-A-3 | Low Side Ignition 1 | ignition_out | corroborated | |
| OEM-4-O | EGR vent solenoid | low_side_out | — | — | — | corroborated | |
| OEM-4-P | EGR vacuum solenoid | low_side_out | — | — | — | corroborated | |
| OEM-4-Q | Idle air control (IAC) valve | low_side_out | — | — | — | corroborated | |
| OEM-4-R | Ignition coil trigger (cyl 2&3) | ignition_out | M130-A-4 | Low Side Ignition 2 | ignition_out | corroborated | |
| OEM-4-T | EVAP purge solenoid | low_side_out | — | — | — | corroborated | |
| OEM-4-U | Injector 1 (cyl 1) | injector_out | M130-A-19 | Peak Hold Injector 1 | injector_out | corroborated | |
| OEM-4-V | Injector 2 (cyl 2) | injector_out | M130-A-23 | Low Side Injector 1 | injector_out | corroborated | |
| OEM-4-W | Injector 3 (cyl 3) | injector_out | M130-A-20 | Peak Hold Injector 2 | injector_out | corroborated | |
| OEM-4-X | Injector 4 (cyl 4) | injector_out | M130-A-24 | Low Side Injector 2 | injector_out | corroborated |
Cut list
| Wire | From | To | Gauge (mm²) | Colour | Length | Signal | Ident |
|---|---|---|---|---|---|---|---|
| W1 | OEM-4-B | SP-14V-1 | 0.85 | no route | ECU power +12V (main relay) | — | |
| W2 | SP-14V-1 | M130-A-26 | 0.85 | no route | Battery Positive | — | |
| W3 | OEM-4-I | M130-B-12 | 0.85 | no route | Permanent +12V (battery) | — | |
| W4 | OEM-4-A | SP-GND-1 | 0.85 | no route | Chassis ground | — | |
| W5 | OEM-4-C | SP-GND-1 | 0.85 | no route | Chassis ground | — | |
| W6 | OEM-4-D | SP-GND-1 | 0.85 | no route | Chassis ground | — | |
| W7 | OEM-4-K | SP-GND-1 | 0.85 | no route | Chassis ground | — | |
| W8 | SP-GND-1 | M130-A-10 | 0.85 | no route | Battery Negative 1 | — | |
| W9 | SP-GND-1 | M130-A-11 | 0.85 | no route | Battery Negative 2 | — | |
| W10 | OEM-3-O | SP-0V-1 | 0.5 | no route | Sensor ground | — | |
| W11 | OEM-4-H | SP-0V-1 | 0.5 | no route | Crank pickup timing ground (CKP gnd) | — | |
| W12 | SP-0V-1 | M130-B-15 | 0.5 | no route | Sensor 0V A | — | |
| W13 | SP-0V-1 | M130-B-16 | 0.5 | no route | Sensor 0V B | — | |
| W14 | OEM-3-I | M130-A-2 | 0.5 | no route | +5V sensor reference | — | |
| W15 | OEM-4-E | M130-B-1 | 0.5 | no route | Crank position (CKP) sensor | — | |
| W16 | OEM-4-G | M130-B-2 | 0.5 | no route | CAS SGC (cam sync) | — | |
| W17 | OEM-4-F | M130-B-8 | 0.5 | no route | CAS SGT (cam trigger) | — | |
| W18 | OEM-4-N | M130-A-3 | 0.5 | no route | Ignition coil trigger (cyl 1&4) | — | |
| W19 | OEM-4-R | M130-A-4 | 0.5 | no route | Ignition coil trigger (cyl 2&3) | — | |
| W20 | OEM-4-U | M130-A-19 | 0.5 | no route | Injector 1 (cyl 1) | — | |
| W21 | OEM-4-V | M130-A-23 | 0.5 | no route | Injector 2 (cyl 2) | — | |
| W22 | OEM-4-W | M130-A-20 | 0.5 | no route | Injector 3 (cyl 3) | — | |
| W23 | OEM-4-X | M130-A-24 | 0.5 | no route | Injector 4 (cyl 4) | — | |
| W24 | OEM-3-B | M130-A-14 | 0.5 | no route | MAF sensor input | — | |
| W25 | OEM-3-F | M130-A-15 | 0.5 | no route | Throttle position (TPS) | — | |
| W26 | OEM-3-G | M130-B-3 | 0.5 | no route | Engine coolant temp (CLT) | — | |
| W27 | OEM-1-A | M130-A-21 | 0.5 | no route | Cooling fan relay (low-side) | — | |
| W28 | OEM-1-B | M130-A-22 | 0.5 | no route | A/C condenser fan relay | — | |
| W29 | OEM-1-G | M130-A-27 | 0.5 | no route | A/C clutch relay | — | |
| W30 | OEM-1-U | M130-A-28 | 0.5 | no route | Fuel pump relay (low-side) | — | |
| W31 | OEM-3-M | M130-A-29 | 0.5 | no route | Front O2 heater control | — | |
| W32 | OEM-1-E | M130-A-30 | 0.5 | no route | Check engine light (MIL) | — | |
| W33 | OEM-3-H | M130-A-16 | 0.5 | no route | EGR boost sensor | — | |
| W34 | OEM-3-N | M130-A-17 | 0.5 | no route | EGR boost sensor (2nd channel) | — | |
| W35 | OEM-3-C | M130-A-25 | 0.5 | no route | Front O2 sensor input | — | |
| W36 | OEM-3-D | M130-B-20 | 0.5 | no route | Rear O2 sensor input | — | |
| W37 | OEM-3-K | M130-B-4 | 0.5 | no route | Intake air temp (IAT) | — | |
| W38 | OEM-3-J | M130-B-21 | 0.5 | no route | EGR valve position sensor | — | |
| W39 | OEM-1-M | M130-B-9 | 0.5 | no route | Vehicle speed sensor (VSS) | — | |
| W40 | OEM-1-C | M130-B-10 | 0.5 | no route | Starter input (12V while cranking) | — | |
| W41 | OEM-1-K | M130-B-11 | 0.5 | no route | A/C pressure switch (A/C request) | — | |
| W42 | OEM-1-L | M130-B-14 | 0.5 | no route | Clutch switch | — | |
| W43 | OEM-1-Q | M130-B-22 | 0.5 | no route | Brake switch | — |
Bill of materials
| Category | Part number | Manufacturer | Description | Qty | Unit |
|---|
ECU setup sheet
| Role | Engine ref | Engine signal | Sensor | ECU point | ECU function | ECU class | Setup flag |
|---|---|---|---|---|---|---|---|
| No configured channels. | |||||||
Findings
Open (11)
| Severity | Code | Subject | Message |
|---|---|---|---|
| warn | NET_FAMILY | OEM-1-Q ↔ M130-B-22 | OEM-1-Q "Brake 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. |
| warn | NET_FAMILY | OEM-4-E ↔ M130-B-1 | OEM-4-E "Crank position (CKP) sensor" [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. |
| warn | NET_FAMILY | OEM-4-F ↔ M130-B-8 | OEM-4-F "CAS SGT (cam trigger)" [trigger_in] is wired to M130-B-8 "Universal Digital Input 3" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot. |
| warn | NET_FAMILY | OEM-4-G ↔ M130-B-2 | OEM-4-G "CAS SGC (cam sync)" [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. |
| info | NET_FAMILY | OEM-1-A ↔ M130-A-21 | OEM-1-A "Cooling fan relay (low-side)" [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. |
| info | NET_FAMILY | OEM-1-B ↔ M130-A-22 | OEM-1-B "A/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. |
| info | NET_FAMILY | OEM-1-E ↔ M130-A-30 | OEM-1-E "Check engine light (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. |
| info | NET_FAMILY | OEM-1-G ↔ M130-A-27 | OEM-1-G "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. |
| info | NET_FAMILY | OEM-1-U ↔ M130-A-28 | OEM-1-U "Fuel pump relay (low-side)" [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. |
| info | NET_FAMILY | OEM-3-M ↔ M130-A-29 | OEM-3-M "Front O2 heater control" [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. |
| info | UNMAPPED | OEM | 8 optional OEM pins are not mapped: OEM-3-L Idle switch (closed throttle); OEM-3-P Power steering pressure switch; OEM-4-J PRC solenoid (FPR control); OEM-4-L Tachometer output; OEM-4-O EGR vent solenoid; OEM-4-P EGR vacuum solenoid; OEM-4-Q Idle air control (IAC) valve; OEM-4-T EVAP purge solenoid |
Accepted (0)
| Code | Subject | Reason | By |
|---|
Notes
Fit check: unconfirmed. Confirm these before building: - Trigger pattern for Mazda BP-ZE not found in the ECU's docs (No native BP-ZE (NA8) mode; MoTeC support (N. Butler) is "fairly certain" the 4G63T mode works — not confirmed.) 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 J: PRC solenoid (FPR control): no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 O: EGR vent solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 P: EGR vacuum solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 Q: Idle air control (IAC) valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 T: EVAP purge solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M130 - OEM-4 L: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M130 - OEM-3 L: Idle switch (closed throttle): no free switch_in/frequency_in/analog_0_5 on MoTeC M130 - OEM-3 P: Power steering pressure switch: no free switch_in/frequency_in/analog_0_5 on MoTeC M130
Sources
| Reliability | Kind | Title | URL | Archive | Captured | SHA-256 |
|---|---|---|---|---|---|---|
| 4 | vendor_doc | AEM EMS 30-1720 Plug-and-Play adapter manual (1996-97 Miata) | https://static.summitracing.com/global/images/instructions/avm-30-1720.pdf | — | — | — |
| 4 | vendor_doc | MoTeC: M1 ECU Hardware manual (7 Nov 2013) — M130/M150/M170/M190 pinout tables | https://web.archive.org/web/2023id_/https://www.motec.com.au/hessian/uploads/M1_ECU_Hardware_c2517380e4.pdf | — | 2026-10-05 | 03dc5975f739 |
| 3 | community_copy | Mellens.net: 1996 Mazda Miata wiring diagrams (FSM-derived) | http://www.mellens.net/mazda/mazda_miata_extra_manual/1996_wiring.pdf | — | — | — |