Last updated: December 1, 2026

Setup Menu

The Setup menu holds the basic settings to fill in before the first engine start: engine data, trigger, limiters and protection, relay outputs, radiator fans, AC and the check engine light. It is the Setup button in the TunerStudio top menu bar.

On Plug and Play units most of these settings come filled in by the basemap; usually you only adjust what differs on your engine. On wire-in or kit units, go through every dialog on this page before the first start.

Note

The values in all screenshots come from a sample project (Mazduino LITE), not recommendations.

Item What it does
Vehicle Information Cylinder count, displacement, firing order, fuel strategy, display units
Limits and protection RPM limiter, boost cut, injector duty limits, oil pressure protection, lambda protection, misfire detection
Trigger Trigger wheel type, crank and cam sensors, Trigger Angle Advance
Advanced Trigger Cam sync and trigger logging (Tuning View Full only)
Trigger Gap Override Trigger gap override for debugging (Tuning View Full only)
Battery and alternator Battery voltage calibration and alternator control
Ignition key input Settings Only for special power management wiring
Outputs Main relay, fuel pump, tachometer, starter, speedometer
Cooling Fans Radiator fans 1 and 2, on/off or PWM mode
Fan 1 / Fan 2 PWM Curve Fan duty vs temperature curve, shown once PWM mode is on
Air Conditioning AC button input, compressor relay, operating limits, idle compensation
Check Engine Light CEL output, sensor checks, shift light
Status LEDs Comms LED and trigger error LED

Vehicle Information

Setup → Vehicle Information

Vehicle Information

Field Description
Number of cylinders Cylinder count. Affects timing and fuel calculations.
Displacement(L) Engine size in liters. Used to calculate air and fuel mass.
Firing order Firing order. Injector and coil outputs are assumed to be wired in order: cylinder 1 to output 1, and so on.
Tuning View Full shows every menu. Tuning hides rarely used menus, such as Advanced Trigger, Trigger Gap Override and Engine Metadata.
Lambda display Show targets and sensors as AFR or Lambda.
Temperature/Pressure display Metric (°C, kPa) or Imperial (°F, psi).
Engine Metadata Engine Make, Manufacturer Engine Code, Vehicle Name, VIN. Notes only, they do not change how the ECU runs.
Fuel strategy How the ECU calculates fuel, see below.

Warning

After changing Lambda display or Temperature/Pressure display, create a new TunerStudio project. TunerStudio does not always switch the units of an existing project correctly (red message in the dialog).

Fuel Strategy

  • Speed Density: fuel is calculated from manifold pressure (MAP) and intake air temperature (IAT). The usual choice for NA and turbo engines that have a MAP sensor.
  • Alpha-N: throttle position (TPS) is the load. For engines with individual throttle bodies (ITB) or without a steady MAP signal. Also read Alpha-N Engines (No MAP Sensor).
  • MAF Air Charge: air is measured directly by a MAF sensor.
  • Lua: your own calculation in a Lua script, for special cases.

Common mistakes: wrong firing order (rough idle, misfire), wrong displacement (fuel off target), and a fuel strategy that does not match the sensors fitted.


Limits and Fallbacks

Setup → Limits and protection → Limits and fallbacks

Limits and fallbacks

Limits

Field Description
Cut fuel on RPM limit The limiter cuts fuel. Smoother and the safest for the engine.
Cut spark on RPM limit The limiter cuts spark. Can cause bangs in the exhaust. Some engines can break their valvetrain on spark cut; fuel cut is much safer.
Use Engine Temperature RPM limit curve yes = the RPM limit comes from the engine temperature curve on the right (4 points CLT → RPM). RPM hard limit and Soft RPM Limit turn grey. Useful to limit RPM while the engine is still cold.
RPM hard limit Maximum RPM. Set it below the engine redline, for example 500-1000 RPM below it on a stock engine.
RPM limit hysteresis The cut ends once RPM drops by this much. Example: limit 7200, hysteresis 200, the cut stays on until RPM drops to 7000.
Boost cut pressure Absolute MAP that triggers a fuel cut (overboost). 0 = boost cut off.
Boost cut pressure hysteresis Fuel returns once MAP drops by this much.

The limiter fields are grey while both cut options are no.

Injector Duty Cycle Limiter

  • Instantaneous injector duty cycle limit: injectors are cut as soon as duty reaches this value.
  • Sustained injector duty cycle limit and delay: duty may stay above this limit for the delay time; if it is still above after that, the injectors are cut. Protects the engine once the injectors can no longer deliver enough fuel.

Soft RPM Limit and Electronic Throttle Limiting

  • Timing retard: degrees of timing removed near the limiter. Only active when spark cut is used.
  • Fuel added: percent of fuel added near the limiter. Only active when fuel cut is used.
  • Soft limiter start / Soft limiter range: the electronic throttle (ETB) is closed gradually from this RPM. Only matters on engines with an ETB.

To watch how much cut is happening, use the totalFuelCut and totalSparkCut channels, see Spark Cut & Fuel Cut.


Oil Pressure Protection

Setup → Limits and protection → Low oil pressure protection and High oil pressure protection

Low oil pressure protection

All of these protections cut fuel and need an oil pressure sensor calibrated in Sensors → Oil sensors.

Field Description
After start Minimum oil pressure Pressure that must be reached within 5 seconds of engine start. If it is not, fuel is cut. 0 = off.
Running engine Low oil pressure yes = while the engine runs, pressure is compared with the Minimum oil pressure curve (8 points RPM → kPa).
Running engine protection timeout Pressure must stay below the curve for this long before the cut, so short dips and sensor noise are ignored.
High oil pressure protection Maximum pressure curve (4 points RPM → kPa) and High oil pressure protection timeout. Curve values of 0 = off.

Tips:

  • Fill the minimum curve from the engine specification, with a margin. Oil pressure at hot idle is much lower than when cold.
  • If false cuts happen: check the sensor calibration, sensor wiring and ground, then raise the timeout a little.

Lambda Protection

Setup → Limits and protection → Lambda protection

Lambda Protection

Cuts fuel when the mixture is too lean compared with the target, for example because the fuel pump runs out at high load. Needs a wideband sensor. This menu only shows when injection is enabled.

  1. Lambda protection: enabled. The other fields are grey while it is disabled.
  2. Check conditions, all must be met: Check above load, and above TPS, and above RPM. Lambda must be out of range for and after delay before the cut.
  3. Then cut fuel until: fuel returns once Load, TPS and RPM drop below these values.
  4. Lambda Difference Table (Maximum Lambda Deviation, RPM x load axes): how far lambda may go above the target. Values are in lambda, not AFR.

Warning

Fill in the deviation table before enabling the protection. With a table of zeros as in the screenshot, a mixture only slightly leaner than target already counts as dangerous. An example starting point is 0.10 (about 1.5 AFR on petrol).

Checking pauses for about 2 seconds after any other fuel cut and after DFCO, and does not run while the wideband signal is invalid. If the protection is too sensitive, raise the load/RPM thresholds, increase the deviation, or add delay.


Misfire Detection

Setup → Limits and protection → Misfire Detection

Misfire Detection

Misfire detection from crankshaft speed, at idle only and for the engine as a whole (not per cylinder). The ECU times each combustion stroke and compares it with a running average (baseline) plus K times the normal variation (wobble). A stroke that is too slow is flagged as a misfire. Once the misfire count reaches the threshold, the ECU stores code P0300 and the CEL stays on until the ECU is switched off.

Not active on Mazduino boards yet

The dialog shows in TunerStudio, but in the current Mazduino firmware the detection code is not built for the STM32F4 processors that every Mazduino board uses. That is why misfireDetectionActive stays No and the graph on the right shows random numbers, as in the screenshot. Leave it disabled.

Fields shown once Enable misfire detection = enabled:

Field Description
Count threshold (latches MIL) Misfire count before the CEL lights. 0 = monitor only.
Min flagged firings in window / Window size (recent firings) A misfire is only counted when at least N strokes are flagged within the last M strokes.
K multiplier (sensitivity) Threshold = baseline + K x wobble. Higher = less sensitive.
Window start / Window end (deg after TDC) Measuring window after each cylinder's TDC. Must be wider than the spacing between trigger teeth.
EMA alpha and Wobble alpha How fast the baseline and wobble follow changes. Leave the defaults.
Settle cycles before detection Strokes after entering idle before detection starts.

Trigger

Setup → Trigger

Trigger

The trigger tells the ECU where the crankshaft is. Without correct trigger sync the engine will not start, or timing will not match the table.

Primary Trigger

Field Description
Strokes Four Stroke for car and 4-stroke motorcycle engines.
Trigger type Trigger wheel type, for example 60-2 or 36-1, or an engine-specific pattern. custom toothed wheel for a missing-tooth wheel that is not in the list: fill in Total tooth count and Missing/skipped tooth count.
Skipped wheel location On crankshaft or On camshaft, where the toothed wheel sits.
Trigger Angle Advance Angle between the trigger sync point and cylinder 1 TDC, in degrees. Positive when the sync point is before TDC.
Crank Sensor (Primary channel) Crank sensor input. Preset per board. The label changes to Cam Sensor (Primary channel) when the trigger wheel is on the cam.
Primary Edge Rising or Falling, the signal edge that is read.
Secondary channel / Secondary Edge Only for trigger types with two wheels. Grey for other triggers.

One 4-stroke cycle = 720°. For engine-specific trigger types the offset is built into the pattern, so start at 0. For generic wheels such as 60-2 and 36-1, enter the angle from the missing tooth to TDC, then always check with a timing light: see Checking Timing with a Timing Light.

The default input pins match the latest revision of each board. For older revisions, see pins to change.

Cam Inputs

Field Description
Cam mode (intake) / Cam mode (exhaust) Cam sensor tooth pattern. Inactive when there is no cam sensor.
Cam sensor bank 1 intake (and the others) Cam sensor pin. Enabled once a Cam mode is picked.
intake / exhaust Cam Edge Select Cam signal edge that is read.
VVT offset Adjust until VVT position reads 0° with the cam at its default position (VVT inactive).
Cam for engine sync resolution Which cam is used for phase sync. Other cams are only used to measure VVT.

Without a cam sensor the ECU does not know the 720° phase, so ignition must be Wasted Spark and injection cannot be fully sequential. For Individual Coils and sequential injection, fit and enable a cam sensor. See Ignition Hardware.

Engine Will Not Start / RPM 0? Check the Trigger

Open the RPM gauge and the trigger error indicator, then crank:

  1. RPM 0 while cranking: check the Crank Sensor pin, the sensor wiring, and that the sensor type (VR or Hall) matches the board input.
  2. RPM reads but never syncs, or trigger errors keep climbing: wrong Trigger type or tooth count, or Primary Edge reversed. Try the other edge.
  3. Syncs but the engine will not start or backfires: wrong Trigger Angle Advance or wrong firing order. Check with a timing light.
  4. Sequential does not work: check Cam mode and the cam sensor pin, then the cam sync indicator.

Advanced Trigger

Setup → Advanced Trigger (Tuning View Full only)

Advanced Trigger

Field Description
Require cam/VVT sync for ignition yes = ignition only starts after cam sync. Some engines run fine on semi-random sequential, others do not.
Cam sync crank revolution First or second crank revolution of the 4-stroke cycle when the cam syncs.
Maximum cam/VVT sync RPM Below this RPM the cam sensor is used for phase sync. Set it if the cam sensor misbehaves at high RPM. 0 = always use the cam.
MAP readout angle / MAP delta threshold Only for Cam mode Sync by MAP.
Enable noise filtering Noise filter for 60-2 and 36-1 triggers. Try it when sync is lost because of a dirty signal, after checking wiring and ground.
Console Logging Trigger and VVT debug messages to the console. Leave the defaults unless you are chasing a sync problem.

Trigger Gap Override

Setup → Trigger Gap Override (Tuning View Full only)

An advanced feature for debugging sync: it replaces the built-in gap ratios of a trigger type (and of VVT) with your own values. Override well known trigger gaps = no for normal use. Do not change it unless you know your trigger wheel's gap ratios from a measurement.


Battery and Alternator

Setup → Battery and alternator

Battery and Alternator Settings

Battery Input Divider Coefficient: calibrates the battery voltage reading. Measure the voltage at the battery with a multimeter, then change this value until the battery voltage gauge matches the multimeter. A correct voltage reading matters for injector deadtime and coil dwell.

Alternator Settings: alternator control by the ECU (smart alternator) through PWM and PID, with the target voltage from the Alternator Voltage Target Table (RPM x load). Only for alternators whose regulator is controlled externally. A normal alternator with an internal regulator: leave Enabled = disable. A/C duty adder adds duty when the AC compressor engages.


Ignition Key Input Settings

Setup → Ignition key input Settings: only for special power management wiring (the ECU reads the ignition key through its own input). Not used in a normal Mazduino install.


Outputs

Setup → Outputs

Outputs

Output pins are preset per board. The pins and their names differ between boards: on some boards the dropdown shows a function name (such as Main Relay or Fuel Pump), on others only the MCU pin name. Match them against the pin table on your board's page. Leave Output mode at default unless the relay really needs an inverted signal. Each section has a Test button to check the wiring.

Main Relay and Fuel Pump

Field Description
Main relay output Main relay that powers the injectors, coils and other systems.
Main Relay Disable Time How long the main relay stays ON after the ignition key is turned OFF.
Fuel Pump → Output Fuel pump relay.
Prime duration How long the pump runs at key ON to build fuel pressure, usually 2-5 seconds. Adjust to the volume of the fuel system.

Tachometer Output

Field Description
Output Signal pin to the dashboard tachometer.
Pulse Mode Duty cycle or Constant time. With Duty cycle, Pulse duration 0.5 means 50%.
Pulse duration Pulse width (ms, or duty in Duty cycle mode).
Pulse per Rev Pulses per engine revolution. On 4-stroke engines usually the cylinder count divided by 2 (4 cylinders = 2). Adjust until the tachometer matches RPM in TunerStudio.

Older tachometers

Some older tachometers were made to read the inductive pulse from the ignition coil negative, so they sometimes do not move with the ECU's tach signal. The fix is to let the ECU tach output drive a relay coil: relay pin 86 to +12V, pin 85 to the ECU tach output, then connect the tachometer signal wire to the relay coil pin (pin 85). When the relay coil switches off, it produces an inductive pulse the tachometer can read. Then adjust Pulse per Rev again.

Starter Control and Starter Disable

Field Description
Require Foot On Pedal To Crank None, Brake, Clutch Up or Clutch Down: the starter only runs when that pedal is in the selected state.
Start/Stop Button input / input mode Start button input for push-button start.
Start Button Normal or Inverted.
Starter Control Starter relay output driven by the ECU. NONE = the ECU does not control the starter.
Start cranking maximum time Maximum cranking time when the button is pressed, protects the starter and battery. Active when a start button is set.
Suppress On Start Up (Ms) Ignore the start button for a moment after the ECU powers up, prevents false starts.
Starter Disable Output that cuts the starter, for example once the engine runs.

Speedometer Output

Output and Pulse per km: speed signal for an electronic speedometer. Calibrate Pulse per km until the speedometer matches the real speed. Grey while Output = NONE.


Cooling Fans

Setup → Cooling Fans

Cooling Fans

The ECU can drive two radiator fans separately. Fan 2 is usually used for high speed or a second fan.

Field Description
Output / Output mode Fan relay pin, preset per board. Fan 2 = NONE when not used.
Enable with AC The fan runs whenever AC is active. Recommended yes when the car has AC.
Disable when engine stopped The fan does not run while the engine is off, so the battery does not drain.
Disable above vehicle speed The fan is switched off above this speed (km/h), since airflow is enough. 0 = not used. Needs a vehicle speed sensor (VSS).
Manual switch / Manual switch mode A switch to turn the fan on by hand, for example CAN Switch N from the Racedash Switch Panel. Switch ON = the fan runs whatever the temperature. Switch OFF or NONE = automatic control as usual. See Manual fan.
Idle adder Extra idle valve opening (%) while the fan runs, so RPM does not drop.
On temperature / Off temperature The fan turns on above On and off below Off. Make Off 3-5 °C below On so the fan does not cycle often. Fan 2 is usually a few degrees above Fan 1.

The fan never runs while cranking, and runs when the CLT sensor fails. The Status column in the middle shows why: cranking, notRunning, brokenClt, enabledForAc, hot, cold, disabledBySpeed, pwmActive. The Test Fan 1 / Test Fan 2 buttons check the wiring.

Manual fan

With Manual switch, the fan can be turned on from a switch, separately for Fan 1 and Fan 2:

  • Switch ON: the fan runs even with a cold engine, with the engine off (as long as the ECU is powered), or above Disable above vehicle speed.
  • While cranking the fan stays off, so the battery goes to the starter.
  • Switch OFF: the fan goes back to automatic, so it still turns on by itself when the engine is hot.
  • In PWM mode, switch ON runs the fan at Maximum PWM.
  • Idle adder still applies, the same as when the fan runs automatically.
  • Fan 1 and Fan 2 can share the same switch.

For a wired switch that connects the pin to ground, pick mode INVERTED PULLUP. For a CAN Switch, pick DEFAULT. An example with the Racedash Pro is in Racedash Pro Switch Panel.

Firmware version

Manual switch is available from Mazduino FW Nightly 2026-12-01.

PWM Mode

With Enable PWM mode = yes, fan speed follows temperature gradually instead of only on/off. It needs a fan or driver module that takes a PWM signal; a normal relay cannot be driven with PWM.

Field Description
PWM frequency PWM frequency the fan or driver needs.
Minimum PWM / Maximum PWM Lower and upper duty limits.
AC compressor adder Extra duty while AC is active.
Soft-start time Time to ramp from 0 to 100%, so the fan's inrush current does not jolt. Only applies while duty is rising.

Once PWM is on, Fan 1 PWM Curve / Fan 2 PWM Curve appears in the Setup menu: an 8-point curve of CLT → duty (%).

Differences from on/off mode:

  • Duty = curve value + AC compressor adder (while AC is active), then limited to Minimum and Maximum PWM.
  • Minimum PWM above 0 means the fan never stops, even with a cold engine. Set 0 if the fan must be able to stop.
  • On/Off temperature, Enable with AC, Disable when engine stopped, Disable above vehicle speed and the cranking lockout are not used in PWM mode.
  • If the CLT sensor fails, the fan runs at Maximum PWM.
  • After enabling PWM mode or changing PWM frequency, burn, then switch the ECU off and on.

Air Conditioning

Setup → Air Conditioning

Air Conditioning

Input and Output

  • A/C switch: AC button input from the cabin, preset per board. NONE = the ECU does not read the AC button, unless something else such as Lua controls it.
  • A/C switch mode: input mode to match the button wiring.
  • A/C Relay / A/C Relay Mode: compressor relay output. Leave the mode at default.

Operating Limits and Idle Compensation

Field Description
A/C compressor delay Delay from the AC button to compressor engagement, so idle air rises first. 0.3-0.5 seconds is enough; a longer delay lets RPM rise before the compressor engages. 0 = immediately.
Max RPM AC turns off above this RPM. 0 = not checked.
Max CLT AC turns off above this engine temperature, prevents overheating. 0 = not checked.
Max TPS AC turns off above this throttle opening, for full power when accelerating. 0 = not checked.
A/C Idle adder Extra idle valve opening (%) while AC is active.
A/C Idle RPM Absolute idle target while AC is active (not an addition).
A/C Idle fuel adder Extra fuel at idle while the AC button is on. Only active when Fuel strategy = Alpha-N (grey in the screenshot because the project uses Speed Density). See Alpha-N Engines.
RPM low threshold AC turns off below this RPM, prevents stalling.
Pressure Low disable / Pressure High disable AC turns off when refrigerant pressure is outside these limits. Needs an AC pressure sensor; fill in from the vehicle AC system specification.
A/C Pressure Enable Hysteresis AC turns back on once pressure is this far back inside the limits. Example: High disable 240 kPa and hysteresis 20, AC turns off at 240 and back on at 220 kPa.

An ECU-controlled alternator also has an A/C duty adder, see Battery and Alternator.

AC Does Not Engage? Check This

The indicators on the right of the dialog show why the compressor does not engage. Press the AC button and see what lights up:

  • m_acEnabled = No: the ECU does not see the AC button. Check A/C switch and switch mode.
  • engineTooSlow / engineTooFast: RPM outside RPM low threshold / Max RPM.
  • engineTooHot / noClt: CLT above Max CLT, or the CLT sensor fails.
  • tpsTooHigh: TPS above Max TPS.
  • acPressureTooLow / acPressureTooHigh: refrigerant pressure outside the limits.
  • isDisabledByLua: AC is switched off by a Lua script.
  • acCompressorState: compressor relay state. If it is Yes but the compressor does not run, check A/C Relay and the relay wiring.

Alpha-N Engines (No MAP Sensor)

Why RPM Drops When the AC Turns On

In Alpha-N mode the ECU calculates incoming air from TPS and RPM only. When the AC turns on, the idle valve (stepper or solenoid) opens further to add air. That air goes through the bypass, not through the throttle, so TPS does not change and the ECU adds no fuel.

As a result the mixture goes lean right when the compressor engages, RPM drops sharply, and the idle valve opens even further, making the mixture leaner still. The same symptom can appear when the radiator fan turns on or the steering is turned.

Since firmware Nightly 9 November 2026 there is an A/C Idle fuel adder for this problem (step 3). The other AC settings are extra air, target RPM and compressor delay. On engines with a MAP sensor this problem does not happen, because manifold pressure rises with the load.

Exception: if idle runs on the electronic throttle (ETB), the main throttle opens, so TPS rises and fuel increases by itself.

Steps to Fix It

Work through them in order, and record a log after each step.

1. Add air before the load arrives

  • A/C Idle adder: raise it 3-5% per attempt until RPM barely drops when the compressor engages.
  • A/C compressor delay: 0.3-0.5 seconds is enough for the air to rise first. A delay that is too long lets RPM rise before the compressor engages.
  • A/C Idle RPM: this is an absolute target, not an addition. Make sure it is above the temperature-based idle target, for example 50-100 RPM above hot idle.
  • Fan Idle adder in Cooling Fans: fill it in too if the fan makes RPM drop.

2. Enable idle timing PID

Ignition timing reacts much faster than the idle valve, so it is the most effective way to hold RPM when the compressor engages. Open Idle → Closed-loop Ignition idle timing:

  • Enable closed loop idle ignition timing: enable.
  • Proportional gain: start at 0.1 (about 10° per 100 RPM from target).
  • Min / Max adjustment: -10° / +10°.

Then enable Separate idle ignition table and set Idle Ignition advance slightly retarded, for example 10-14°, so the PID has room to advance timing.

3. Add fuel while the AC is on

Open Setup → Air Conditioning → A/C Idle fuel adder (firmware Nightly 9 November 2026 or newer, all boards):

  • Fuel is increased by this value (%) exactly while the ECU adds air from the A/C Idle adder: at idle, during the after-start taper, and while coasting when the coasting table is used.
  • It starts together with the AC button, so the fuel is already there before the compressor engages.
  • With the throttle open the ECU adds no AC air, so no fuel is added either. The extra load while driving is already covered by the VE table, because the driver opens the throttle further.
  • Start at 5-10%. Record a log with the AC on once STFT has settled, then move the remaining idle STFT correction into this value. The goal is idle STFT about the same with the AC on and off.
  • Leave it at 0 when idle runs on the electronic throttle (ETB), because TPS already sees that air.

This fuel adder is for the AC only. For other loads such as the radiator fan or power steering, or on older firmware, use the method below: fuel follows the idle valve opening through Lua.

This method needs Lua, which is available on every Mazduino board except Mega100-512.

The Lua script is entered through rusefi_console.jar (included in every firmware bundle) on the Lua tab, then burned. TunerStudio has no Lua script editor.

setTickRate(50)
function onTick()
  setLuaGauge(1, getOutput("currentIdlePosition"))
end

Then open Fuel → VE blend tables → VE blend 1 settings:

  • Blend parameter: Lua Gauge 1.
  • Blend bins: idle valve position (%). Set bias 0% at the valve position for normal idle without load, and 100% at the valve position with the AC on. Example: valve at 25% at normal idle and 40% with the AC on, so enter 25 → 0% and 40 → 100%.
  • VE blend table 1: +5% to +10% in the idle area (600-1200 RPM, TPS 0-3%), and 0 elsewhere.

To tune it, record a log with the AC on once the STFT correction has settled. If idle STFT still adds about 4%, raise the table values by about that much. The goal is idle STFT about the same with the AC on and off.

4. Speed up STFT in the idle region

In Fuel → Short term fuel trim/Closed loop:

  • Idle region RPM: slightly above the idle target with the AC on, for example 1100-1200 RPM.
  • Time const (Idle Region): 3-5 seconds.
  • Max add (Idle Region): 8-10%.

This step helps when the AC runs for a long time, not at the moment the compressor engages.

5. If possible, fit a MAP sensor

Keep Fuel strategy at Alpha-N, then use a VE blend with Blend parameter MAP. Any load raises MAP at the same throttle opening, so fuel increases automatically.

Data to Record in the Log

Record at hot idle, switching the AC on and off a few times about 10 seconds apart:

  • RPM and idle target
  • Idle valve position (IAC)
  • AFR or lambda
  • Idle timing correction
  • AC button and compressor relay state
  • STFT correction

If AFR rises (lean) together with the RPM drop, the cause is too little fuel (step 3). If AFR stays steady but RPM still drops, the cause is air or timing (steps 1 and 2).


Check Engine Light

Setup → Check Engine Light

Check Engine Light

Check Engine Settings

  • Output: output pin for the check engine lamp (NONE in the screenshot).
  • Output mode: leave at default unless the lamp lights the wrong way round.
  • Warning Period: how long a warning counts as active after it happened, in seconds. Values below 3 are treated as 3 seconds.
  • Test Check Engine: lights the lamp briefly to check the wiring.

Without sensor checks and shift light, the lamp blinks once when the ECU powers up, then blinks when the firmware records a warning.

Sensor Checks

A Mazduino firmware addition: the lamp lights when any selected sensor is out of range.

  • Enable sensor checking: turns on sensor checks. All other fields are grey while it is no.
  • Active while engine not running: when on, the lamp lights while the ECU is on and the engine is not running, like a factory check engine lamp at key ON (bulb check). When off, the lamp stays off until the engine runs.
  • Delay after start: delay after the engine starts before sensors are checked, so readings can settle. The lamp is off during this delay.
Check Limits
Battery Min / max battery voltage (V)
MAP, TPS, AFR / EGO, Fuel Pressure, MAF Min / max sensor signal voltage (V)
IAT, CLT Min / max sensor voltage, plus Max temperature (0 = not checked)
Oil Temperature Max temperature only
Oil Pressure Min / max sensor voltage, plus Min pressure (kPa, 0 = not checked)
Sync Loss Trigger errors allowed since the ECU powered up
Any Cut (fuel / spark) The lamp lights during any fuel or spark cut, and stays on for Time after cut
Error Codes The lamp lights when there are warnings or error codes

A check with min 0 and max 0 is treated as disabled. For voltage limits, use values slightly outside the sensor's normal range, so a broken wire (near 0 V) or a short to 5 V is caught.

Shift Light

  • Use CEL as shift light: uses the check engine lamp as a shift light. While it is on, the sensor checks are not used.
  • RPM threshold and RPM hysteresis: the lamp lights above RPM threshold and goes off once RPM drops by the hysteresis.
  • Only above TPS: the lamp only lights above this throttle opening.
  • Flash and Flash frequency: the lamp flashes at this frequency instead of staying on.

Note

While sensor checking or the shift light is on, only this feature drives the lamp, including when there are warnings. On firmware before Nightly 2026-11-04 the lamp could pulse on its own or stay on after the engine stopped.


Status LEDs

Setup → Status LEDs: pins of the status LEDs on the board, preset per board. Community Comms LED blinks with communication, Trigger error LED is for trigger debugging. Leave the defaults. On Mega100 and Mega100-512 the comms LED is unassigned by default because its pin is used by the error LED.