MX-5 Miata Mazdaspeed 2004-05 (BP-ZET turbo, no VVT) → Link G4X AtomX 111-4000 (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 | 31 wires · 7 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-2-P | SP-14V-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W2 | OEM-4-AF | SP-14V-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W3 | SP-14V-1 | G4XATOMX-A-A5 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W4 | OEM-3-A | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W5 | OEM-3-B | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W6 | OEM-4-A | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W7 | SP-GND-1 | G4XATOMX-A-A25 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W8 | SP-GND-1 | G4XATOMX-A-A34 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W9 | OEM-4-O | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W10 | SP-0V-1 | G4XATOMX-A-A24 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W11 | OEM-4-L | G4XATOMX-A-A32 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W12 | OEM-3-Y | G4XATOMX-A-A8 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W13 | OEM-3-V | G4XATOMX-A-A9 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W14 | OEM-4-M | G4XATOMX-A-A6 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W15 | OEM-3-F | G4XATOMX-A-A13 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W16 | OEM-3-I | G4XATOMX-A-A12 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W17 | OEM-2-A | G4XATOMX-A-A4 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W18 | OEM-2-D | G4XATOMX-A-A3 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W19 | OEM-2-G | G4XATOMX-A-A2 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W20 | OEM-2-J | G4XATOMX-A-A1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W21 | OEM-4-X | G4XATOMX-A-A17 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W22 | OEM-4-V | G4XATOMX-A-A22 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W23 | OEM-4-P | G4XATOMX-A-A15 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W24 | OEM-2-B | G4XATOMX-A-A21 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W25 | OEM-2-C | G4XATOMX-A-A20 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W26 | OEM-2-K | G4XATOMX-A-A19 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W27 | OEM-2-M | G4XATOMX-A-A18 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W28 | OEM-4-AE | G4XATOMX-A-A33 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W29 | OEM-4-R | G4XATOMX-A-A16 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W30 | OEM-3-T | G4XATOMX-A-A30 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W31 | OEM-3-S | G4XATOMX-A-A31 | 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 | G4XATOMX-A-A32 | G4XATOMX-A-A24 | open (OL) | 5 V sensor reference must not touch sensor ground | |
| 2 | G4XATOMX-A-A5 | G4XATOMX-A-A24 | open (OL) | +12 V supply must not touch sensor ground | |
| 3 | G4XATOMX-A-A5 | G4XATOMX-A-A25 | open (OL) | +12 V supply must not touch power ground | |
| 4 | G4XATOMX-A-A25 | G4XATOMX-A-A32 | open (OL) | power ground must not touch 5 V sensor reference | |
| 5 | G4XATOMX-A-A5 | G4XATOMX-A-A32 | open (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
| Rev | Label | By | Date |
|---|---|---|---|
| No revisions yet. | |||
Schematic
Connectors
G4XATOMX-A
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A1 | Injector 4 | — | W20 | — | 0.5 | OEM-2-J | — | — | — |
| A10 | Ignition 4 | — | — | — | — | — | — | — | — |
| A11 | Ignition 3 | — | — | — | — | — | — | — | — |
| A12 | Ignition 2 | — | W16 | — | 0.5 | OEM-3-I | — | — | — |
| A13 | Ignition 1 | — | W15 | — | 0.5 | OEM-3-F | — | — | — |
| A15 | Analog Temp 1 | — | W23 | — | 0.5 | OEM-4-P | — | — | — |
| A16 | Analog Temp 2 | — | W29 | — | 0.5 | OEM-4-R | — | — | — |
| A17 | Analog Volt 1 | — | W21 | — | 0.5 | OEM-4-X | — | — | — |
| A18 | Aux 4 | — | W27 | — | 0.5 | OEM-2-M | — | — | — |
| A19 | Aux 3 | — | W26 | — | 0.5 | OEM-2-K | — | — | — |
| A2 | Injector 3 | — | W19 | — | 0.5 | OEM-2-G | — | — | — |
| A20 | Aux 2 | — | W25 | — | 0.5 | OEM-2-C | — | — | — |
| A21 | Aux 1 | — | W24 | — | 0.5 | OEM-2-B | — | — | — |
| A22 | Analog Volt 2 | — | W22 | — | 0.5 | OEM-4-V | — | — | — |
| A24 | Sensor Ground | — | W10 | — | 0.5 | SP-0V-1 | — | — | — |
| A25 | System Ground | — | W7 | — | 0.85 | SP-GND-1 | — | — | — |
| A28 | CAN H | — | — | — | — | — | — | — | — |
| A29 | CAN L | — | — | — | — | — | — | — | — |
| A3 | Injector 2 | — | W18 | — | 0.5 | OEM-2-D | — | — | — |
| A30 | Digital Input 1 | — | W30 | — | 0.5 | OEM-3-T | — | — | — |
| A31 | Digital Input 2 | — | W31 | — | 0.5 | OEM-3-S | — | — | — |
| A32 | +5V Out | — | W11 | — | 0.5 | OEM-4-L | — | — | — |
| A33 | Analog Volt 3 | — | W28 | — | 0.5 | OEM-4-AE | — | — | — |
| A34 | System Ground | — | W8 | — | 0.85 | SP-GND-1 | — | — | — |
| A4 | Injector 1 | — | W17 | — | 0.5 | OEM-2-A | — | — | — |
| A5 | +14V ECU Power | — | W3 | — | 0.85 | SP-14V-1 | — | — | — |
| A6 | Knock 1 | — | W14 | — | 0.5 | OEM-4-M | — | — | — |
| A7 | Shield Ground | — | — | — | — | — | — | — | — |
| A8 | Trigger 1 | — | W12 | — | 0.5 | OEM-3-Y | — | — | — |
| A9 | Trigger 2 | — | W13 | — | 0.5 | OEM-3-V | — | — | — |
OEM-2
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Injector 1 | — | W17 | — | 0.5 | G4XATOMX-A-A4 | — | — | — |
| B | Cooling fan relay | — | W24 | — | 0.5 | G4XATOMX-A-A21 | — | — | — |
| C | Condenser fan relay | — | W25 | — | 0.5 | G4XATOMX-A-A20 | — | — | — |
| D | Injector 2 | — | W18 | — | 0.5 | G4XATOMX-A-A3 | — | — | — |
| E | EGR valve | — | — | — | — | — | — | — | — |
| F | EGR valve | — | — | — | — | — | — | — | — |
| G | Injector 3 | — | W19 | — | 0.5 | G4XATOMX-A-A2 | — | — | — |
| H | EGR valve | — | — | — | — | — | — | — | — |
| I | EGR valve | — | — | — | — | — | — | — | — |
| J | Injector 4 | — | W20 | — | 0.5 | G4XATOMX-A-A1 | — | — | — |
| K | A/C clutch relay | — | W26 | — | 0.5 | G4XATOMX-A-A19 | — | — | — |
| L | NC | — | — | — | — | — | — | — | — |
| M | Fuel pump relay | — | W27 | — | 0.5 | G4XATOMX-A-A18 | — | — | — |
| N | VTCS solenoid (intake butterflies) | — | — | — | — | — | — | — | — |
| O | Fuel pump relay (non-immobiliser) | — | — | — | — | — | — | — | — |
| P | ISC valve +14V feed | — | W1 | — | 0.85 | SP-14V-1 | — | — | — |
| Q | ISC valve low side | — | — | — | — | — | — | — | — |
| R | Malfunction indicator lamp (MIL) | — | — | — | — | — | — | — | — |
OEM-3
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Power ground | — | W4 | — | 0.85 | SP-GND-1 | — | — | — |
| B | Power ground | — | W5 | — | 0.85 | SP-GND-1 | — | — | — |
| C | Purge solenoid valve | — | — | — | — | — | — | — | — |
| D | EGR boost solenoid | — | — | — | — | — | — | — | — |
| E | NC | — | — | — | — | — | — | — | — |
| F | Ignition 1 (coils 1+4, wasted spark) | — | W15 | — | 0.5 | G4XATOMX-A-A13 | — | — | — |
| G | NC | — | — | — | — | — | — | — | — |
| H | Main relay | — | — | — | — | — | — | — | — |
| I | Ignition 2 (coils 2+3, wasted spark) | — | W16 | — | 0.5 | G4XATOMX-A-A12 | — | — | — |
| J | Front O2 heater | — | — | — | — | — | — | — | — |
| K | EVAP leak detection pump | — | — | — | — | — | — | — | — |
| L | NC | — | — | — | — | — | — | — | — |
| M | Alternator control | — | — | — | — | — | — | — | — |
| N | NC | — | — | — | — | — | — | — | — |
| O | Tachometer output | — | — | — | — | — | — | — | — |
| P | Rear O2 heater | — | — | — | — | — | — | — | — |
| Q | Data link connector (K-line) | — | — | — | — | — | — | — | — |
| R | NC | — | — | — | — | — | — | — | — |
| S | Immobiliser | — | W31 | — | 0.5 | G4XATOMX-A-A31 | — | — | — |
| T | Vehicle speed | — | W30 | — | 0.5 | G4XATOMX-A-A30 | — | — | — |
| U | Charge lamp | — | — | — | — | — | — | — | — |
| V | Cam position (CMP) | — | W13 | — | 0.5 | G4XATOMX-A-A9 | — | — | — |
| W | NC | — | — | — | — | — | — | — | — |
| X | NC | — | — | — | — | — | — | — | — |
| Y | Crank position (CKP) | — | W12 | — | 0.5 | G4XATOMX-A-A8 | — | — | — |
| Z | NC | — | — | — | — | — | — | — | — |
OEM-4
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Power ground | — | W6 | — | 0.85 | SP-GND-1 | — | — | — |
| AA | Rear O2 signal | — | — | — | — | — | — | — | — |
| AB | NC | — | — | — | — | — | — | — | — |
| AC | Data link connector (DLC TEN, turbo) | — | — | — | — | — | — | — | — |
| AD | Fuel level | — | — | — | — | — | — | — | — |
| AE | BARO/MAP sensor (turbo boost pressure) | — | W28 | — | 0.5 | G4XATOMX-A-A33 | — | — | — |
| AF | ECU power +14V (main relay) | — | W2 | — | 0.85 | SP-14V-1 | — | — | — |
| AG | Constant +12V | — | — | — | — | — | — | — | — |
| AH | EVAP leak detection pump solenoid valve | — | — | — | — | — | — | — | — |
| B | Brake switch | — | — | — | — | — | — | — | — |
| C | Power steering pressure switch | — | — | — | — | — | — | — | — |
| D | Boost control solenoid (turbo) | — | — | — | — | — | — | — | — |
| E | Boost control solenoid (turbo) | — | — | — | — | — | — | — | — |
| F | A/C request | — | — | — | — | — | — | — | — |
| G | NC | — | — | — | — | — | — | — | — |
| H | Neutral switch | — | — | — | — | — | — | — | — |
| I | Clutch switch | — | — | — | — | — | — | — | — |
| J | VTCS vacuum switch | — | — | — | — | — | — | — | — |
| K | NC | — | — | — | — | — | — | — | — |
| L | +5V sensor supply | — | W11 | — | 0.5 | G4XATOMX-A-A32 | — | — | — |
| M | Knock sensor | — | W14 | — | 0.5 | G4XATOMX-A-A6 | — | — | — |
| N | Intake air temperature (IAT) | — | — | — | — | — | — | — | — |
| O | Signal ground | — | W9 | — | 0.5 | SP-0V-1 | — | — | — |
| P | Coolant temperature (ECT) | — | W23 | — | 0.5 | G4XATOMX-A-A15 | — | — | — |
| Q | NC | — | — | — | — | — | — | — | — |
| R | Intake air temperature 2 (IAT2, turbo) | — | W29 | — | 0.5 | G4XATOMX-A-A16 | — | — | — |
| S | Ignition switch (IG1) sense | — | — | — | — | — | — | — | — |
| T | Generator output voltage (terminal P) | — | — | — | — | — | — | — | — |
| U | NC | — | — | — | — | — | — | — | — |
| V | Throttle position (TPS) | — | W22 | — | 0.5 | G4XATOMX-A-A22 | — | — | — |
| W | Front O2 signal | — | — | — | — | — | — | — | — |
| X | Mass air flow (MAF) | — | W21 | — | 0.5 | G4XATOMX-A-A17 | — | — | — |
| Y | NC | — | — | — | — | — | — | — | — |
| Z | TCM (automatic only) | — | — | — | — | — | — | — | — |
SP-0V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W9 | — | 0.5 | OEM-4-O | — | — | — |
| 1 | — | — | W10 | — | 0.5 | G4XATOMX-A-A24 | — | — | — |
SP-14V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W1 | — | 0.85 | OEM-2-P | — | — | — |
| 1 | — | — | W2 | — | 0.85 | OEM-4-AF | — | — | — |
| 1 | — | — | W3 | — | 0.85 | G4XATOMX-A-A5 | — | — | — |
SP-GND
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W4 | — | 0.85 | OEM-3-A | — | — | — |
| 1 | — | — | W5 | — | 0.85 | OEM-3-B | — | — | — |
| 1 | — | — | W6 | — | 0.85 | OEM-4-A | — | — | — |
| 1 | — | — | W7 | — | 0.85 | G4XATOMX-A-A25 | — | — | — |
| 1 | — | — | W8 | — | 0.85 | G4XATOMX-A-A34 | — | — | — |
Pin map
| OEM point | OEM function | OEM family | Target point | Target function | Target family | Wire colour | Evidence |
|---|---|---|---|---|---|---|---|
| OEM-2-A | Injector 1 | injector_out | G4XATOMX-A-A4 | Injector 1 | injector_out | corroborated | |
| OEM-2-B | Cooling fan relay | low_side_out | G4XATOMX-A-A21 | Aux 1 | low_side_out | corroborated | |
| OEM-2-C | Condenser fan relay | low_side_out | G4XATOMX-A-A20 | Aux 2 | low_side_out | corroborated | |
| OEM-2-D | Injector 2 | injector_out | G4XATOMX-A-A3 | Injector 2 | injector_out | corroborated | |
| OEM-2-E | EGR valve | low_side_out | — | — | — | corroborated | |
| OEM-2-F | EGR valve | low_side_out | — | — | — | corroborated | |
| OEM-2-G | Injector 3 | injector_out | G4XATOMX-A-A2 | Injector 3 | injector_out | corroborated | |
| OEM-2-H | EGR valve | low_side_out | — | — | — | corroborated | |
| OEM-2-I | EGR valve | low_side_out | — | — | — | corroborated | |
| OEM-2-J | Injector 4 | injector_out | G4XATOMX-A-A1 | Injector 4 | injector_out | corroborated | |
| OEM-2-K | A/C clutch relay | low_side_out | G4XATOMX-A-A19 | Aux 3 | low_side_out | corroborated | |
| OEM-2-L | NC | — | — | — | — | single_source | |
| OEM-2-M | Fuel pump relay | low_side_out | G4XATOMX-A-A18 | Aux 4 | low_side_out | corroborated | |
| OEM-2-N | VTCS solenoid (intake butterflies) | low_side_out | — | — | — | corroborated | |
| OEM-2-O | Fuel pump relay (non-immobiliser) | low_side_out | — | — | — | corroborated | |
| OEM-2-P | ISC valve +14V feed | power_in | G4XATOMX-A-A5 | +14V ECU Power | power_in | corroborated | |
| OEM-2-Q | ISC valve low side | low_side_out | — | — | — | corroborated | |
| OEM-2-R | Malfunction indicator lamp (MIL) | low_side_out | — | — | — | corroborated | |
| OEM-3-A | Power ground | ground | G4XATOMX-A-A25 + G4XATOMX-A-A34 | System Ground + System Ground | ground | corroborated | |
| OEM-3-B | Power ground | ground | G4XATOMX-A-A25 + G4XATOMX-A-A34 | System Ground + System Ground | ground | corroborated | |
| OEM-3-C | Purge solenoid valve | low_side_out | — | — | — | corroborated | |
| OEM-3-D | EGR boost solenoid | — | — | — | — | conflict | |
| OEM-3-E | NC | — | — | — | — | single_source | |
| OEM-3-F | Ignition 1 (coils 1+4, wasted spark) | ignition_out | G4XATOMX-A-A13 | Ignition 1 | ignition_out | corroborated | |
| OEM-3-G | NC | — | — | — | — | single_source | |
| OEM-3-H | Main relay | low_side_out | — | — | — | corroborated | |
| OEM-3-I | Ignition 2 (coils 2+3, wasted spark) | ignition_out | G4XATOMX-A-A12 | Ignition 2 | ignition_out | corroborated | |
| OEM-3-J | Front O2 heater | low_side_out | — | — | — | corroborated | |
| OEM-3-K | EVAP leak detection pump | low_side_out | — | — | — | corroborated | |
| OEM-3-L | NC | — | — | — | — | single_source | |
| OEM-3-M | Alternator control | low_side_out | — | — | — | corroborated | |
| OEM-3-N | NC | — | — | — | — | single_source | |
| OEM-3-O | Tachometer output | tacho_out | — | — | — | corroborated | |
| OEM-3-P | Rear O2 heater | low_side_out | — | — | — | corroborated | |
| OEM-3-Q | Data link connector (K-line) | serial | — | — | — | corroborated | |
| OEM-3-R | NC | — | — | — | — | single_source | |
| OEM-3-S | Immobiliser | digital_in | G4XATOMX-A-A31 | Digital Input 2 | digital_in | corroborated | |
| OEM-3-T | Vehicle speed | digital_in | G4XATOMX-A-A30 | Digital Input 1 | digital_in | corroborated | |
| OEM-3-U | Charge lamp | low_side_out | — | — | — | corroborated | |
| OEM-3-V | Cam position (CMP) | trigger_in | G4XATOMX-A-A9 | Trigger 2 | trigger_in | corroborated | |
| OEM-3-W | NC | — | — | — | — | single_source | |
| OEM-3-X | NC | — | — | — | — | single_source | |
| OEM-3-Y | Crank position (CKP) | trigger_in | G4XATOMX-A-A8 | Trigger 1 | trigger_in | corroborated | |
| OEM-3-Z | NC | — | — | — | — | single_source | |
| OEM-4-A | Power ground | ground | G4XATOMX-A-A25 + G4XATOMX-A-A34 | System Ground + System Ground | ground | corroborated | |
| OEM-4-AA | Rear O2 signal | lambda_nb_in | — | — | — | corroborated | |
| OEM-4-AB | NC | — | — | — | — | single_source | |
| OEM-4-AC | Data link connector (DLC TEN, turbo) | serial | — | — | — | BrY | single_source |
| OEM-4-AD | Fuel level | analog_in | — | — | — | corroborated | |
| OEM-4-AE | BARO/MAP sensor (turbo boost pressure) | analog_in | G4XATOMX-A-A33 | Analog Volt 3 | analog_in | LY | single_source |
| OEM-4-AF | ECU power +14V (main relay) | power_in | G4XATOMX-A-A5 | +14V ECU Power | power_in | corroborated | |
| OEM-4-AG | Constant +12V | power_in | — | — | — | corroborated | |
| OEM-4-AH | EVAP leak detection pump solenoid valve | low_side_out | — | — | — | corroborated | |
| OEM-4-B | Brake switch | digital_in | — | — | — | corroborated | |
| OEM-4-C | Power steering pressure switch | digital_in | — | — | — | corroborated | |
| OEM-4-D | Boost control solenoid (turbo) | high_side_out | — | — | — | Y | single_source |
| OEM-4-E | Boost control solenoid (turbo) | high_side_out | — | — | — | Y | single_source |
| OEM-4-F | A/C request | digital_in | — | — | — | corroborated | |
| OEM-4-G | NC | — | — | — | — | single_source | |
| OEM-4-H | Neutral switch | digital_in | — | — | — | corroborated | |
| OEM-4-I | Clutch switch | digital_in | — | — | — | corroborated | |
| OEM-4-J | VTCS vacuum switch | digital_in | — | — | — | corroborated | |
| OEM-4-K | NC | — | — | — | — | single_source | |
| OEM-4-L | +5V sensor supply | vref | G4XATOMX-A-A32 | +5V Out | vref | corroborated | |
| OEM-4-M | Knock sensor | knock_in | G4XATOMX-A-A6 | Knock 1 | knock_in | corroborated | |
| OEM-4-N | Intake air temperature (IAT) | temp_in | — | — | — | corroborated | |
| OEM-4-O | Signal ground | sensor_ground | G4XATOMX-A-A24 | Sensor Ground | sensor_ground | corroborated | |
| OEM-4-P | Coolant temperature (ECT) | temp_in | G4XATOMX-A-A15 | Analog Temp 1 | temp_in | corroborated | |
| OEM-4-Q | NC | — | — | — | — | single_source | |
| OEM-4-R | Intake air temperature 2 (IAT2, turbo) | temp_in | G4XATOMX-A-A16 | Analog Temp 2 | temp_in | VY | single_source |
| OEM-4-S | Ignition switch (IG1) sense | digital_in | — | — | — | corroborated | |
| OEM-4-T | Generator output voltage (terminal P) | — | — | — | — | corroborated | |
| OEM-4-U | NC | — | — | — | — | single_source | |
| OEM-4-V | Throttle position (TPS) | analog_in | G4XATOMX-A-A22 | Analog Volt 2 | analog_in | corroborated | |
| OEM-4-W | Front O2 signal | lambda_nb_in | — | — | — | corroborated | |
| OEM-4-X | Mass air flow (MAF) | analog_in | G4XATOMX-A-A17 | Analog Volt 1 | analog_in | corroborated | |
| OEM-4-Y | NC | — | — | — | — | single_source | |
| OEM-4-Z | TCM (automatic only) | — | — | — | — | corroborated |
Cut list
| Wire | From | To | Gauge (mm²) | Colour | Length | Signal | Ident |
|---|---|---|---|---|---|---|---|
| W1 | OEM-2-P | SP-14V-1 | 0.85 | no route | ISC valve +14V feed | — | |
| W2 | OEM-4-AF | SP-14V-1 | 0.85 | no route | ECU power +14V (main relay) | — | |
| W3 | SP-14V-1 | G4XATOMX-A-A5 | 0.85 | no route | +14V ECU Power | — | |
| W4 | OEM-3-A | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W5 | OEM-3-B | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W6 | OEM-4-A | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W7 | SP-GND-1 | G4XATOMX-A-A25 | 0.85 | no route | System Ground | — | |
| W8 | SP-GND-1 | G4XATOMX-A-A34 | 0.85 | no route | System Ground | — | |
| W9 | OEM-4-O | SP-0V-1 | 0.5 | no route | Signal ground | — | |
| W10 | SP-0V-1 | G4XATOMX-A-A24 | 0.5 | no route | Sensor Ground | — | |
| W11 | OEM-4-L | G4XATOMX-A-A32 | 0.5 | no route | +5V sensor supply | — | |
| W12 | OEM-3-Y | G4XATOMX-A-A8 | 0.5 | no route | Crank position (CKP) | — | |
| W13 | OEM-3-V | G4XATOMX-A-A9 | 0.5 | no route | Cam position (CMP) | — | |
| W14 | OEM-4-M | G4XATOMX-A-A6 | 0.5 | no route | Knock sensor | — | |
| W15 | OEM-3-F | G4XATOMX-A-A13 | 0.5 | no route | Ignition 1 (coils 1+4, wasted spark) | — | |
| W16 | OEM-3-I | G4XATOMX-A-A12 | 0.5 | no route | Ignition 2 (coils 2+3, wasted spark) | — | |
| W17 | OEM-2-A | G4XATOMX-A-A4 | 0.5 | no route | Injector 1 | — | |
| W18 | OEM-2-D | G4XATOMX-A-A3 | 0.5 | no route | Injector 2 | — | |
| W19 | OEM-2-G | G4XATOMX-A-A2 | 0.5 | no route | Injector 3 | — | |
| W20 | OEM-2-J | G4XATOMX-A-A1 | 0.5 | no route | Injector 4 | — | |
| W21 | OEM-4-X | G4XATOMX-A-A17 | 0.5 | no route | Mass air flow (MAF) | — | |
| W22 | OEM-4-V | G4XATOMX-A-A22 | 0.5 | no route | Throttle position (TPS) | — | |
| W23 | OEM-4-P | G4XATOMX-A-A15 | 0.5 | no route | Coolant temperature (ECT) | — | |
| W24 | OEM-2-B | G4XATOMX-A-A21 | 0.5 | no route | Cooling fan relay | — | |
| W25 | OEM-2-C | G4XATOMX-A-A20 | 0.5 | no route | Condenser fan relay | — | |
| W26 | OEM-2-K | G4XATOMX-A-A19 | 0.5 | no route | A/C clutch relay | — | |
| W27 | OEM-2-M | G4XATOMX-A-A18 | 0.5 | no route | Fuel pump relay | — | |
| W28 | OEM-4-AE | G4XATOMX-A-A33 | 0.5 | no route | BARO/MAP sensor (turbo boost pressure) | — | |
| W29 | OEM-4-R | G4XATOMX-A-A16 | 0.5 | no route | Intake air temperature 2 (IAT2, turbo) | — | |
| W30 | OEM-3-T | G4XATOMX-A-A30 | 0.5 | no route | Vehicle speed | — | |
| W31 | OEM-3-S | G4XATOMX-A-A31 | 0.5 | no route | Immobiliser | — |
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 (5)
| Severity | Code | Subject | Message |
|---|---|---|---|
| warn | LOAD_UNKNOWN | G4XATOMX-A-A18 | G4XATOMX-A-A18 "Aux 4" drives OEM-2-M Fuel pump relay (load 0.2 A) but its current rating is unknown. Check the ECU manual. |
| warn | LOAD_UNKNOWN | G4XATOMX-A-A19 | G4XATOMX-A-A19 "Aux 3" drives OEM-2-K A/C clutch relay (load 0.2 A) but its current rating is unknown. Check the ECU manual. |
| warn | LOAD_UNKNOWN | G4XATOMX-A-A20 | G4XATOMX-A-A20 "Aux 2" drives OEM-2-C Condenser fan relay (load 0.2 A) but its current rating is unknown. Check the ECU manual. |
| warn | LOAD_UNKNOWN | G4XATOMX-A-A21 | G4XATOMX-A-A21 "Aux 1" drives OEM-2-B Cooling fan relay (load 0.2 A) but its current rating is unknown. Check the ECU manual. |
| info | UNMAPPED | OEM | 35 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-O Fuel pump relay (non-immobiliser); 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-H Main relay; 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-AA Rear O2 signal; OEM-4-AC Data link connector (DLC TEN, turbo); OEM-4-AD Fuel level; OEM-4-AH EVAP leak detection pump solenoid valve; OEM-4-B Brake switch; OEM-4-C Power steering pressure switch; OEM-4-D Boost control solenoid (turbo); OEM-4-E Boost control solenoid (turbo); OEM-4-F A/C request; OEM-4-H Neutral switch; OEM-4-I Clutch switch; OEM-4-J VTCS vacuum switch; OEM-4-N Intake air temperature (IAT); OEM-4-S Ignition switch (IG1) sense; OEM-4-T Generator output voltage (terminal P); OEM-4-W Front O2 signal; OEM-4-Z TCM (automatic only) |
Accepted (1)
| Code | Subject | Reason | By |
|---|---|---|---|
| REQUIRED_UNMAPPED | OEM-4-AG | Battery-constant (memory) feed of the stock ECU: the new ECU has no such input, so it is not needed. | mapping-proposal |
Notes
Fit check: unconfirmed. Confirm these before building: - Trigger pattern for Mazda BP-ZET not found in the ECU's docs (Link's trigger-mode list is only inside PCLink, not online) 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 AG: Constant +12V: Link G4X AtomX has no battery-constant input; not needed - 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); Link G4X AtomX has no dedicated key-on input - OEM-3 H: Main relay: no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on Link G4X AtomX - OEM-2 O: Fuel pump relay (non-immobiliser): no free relay_control/low_side/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-4 D: Boost control solenoid (turbo): no free high_side/ls_hs on Link G4X AtomX - OEM-4 E: Boost control solenoid (turbo): no free high_side/ls_hs on Link G4X AtomX - OEM-3 J: Front O2 heater: no free heater_low_side/low_side/relay_control/ls_hs/injector on Link G4X AtomX - OEM-3 P: Rear O2 heater: no free heater_low_side/low_side/relay_control/ls_hs/injector on Link G4X AtomX - OEM-2 Q: ISC valve low side: no free low_side/relay_control/heater_low_side/ls_hs/injector rated ≥ 1.0 A on Link G4X AtomX - OEM-2 E: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-2 F: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-2 H: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-2 I: EGR valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-2 N: VTCS solenoid (intake butterflies): no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-2 R: Malfunction indicator lamp (MIL): no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-3 C: Purge solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-3 K: EVAP leak detection pump: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-3 M: Alternator control: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-3 U: Charge lamp: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-4 AH: EVAP leak detection pump solenoid valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on Link G4X AtomX - OEM-3 O: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on Link G4X AtomX - OEM-4 AA: Rear O2 signal: no free o2_narrowband/analog_0_5 on Link G4X AtomX - OEM-4 W: Front O2 signal: no free o2_narrowband/analog_0_5 on Link G4X AtomX - OEM-4 N: Intake air temperature (IAT): no free thermistor/analog_0_5 on Link G4X AtomX - OEM-4 AD: Fuel level: no free analog_0_5 on Link G4X AtomX - OEM-4 B: Brake switch: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-4 C: Power steering pressure switch: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-4 F: A/C request: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-4 H: Neutral switch: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-4 I: Clutch switch: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-4 J: VTCS vacuum switch: no free switch_in/frequency_in/analog_0_5 on Link G4X AtomX - OEM-3 Q: Data link connector (K-line): no free k_line on Link G4X AtomX - OEM-4 AC: Data link connector (DLC TEN, turbo): no free k_line on Link G4X AtomX - 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
| Reliability | Kind | Title | URL | Archive | Captured | SHA-256 |
|---|---|---|---|---|---|---|
| 4 | oem_manual | 2005 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 | — | — | — |
| 4 | vendor_doc | Adaptronic 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 | — | — | — |
| 4 | vendor_doc | Link G4X MX5NB2X install manual (NB2 2001-05) | https://linkecu.com/documentation/MX5XNB2.pdf | archive | 2026-10-05 | 741efdd9f2c8 |
| 4 | vendor_doc | Link: G4X AtomX quickstart | https://linkecu.com/documentation/AtomXQuickstartGuide.pdf | archive | 2026-10-05 | 5fa903ea7bdf |
| 3 | community_copy | YourSpec: Link G4X AtomX ECU flying-lead harness wiring list | https://wpm.yourspec.com/projects/view/1462 | — | — | — |