← Back

MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) → Speeduino Speeduino v0.4 (auto)

MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) — 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—W24—0.5SPEEDUINO-A-18———
EMalfunction indicator lamp (MIL)—W19—0.5SPEEDUINO-A-15———
GIgnition 1 (coils 1+4, wasted spark)—W13—0.5SPEEDUINO-A-7———
HIgnition 2 (coils 2+3, wasted spark)—W14—0.5SPEEDUINO-A-34———
NWide-open throttle switch—W25—0.5SPEEDUINO-A-14———
PPower steering pressure switch————————
QA/C request————————
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———
FAFM ground—W7—0.5SP-0V-1———
GCam position (CAS G)—W12—0.5SPEEDUINO-A-24———
ITachometer output—W20—0.5SPEEDUINO-A-17———
K+5V sensor supply—W10—0.5SPEEDUINO-A-13———
LIdle switch (TPS)————————
NO2 sensor—W21—0.5SPEEDUINO-A-21———
OAir flow meter (AFM)————————
PIntake air temperature (IAT)—W23—0.5SPEEDUINO-A-20———
QCoolant temperature (ECT)—W22—0.5SPEEDUINO-A-19———
UInjector 1—W15—0.5SPEEDUINO-A-1———
VInjector 2—W16—0.5SPEEDUINO-A-2———
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)—W25—0.5OEM-1-N———
15Proto area 2 (fan)—W19—0.5OEM-1-E———
16Proto area 3 (fuel pump)————————
17Proto area 4 (tachometer)—W20—0.5OEM-2-I———
18Proto area 5 (clutch)—W24—0.5OEM-1-C———
19Coolant temp (CLT)—W22—0.5OEM-2-Q———
2Injector 2—W16—0.5OEM-2-V———
20Inlet air temp (IAT)—W23—0.5OEM-2-P———
21O2 sensor—W21—0.5OEM-2-N———
22TPS input————————
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————————
32Idle stepper 1B————————
33Ignition 3————————
34Ignition 2—W14—0.5OEM-1-H———
35Boost————————
36Idle 2 (3-wire idle)————————
37PWM idle————————
38VVT————————
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-15Proto area 2 (fan)low_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-NWide-open throttle switchdigital_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-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-FAFM 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-LIdle switch (TPS)digital_in———single_source
OEM-2-NO2 sensorlambda_nb_inSPEEDUINO-A-21O2 sensorlambda_nb_insingle_source
OEM-2-OAir flow meter (AFM)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-UInjector 1injector_outSPEEDUINO-A-1Injector 1injector_outsingle_source
OEM-2-VInjector 2injector_outSPEEDUINO-A-2Injector 2injector_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 routeAFM 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-ESPEEDUINO-A-150.5no routeMalfunction indicator lamp (MIL)—
W20OEM-2-ISPEEDUINO-A-170.5no routeTachometer output—
W21OEM-2-NSPEEDUINO-A-210.5no routeO2 sensor—
W22OEM-2-QSPEEDUINO-A-190.5no routeCoolant temperature (ECT)—
W23OEM-2-PSPEEDUINO-A-200.5no routeIntake air temperature (IAT)—
W24OEM-1-CSPEEDUINO-A-180.5no routeStart signal—
W25OEM-1-NSPEEDUINO-A-140.5no routeWide-open throttle switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (2)

SeverityCodeSubjectMessage
errorREQUIRED_UNMAPPEDOEM-1-BRequired OEM function "ECU power +14V (main relay)" (power_in) is not connected to the new ECU.
infoUNMAPPEDOEM5 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; OEM-2-L Idle switch (TPS); OEM-2-O Air flow meter (AFM)

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-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-2 O: Air flow meter (AFM): no free maf/analog_0_5 on Speeduino Speeduino - 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 - OEM-2 L: Idle switch (TPS): 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