Last updated: November 24, 2026
Mazduino Mini 6CH (v1.3)¶
Overview¶
Mazduino Mini 6CH v1.3 is a compact 6-channel Engine Control Unit designed for use with rusEFI and Speeduino firmware. Built around a 32-bit ARM Cortex-M4 processor, it comes in a compact form factor suited to 6-cylinder engines, or 4-cylinder engines with additional high-current outputs.

Key Features¶
- Primary trigger input for VR, hall or optical CKP sensors
- Secondary trigger input for VR, hall or optical CMP sensors
- 7 analog inputs (0-5V) for MAP, TPS, IAT, CLT, O2, and 2 spares that can be used for a fuel pressure sensor or other sensors
- 5V sensor power supply with internal fuse protection
- 4 pullup digital inputs for AC Switch, VSS, Clutch, Launch Control
- 8x 3A high-current low-side drivers for high-impedance injectors, idle PWM (ISC), Boost, VVT and more
- 5x low-current low-side drivers for main relay, fuel pump, AC compressor, fan, and tachometer control
- 6x 12V or 5V outputs for ignition coil signals
- Knock Input (new in v1.3): Knock sensor input for engine knock detection
- ETB Support (new in v1.3): Electronic Throttle Body control with TPS1 and TPS2
- Support for an add-on VR Conditioner Module
- Support for an add-on Idle Stepper Module
- 168 MHz ARM Cortex-M4 processor
- Data communication via CANbus
- Data communication via USB Type-C
- Serial RX/TX communication
- 48-pin automotive connector
- SD card for data logging
Jumper Configuration¶
Several functions of the Mazduino Mini 6CH v1.3 are selected with solder jumpers, without changing the firmware.

Top Configuration Zone (Right)¶
JP11 - Tachometer Pullup¶
- Function: Sets the voltage of the tachometer output signal
- Options: 12V or 5V, matched to what your vehicle's dashboard accepts
Ignition VDrive Jumper¶
- Function: Sets the ignition signal voltage, smart coils only (coils with a built-in driver)
- Options: 5V for coils with a 5V signal, 12V for coils with a 12V signal
Knock/PC13 Input Selection¶
- Knock Mode: Knock sensor input for engine knock detection (default)
- PC13 Mode: Direct access to the MCU pin for custom functions

Middle Configuration Zone¶
JP5 & JP4 - Sensor Pullup Configuration¶
- JP5: 5V pullup for the CKP (Crankshaft Position) signal
- JP4: 5V pullup for the CMP (Camshaft Position) signal
JP2 & JP3 - Sensor Type Selection¶
- JP2: CKP signal mode (VR or Hall sensor)
- JP3: CMP signal mode (VR or Hall sensor)

Left Configuration Zone¶
JP10 - CAN Bus Controller¶
- Function: Enables the TJA1051T/3 CAN bus IC
- Protocol: Supports the automotive CAN 2.0 standard
JP6 - Stepper Motor Enable¶
- Function: Controls activation of the stepper motor driver for Idle Air Control (IAC)
JP7 - Knock Sensor Filter Bypass¶
- Function: Filter bypass for the knock input on the ECU connector (pin 8), to adjust knock detection sensitivity
- JP8: Not used; this board has a single knock input

Jumper Configuration Tips¶
- VR Sensors: Select VR mode (signal goes through the VR Conditioner module) and remove the pullup — the pullup loads the VR sensor coil
- Hall / Optical Sensors: Select Hall mode and fit the pullup (JP5 for CKP, JP4 for CMP). Hall sensors are usually open-collector and cannot produce a HIGH level on their own; without a pullup the trigger pin floats and picks up noise, which causes trigger errors while the engine runs. Only remove the pullup for sensors with a push-pull 5V output
Wiring and Installation¶
Connector Pin Mapping¶
Mazduino Mini 6CH v1.3 uses a 48-pin Yamaha ECU connector with the following pin assignment:

Connector Layout¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Pin Assignment¶
| Pin | Function | Description |
|---|---|---|
| 1 | 12V ECU | ECU main power supply |
| 2 | IDLE1 | Idle control output 1 |
| 3 | IDLE2 | Idle control output 2 |
| 4 | CANH | CAN bus high |
| 5 | 5V | 5V reference output |
| 6 | AC Compressor | AC compressor control |
| 7 | Fuel Pump | Fuel pump relay control |
| 8 | Knock/PC13 | Knock sensor input (default) or direct MCU pin access |
| 9 | VR-1 | VR conditioner input 1 |
| 10 | VR-2 | VR conditioner input 2 |
| 11 | Stepper B2 | Stepper motor phase B2 |
| 12 | Stepper B1 | Stepper motor phase B1 |
| 13 | Stepper A1 | Stepper motor phase A1 |
| 14 | Stepper A2 | Stepper motor phase A2 |
| 15 | Injector 5 | Injector 5 or spare high-current output |
| 16 | Injector 6 | Injector 6 or spare high-current output |
| 17 | Main Relay | Main relay control (low current low side) |
| 18 | Spare Analog 1/PPS1 | Spare analog input 1 or Pedal Position Sensor 1 |
| 19 | VSS | Vehicle speed sensor |
| 20 | AC Switch | AC switch input |
| 21 | CANL | CAN bus low |
| 22 | GND | ECU ground |
| 23 | Fan | Fan relay control |
| 24 | Ignition 6 | Ignition channel 6 |
| 25 | Ignition 5 | Ignition channel 5 |
| 26 | Ignition 1 | Ignition channel 1 |
| 27 | Ignition 2 | Ignition channel 2 |
| 28 | Ignition 3 | Ignition channel 3 |
| 29 | Ignition 4 | Ignition channel 4 |
| 30 | TPS | Throttle position sensor |
| 31 | MAP | Manifold absolute pressure |
| 32 | Injector 4 | Injector channel 4 |
| 33 | ETB- | Electronic Throttle Body negative |
| 34 | ETB+ | Electronic Throttle Body positive |
| 35 | Spare Analog 2/PPS2 | Spare analog input 2 or Pedal Position Sensor 2 |
| 36 | Clutch | Clutch position input |
| 37 | GND Sensor | Sensor ground |
| 38 | GND Sensor | Sensor ground |
| 39 | Tacho | Tachometer output |
| 40 | Launch Control | Launch control input |
| 41 | VR1+ | VR sensor 1 positive |
| 42 | VR2+ | VR sensor 2 positive |
| 43 | O2/TPS2 | Oxygen sensor (1-5V from wideband controller) or TPS2 for ETB |
| 44 | IAT | Intake air temperature |
| 45 | CLT | Coolant temperature |
| 46 | Injector 2 | Injector channel 2 |
| 47 | Injector 1 | Injector channel 1 |
| 48 | Injector 3 | Injector channel 3 |
MCU Pin Mapping¶
For advanced users and firmware development, this is the STM32F407VGT6 pin assignment for v1.3:
| Function | MCU Pin |
|---|---|
| Ignition Output 1 | PE15 |
| Ignition Output 2 | PE14 |
| Ignition Output 3 | PD13 |
| Ignition Output 4 | PE5 |
| Ignition Output 5 | PE2 |
| Ignition Output 6 | PE3 |
| Injection Output 1 | PD8 |
| Injection Output 2 | PB15 |
| Injection Output 3 | PB14 |
| Injection Output 4 | PB13 |
| Injection Output 5 | PD9 |
| Injection Output 6 | PE8 |
| MAP Sensor | PA0 |
| TPS | PA3 |
| IAT Sensor | PA5 |
| CLT Sensor | PA4 |
| O2 Sensor | PA1 |
| Battery/Voltage Ref | PA2 |
| Analog Spare Input 1 | PB0 |
| Analog Spare Input 2 | PB1 |
| AC Input | PB5 |
| Launch Control Input | PE13 |
| Clutch Input | PE12 |
| VSS | PD7 |
| CKP | PD3 |
| CMP | PD4 |
| Knock | PC0 |
| ETB-DIR | PB8 |
| ETB-DIS | PB9 |
| ETB-PWM | PA8 |
| Tacho | PC9 |
| Fuel Pump Relay | PC8 |
| FAN Relay | PA15 |
| AC Compressor Relay | PC7 |
| Main Relay | PC5 |
| Idle 1 | PD10 |
| Idle 2 | PE9 |
| Stepper DIR | PD12 |
| Stepper ENBL | PD14 |
| Stepper STEP | PD15 |
| TXD1 | PA9 |
| RXD1 | PA10 |
| TXD3 | PB10 |
| RXD3 | PB11 |
| TXCAN | PD1 |
| RXCAN | PD0 |
| SD CS | PD2 |
| SPI3 CLK | PC10 |
| SPI3 MISO | PC11 |
| SPI3 MOSI | PC12 |
Wiring Notes¶
- ETB: Connect the ETB to pins 33 (ETB-) and 34 (ETB+), with dual TPS on pins 30 (TPS) and 43 (TPS2) and dual Pedal Position Sensors on pins 18 (PPS1) and 35 (PPS2)
- Wiring is compatible with the Speeduino wiring standard
- More sensor wiring information is on the Speeduino Wiki
Module Support¶
VR-Conditioner Module¶
The VR conditioner module (DIP 8) converts the VR sensor signal into a digital signal. Connect the VR sensors to VR1+/VR2+ (pins 41, 42) and VR-1/VR-2 (pins 9, 10).
Stepper Motor Module¶
DRV8825 stepper driver module for idle air control. Phase outputs A1/A2 and B1/B2 are on pins 11-14.
Flexible Injector Configuration¶
On 4-cylinder engines, Injectors 5 and 6 can be used as spare high-current outputs for boost control, VVT control, water/methanol injection, etc.
Ignition System Requirements¶
- Smart coil: can be connected directly; select VDrive 5V or 12V to match the coil specification
- Dumb coil: needs an external IGBT; the VDrive jumper is not used for dumb coils