← Back

MX-5 Miata NA8 1994-97 (BP-ZE, 1.8) → Speeduino Speeduino v0.4 (auto)

MX-5 Miata NA8 1994-97 (BP-ZE, 1.8) — Speeduino — Speeduino
⚠ NOT CHECKED. Don't build from this.
Drawn by Michael Gnankou · Rev 0 · draft · 2026-10-04

Revisions

RevLabelByDate
No revisions yet.

Schematic

OEM-1OEM-2SP-0VSP-GNDSPEEDUINO-A

Connectors

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V————————
BECU power +14V (main relay)————————
CStart signal—W33—0.5SPEEDUINO-A-18———
EMalfunction indicator lamp (MIL)—W24—0.5SPEEDUINO-A-38———
GIgnition 1 (coils 1+4, wasted spark)—W13—0.5SPEEDUINO-A-7———
HIgnition 2 (coils 2+3, wasted spark)—W14—0.5SPEEDUINO-A-34———
JA/C relay—W19—0.5SPEEDUINO-A-16———
MVehicle speed—W32—0.5SPEEDUINO-A-14———
PPower steering pressure switch————————
QA/C request————————
RCooling fan relay—W20—0.5SPEEDUINO-A-15———
VNeutral/clutch switch————————

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W1—0.85SP-GND-1———
BPower ground—W2—0.85SP-GND-1———
CPower ground—W3—0.85SP-GND-1———
DPower ground—W4—0.85SP-GND-1———
ECrank position (CAS NE)—W11—0.5SPEEDUINO-A-25———
FMAF ground—W7—0.5SP-0V-1———
GCam position (CAS G)—W12—0.5SPEEDUINO-A-24———
ITachometer output—W27—0.5SPEEDUINO-A-17———
K+5V sensor supply—W10—0.5SPEEDUINO-A-13———
MThrottle position (TPS)—W28—0.5SPEEDUINO-A-22———
NO2 sensor—W29—0.5SPEEDUINO-A-21———
OMass air flow (MAF)————————
PIntake air temperature (IAT)—W31—0.5SPEEDUINO-A-20———
QCoolant temperature (ECT)—W30—0.5SPEEDUINO-A-19———
RPRC solenoid (fuel pressure regulator)—W25—0.5SPEEDUINO-A-31———
SCondenser fan relay—W21—0.5SPEEDUINO-A-36———
TFuel pump relay—W22—0.5SPEEDUINO-A-35———
UInjector 1—W15—0.5SPEEDUINO-A-1———
VInjector 2—W16—0.5SPEEDUINO-A-2———
WISC solenoid—W23—0.5SPEEDUINO-A-37———
XEvap purge solenoid—W26—0.5SPEEDUINO-A-32———
YInjector 3—W17—0.5SPEEDUINO-A-3———
ZInjector 4—W18—0.5SPEEDUINO-A-5———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W7—0.5OEM-2-F———
1——W8—0.5SPEEDUINO-A-12———
1——W9—0.5SPEEDUINO-A-23———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-2-A———
1——W2—0.85OEM-2-B———
1——W3—0.85OEM-2-C———
1——W4—0.85OEM-2-D———
1——W5—0.85SPEEDUINO-A-10———
1——W6—0.85SPEEDUINO-A-9———

SPEEDUINO-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Injector 1—W15—0.5OEM-2-U———
10Ground—W5—0.85SP-GND-1———
11MAP sensor (0-5V)————————
12Ground—W8—0.5SP-0V-1———
135V—W10—0.5OEM-2-K———
14Proto area 1 (flex fuel)—W32—0.5OEM-1-M———
15Proto area 2 (fan)—W20—0.5OEM-1-R———
16Proto area 3 (fuel pump)—W19—0.5OEM-1-J———
17Proto area 4 (tachometer)—W27—0.5OEM-2-I———
18Proto area 5 (clutch)—W33—0.5OEM-1-C———
19Coolant temp (CLT)—W30—0.5OEM-2-Q———
2Injector 2—W16—0.5OEM-2-V———
20Inlet air temp (IAT)—W31—0.5OEM-2-P———
21O2 sensor—W29—0.5OEM-2-N———
22TPS input—W28—0.5OEM-2-M———
23Ground—W9—0.5SP-0V-1———
24Cam input / VR2+—W12—0.5OEM-2-G———
25Crank input / VR1+—W11—0.5OEM-2-E———
26VR2-————————
27VR1-————————
285V————————
29Idle stepper 2B————————
3Injector 3—W17—0.5OEM-2-Y———
30Idle stepper 2A————————
31Idle stepper 1A—W25—0.5OEM-2-R———
32Idle stepper 1B—W26—0.5OEM-2-X———
33Ignition 3————————
34Ignition 2—W14—0.5OEM-1-H———
35Boost—W22—0.5OEM-2-T———
36Idle 2 (3-wire idle)—W21—0.5OEM-2-S———
37PWM idle—W23—0.5OEM-2-W———
38VVT—W24—0.5OEM-1-E———
5Injector 4—W18—0.5OEM-2-Z———
7Ignition 1—W13—0.5OEM-1-G———
8Ignition 4————————
9Ground—W6—0.85SP-GND-1———

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_in———single_source
OEM-1-CStart signaldigital_inSPEEDUINO-A-18Proto area 5 (clutch)digital_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outSPEEDUINO-A-38VVTlow_side_outsingle_source
OEM-1-GIgnition 1 (coils 1+4, wasted spark)ignition_outSPEEDUINO-A-7Ignition 1ignition_outsingle_source
OEM-1-HIgnition 2 (coils 2+3, wasted spark)ignition_outSPEEDUINO-A-34Ignition 2ignition_outsingle_source
OEM-1-JA/C relaylow_side_outSPEEDUINO-A-16Proto area 3 (fuel pump)low_side_outsingle_source
OEM-1-MVehicle speeddigital_inSPEEDUINO-A-14Proto area 1 (flex fuel)digital_insingle_source
OEM-1-PPower steering pressure switchdigital_in———single_source
OEM-1-QA/C requestdigital_in———single_source
OEM-1-RCooling fan relaylow_side_outSPEEDUINO-A-15Proto area 2 (fan)low_side_outsingle_source
OEM-1-VNeutral/clutch switchdigital_in———single_source
OEM-2-APower groundgroundSPEEDUINO-A-10 + SPEEDUINO-A-9Ground + Groundgroundsingle_source
OEM-2-BPower groundgroundSPEEDUINO-A-10 + SPEEDUINO-A-9Ground + Groundgroundsingle_source
OEM-2-CPower groundgroundSPEEDUINO-A-10 + SPEEDUINO-A-9Ground + Groundgroundsingle_source
OEM-2-DPower groundgroundSPEEDUINO-A-10 + SPEEDUINO-A-9Ground + Groundgroundsingle_source
OEM-2-ECrank position (CAS NE)trigger_inSPEEDUINO-A-25Crank input / VR1+trigger_insingle_source
OEM-2-FMAF groundsensor_groundSPEEDUINO-A-12 + SPEEDUINO-A-23Ground + Groundsensor_groundsingle_source
OEM-2-GCam position (CAS G)trigger_inSPEEDUINO-A-24Cam input / VR2+trigger_insingle_source
OEM-2-ITachometer outputtacho_outSPEEDUINO-A-17Proto area 4 (tachometer)tacho_outsingle_source
OEM-2-K+5V sensor supplyvrefSPEEDUINO-A-135Vvrefsingle_source
OEM-2-MThrottle position (TPS)analog_inSPEEDUINO-A-22TPS inputanalog_insingle_source
OEM-2-NO2 sensorlambda_nb_inSPEEDUINO-A-21O2 sensorlambda_nb_insingle_source
OEM-2-OMass air flow (MAF)analog_in———single_source
OEM-2-PIntake air temperature (IAT)temp_inSPEEDUINO-A-20Inlet air temp (IAT)temp_insingle_source
OEM-2-QCoolant temperature (ECT)temp_inSPEEDUINO-A-19Coolant temp (CLT)temp_insingle_source
OEM-2-RPRC solenoid (fuel pressure regulator)low_side_outSPEEDUINO-A-31Idle stepper 1Ahbridge_outsingle_source
OEM-2-SCondenser fan relaylow_side_outSPEEDUINO-A-36Idle 2 (3-wire idle)low_side_outsingle_source
OEM-2-TFuel pump relaylow_side_outSPEEDUINO-A-35Boostlow_side_outsingle_source
OEM-2-UInjector 1injector_outSPEEDUINO-A-1Injector 1injector_outsingle_source
OEM-2-VInjector 2injector_outSPEEDUINO-A-2Injector 2injector_outsingle_source
OEM-2-WISC solenoidlow_side_outSPEEDUINO-A-37PWM idlelow_side_outsingle_source
OEM-2-XEvap purge solenoidlow_side_outSPEEDUINO-A-32Idle stepper 1Bhbridge_outsingle_source
OEM-2-YInjector 3injector_outSPEEDUINO-A-3Injector 3injector_outsingle_source
OEM-2-ZInjector 4injector_outSPEEDUINO-A-5Injector 4injector_outsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-2-ASP-GND-10.85no routePower ground—
W2OEM-2-BSP-GND-10.85no routePower ground—
W3OEM-2-CSP-GND-10.85no routePower ground—
W4OEM-2-DSP-GND-10.85no routePower ground—
W5SP-GND-1SPEEDUINO-A-100.85no routeGround—
W6SP-GND-1SPEEDUINO-A-90.85no routeGround—
W7OEM-2-FSP-0V-10.5no routeMAF ground—
W8SP-0V-1SPEEDUINO-A-120.5no routeGround—
W9SP-0V-1SPEEDUINO-A-230.5no routeGround—
W10OEM-2-KSPEEDUINO-A-130.5no route+5V sensor supply—
W11OEM-2-ESPEEDUINO-A-250.5no routeCrank position (CAS NE)—
W12OEM-2-GSPEEDUINO-A-240.5no routeCam position (CAS G)—
W13OEM-1-GSPEEDUINO-A-70.5no routeIgnition 1 (coils 1+4, wasted spark)—
W14OEM-1-HSPEEDUINO-A-340.5no routeIgnition 2 (coils 2+3, wasted spark)—
W15OEM-2-USPEEDUINO-A-10.5no routeInjector 1—
W16OEM-2-VSPEEDUINO-A-20.5no routeInjector 2—
W17OEM-2-YSPEEDUINO-A-30.5no routeInjector 3—
W18OEM-2-ZSPEEDUINO-A-50.5no routeInjector 4—
W19OEM-1-JSPEEDUINO-A-160.5no routeA/C relay—
W20OEM-1-RSPEEDUINO-A-150.5no routeCooling fan relay—
W21OEM-2-SSPEEDUINO-A-360.5no routeCondenser fan relay—
W22OEM-2-TSPEEDUINO-A-350.5no routeFuel pump relay—
W23OEM-2-WSPEEDUINO-A-370.5no routeISC solenoid—
W24OEM-1-ESPEEDUINO-A-380.5no routeMalfunction indicator lamp (MIL)—
W25OEM-2-RSPEEDUINO-A-310.5no routePRC solenoid (fuel pressure regulator)—
W26OEM-2-XSPEEDUINO-A-320.5no routeEvap purge solenoid—
W27OEM-2-ISPEEDUINO-A-170.5no routeTachometer output—
W28OEM-2-MSPEEDUINO-A-220.5no routeThrottle position (TPS)—
W29OEM-2-NSPEEDUINO-A-210.5no routeO2 sensor—
W30OEM-2-QSPEEDUINO-A-190.5no routeCoolant temperature (ECT)—
W31OEM-2-PSPEEDUINO-A-200.5no routeIntake air temperature (IAT)—
W32OEM-1-MSPEEDUINO-A-140.5no routeVehicle speed—
W33OEM-1-CSPEEDUINO-A-180.5no routeStart signal—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (10)

SeverityCodeSubjectMessage
errorREQUIRED_UNMAPPEDOEM-1-BRequired OEM function "ECU power +14V (main relay)" (power_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-2-ORequired OEM function "Mass air flow (MAF)" (analog_in) is not connected to the new ECU.
warnLOAD_UNKNOWNSPEEDUINO-A-15SPEEDUINO-A-15 "Proto area 2 (fan)" drives OEM-1-R Cooling fan relay (load 0.2 A) but its current rating is unknown. Check the ECU manual.
warnLOAD_UNKNOWNSPEEDUINO-A-16SPEEDUINO-A-16 "Proto area 3 (fuel pump)" drives OEM-1-J A/C relay (load 0.2 A) but its current rating is unknown. Check the ECU manual.
warnLOAD_UNKNOWNSPEEDUINO-A-35SPEEDUINO-A-35 "Boost" drives OEM-2-T Fuel pump relay (load 0.2 A) but its current rating is unknown. Check the ECU manual.
warnLOAD_UNKNOWNSPEEDUINO-A-36SPEEDUINO-A-36 "Idle 2 (3-wire idle)" drives OEM-2-S Condenser fan relay (load 0.2 A) but its current rating is unknown. Check the ECU manual.
warnLOAD_UNKNOWNSPEEDUINO-A-37SPEEDUINO-A-37 "PWM idle" drives OEM-2-W ISC solenoid (load 1.0 A) but its current rating is unknown. Check the ECU manual.
warnNET_FAMILYOEM-2-R ↔ SPEEDUINO-A-31OEM-2-R "PRC solenoid (fuel pressure regulator)" [low_side_out] is wired to SPEEDUINO-A-31 "Idle stepper 1A" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-X ↔ SPEEDUINO-A-32OEM-2-X "Evap purge solenoid" [low_side_out] is wired to SPEEDUINO-A-32 "Idle stepper 1B" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
infoUNMAPPEDOEM3 optional OEM pins are not mapped: OEM-1-P Power steering pressure switch; 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-04. Review every wire against both manuals before building. Open items: - Main-relay feed: no ecu_main_power pin on the stock or the new ECU - OEM-2 O: Mass air flow (MAF): no free maf/analog_0_5 on Speeduino Speeduino - OEM-1 B: ECU power +14V (main relay): no rule for class ecu_main_power; wire by hand Not wired: - OEM-1 A: Constant +12V: Speeduino Speeduino has no battery-constant input; not needed - OEM-1 P: Power steering pressure switch: no free switch_in/frequency_in/analog_0_5 on Speeduino Speeduino - OEM-1 Q: A/C request: no free switch_in/frequency_in/analog_0_5 on Speeduino Speeduino - OEM-1 V: Neutral/clutch switch: no free switch_in/frequency_in/analog_0_5 on Speeduino Speeduino

Sources

ReliabilityKindTitleURL
4vendor_docLink G4X MX5X install manual (NA 1.6/1.8)https://linkecu.com/documentation/MX5X.pdf
4vendor_docSpeeduino Manual (08/04/25) — V0.4 board IDC40 pinout & featureshttps://speeduino.com/Speeduino_manual.pdf