Last updated: December 1, 2026
Racedash Pro Switch Panel for ECU Features¶
With the Switch Panel on the Racedash Pro touchscreen, you can turn Mazduino ECU features on and off from the dash: Start Engine, Rotational Idle, DFCO, STFT, Launch Control and Anti-Lag (ALS).
The settings are in three places:
- The switch on the dash: the switch type and its CAN address.
- CAN Switch inputs in TunerStudio: so the ECU reads the switch from the dash.
- Each feature's dialog in TunerStudio: so the feature uses that switch.
All three must be filled in. If one is missed, the button on the dash does nothing.

Contents¶
- Before you start
- Step 1: The switch on the dash
- Step 2: CAN Switch inputs
- Step 3: Pick the switch in each feature
- Start Engine and the starter relay
- Other features that can use a switch
- Check the result
- If it does not work
- Need another CAN ID?
Before you start¶
- The dash and the ECU are on the same CAN bus, and ECU data already shows on the dash. On the ECU, Enable rusEFI CAN broadcast must be on (it is off in a new tune) and CAN read enabled on. See Turning on the broadcast in Mazduino FW.
- The dash protocol is not OBD-II, and Setting → CAN → Listen only on the dash is OFF. In either case the dash sends nothing from the Switch Panel.
- The latest Mazduino FW firmware (newer than Nightly 2026-11-29) and the latest Racedash Pro firmware.
Step 1: The switch on the dash¶
The dash already has default switches with the names below. Their CAN ID, byte and bit are already right. Only the Mode needs changing: features that must stay on use SWITCH.
- A dash on firmware 2026-11-30 or newer that has never saved Switch Panel settings (a new dash or after a reset): Rotation Idle, DFCO, STFT, Launch, Antilag and FAN are already SWITCH.
- An older dash, or one whose Switch Panel settings were saved before: every switch is still PUSH. Change the Mode as in the table.

| Switch | Mode | CAN ID | Byte | Bit | Hold to activate | Stay ON after power-off |
|---|---|---|---|---|---|---|
| Start Engine | PUSH | 0x100 |
0 | 0 | 1 s | — |
| Rotation Idle | SWITCH | 0x100 |
0 | 1 | OFF | OFF |
| DFCO | SWITCH | 0x100 |
0 | 2 | OFF | ON |
| STFT | SWITCH | 0x100 |
0 | 3 | OFF | ON |
| Launch | SWITCH | 0x100 |
0 | 4 | 0.5 s | OFF |
| Antilag | SWITCH | 0x100 |
0 | 5 | 0.5 s | OFF |
- PUSH: one press, one command. Used for Start Engine.
- SWITCH: press once for ON, press again for OFF.
- Hold to activate: the switch must be held for that time, so an accidental touch does nothing.
- Stay ON after power-off: the switch stays ON when the dash powers up again. DFCO and STFT are set ON so both work as usual every drive.
Setting it on the dash screen¶
Menu → Setting → CAN → Switch Panel, pick the switch, then fill it in as in the table. Set Value to 1. Tap SAVE.



Value, Hold to activate and Stay ON after power-off are further down; scroll the screen to see them. Label can be changed to another name.
Setting it in DashTune¶
Open Switch Panel and tap the pencil icon on the switch. DashTune has no bit field; the bit is picked through Value when ON:
| Switch | Type | Byte | Value when ON | Value when OFF |
|---|---|---|---|---|
| Start Engine | Push | Byte 0 | 1 | 0 |
| Rotation Idle | Switch (ON/OFF) | Byte 0 | 2 | 0 |
| DFCO | Switch (ON/OFF) | Byte 0 | 4 | 0 |
| STFT | Switch (ON/OFF) | Byte 0 | 8 | 0 |
| Launch | Switch (ON/OFF) | Byte 0 | 16 | 0 |
| Antilag | Switch (ON/OFF) | Byte 0 | 32 | 0 |
CAN ID 0x100 is the same as 256. If DashTune Settings → CAN ID
format is set to Decimal, the dash shows and asks for 256.
Step 2: CAN Switch inputs¶
TunerStudio → CAN-bus → CAN Switch inputs. Fill in one row per switch, then Burn:

| Row | For | CAN ID | Byte | Bit | Timeout (sec) | Default value |
|---|---|---|---|---|---|---|
| CAN Switch 1 | Start Engine | 0x100 |
0 | 0 | 1.0 | 0 |
| CAN Switch 2 | Rotational Idle | 0x100 |
0 | 1 | 1.0 | 0 |
| CAN Switch 3 | DFCO | 0x100 |
0 | 2 | 1.0 | 1 |
| CAN Switch 4 | STFT | 0x100 |
0 | 3 | 1.0 | 1 |
| CAN Switch 5 | Launch | 0x100 |
0 | 4 | 1.0 | 0 |
| CAN Switch 6 | Antilag | 0x100 |
0 | 5 | 1.0 | 0 |
- CAN ID: type
0x100or256. Do not type plain100: that is read as a different number. - Byte and Bit: must match the dash.
- Timeout (sec): if the dash shuts down or the CAN wire comes loose, the switch goes back to its Default value after this time. Set 1.0.
- Default value: the switch state when the dash cannot be read. DFCO and STFT 1 (keep working), the others 0 (off).
Step 3: Pick the switch in each feature¶
In each feature's dialog, turn the feature on and pick its CAN Switch. Set every mode field (pin mode / button mode) to DEFAULT. Then Burn.
| Feature | Menu in TunerStudio | Set |
|---|---|---|
| Start Engine | Setup → Outputs | Start/Stop Button input = CAN Switch 1, Starter Control = starter relay output (see below) |
| Rotational Idle | Idle → Rotational Idle | Enable = enabled, Switch pin = CAN Switch 2 |
| DFCO | Fuel → Deceleration fuel cutoff (DFCO) | Enable Coasting Fuel Cutoff = enabled, Enable switch pin = CAN Switch 3 |
| STFT | Fuel → Short term fuel trim/Closed loop | Short term fuel trim = enabled, Enable switch pin = CAN Switch 4 |
| Launch Control | Advanced → Launch Control | Launch Control = enabled, Activation Mode = Launch Button, Launch Button = CAN Switch 5 |
| Anti-Lag (ALS) | Advanced → Anti-Lag ALS | AntiLag = enabled, Activation Mode = Switch Input, Switch Input = CAN Switch 6 |
After the Burn, power the ECU off and on once (the Start Engine button needs it).
A switch that is ON only allows the feature. The feature still follows its own settings, such as the RPM and TPS limits for Launch, or engine temperature for Rotational Idle. Those settings are in Launch Control, Anti-Lag ALS, Rotational Idle, DFCO and STFT.
Start Engine and the starter relay¶
The ECU does not drive the starter motor directly but through a relay. Use one low-side output of the ECU that is not in use to switch that relay.
| Relay pin | Connect to |
|---|---|
| 85 | The low-side ECU output picked in Starter Control |
| 86 | +12 V from the ignition switch ON position |
| 30 | +12 V from the battery, through a fuse |
| 87 | The starter solenoid wire (the one that normally gets +12 V from the ignition switch START position) |
- Use an output that is not in use. For example, if the Main relay output is not used, set Output in the Main relay output panel to NONE, then pick the same pin in Starter Control. One pin serves one function only.
- Use a standard 12 V automotive relay. Never wire the starter solenoid straight to an ECU output.
- The START wire from the ignition switch can stay connected, so the engine can still be started with the key.
Setup → Outputs, Starter Control panel:

| Field | Value |
|---|---|
| Start/Stop Button input | CAN Switch 1 |
| Start/Stop Button input mode | DEFAULT |
| Start Button | Normal |
| Starter Control | The low-side output for the starter relay (pin names differ per board) |
| Start cranking maximum time | How long the starter may turn (default 3 seconds) |
| Require Foot On Pedal To Crank | Optional: the starter runs only with the brake or clutch pressed |
Press Test Starter Relay with the gearbox in neutral: the relay must click and the starter must turn briefly.
To use it: engine stopped, hold Start Engine for 1 second, and the starter runs until the engine starts. Engine running, hold it again for 1 second, and the engine stops.
From Racedash Pro firmware 2026-11-30, the text on the Start Engine button follows the engine state (rusEFI protocol only):
| Text | State | When pressed |
|---|---|---|
| START | Engine stopped | The starter turns |
| CRANK | Starter turning, engine not running yet | Nothing happens |
| STOP | Engine running | The engine stops |
When the dash receives no ECU data, the button shows its own name (Start Engine).
Other features that can use a switch¶
Besides the six switches above, the features below can also be turned on from the Switch Panel. The steps are the same: create a switch on the dash, fill in one row in CAN Switch inputs, then pick CAN Switch N in that feature's field with mode DEFAULT.
| Feature | Menu in TunerStudio | Field | Mode on the dash |
|---|---|---|---|
| Switch to the second map | Fuel → Second VE Table and Ignition → Second Ignition Table | Second VE table input pin and Second Ignition table input pin | SWITCH |
| Manual fan (Fan 1, Fan 2) | Setup → Cooling Fans | Manual switch in the Fan 1 and/or Fan 2 column | SWITCH |
| Nitrous | Advanced → Nitrous Control | Arming Method = Digital Switch Input, Nitrous Control Button | SWITCH |
| A/C | Setup → Air Conditioning | A/C switch | SWITCH |
| Record a log to the SD card | Controller → SD Card Logger | Toggle button pin | PUSH |
| Gear shift (ECU-controlled transmission) | Advanced → Transmission Settings | Upshift Pin and Downshift Pin | PUSH |
| Send a CAN command to another module | CAN-bus → Triggered CAN Outputs | Trigger pin | SWITCH |
| Your own Lua script | Advanced → Lua | Lua Digital Inputs (Digital #1–#8) | as the script needs |
- Switch to the second map: one switch can serve VE and Ignition together. Full description in Map Switching and Second Table.
- Manual fan: the dash already has a default FAN switch (
0x100, Byte 1, Bit 0). Change its mode to SWITCH. Switch ON = the fan runs even with a cold engine; switch OFF = the fan goes back to automatic control from temperature. For a separate Fan 2, create a new switch, for example Byte 1 Bit 3. The fan stays off while cranking. Needs Mazduino FW firmware from Nightly 2026-12-01. See Manual fan. - Nitrous: the dash already has a default NOS switch (
0x100, Byte 1, Bit 1). Change its mode to SWITCH. Nitrous still turns on only when the RPM, TPS, temperature and other conditions in the Nitrous Control dialog are met. - A/C: the A/C compressor turns on and the idle goes up. If Enable with AC in Setup → Cooling Fans is on, the fan runs as well.
- Record a log to the SD card: press once to start recording, press again to stop. The field shows only when SD card logging is on.
- Send a CAN command: a button on the dash makes the ECU send a frame to another module, for example a CAN IO Extender that switches a relay. See Triggered CAN Output.
Free addresses on 0x100: Byte 1 Bit 2 to Bit 7 (in DashTune, Value when
ON 4, 8, 16, 32, 64, 128). Byte 1 Bit 0 and Bit 1 are used by the default
FAN and NOS switches.
Default switches can be replaced
A default switch on the dash that you do not use can be changed for
another feature. For example, in a car without nitrous: rename the NOS
switch to MAP 2, change its mode to SWITCH, and use its address
(0x100, Byte 1, Bit 1) to switch to the second map. What matters is that
the CAN ID, Byte and Bit on the dash match the CAN Switch row in
TunerStudio.
Only 8 CAN Switches
The ECU has 8 CAN Switch rows, and the six switches above already use six. For extra features, use CAN Switch 7 and 8, or reuse a row whose feature you do not use (for example, a car without Antilag: use CAN Switch row 6 and the Antilag switch on the dash for another feature). One row can serve several features if they must all turn on together.
Fuel pump and other outputs
The firmware has no switch option yet to turn the fuel pump or other outputs on by hand. For now, use a Lua script, or a CAN IO Extender through Triggered CAN Output.
Check the result¶
Open the feature's dialog in TunerStudio while connected to the ECU. The panel on the right of the dialog shows the switch state:
| Feature | What to watch | Switch ON | Switch OFF |
|---|---|---|---|
| Start Engine | The starter | turns | — |
| Rotational Idle | rotationalIdleEngaged (at idle) |
Yes | No |
| DFCO | Decel fuel cut indicator during engine braking | lit | not lit |
| STFT | Closed loop status | not Not active: Settings | Not active: Settings |
| Launch Control | launchActivatePinState |
Yes | No |
| Anti-Lag (ALS) | ALSActivatePinState (View → antilag_system_state) |
Yes | No |
If it does not work¶
- ECU data does not show on the dash: the CAN connection is not right yet, or the rusEFI broadcast is not turned on in the ECU. Finish ECU Configuration for Racedash first.
- The message "This ECU takes no buttons" shows and the buttons are dim: the dash protocol is Speeduino or OBD-II, or Listen only is on. Pick the rusEFI protocol and turn Listen only off.
- CAN ID: in TunerStudio it must be
0x100or256, not100. - Byte and bit must match on the dash and in CAN Switch inputs. In DashTune, check Value when ON (1, 2, 4, 8, 16, 32).
- Mode in the feature's dialog must be DEFAULT.
- Launch and ALS: Activation Mode must be Launch Button / Switch Input.
- A feature drops out for a moment: the Timeout is too small, set 1.0.
- A feature does not turn off with the switch OFF: the switch on the dash is still PUSH, change it to SWITCH. Or the Timeout is still 0, set 1.0.
- Several features turn on together: several switches use the same bit (or Value when ON).
- You have Burned, and powered the ECU off and on once.
Need another CAN ID?¶
If you need extra CAN IDs, for example for more than 8 switches, use an ID in
the range 0x100–0x17F (decimal 256–383). This range is safe
alongside the Mazduino ECU and the Racedash Pro. Use the same CAN ID on the
dash and in CAN Switch inputs.