← Back

MX-5 Miata NA8 1994-97 (BP-ZE, 1.8) → Motorsport Electronics ME221 (auto)

MX-5 Miata NA8 1994-95 (BP-ZE, 1.8, OBD-I) — Motorsport Electronics — ME221
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-09

Before you start

Not confident with automotive wiring? Have a professional harness builder or tuner do it, or check your work before first power-up. A wiring mistake can damage the ECU, the engine or the car, or start a fire.

Statusproposal · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job40 wires · 6 connectors · 2 part lines
ToolsCrimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink
Order of work1. Check every part against the parts list. 2. Cut and label every wire (labels: Export → Wire labels). 3. Crimp and pin connector by connector, ticking the build checklist. 4. Run the bench test with nothing plugged in and the battery disconnected. 5. Only then connect the ECU and power up.

Build checklist

Tick each box as you go. Continuity: meter from end to end, expect under 1 Ω.

WireFromToGaugeColourCutLabelCrimp ACrimp BPin APin BContinuity
W1OEM-1-BSP-14V-10.85☐☐☐☐☐☐☐
W2SP-14V-1ME221-C1-150.85☐☐☐☐☐☐☐
W3SP-14V-1ME221-C1-640.85☐☐☐☐☐☐☐
W4OEM-2-ASP-GND-10.85☐☐☐☐☐☐☐
W5OEM-2-BSP-GND-10.85☐☐☐☐☐☐☐
W6SP-GND-1ME221-C1-100.85☐☐☐☐☐☐☐
W7SP-GND-1ME221-C1-610.85☐☐☐☐☐☐☐
W8SP-GND-1ME221-C1-890.85☐☐☐☐☐☐☐
W9SP-GND-1ME221-C1-900.85☐☐☐☐☐☐☐
W10OEM-2-CSP-0V-10.5☐☐☐☐☐☐☐
W11OEM-2-DSP-0V-10.5☐☐☐☐☐☐☐
W12OEM-2-FSP-0V-10.5☐☐☐☐☐☐☐
W13SP-0V-1ME221-C1-520.5☐☐☐☐☐☐☐
W14SP-0V-1ME221-C1-840.5☐☐☐☐☐☐☐
W15OEM-2-KME221-C1-450.5☐☐☐☐☐☐☐
W16OEM-2-EME221-C1-810.5☐☐☐☐☐☐☐
W17OEM-2-GME221-C1-220.5☐☐☐☐☐☐☐
W18OEM-1-GME221-C1-320.5☐☐☐☐☐☐☐
W19OEM-1-HME221-C1-310.5☐☐☐☐☐☐☐
W20OEM-2-UME221-C1-630.5☐☐☐☐☐☐☐
W21OEM-2-VME221-C1-40.5☐☐☐☐☐☐☐
W22OEM-2-YME221-C1-330.5☐☐☐☐☐☐☐
W23OEM-2-ZME221-C1-30.5☐☐☐☐☐☐☐
W24OEM-1-JME221-C1-730.5☐☐☐☐☐☐☐
W25OEM-1-RME221-C1-120.5☐☐☐☐☐☐☐
W26OEM-2-SME221-C1-740.5☐☐☐☐☐☐☐
W27OEM-2-TME221-C1-440.5☐☐☐☐☐☐☐
W28OEM-2-WME221-C1-690.5☐☐☐☐☐☐☐
W29OEM-1-EME221-C1-390.5☐☐☐☐☐☐☐
W30OEM-2-RME221-C1-670.5☐☐☐☐☐☐☐
W31OEM-2-XME221-C1-680.5☐☐☐☐☐☐☐
W32OEM-2-IME221-C1-790.5☐☐☐☐☐☐☐
W33OEM-2-OME221-C1-260.5☐☐☐☐☐☐☐
W34OEM-2-MME221-C1-560.5☐☐☐☐☐☐☐
W35OEM-2-NME221-C1-170.5☐☐☐☐☐☐☐
W36OEM-2-QME221-C1-860.5☐☐☐☐☐☐☐
W37OEM-2-PME221-C1-570.5☐☐☐☐☐☐☐
W38OEM-1-MME221-C1-60.5☐☐☐☐☐☐☐
W39OEM-1-CME221-C1-70.5☐☐☐☐☐☐☐
W40OEM-1-PME221-C1-180.5☐☐☐☐☐☐☐

Bench test (before first power-up)

Battery disconnected, ECU and every sensor unplugged. Meter on resistance. Each pair below must read open (OL): a reading means a pinched wire, a stray strand or a mis-pinned cavity. Then check continuity of every wire (last column of the build checklist).

#Probe AProbe BExpectWhyReading
1ME221-C1-15ME221-C1-10open (OL)+12 V supply must not touch power ground
2ME221-C1-15ME221-C1-52open (OL)+12 V supply must not touch sensor ground
3ME221-C1-10ME221-C1-45open (OL)power ground must not touch 5 V sensor reference
4ME221-C1-15ME221-C1-45open (OL)+12 V supply must not touch 5 V sensor reference
5ME221-C1-52ME221-C1-45open (OL)sensor ground must not touch 5 V sensor reference

If any reading doesn't match, stop and get help before powering up.

Revisions

RevLabelByDate
No revisions yet.

Schematic

ME221-C1OEM-1OEM-2SP-0VSP-14VSP-GND

Connectors

ME221-C1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1COIL 4————————
10GROUND CHASSIS—W6—0.85SP-GND-1———
12LOW SIDE 2—W25—0.5OEM-1-R———
14LSU +12V————————
15IGN +12V—W2—0.85SP-14V-1———
16LSU HEATER -VE————————
17ANA VOLT 3—W35—0.5OEM-2-N———
18ANA VOLT 4—W40—0.5OEM-1-P———
19LSU UN————————
2COIL 3————————
20LSU VM————————
21CAN 1 HIGH————————
22CAM A VR+—W17—0.5OEM-2-G———
23CAM A VR-————————
24SERIAL 1 GROUND————————
25SERIAL 1 TX————————
26ANA VOLT 1—W33—0.5OEM-2-O———
3INJECTOR 4—W23—0.5OEM-2-Z———
31COIL 2—W19—0.5OEM-1-H———
32COIL 1—W18—0.5OEM-1-G———
33INJECTOR 3—W22—0.5OEM-2-Y———
35USB D+————————
36USB D-————————
37LOW SIDE RELAY 11————————
38USB VBUS————————
39LOW SIDE 6—W29—0.5OEM-1-E———
4INJECTOR 2—W21—0.5OEM-2-V———
41USB GROUND————————
42LOW SIDE RELAY 12————————
43LOW SIDE RELAY 14————————
44LOW SIDE 4—W27—0.5OEM-2-T———
455V REF—W15—0.5OEM-2-K———
465V REF————————
49LSU IA————————
50LSU IP————————
51CAN 1 LOW————————
52SENSORS GROUND—W13—0.5SP-0V-1———
53KNOCK 1 SIGNAL————————
55SERIAL 1 RX————————
56ANA VOLT 2—W34—0.5OEM-2-M———
57ANA TEMP 2—W37—0.5OEM-2-P———
6DIG_IN 1—W38—0.5OEM-1-M———
61GROUND—W7—0.85SP-GND-1———
63INJECTOR 1—W20—0.5OEM-2-U———
64VBAT—W3—0.85SP-14V-1———
67Stepper 1 / A1—W30—0.5OEM-2-R———
68Stepper 2 / A2—W31—0.5OEM-2-X———
69LOW SIDE 5—W28—0.5OEM-2-W———
7DIG_IN 2—W39—0.5OEM-1-C———
70Stepper 3 / B1————————
71Stepper 4 / B2————————
72LOW SIDE RELAY 13————————
73LOW SIDE 1—W24—0.5OEM-1-J———
74LOW SIDE 3—W26—0.5OEM-2-S———
765V REF————————
79TACHOMETER—W32—0.5OEM-2-I———
80CRANK VR-————————
81CRANK VR+—W16—0.5OEM-2-E———
84Sensor Ground—W14—0.5SP-0V-1———
86ANA TEMP 1—W36—0.5OEM-2-Q———
89GROUND—W8—0.85SP-GND-1———
90GROUND—W9—0.85SP-GND-1———

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V————————
BECU power +14V (main relay)—W1—0.85SP-14V-1———
CStart signal—W39—0.5ME221-C1-7———
EMalfunction indicator lamp (MIL)—W29—0.5ME221-C1-39———
GIgnition 1 (coils 1+4, wasted spark)—W18—0.5ME221-C1-32———
HIgnition 2 (coils 2+3, wasted spark)—W19—0.5ME221-C1-31———
JA/C relay—W24—0.5ME221-C1-73———
MVehicle speed—W38—0.5ME221-C1-6———
PPower steering pressure switch—W40—0.5ME221-C1-18———
QA/C request————————
RCooling fan relay—W25—0.5ME221-C1-12———
VNeutral/clutch switch————————

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W4—0.85SP-GND-1———
BPower ground—W5—0.85SP-GND-1———
CSensor ground (E2)—W10—0.5SP-0V-1———
DSensor ground (E2)—W11—0.5SP-0V-1———
ECrank position (CAS NE)—W16—0.5ME221-C1-81———
FMAF ground—W12—0.5SP-0V-1———
GCam position (CAS G)—W17—0.5ME221-C1-22———
ITachometer output—W32—0.5ME221-C1-79———
K+5V sensor supply—W15—0.5ME221-C1-45———
MThrottle position (TPS)—W34—0.5ME221-C1-56———
NO2 sensor—W35—0.5ME221-C1-17———
OMass air flow (MAF)—W33—0.5ME221-C1-26———
PIntake air temperature (IAT)—W37—0.5ME221-C1-57———
QCoolant temperature (ECT)—W36—0.5ME221-C1-86———
RPRC solenoid (fuel pressure regulator)—W30—0.5ME221-C1-67———
SCondenser fan relay—W26—0.5ME221-C1-74———
TFuel pump relay—W27—0.5ME221-C1-44———
UInjector 1—W20—0.5ME221-C1-63———
VInjector 2—W21—0.5ME221-C1-4———
WISC solenoid—W28—0.5ME221-C1-69———
XEvap purge solenoid—W31—0.5ME221-C1-68———
YInjector 3—W22—0.5ME221-C1-33———
ZInjector 4—W23—0.5ME221-C1-3———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W10—0.5OEM-2-C———
1——W11—0.5OEM-2-D———
1——W12—0.5OEM-2-F———
1——W13—0.5ME221-C1-52———
1——W14—0.5ME221-C1-84———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85ME221-C1-15———
1——W3—0.85ME221-C1-64———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W4—0.85OEM-2-A———
1——W5—0.85OEM-2-B———
1——W6—0.85ME221-C1-10———
1——W7—0.85ME221-C1-61———
1——W8—0.85ME221-C1-89———
1——W9—0.85ME221-C1-90———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-1-AConstant +12Vpower_in———single_source
OEM-1-BECU power +14V (main relay)power_inME221-C1-15 + ME221-C1-64IGN +12V + VBATpower_insingle_source
OEM-1-CStart signaldigital_inME221-C1-7DIG_IN 2digital_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outME221-C1-39LOW SIDE 6low_side_outsingle_source
OEM-1-GIgnition 1 (coils 1+4, wasted spark)ignition_outME221-C1-32COIL 1ignition_outsingle_source
OEM-1-HIgnition 2 (coils 2+3, wasted spark)ignition_outME221-C1-31COIL 2ignition_outsingle_source
OEM-1-JA/C relaylow_side_outME221-C1-73LOW SIDE 1low_side_outsingle_source
OEM-1-MVehicle speeddigital_inME221-C1-6DIG_IN 1digital_insingle_source
OEM-1-PPower steering pressure switchdigital_inME221-C1-18ANA VOLT 4analog_insingle_source
OEM-1-QA/C requestdigital_in———single_source
OEM-1-RCooling fan relaylow_side_outME221-C1-12LOW SIDE 2low_side_outsingle_source
OEM-1-VNeutral/clutch switchdigital_in———single_source
OEM-2-APower groundgroundME221-C1-10 + ME221-C1-61 + ME221-C1-89 + ME221-C1-90GROUND CHASSIS + GROUND + GROUND + GROUNDgroundsingle_source
OEM-2-BPower groundgroundME221-C1-10 + ME221-C1-61 + ME221-C1-89 + ME221-C1-90GROUND CHASSIS + GROUND + GROUND + GROUNDgroundsingle_source
OEM-2-CSensor ground (E2)sensor_groundME221-C1-52 + ME221-C1-84SENSORS GROUND + Sensor Groundsensor_groundcorroborated
OEM-2-DSensor ground (E2)sensor_groundME221-C1-52 + ME221-C1-84SENSORS GROUND + Sensor Groundsensor_groundcorroborated
OEM-2-ECrank position (CAS NE)trigger_inME221-C1-81CRANK VR+trigger_insingle_source
OEM-2-FMAF groundsensor_groundME221-C1-52 + ME221-C1-84SENSORS GROUND + Sensor Groundsensor_groundsingle_source
OEM-2-GCam position (CAS G)trigger_inME221-C1-22CAM A VR+trigger_insingle_source
OEM-2-ITachometer outputtacho_outME221-C1-79TACHOMETERtacho_outsingle_source
OEM-2-K+5V sensor supplyvrefME221-C1-455V REFvrefsingle_source
OEM-2-MThrottle position (TPS)analog_inME221-C1-56ANA VOLT 2analog_insingle_source
OEM-2-NO2 sensorlambda_nb_inME221-C1-17ANA VOLT 3analog_insingle_source
OEM-2-OMass air flow (MAF)analog_inME221-C1-26ANA VOLT 1analog_insingle_source
OEM-2-PIntake air temperature (IAT)temp_inME221-C1-57ANA TEMP 2temp_insingle_source
OEM-2-QCoolant temperature (ECT)temp_inME221-C1-86ANA TEMP 1temp_insingle_source
OEM-2-RPRC solenoid (fuel pressure regulator)low_side_outME221-C1-67Stepper 1 / A1hbridge_outsingle_source
OEM-2-SCondenser fan relaylow_side_outME221-C1-74LOW SIDE 3low_side_outsingle_source
OEM-2-TFuel pump relaylow_side_outME221-C1-44LOW SIDE 4low_side_outsingle_source
OEM-2-UInjector 1injector_outME221-C1-63INJECTOR 1injector_outsingle_source
OEM-2-VInjector 2injector_outME221-C1-4INJECTOR 2injector_outsingle_source
OEM-2-WISC solenoidlow_side_outME221-C1-69LOW SIDE 5low_side_outsingle_source
OEM-2-XEvap purge solenoidlow_side_outME221-C1-68Stepper 2 / A2hbridge_outsingle_source
OEM-2-YInjector 3injector_outME221-C1-33INJECTOR 3injector_outsingle_source
OEM-2-ZInjector 4injector_outME221-C1-3INJECTOR 4injector_outsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2SP-14V-1ME221-C1-150.85no routeIGN +12V—
W3SP-14V-1ME221-C1-640.85no routeVBAT—
W4OEM-2-ASP-GND-10.85no routePower ground—
W5OEM-2-BSP-GND-10.85no routePower ground—
W6SP-GND-1ME221-C1-100.85no routeGROUND CHASSIS—
W7SP-GND-1ME221-C1-610.85no routeGROUND—
W8SP-GND-1ME221-C1-890.85no routeGROUND—
W9SP-GND-1ME221-C1-900.85no routeGROUND—
W10OEM-2-CSP-0V-10.5no routeSensor ground (E2)—
W11OEM-2-DSP-0V-10.5no routeSensor ground (E2)—
W12OEM-2-FSP-0V-10.5no routeMAF ground—
W13SP-0V-1ME221-C1-520.5no routeSENSORS GROUND—
W14SP-0V-1ME221-C1-840.5no routeSensor Ground—
W15OEM-2-KME221-C1-450.5no route+5V sensor supply—
W16OEM-2-EME221-C1-810.5no routeCrank position (CAS NE)—
W17OEM-2-GME221-C1-220.5no routeCam position (CAS G)—
W18OEM-1-GME221-C1-320.5no routeIgnition 1 (coils 1+4, wasted spark)—
W19OEM-1-HME221-C1-310.5no routeIgnition 2 (coils 2+3, wasted spark)—
W20OEM-2-UME221-C1-630.5no routeInjector 1—
W21OEM-2-VME221-C1-40.5no routeInjector 2—
W22OEM-2-YME221-C1-330.5no routeInjector 3—
W23OEM-2-ZME221-C1-30.5no routeInjector 4—
W24OEM-1-JME221-C1-730.5no routeA/C relay—
W25OEM-1-RME221-C1-120.5no routeCooling fan relay—
W26OEM-2-SME221-C1-740.5no routeCondenser fan relay—
W27OEM-2-TME221-C1-440.5no routeFuel pump relay—
W28OEM-2-WME221-C1-690.5no routeISC solenoid—
W29OEM-1-EME221-C1-390.5no routeMalfunction indicator lamp (MIL)—
W30OEM-2-RME221-C1-670.5no routePRC solenoid (fuel pressure regulator)—
W31OEM-2-XME221-C1-680.5no routeEvap purge solenoid—
W32OEM-2-IME221-C1-790.5no routeTachometer output—
W33OEM-2-OME221-C1-260.5no routeMass air flow (MAF)—
W34OEM-2-MME221-C1-560.5no routeThrottle position (TPS)—
W35OEM-2-NME221-C1-170.5no routeO2 sensor—
W36OEM-2-QME221-C1-860.5no routeCoolant temperature (ECT)—
W37OEM-2-PME221-C1-570.5no routeIntake air temperature (IAT)—
W38OEM-1-MME221-C1-60.5no routeVehicle speed—
W39OEM-1-CME221-C1-70.5no routeStart signal—
W40OEM-1-PME221-C1-180.5no routePower steering pressure switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit
connector174515-6TEAMP Multilock .040/.070 hybrid 22-pin female harness plug (Miata NA/NB ECU)1.000ea
connector174516-6TEAMP Multilock .040/.070 hybrid 26-pin female harness plug (Miata NA/NB ECU)1.000ea

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (4)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-1-P ↔ ME221-C1-18OEM-1-P "Power steering pressure switch" [digital_in] is wired to ME221-C1-18 "ANA VOLT 4" [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-2-R ↔ ME221-C1-67OEM-2-R "PRC solenoid (fuel pressure regulator)" [low_side_out] is wired to ME221-C1-67 "Stepper 1 / A1" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-X ↔ ME221-C1-68OEM-2-X "Evap purge solenoid" [low_side_out] is wired to ME221-C1-68 "Stepper 2 / A2" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
infoUNMAPPEDOEM2 optional OEM pins are not mapped: OEM-1-Q A/C request; OEM-1-V Neutral/clutch switch

Accepted (1)

CodeSubjectReasonBy
REQUIRED_UNMAPPEDOEM-1-ABattery-constant (memory) feed of the stock ECU: the new ECU has no such input, so it is not needed.mapping-proposal

Notes

Auto-mapped by auto_map() from the library pin data on 2026-10-09. Review every wire against both manuals before building. Not wired: - OEM-1 A: Constant +12V: Motorsport Electronics ME221 has no battery-constant input; not needed - OEM-1 Q: A/C request: no free switch_in/frequency_in/analog_0_5 on Motorsport Electronics ME221 - OEM-1 V: Neutral/clutch switch: no free switch_in/frequency_in/analog_0_5 on Motorsport Electronics ME221

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docLink G4X MX5X install manual (NA 1.6/1.8)https://linkecu.com/documentation/MX5X.pdfarchive2026-10-05b7f730de9f6e
4vendor_docMotorsport Electronics GEN2 ME221/ME360/ME442 wire-in pinouthttps://motorsport-electronics.co.uk/onlinehelp/html/ME442ME360ME221GEN2Wire-InPinout.html———
2expert_reportJustin Barrera — Miata NA/NB wiring corrections————
2community_copyrusefi wiki: 1994 Mazda Miata 1.8 (NA8) ECU pinouthttps://github.com/rusefi/rusefi/wiki/Mazda-Miata-1994—2026-10-08075801b907f4