diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..c26f77d Binary files /dev/null and b/.DS_Store differ diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..f1c1a28 --- /dev/null +++ b/Readme.md @@ -0,0 +1,2 @@ +mkdocs build +mkdocs gh-deploy \ No newline at end of file diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000..de38d83 Binary files /dev/null and b/docs/.DS_Store differ diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..381de32 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +wiki.mazduino.com \ No newline at end of file diff --git a/docs/about.md b/docs/about.md index a220b06..ad9cd03 100644 --- a/docs/about.md +++ b/docs/about.md @@ -1,70 +1,26 @@ -# About Mazduino ECU +# Tentang ECU Mazduino -## Overview +ECU Mazduino adalah Engine Control Unit (ECU) standalone open-source yang dibangun di atas mikrokontroler STM32F407VGT6 (ARM Cortex-M4 @ 168MHz). Dirancang untuk penggemar otomotif dan profesional yang membutuhkan solusi manajemen mesin yang fleksibel. -Mazduino ECU is a standalone Engine Control Unit (ECU) designed for automotive enthusiasts and professionals who need a flexible, open-source solution for engine management. Built around the powerful STM32F407VGT6 microcontroller, Mazduino offers exceptional performance and expandability for various engine control applications. +## Firmware -## Key Features +### rusEFI (Direkomendasikan) -### Hardware Platform -- **Primary MCU**: STM32F407VGT6 (ARM Cortex-M4 @ 168MHz) -- **Future Compatibility**: Planned support for multiple STM32 variants -- **Open Hardware Design**: Fully documented schematics and PCB layouts -- **Robust Construction**: Automotive-grade components and connectors +Mazduino menggunakan **rusEFI** sebagai firmware utama — firmware manajemen mesin open-source yang mendukung: -### Firmware Options +- Injeksi bahan bakar dan timing pengapian +- Tuning real-time via TunerStudio +- Data logging, CAN Bus, dan diagnostik -#### rusEFI Firmware -Mazduino ECU primarily runs on **rusEFI**, a comprehensive open-source engine management firmware that provides: +Firmware Mazduino tersedia di [github.com/mazduino/mazduino-fw][mazduino-fw] — fork rusEFI dengan pin mapping pre-configured untuk semua board Mazduino. -- Advanced fuel injection control -- Ignition timing management -- Sensor data acquisition and processing -- Real-time tuning capabilities -- Extensive logging and diagnostics -- CAN bus communication -- Support for various engine configurations +### Speeduino -#### Speeduino Compatibility -Due to the STM32F407VGT6 MCU, Mazduino is also compatible with **Speeduino firmware**. However, please note: +Beberapa model Mazduino (Compact dan Mini 6CH v1.3+) juga mendukung Speeduino dengan firmware khusus. **Tidak kompatibel** dengan official Speeduino karena perbedaan pin mapping. -- **Custom firmware required** due to different pin mapping -- Pin assignments differ from popular and official Speeduino boards -- Community support available for custom configurations -- Full documentation provided for pin mapping differences +## Open Source -## Target Applications +Mazduino sepenuhnya open source — schematic, PCB layout, BOM, dan firmware tersedia publik. Detail PCB tersedia di [Mazduino Wiki][mazduino-hw]. -Mazduino ECU is designed for: - -- **Standalone Engine Management**: Complete replacement for factory ECUs -- **Racing Applications**: High-performance motorsport environments -- **Engine Swaps**: Modern engine management for classic vehicles -- **Research & Development**: Educational and experimental projects -- **Aftermarket Tuning**: Enhanced control for modified engines - -## Open Source Philosophy - -Mazduino embraces the open-source community by providing: - -- **Open Hardware**: Complete schematics, PCB files, and BOM -- **Open Firmware**: Based on established open-source projects -- **Community Driven**: Collaborative development and support -- **Educational Resources**: Comprehensive documentation and tutorials -- **Customization Freedom**: Full access to modify and adapt - -## Future Development - -The Mazduino project continues to evolve with planned enhancements: - -- **Multi-MCU Support**: Expanding to various STM32 family members -- **Enhanced I/O**: Additional sensor and actuator interfaces -- **Wireless Connectivity**: WiFi and Bluetooth integration options -- **Advanced Features**: Knock detection, flex fuel, and more -- **Community Contributions**: User-submitted improvements and variants - -## Getting Started - -Whether you're a seasoned tuner or new to standalone engine management, Mazduino provides the tools and documentation needed to successfully implement modern engine control in your project. Our comprehensive documentation covers everything from basic installation to advanced tuning strategies. - -Join the Mazduino community and take control of your engine management with this powerful, flexible, and open-source ECU solution. \ No newline at end of file +[mazduino-fw]: https://github.com/mazduino/mazduino-fw {:target="_blank"} +[mazduino-hw]: https://github.com/mazduino/mazduino-hw/wiki {:target="_blank"} diff --git a/docs/acknowledgments.md b/docs/acknowledgments.md new file mode 100644 index 0000000..66f413d --- /dev/null +++ b/docs/acknowledgments.md @@ -0,0 +1,58 @@ +# Ucapan Terima Kasih + +Mazduino ECU dibangun di atas fondasi luar biasa dari proyek-proyek open source berikut. +Kami sangat menghargai kontribusi mereka terhadap komunitas engine management. + +--- + +## rusEFI + +Firmware Mazduino berbasis **[rusEFI][rusefi]** — proyek firmware engine management open source yang komprehensif dan aktif dikembangkan oleh komunitas global. + +Mazduino menggunakan rusEFI sebagai firmware utama, dengan fork khusus yang disesuaikan untuk hardware dan kebutuhan pengguna Mazduino. + +- Dokumentasi rusEFI: [wiki.rusefi.com][rusefi-wiki] + +- Kode sumber: [github.com/rusefi/rusefi][rusefi-gh] + +--- + +## FOME + +**[FOME (Firmware Open-source Mazda Engine)][fome]** adalah fork rusEFI yang berfokus pada kesederhanaan, stabilitas, dan kemudahan konfigurasi. + +Pendekatan arsitektur dan beberapa konsep implementasi dari FOME memberikan inspirasi dalam pengembangan firmware Mazduino. + +- Dokumentasi FOME: [wiki.fome.tech][fome-wiki] + +--- + +## Zgrywus + +**[Zgrywus][zgrywus]** adalah proyek ECU open source berbasis rusEFI dengan implementasi fitur CAN yang sangat matang. + +Fitur-fitur berikut pada firmware Mazduino terinspirasi dan dikembangkan berdasarkan implementasi dari Zgrywus: + +- **CAN Virtual Input** — penggunaan bit dalam frame CAN sebagai digital pin (`CAN_INPUT_0`–`CAN_INPUT_7`) +- **CAN Analog Input** — penggunaan nilai dalam frame CAN sebagai saluran ADC virtual +- **CAN Sensor Input** — override langsung sensor internal (MAP, TPS, CLT, RPM, dll.) melalui CAN +- **CAN Output** — transmisi data ECU ke bus CAN secara periodik maupun dipicu sinyal digital + +Dokumentasi lengkap fitur-fitur ini tersedia di bagian **[Firmware](../firmware/)** pada wiki ini. + +- Dokumentasi Zgrywus: [wiki.zgrywus.com][zgrywus-wiki] + +[rusefi]: https://rusefi.com/ {:target="_blank"} +[rusefi-wiki]: https://wiki.rusefi.com/ {:target="_blank"} +[rusefi-gh]: https://github.com/rusefi/rusefi {:target="_blank"} +[fome]: https://wiki.fome.tech/ {:target="_blank"} +[fome-wiki]: https://wiki.fome.tech/ {:target="_blank"} +[zgrywus]: https://wiki.zgrywus.com/ {:target="_blank"} +[zgrywus-wiki]: https://wiki.zgrywus.com/ {:target="_blank"} + +--- + +## Komunitas Open Source + +Mazduino berkomitmen untuk tetap open source dan berkontribusi kembali kepada komunitas. +Terima kasih kepada seluruh kontributor, tester, dan pengguna yang telah membantu pengembangan proyek ini. diff --git a/docs/downloads.md b/docs/downloads.md index 20093a0..142f0c2 100644 --- a/docs/downloads.md +++ b/docs/downloads.md @@ -1,134 +1,135 @@ -# Downloads +# Downloads - Firmware dan Konfigurasi ECU Mazduino -This page provides firmware files and configuration files for both Mazduino ECU models. Choose the appropriate firmware and configuration files based on your ECU model and preferred engine management software. +Halaman ini menyediakan firmware dan file konfigurasi untuk semua model ECU Mazduino. Pilih firmware yang sesuai berdasarkan model ECU dan kebutuhan Anda. -## Mazduino Compact ECU - -### rusEFI Firmware -rusEFI is the primary firmware for Mazduino Compact ECU with full feature support. +--- -#### Firmware Files -- **Binary Format**: [rusefi.bin](myfiles/rusefi/rusefi.bin) -- **Intel Hex Format**: [rusefi.hex](myfiles/rusefi/rusefi.hex) +## Firmware rusEFI -#### Configuration File -- **TunerStudio INI**: [rusefi_mazduino.ini](myfiles/rusefi/rusefi_mazduino.ini) +Ada dua pilihan firmware rusEFI untuk ECU Mazduino. -### Speeduino Firmware -Custom Speeduino firmware specifically configured for Mazduino Compact ECU pin mapping. +### Mazduino Firmware (Direkomendasikan) -#### Firmware Files -- **Binary Format**: [firmware.bin](myfiles/speeduino/mazduino_compact/firmware.bin) +Firmware rusEFI yang dikustomisasi dan dioptimalkan khusus untuk semua board Mazduino. -#### Configuration File -- **TunerStudio INI**: [speeduino.ini](myfiles/speeduino/mazduino_compact/speeduino.ini) +- **Repositori**: [github.com/mazduino/mazduino-fw][mazduino-fw] ---- +- **Releases**: [github.com/mazduino/mazduino-fw/releases][mazduino-releases] -## Mazduino Mini 6CH +- **Build terbaru**: [Build Matrix Workflow][mazduino-build] -### rusEFI Firmware -rusEFI firmware with full 6-channel support and advanced features. +- **File INI untuk TunerStudio**: disertakan dalam bundle release (file `.zip` di halaman releases) -#### Firmware Files -- **Binary Format**: [rusefi.bin](myfiles/rusefi/rusefi.bin) -- **Intel Hex Format**: [rusefi.hex](myfiles/rusefi/rusefi.hex) +Board target yang tersedia: -#### Configuration File -- **TunerStudio INI**: [rusefi_mazduino.ini](myfiles/rusefi/rusefi_mazduino.ini) +- `mazduino-lite` +- `mazduino-compact` +- `mazduino-mega100` +- `mazduino-mega100-512` +- `mazduino-mini6ch` -**Note**: Speeduino firmware for Mazduino Mini 6CH is currently in development. +Keunggulan dibanding firmware resmi: ---- +- Pin mapping sudah pre-configured untuk semua versi Mazduino +- File .ini untuk TunerStudio sudah disertakan dan diuji +- Tidak perlu konfigurasi pin manual -## Installation Instructions +**Catatan penting**: Selalu gunakan file .ini dari rilis yang sama dengan firmware yang di-flash. Mencampur versi firmware dan .ini dari rilis berbeda dapat menyebabkan konfigurasi yang tidak sesuai. -### rusEFI Installation +### Official rusEFI Firmware -1. **Download Firmware**: Choose either `.bin` or `.hex` format -2. **Download Configuration**: Download the `rusefi_mazduino.ini` file -3. **Flash Firmware**: Use ST-Link, DFU mode, or rusEFI Console -4. **Configure TunerStudio**: Load the INI file in TunerStudio -5. **Initial Setup**: Configure basic engine parameters +Firmware standar dari proyek rusEFI tanpa kustomisasi Mazduino. -### Speeduino Installation (Compact Only) +- **Download**: [rusefi.com/build_server/][rusefi-build] -1. **Download Firmware**: Download `firmware.bin` file -2. **Download Configuration**: Download `speeduino.ini` file -3. **Flash Firmware**: Use Arduino IDE or ST-Link programmer -4. **Configure TunerStudio**: Load the INI file in TunerStudio -5. **Pin Mapping**: Verify pin assignments match Mazduino Compact layout +Gunakan build **mega100-F4** atau **F407 Discovery** untuk board Mazduino. Firmware ini memerlukan konfigurasi pin mapping manual agar sesuai dengan hardware Mazduino. Direkomendasikan hanya untuk pengguna yang sudah familiar dengan rusEFI dan membutuhkan fitur upstream terbaru. --- -## Software Requirements +## Firmware Speeduino -### TunerStudio -Download the latest version of TunerStudio from: -- **Official Website**: [tunerstudio.com](https://www.tunerstudio.com/index.php/downloads) -- **Recommended Version**: TunerStudio MS Ultra or higher +Untuk ECU Mazduino Compact dan Mini 6CH v1.3, tersedia firmware Speeduino yang telah dikustomisasi. -### Programming Tools +- **Download**: [github.com/mazduino/speeduino-fw/releases][speeduino-releases] -#### For rusEFI: -- **rusEFI Console**: Available from [rusEFI website](https://rusefi.com) -- **ST-Link Utility**: For direct STM32 programming -- **DFU Programmer**: For USB DFU mode flashing +**Peringatan**: ECU Mazduino tidak kompatibel dengan official Speeduino. Gunakan hanya custom version di atas. Mini 6CH v1.0-v1.2 tidak didukung Speeduino — gunakan rusEFI. -#### For Speeduino: -- **Arduino IDE**: With STM32 support package -- **ST-Link Programmer**: Hardware programmer -- **platformio**: Alternative development environment +--- + +## Tabel Kompatibilitas + +| Model ECU | rusEFI Official | rusEFI Mazduino | Speeduino Custom | +|-----------|:--------------:|:---------------:|:----------------:| +| Compact v1 | Manual config | Siap pakai | Didukung | +| Compact v2.1 | Manual config | Siap pakai | Didukung | +| Compact v2.2+ | Manual config | Siap pakai | Didukung | +| Mini 6CH v1.0-v1.2 | Manual config | Siap pakai | Tidak didukung | +| Mini 6CH v1.3+ | Manual config | Siap pakai | Didukung | +| LITE | Manual config | Siap pakai | Tidak didukung | +| Mega100 | Manual config | Siap pakai | Tidak didukung | --- -## Important Notes +## Software yang Dibutuhkan -### Firmware Compatibility -- **rusEFI**: Compatible with both Mazduino Compact and Mini 6CH -- **Speeduino**: Currently only available for Mazduino Compact -- **Version Compatibility**: Always use matching firmware and INI files +- **TunerStudio MS**: [tunerstudio.com][tunerstudio] — software tuning dan konfigurasi ECU -### Pin Mapping -- **Mazduino-Specific**: These files contain custom pin mappings for Mazduino ECUs -- **Not Interchangeable**: Do not use with other ECU boards -- **Verification Required**: Always verify pin assignments before connecting hardware +- **STM32CubeProgrammer**: [st.com][stm32cubeprog] — untuk flashing firmware via ST-Link atau DFU -### Support Resources -- **rusEFI Wiki**: [wiki.rusefi.com](https://wiki.rusefi.com) -- **Speeduino Wiki**: [wiki.speeduino.com](https://wiki.speeduino.com) -- **Mazduino Documentation**: This documentation site -- **Community Support**: User forums and discussion groups +- **rusEFI Console**: [rusefi.com][rusefi] — untuk update firmware setelah instalasi pertama --- -## Version History +## Metode Flash Firmware -### Latest Updates -- **rusEFI**: Latest stable release with Mazduino support -- **Speeduino Compact**: Custom build with Mazduino pin mapping -- **Configuration Files**: Updated for latest firmware versions +### ST-Link via SWD (Instalasi Pertama) -### Changelog -Check individual firmware repositories for detailed changelog information: -- rusEFI: Official rusEFI GitHub repository -- Speeduino: Official Speeduino GitHub repository +Metode ini digunakan saat ECU belum pernah di-flash sebelumnya, atau perlu full flash dari awal. ---- +**Hardware yang dibutuhkan**: ST-Link V2 atau V3, kabel SWD 4-pin (VCC, GND, SWDIO, SWCLK). -## Troubleshooting +1. Install STM32CubeProgrammer dari situs ST. +2. Hubungkan ST-Link ke ECU melalui port SWD. +3. Buka STM32CubeProgrammer, pilih ST-LINK sebagai interface, lalu klik Connect. +4. Browse dan pilih file .hex atau .bin firmware Mazduino. +5. Klik Download untuk mulai proses flash. +6. Setelah selesai, lepas ST-Link dan nyalakan ECU. -### Common Issues -1. **Communication Problems**: Verify USB drivers and port settings -2. **Flash Failures**: Ensure correct programmer and connection -3. **Pin Mapping Errors**: Double-check INI file loading -4. **Sensor Reading Issues**: Verify wiring against pin mapping tables +### DFU via USB (Update Firmware) -### Getting Help -- Review the documentation for your specific ECU model for troubleshooting guidance -- Check community forums for similar issues -- Contact technical support for hardware-related problems +Metode ini menggunakan mode DFU (Device Firmware Upgrade) melalui USB, tanpa memerlukan ST-Link. ECU harus sudah pernah di-flash sebelumnya. + +1. Tekan dan tahan tombol Boot pada ECU, lalu tekan Reset. +2. Lepas tombol Reset, lalu lepas tombol Boot — ECU masuk ke mode DFU. +3. Hubungkan ECU ke PC via USB. +4. Buka STM32CubeProgrammer, pilih USB sebagai interface, lalu klik Connect. +5. Load file firmware dan klik Download. + +### rusEFI Console (Update Setelah Instalasi Pertama) + +Setelah firmware pertama ter-install, update selanjutnya dapat dilakukan langsung melalui rusEFI Console tanpa mode DFU. + +1. Hubungkan ECU ke PC via USB. +2. Buka rusEFI Console dan pilih port yang sesuai. +3. Gunakan fitur firmware update yang tersedia di console. --- -**Warning**: Always verify firmware compatibility with your specific Mazduino ECU model before flashing. Incorrect firmware can damage your ECU or cause unsafe engine operation. \ No newline at end of file +## Konfigurasi TunerStudio + +Setelah firmware ter-flash: + +1. Install TunerStudio dari [tunerstudio.com][tunerstudio]. +2. Buat project baru di TunerStudio. +3. Extract bundle release dan load file `.ini` yang sesuai versi firmware yang digunakan. +4. Hubungkan ECU ke PC via USB dan pilih port yang benar. +5. Load base map sesuai konfigurasi mesin Anda sebagai titik awal tuning. + +[mazduino-fw]: https://github.com/mazduino/mazduino-fw {:target="_blank"} +[mazduino-releases]: https://github.com/mazduino/mazduino-fw/releases {:target="_blank"} +[mazduino-build]: https://github.com/mazduino/mazduino-fw/actions/workflows/build-matrix.yaml {:target="_blank"} +[rusefi-build]: https://rusefi.com/build_server/ {:target="_blank"} +[speeduino-releases]: https://github.com/mazduino/speeduino-fw/releases {:target="_blank"} +[tunerstudio]: https://www.tunerstudio.com {:target="_blank"} +[stm32cubeprog]: https://www.st.com/en/development-tools/stm32cubeprog.html {:target="_blank"} +[rusefi]: https://rusefi.com {:target="_blank"} diff --git a/docs/firmware/can-analog-input.md b/docs/firmware/can-analog-input.md new file mode 100644 index 0000000..81d3270 --- /dev/null +++ b/docs/firmware/can-analog-input.md @@ -0,0 +1,53 @@ +# CAN Analog Input + +CAN Analog Input memungkinkan nilai numerik dari frame CAN digunakan sebagai **channel ADC virtual** — sama seperti sinyal tegangan dari sensor fisik. + +Berguna untuk membaca nilai dari perangkat CAN (misalnya sensor tekanan, sensor posisi) dan menghubungkannya ke konfigurasi sensor ECU tanpa kabel tambahan. + +--- + +## Cara Kerja + +Nilai dari frame CAN dikonversi menjadi tegangan virtual (0–5V), kemudian diproses oleh ECU menggunakan kalibrasi sensor yang sudah dikonfigurasi. + +--- + +## Konfigurasi di TunerStudio + +Buka: **CAN Bus → CAN Input → CAN Analog Input** + +Tersedia **8 channel** (`EFI_ADC_48` s/d `EFI_ADC_55`). Untuk setiap channel: + +| Parameter | Keterangan | +|---|---| +| **CAN ID** | ID frame CAN dari perangkat sumber. Kosongkan untuk nonaktif. | +| **Byte Offset** | Posisi byte dalam payload CAN (0–7) | +| **Data Type** | 8-bit atau 16-bit | +| **Byte Order** | Big Endian atau Little Endian | +| **Scale** | Pengali untuk mendapatkan nilai tegangan (Volt) | +| **Offset** | Nilai tambahan setelah pengalian | +| **Target Channel** | Channel ADC virtual tujuan (`EFI_ADC_48` s/d `EFI_ADC_55`) | + +Setelah slot dikonfigurasi, pilih channel tersebut di pengaturan sensor yang diinginkan (misalnya: MAP sensor → pilih `EFI_ADC_48`). + +!!! tip + Hasil konversi adalah tegangan (Volt). Sesuaikan Scale dan Offset agar nilai mentah CAN + menghasilkan tegangan yang sesuai dengan kurva sensor yang dikonfigurasi. + +--- + +## Contoh: Sensor Tekanan Bahan Bakar via CAN + +Sensor mengirim tekanan bar × 100 sebagai 16-bit di CAN ID `0x420`, byte 2–3: + +``` +CAN ID = 0x420 +Byte Offset = 2 +Data Type = 16-bit +Byte Order = Little Endian +Scale = 0.00005 (10000 counts = 5V) +Offset = 0 +Target = EFI_ADC_48 +``` + +Lalu di konfigurasi sensor tekanan bahan bakar, pilih `EFI_ADC_48` sebagai input. diff --git a/docs/firmware/can-output-triggered.md b/docs/firmware/can-output-triggered.md new file mode 100644 index 0000000..132653d --- /dev/null +++ b/docs/firmware/can-output-triggered.md @@ -0,0 +1,28 @@ +# CAN Output (Triggered) + +Halaman ini merupakan bagian dari [CAN Output](can-output.md). + +Triggered CAN Output mengirim frame CAN hanya saat ada **edge (perubahan) pada pin digital** tertentu, bukan secara berkala. + +--- + +## Kegunaan + +- Konfirmasi aksi (misalnya: kirim frame saat ignition cut aktif) +- Sinyal event berbasis kondisi pin +- Efisien untuk data yang tidak perlu dikirim terus-menerus + +--- + +## Konfigurasi + +Buka: **CAN Bus → CAN Output** + +Untuk menggunakan mode Triggered: + +1. Pilih **Trigger Pin** — pin digital yang memicu pengiriman +2. Pilih **Trigger Edge** — `Rising` (0→1) atau `Falling` (1→0) +3. Isi payload seperti pada [CAN Output periodik](can-output.md) + +!!! note + Mode Triggered dan Periodic dapat dikonfigurasi pada slot yang berbeda secara bersamaan. diff --git a/docs/firmware/can-output.md b/docs/firmware/can-output.md new file mode 100644 index 0000000..5ea9adf --- /dev/null +++ b/docs/firmware/can-output.md @@ -0,0 +1,61 @@ +# CAN Output + +CAN Output memungkinkan ECU mengirimkan data engine ke bus CAN secara otomatis — untuk dashboard, datalogger, atau perangkat lain yang terhubung. + +--- + +## Jenis CAN Output + +### Periodic (Berkala) +Frame CAN dikirim secara otomatis pada interval waktu yang ditentukan. +Cocok untuk dashboard yang membutuhkan update data terus-menerus. + +### Triggered (Berdasarkan Trigger) +Frame CAN dikirim hanya ketika ada perubahan edge (rising/falling) pada pin digital tertentu. +Cocok untuk sinyal event atau konfirmasi aksi. + +--- + +## Konfigurasi di TunerStudio + +Buka: **CAN Bus → CAN Output** + +Tersedia **8 slot output**. Untuk setiap slot: + +| Parameter | Keterangan | +|---|---| +| **CAN ID** | ID frame CAN yang akan dikirim | +| **Period** | Interval pengiriman dalam ms (mode Periodic) | +| **Trigger Pin** | Pin digital pemicu (mode Triggered) | +| **Trigger Edge** | Rising atau Falling edge | + +### Isi Payload (per Byte) + +Setiap frame CAN berisi 8 byte. Untuk setiap byte dapat dipilih: + +| Parameter | Keterangan | +|---|---| +| **Output Channel** | Data ECU yang dikirim: RPM, MAP, TPS, CLT, IAT, dll. | +| **Scale** | Pengali untuk mengubah satuan | +| **Offset** | Nilai tambahan | +| **Data Type** | 8-bit atau 16-bit | +| **Byte Order** | Big Endian atau Little Endian | + +!!! tip + Pilih channel yang dibutuhkan oleh dashboard atau perangkat penerima. + Sesuaikan Scale agar satuan data cocok dengan yang diharapkan perangkat tersebut. + +--- + +## Contoh: Kirim RPM dan CLT ke Dashboard + +Frame CAN ID `0x600`, dikirim setiap 50 ms: + +``` +CAN ID = 0x600 +Period = 50 ms + +Byte 0–1: RPM (16-bit, scale=1) +Byte 2: CLT (8-bit, offset=-40, scale=1) +Byte 3: TPS (8-bit, scale=2.55) → 0–100% menjadi 0–255 +``` diff --git a/docs/firmware/can-sensor-input.md b/docs/firmware/can-sensor-input.md new file mode 100644 index 0000000..ff09d16 --- /dev/null +++ b/docs/firmware/can-sensor-input.md @@ -0,0 +1,49 @@ +# CAN Sensor Input + +CAN Sensor Input memungkinkan ECU membaca nilai sensor dari perangkat di bus CAN dan menggunakannya seolah sensor tersebut terpasang langsung ke ECU. + +Cocok untuk menghubungkan modul sensor eksternal, perangkat CAN, atau dashboard yang mengirim balik data sensor. + +--- + +## Cara Kerja + +Perangkat eksternal mengirim frame CAN. ECU menangkap frame tersebut dan langsung menerapkan nilainya ke sensor internal yang dipilih (MAP, TPS, CLT, IAT, RPM, dll.). + +--- + +## Konfigurasi di TunerStudio + +Buka: **CAN Bus → CAN Input → CAN Sensor Input** + +Tersedia **8 slot** konfigurasi. Untuk setiap slot: + +| Parameter | Keterangan | +|---|---| +| **CAN ID** | ID frame CAN dari perangkat sumber. Kosongkan untuk nonaktif. | +| **Byte Offset** | Posisi byte dalam payload CAN (0–7) | +| **Data Type** | Ukuran data: 8-bit atau 16-bit | +| **Byte Order** | Big Endian atau Little Endian | +| **Scale** | Faktor pengali untuk konversi nilai | +| **Offset** | Nilai tambahan setelah pengalian | +| **Target Sensor** | Sensor tujuan: MAP, TPS, CLT, IAT, RPM, dll. | + +!!! tip + Nilai yang diterima diproses menggunakan kalibrasi sensor yang sudah ada. + Pastikan satuan data yang dikirim sesuai dengan kurva sensor yang dikonfigurasi. + +--- + +## Contoh: Sensor MAP via CAN + +Modul sensor mengirim tekanan dalam kPa × 10 sebagai 16-bit little-endian di CAN ID `0x300`, byte 0–1: + +``` +CAN ID = 0x300 +Byte Offset = 0 +Data Type = 16-bit +Byte Order = Little Endian +Scale = 0.1 +Offset = 0 +Target = MAP +``` diff --git a/docs/firmware/can-virtual-input.md b/docs/firmware/can-virtual-input.md new file mode 100644 index 0000000..5e2d23f --- /dev/null +++ b/docs/firmware/can-virtual-input.md @@ -0,0 +1,43 @@ +# CAN Virtual Input (Digital) + +CAN Virtual Input memungkinkan satu bit dalam frame CAN digunakan sebagai **pin digital (saklar)** di ECU — seperti saklar fisik yang terhubung ke konektor ECU. + +Berguna untuk menerima sinyal on/off dari perangkat CAN, misalnya: tombol pada setir, sinyal dari gearbox controller, atau konfirmasi dari modul eksternal. + +--- + +## Cara Kerja + +ECU membaca bit tertentu dari frame CAN yang diterima dan memperlakukannya sebagai pin digital. Tersedia **8 pin virtual** (`CAN_INPUT_0` s/d `CAN_INPUT_7`) yang dapat digunakan di mana pun input digital diperlukan — clutch switch, launch enable, AC request, dll. + +--- + +## Konfigurasi di TunerStudio + +Buka: **CAN Bus → CAN Input → CAN Virtual Input** + +Tersedia **8 slot**. Untuk setiap slot: + +| Parameter | Keterangan | +|---|---| +| **CAN ID** | ID frame CAN dari perangkat sumber | +| **Byte Offset** | Posisi byte dalam payload CAN (0–7) | +| **Bit Position** | Posisi bit dalam byte tersebut (0–7) | +| **Active Low** | Centang jika logika terbalik (0 = aktif) | + +Setelah dikonfigurasi, pin `CAN_INPUT_0` s/d `CAN_INPUT_7` akan muncul di dropdown pilihan pin untuk input digital (clutch, launch, AC, dll.). + +--- + +## Contoh: Tombol Launch Control via CAN + +Tombol launch pada setir mengirim byte status di CAN ID `0x101`, byte 0, bit 3: + +``` +CAN ID = 0x101 +Byte Offset = 0 +Bit Position = 3 +Active Low = No +``` + +Lalu di konfigurasi Launch Control, pilih `CAN_INPUT_0` sebagai pin enable. diff --git a/docs/firmware/fuel-spark-cut.md b/docs/firmware/fuel-spark-cut.md new file mode 100644 index 0000000..60eb533 --- /dev/null +++ b/docs/firmware/fuel-spark-cut.md @@ -0,0 +1,35 @@ +# Spark Cut & Fuel Cut + +ECU menyediakan channel monitoring **`totalSparkCut`** dan **`totalFuelCut`** yang menunjukkan persentase cut yang sedang aktif. + +--- + +## Kegunaan + +Channel ini berguna untuk: +- **Monitoring** di gauge TunerStudio — lihat seberapa besar cut sedang terjadi +- **Datalog** — rekam kapan dan berapa lama cut aktif selama pengujian + +--- + +## Cara Menggunakan + +Channel ini tersedia secara otomatis. Tambahkan ke gauge atau datalog: + +1. Di TunerStudio, buka **Gauge Editor** atau **Data Log Fields** +2. Cari `totalSparkCut` atau `totalFuelCut` +3. Tambahkan ke dashboard atau log + +### Nilai + +| Nilai | Keterangan | +|---|---| +| `0` | Tidak ada cut aktif | +| `0.5` | 50% cut (setiap 2 siklus, 1 di-cut) | +| `1.0` | Full cut (semua siklus di-cut) | + +--- + +## Penyebab Cut + +Cut dapat dipicu oleh berbagai fitur: rev limiter, launch control, traction control, flat shift, atau kondisi proteksi mesin lainnya. diff --git a/docs/firmware/index.md b/docs/firmware/index.md new file mode 100644 index 0000000..16a5c1a --- /dev/null +++ b/docs/firmware/index.md @@ -0,0 +1,34 @@ +# Fitur Firmware Mazduino + +Mazduino menggunakan firmware berbasis rusEFI dengan tambahan fitur khusus. Halaman-halaman berikut menjelaskan cara menggunakan fitur-fitur tersebut melalui TunerStudio. + +--- + +## CAN Input + +ECU dapat menerima data dari bus CAN dan menggunakannya sebagai input sensor atau pin digital: + +| Fitur | Kegunaan | +|---|---| +| [CAN Sensor Input](can-sensor-input.md) | Nilai dari perangkat CAN digunakan langsung sebagai sensor (MAP, TPS, CLT, RPM, dll.) | +| [CAN Analog Input](can-analog-input.md) | Nilai dari perangkat CAN digunakan sebagai input analog (seperti tegangan sensor) | +| [CAN Virtual Input](can-virtual-input.md) | Bit dalam frame CAN digunakan sebagai saklar digital (on/off) | + +## CAN Output + +| Fitur | Kegunaan | +|---|---| +| [CAN Output](can-output.md) | ECU mengirim data engine ke bus CAN — untuk dashboard, datalogger, atau perangkat lain | + +## Komputasi & Tabel + +| Fitur | Kegunaan | +|---|---| +| [Math Channels](math-channels.md) | Buat channel nilai kustom dari perhitungan kombinasi channel yang sudah ada | +| [User Tables](user-tables.md) | Tabel lookup kustom yang dapat diisi dan digunakan dalam konfigurasi | + +## Output Logika + +| Fitur | Kegunaan | +|---|---| +| [Logic Outputs](logic-outputs.md) | Output digital yang aktif berdasarkan kondisi yang dapat dikonfigurasi | diff --git a/docs/firmware/logic-outputs.md b/docs/firmware/logic-outputs.md new file mode 100644 index 0000000..07995b6 --- /dev/null +++ b/docs/firmware/logic-outputs.md @@ -0,0 +1,56 @@ +# Logic Outputs + +Logic Outputs adalah **output digital yang dikontrol secara otomatis** berdasarkan kondisi logika yang dapat dikonfigurasi — tanpa perlu Lua scripting. + +Berguna untuk mengaktifkan relay, lampu indikator, atau sinyal output berdasarkan kondisi engine seperti RPM, suhu, tekanan, atau kombinasi keduanya. + +--- + +## Cara Kerja + +Setiap Logic Output memiliki kondisi yang dievaluasi secara real-time. Jika kondisi terpenuhi, output pin menjadi aktif (HIGH). Jika tidak, pin menjadi tidak aktif (LOW). + +--- + +## Konfigurasi di TunerStudio + +Buka: **Outputs → Logic Outputs** + +Untuk setiap Logic Output: + +| Parameter | Keterangan | +|---|---| +| **Output Pin** | Pin ECU yang akan dikontrol | +| **Condition** | Ekspresi logika yang menentukan kapan output aktif | +| **Active High/Low** | Polaritas output pin | +| **Hysteresis** | Rentang histeresis untuk mencegah chatter | + +### Operator Kondisi + +| Simbol | Keterangan | +|---|---| +| `>` `<` `>=` `<=` `==` | Perbandingan nilai | +| `&&` | AND (kedua kondisi harus benar) | +| `\|\|` | OR (salah satu kondisi cukup) | +| `!` | NOT (kebalikan kondisi) | + +--- + +## Contoh + +**Aktifkan kipas pendingin saat CLT > 90°C:** +``` +Condition: clt > 90 +Hysteresis: 5 (mati saat CLT turun ke 85°C) +``` + +**Aktifkan lampu warning saat RPM > 6500 DAN MAP > 150 kPa:** +``` +Condition: rpm > 6500 && map > 150 +``` + +**Aktifkan relay fuel pump saat engine running:** +``` +Condition: rpm > 300 +Hysteresis: 50 +``` diff --git a/docs/firmware/math-channels.md b/docs/firmware/math-channels.md new file mode 100644 index 0000000..dd9530c --- /dev/null +++ b/docs/firmware/math-channels.md @@ -0,0 +1,56 @@ +# Math Channels + +Math Channels memungkinkan pembuatan **channel nilai kustom** berdasarkan perhitungan dari channel-channel yang sudah ada di ECU. + +Berguna untuk menampilkan nilai turunan di gauge, melakukan logging nilai yang dihitung, atau menggunakan nilai hasil perhitungan sebagai input kondisi lain. + +--- + +## Cara Kerja + +Setiap Math Channel menerima ekspresi matematika yang mengombinasikan channel ECU yang tersedia. Hasilnya tersedia sebagai channel baru di gauge, datalog, dan kondisi output. + +--- + +## Konfigurasi di TunerStudio + +Buka: **Sensors → Math Channels** (atau **Advanced → Math Channels**) + +Untuk setiap channel: + +| Parameter | Keterangan | +|---|---| +| **Name** | Nama channel yang akan muncul di gauge/log | +| **Expression** | Ekspresi matematika menggunakan nama channel ECU | +| **Unit** | Satuan nilai hasil (opsional, untuk tampilan) | + +### Operator yang Didukung + +| Simbol | Fungsi | +|---|---| +| `+` `-` `*` `/` | Operasi dasar | +| `(` `)` | Pengelompokan | +| `min(a,b)` | Nilai minimum | +| `max(a,b)` | Nilai maksimum | +| `if(cond, a, b)` | Nilai bersyarat | + +--- + +## Contoh + +**Efisiensi volumetrik (VE) sederhana:** +``` +expression: (map / baro) * 100 +unit: % +``` + +**Beban mesin dari MAP dan RPM:** +``` +expression: map * (rpm / 1000) +``` + +**Suhu rata-rata CLT dan IAT:** +``` +expression: (clt + iat) / 2 +unit: °C +``` diff --git a/docs/firmware/user-tables.md b/docs/firmware/user-tables.md new file mode 100644 index 0000000..dc478ad --- /dev/null +++ b/docs/firmware/user-tables.md @@ -0,0 +1,42 @@ +# User Tables + +User Tables adalah **tabel lookup kustom** yang dapat diisi sendiri oleh pengguna dan digunakan sebagai sumber nilai dalam konfigurasi ECU. + +Berguna saat diperlukan koreksi atau pemetaan nilai yang tidak tersedia di tabel bawaan TunerStudio, misalnya konversi tekanan sensor non-standar atau koreksi berbasis RPM. + +--- + +## Cara Kerja + +Setiap User Table adalah tabel 2D (sumbu X dan nilai Y) yang dapat diisi secara bebas. Nilai pada tabel dapat direferensikan di bagian konfigurasi lain yang mendukung input tabel kustom. + +--- + +## Konfigurasi di TunerStudio + +Buka: **Advanced → User Tables** + +Tersedia beberapa tabel kustom. Untuk setiap tabel: + +| Parameter | Keterangan | +|---|---| +| **Input (sumbu X)** | Channel ECU yang digunakan sebagai input tabel (RPM, MAP, TPS, dll.) | +| **Table Values** | Nilai output untuk setiap titik di sumbu X | +| **Output Range** | Rentang nilai output | + +Setelah tabel dikonfigurasi, pilih **User Table N** sebagai sumber nilai di bagian konfigurasi yang mendukung. + +--- + +## Contoh + +**Koreksi injeksi berdasarkan tekanan bahan bakar:** + +| RPM (X) | Koreksi (%) | +|---|---| +| 1000 | 0 | +| 2000 | 2 | +| 4000 | 5 | +| 6000 | 8 | + +Tabel ini kemudian dipilih sebagai input koreksi di konfigurasi fuel injection. diff --git a/docs/img/.DS_Store b/docs/img/.DS_Store new file mode 100644 index 0000000..23843bb Binary files /dev/null and b/docs/img/.DS_Store differ diff --git a/docs/img/connector-33p.jpeg b/docs/img/connector-33p.jpeg new file mode 100644 index 0000000..ecd8931 Binary files /dev/null and b/docs/img/connector-33p.jpeg differ diff --git a/docs/img/core/Picture1.png b/docs/img/core/Picture1.png new file mode 100644 index 0000000..8736f94 Binary files /dev/null and b/docs/img/core/Picture1.png differ diff --git a/docs/img/core/Picture2.png b/docs/img/core/Picture2.png new file mode 100644 index 0000000..71aa7a8 Binary files /dev/null and b/docs/img/core/Picture2.png differ diff --git a/docs/img/core/mazduino-core.jpeg b/docs/img/core/mazduino-core.jpeg new file mode 100644 index 0000000..d10213c Binary files /dev/null and b/docs/img/core/mazduino-core.jpeg differ diff --git a/docs/img/ignition-wiring.png b/docs/img/ignition-wiring.png new file mode 100644 index 0000000..3627462 Binary files /dev/null and b/docs/img/ignition-wiring.png differ diff --git a/docs/img/injector-wiring.png b/docs/img/injector-wiring.png new file mode 100644 index 0000000..d6c5142 Binary files /dev/null and b/docs/img/injector-wiring.png differ diff --git a/docs/img/lite/mazduino-lite-connector-layout.jpeg b/docs/img/lite/mazduino-lite-connector-layout.jpeg new file mode 100644 index 0000000..7a36532 Binary files /dev/null and b/docs/img/lite/mazduino-lite-connector-layout.jpeg differ diff --git a/docs/img/lite/mazduino-lite-open.jpeg b/docs/img/lite/mazduino-lite-open.jpeg new file mode 100644 index 0000000..71b7fed Binary files /dev/null and b/docs/img/lite/mazduino-lite-open.jpeg differ diff --git a/docs/img/lite/mazduino-lite-with-case.jpeg b/docs/img/lite/mazduino-lite-with-case.jpeg new file mode 100644 index 0000000..8ed8430 Binary files /dev/null and b/docs/img/lite/mazduino-lite-with-case.jpeg differ diff --git a/docs/img/manual/.DS_Store b/docs/img/manual/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/docs/img/manual/.DS_Store differ diff --git a/docs/img/manual/ac-overview.png b/docs/img/manual/ac-overview.png new file mode 100644 index 0000000..504f43c Binary files /dev/null and b/docs/img/manual/ac-overview.png differ diff --git a/docs/img/manual/docs-overview.png b/docs/img/manual/docs-overview.png new file mode 100644 index 0000000..e248690 Binary files /dev/null and b/docs/img/manual/docs-overview.png differ diff --git a/docs/img/manual/downloads-overview.png b/docs/img/manual/downloads-overview.png new file mode 100644 index 0000000..bcf9c1e Binary files /dev/null and b/docs/img/manual/downloads-overview.png differ diff --git a/docs/img/manual/output-overview.png b/docs/img/manual/output-overview.png new file mode 100644 index 0000000..1377397 Binary files /dev/null and b/docs/img/manual/output-overview.png differ diff --git a/docs/img/manual/ts-downloaf-page-overview.png b/docs/img/manual/ts-downloaf-page-overview.png new file mode 100644 index 0000000..a57baef Binary files /dev/null and b/docs/img/manual/ts-downloaf-page-overview.png differ diff --git a/docs/img/mazduino-compact-4ch-v2.1.jpeg b/docs/img/mazduino-compact-4ch-v2.1.jpeg new file mode 100644 index 0000000..f06dd15 Binary files /dev/null and b/docs/img/mazduino-compact-4ch-v2.1.jpeg differ diff --git a/docs/img/mazduino-compact-4ch-v2.2.jpeg b/docs/img/mazduino-compact-4ch-v2.2.jpeg new file mode 100644 index 0000000..f06dd15 Binary files /dev/null and b/docs/img/mazduino-compact-4ch-v2.2.jpeg differ diff --git a/docs/img/mazduino-compact-4ch-v2.3.jpeg b/docs/img/mazduino-compact-4ch-v2.3.jpeg new file mode 100644 index 0000000..f10112a Binary files /dev/null and b/docs/img/mazduino-compact-4ch-v2.3.jpeg differ diff --git a/docs/img/mazduino-mini-6ch-v1.3.jpeg b/docs/img/mazduino-mini-6ch-v1.3.jpeg new file mode 100644 index 0000000..9ffaa08 Binary files /dev/null and b/docs/img/mazduino-mini-6ch-v1.3.jpeg differ diff --git a/docs/img/mazduino-mini-6ch-v1.3B.jpeg b/docs/img/mazduino-mini-6ch-v1.3B.jpeg new file mode 100644 index 0000000..06db86f Binary files /dev/null and b/docs/img/mazduino-mini-6ch-v1.3B.jpeg differ diff --git a/docs/img/mazduino-mini6ch-new-case.jpeg b/docs/img/mazduino-mini6ch-new-case.jpeg new file mode 100644 index 0000000..bb29bf9 Binary files /dev/null and b/docs/img/mazduino-mini6ch-new-case.jpeg differ diff --git a/docs/img/mini6ch/IMG_6229.jpeg b/docs/img/mini6ch/IMG_6229.jpeg new file mode 100644 index 0000000..9c12892 Binary files /dev/null and b/docs/img/mini6ch/IMG_6229.jpeg differ diff --git a/docs/img/mini6ch/IMG_6230.jpeg b/docs/img/mini6ch/IMG_6230.jpeg new file mode 100644 index 0000000..061cc4d Binary files /dev/null and b/docs/img/mini6ch/IMG_6230.jpeg differ diff --git a/docs/img/mini6ch/IMG_6231.jpeg b/docs/img/mini6ch/IMG_6231.jpeg new file mode 100644 index 0000000..52b4b6b Binary files /dev/null and b/docs/img/mini6ch/IMG_6231.jpeg differ diff --git a/docs/img/mini6ch/IMG_6232.jpeg b/docs/img/mini6ch/IMG_6232.jpeg new file mode 100644 index 0000000..b5aef88 Binary files /dev/null and b/docs/img/mini6ch/IMG_6232.jpeg differ diff --git a/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper.jpeg b/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper.jpeg new file mode 100644 index 0000000..0948fcc Binary files /dev/null and b/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper.jpeg differ diff --git a/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper2.jpeg b/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper2.jpeg new file mode 100644 index 0000000..6e2f6f9 Binary files /dev/null and b/docs/img/mini6ch/mazduino-mini-6ch-v1.3B-jumper2.jpeg differ diff --git a/docs/img/sensor-wiring.png b/docs/img/sensor-wiring.png new file mode 100644 index 0000000..64bf6fc Binary files /dev/null and b/docs/img/sensor-wiring.png differ diff --git a/docs/index.md b/docs/index.md index 941690f..ced0a25 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,51 +1,139 @@ -# Welcome to Mazduino ECU Documentation +# Dokumentasi ECU Mazduino -Welcome to the official documentation for Mazduino ECU - an open-source standalone engine control unit powered by STM32 microcontrollers and compatible with rusEFI and Speeduino firmware. +Selamat datang di dokumentasi resmi untuk ECU Mazduino — Engine Control Unit standalone open-source yang didukung oleh mikrokontroler STM32 dan kompatibel dengan firmware rusEFI dan Speeduino. -## Current Products +--- + +## Produk Terbaru + +### Mazduino LITE + +Solusi ECU compact terbaru untuk engine 4-silinder dengan Wasted Spark builtin IGBT dan fitur modern. + +![Mazduino LITE](img/lite/mazduino-lite-with-case.jpeg) + +**Fitur Unggulan:** + +- 4 channel injector + 2 channel ignition +- 168 MHz ARM Cortex-M4 processor +- Support Hall/Optical dan VR sensors +- 6 analog inputs + 5 digital inputs +- CAN Bus, USB Type-C, Serial communication +- SD card data logging +- Konektor 30-pin Microfit (2x12 + 2x3) + +**Ideal untuk:** + +- Engine 4-silinder (NA, Turbo, Supercharged) +- Street dan track applications +- Motorcycle high-performance +- Marine dan industrial applications + +**[Dokumentasi Mazduino LITE v0.1](mazduino-lite-v0.1.md)** + +**[Dokumentasi Mazduino LITE v0.2](mazduino-lite-v0.2.md)** + +--- + +## Produk Lainnya ### Mazduino Compact 4ch -A compact 4-channel engine control unit designed for smaller engines and space-constrained applications. -![Mazduino Compact 4ch](img/mazduino-compact-4ch.jpg) +Engine Control Unit 4-channel yang kompak, dirancang untuk mesin yang lebih kecil dan aplikasi dengan keterbatasan ruang. + +| Mazduino Compact 4ch v1 | Mazduino Compact 4ch Latest | +|:------------------------:|:---------------------------:| +| ![Mazduino Compact 4ch v1](img/mazduino-compact-4ch.jpg) | ![Mazduino Compact 4ch Latest](img/mazduino-compact-4ch-v2.2.jpeg) | + +**Fitur Umum:** -**Features:** -- 4 injection channels -- Compact form factor -- STM32F407VGT6 MCU -- rusEFI & Speeduino compatible +- 4 channel injeksi +- Faktor bentuk kompak +- MCU STM32F407VGT6 +- Kompatibel dengan rusEFI dan Speeduino -**[View Complete Specifications →](mazduino-compact-4ch.md)** +**Versi yang Tersedia:** + +- **[v1](mazduino-compact-4ch-v1.md)** - Konektor Microfit 30-pin (2x12 + 2x3) +- **[v2.1](mazduino-compact-4ch-v2.1.md)** - Konektor Yamaha 33-pin + Knock Sensor +- **[v2.2](mazduino-compact-4ch-v2.2.md)** - High Side Switching untuk alternator/VVT control +- **[v2.3-v2.4](mazduino-compact-4ch-v2.3.md)** - Pin mapping yang dioptimalkan, perbaikan knock sensor, dan RTC battery support +- **[v2.5](mazduino-compact-4ch-v2.5.md)** - Dual high side output, optimasi Hall Input, dan optimasi Analog Input ### Mazduino Mini 6ch -A full-featured 6-channel engine control unit for full sequential injection control. -![Mazduino Mini 6ch](img/mazduino-mini-6ch.jpg) +Engine Control Unit 6-channel berfitur lengkap untuk kontrol injeksi sequential penuh. + +| Mazduino Mini 6ch | Mazduino Mini 6ch New Case | +|:-----------------:|:--------------------------:| +| ![Mazduino Mini 6ch](img/mazduino-mini-6ch.jpg) | ![Mazduino Mini 6ch New Case](img/mazduino-mini6ch-new-case.jpeg) | + +**Fitur Umum:** + +- 6 channel injeksi +- Operasi sequential penuh +- MCU STM32F407VGT6 +- Kemampuan I/O yang diperluas +- Kompatibel dengan rusEFI dan Speeduino + +**Versi yang Tersedia:** + +- **[v1.0-v1.2](mazduino-mini-6ch-v1.0-v1.2.md)** - Versi standar dengan fitur dasar +- **[v1.3](mazduino-mini-6ch-v1.3.md)** - Dengan Knock Input dan Electronic Throttle Body (ETB) +- **[v1.3B](mazduino-mini-6ch-v1.3b.md)** - MCU STM32F427VGT6, input analog TPS2 tambahan, dan optimisasi hardware +- **[v1.3C](mazduino-mini-6ch-v1.3c.md)** - Optimisasi pin MCU, knock input tunggal, dan VDrive ignition terpisah untuk channel 1-4 dan 5-6 +- **[v1.4](mazduino-mini-6ch-v1.4.md)** - Versi terbaru + +--- + +## Memulai + +1. **Pilih Model** - Pilih ECU yang sesuai dengan kebutuhan mesin dan aplikasi Anda +2. **Install Firmware** - Download dan flash firmware dari [github.com/mazduino/mazduino-fw][mazduino-fw] +3. **Konfigurasi TunerStudio** - Load file .ini yang sesuai dan atur parameter mesin +4. **Mulai Tuning** - Gunakan base map sebagai titik awal dan sesuaikan untuk aplikasi spesifik Anda + +--- + +## Dokumentasi + +### Panduan Umum +- **[Downloads](downloads.md)** - Firmware Mazduino, file .ini untuk TunerStudio, dan panduan flashing +- **[Manual TunerStudio](tunerstudio-manual.md)** - Panduan lengkap tuning dan konfigurasi ECU +- **[Tentang](about.md)** - Informasi lengkap tentang proyek ECU Mazduino + +### Dokumentasi Hardware +- **[Compact 4CH v1](mazduino-compact-4ch-v1.md)** - Spesifikasi dan wiring untuk v1 +- **[Compact 4CH v2.1](mazduino-compact-4ch-v2.1.md)** - Dengan knock sensor dan konektor Yamaha +- **[Compact 4CH v2.2](mazduino-compact-4ch-v2.2.md)** - Dengan high side switching +- **[Compact 4CH v2.3](mazduino-compact-4ch-v2.3.md)** - Pin mapping dioptimalkan, knock sensor diperbaiki, RTC battery +- **[Compact 4CH v2.5](mazduino-compact-4ch-v2.5.md)** - Dual high side output, optimasi Hall Input, dan optimasi Analog Input +- **[Mini 6CH v1.0-v1.2](mazduino-mini-6ch-v1.0-v1.2.md)** - Versi standar dengan fitur dasar +- **[Mini 6CH v1.3](mazduino-mini-6ch-v1.3.md)** - Dengan knock input dan ETB support +- **[Mini 6CH v1.3B](mazduino-mini-6ch-v1.3b.md)** - MCU upgrade, optimisasi hardware dan input analog tambahan +- **[Mini 6CH v1.3C](mazduino-mini-6ch-v1.3c.md)** - Optimisasi pin MCU, knock input tunggal, dan VDrive ignition terpisah +- **[Mini 6CH v1.4](mazduino-mini-6ch-v1.4.md)** - Versi terbaru + +--- -**Features:** -- 6 injection channels -- Full sequential operation -- STM32F407VGT6 MCU -- Extended I/O capabilities -- rusEFI & Speeduino compatible +## Dukungan -**[View Complete Specifications →](mazduino-mini-6ch.md)** +Untuk dukungan teknis, pertanyaan, atau kontribusi, silakan kunjungi forum komunitas kami atau repositori GitHub. -## Getting Started +## PCB Design dan Technical Resources -1. **Choose Your Model** - Select between Compact 4ch or Mini 6ch based on your engine requirements -2. **Install Firmware** - Flash rusEFI or custom Speeduino firmware -3. **Configure Settings** - Set up your engine parameters and pin mappings -4. **Start Tuning** - Begin with base maps and refine for your specific application +Untuk informasi detail mengenai PCB design, schematic, dan Bill of Materials (BOM) untuk semua versi ECU Mazduino, silakan kunjungi: -## Documentation Sections +**[Mazduino Wiki][mazduino-hw]** -- **[About](about.md)** - Learn more about Mazduino ECU project -- **Hardware Guide** - Detailed specifications and wiring diagrams -- **Firmware Installation** - Step-by-step firmware flashing instructions -- **Configuration** - Engine setup and parameter configuration -- **Tuning Guide** - Performance optimization and troubleshooting +[mazduino-fw]: https://github.com/mazduino/mazduino-fw {:target="_blank"} +[mazduino-hw]: https://github.com/mazduino/mazduino-hw/wiki {:target="_blank"} -## Support +Wiki ini berisi: -For technical support, questions, or contributions, please visit our community forums or GitHub repository. +- Schematic lengkap untuk semua versi +- PCB layout dan routing details +- Bill of Materials (BOM) dengan part numbers +- Assembly notes dan manufacturing guidelines +- Design considerations dan engineering decisions +- Revision history dan changelog detail diff --git a/docs/mazduino-compact-4ch-v1.md b/docs/mazduino-compact-4ch-v1.md new file mode 100644 index 0000000..252ec5f --- /dev/null +++ b/docs/mazduino-compact-4ch-v1.md @@ -0,0 +1,157 @@ +# ECU Mazduino Compact (v1) + +## Gambaran Umum + +ECU Mazduino Compact v1 adalah Engine Control Unit standalone 4-channel yang dirancang untuk aplikasi manajemen mesin yang serbaguna. Dibuat khusus untuk firmware rusEFI dan Speeduino, memberikan engine control komprehensif dalam paket kompak yang cocok untuk operasi 4-silinder sequential penuh atau 8-silinder paired. + +![Mazduino Compact 4ch](img/mazduino-compact-4ch.jpg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP hall atau optical saja +- Input trigger kedua untuk sensor CMP hall atau optical saja +- 6 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 1 cadangan yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 3 input digital pullup untuk AC Switch, VSS, Clutch (AC atau VSS dapat digunakan untuk tombol Launch Control jika tidak diperlukan) +- 5x driver low-side arus tinggi 3A untuk injektor high-impedance dan idle PWM (ISC) +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 4x output 12V atau 5V untuk sinyal koil pengapian +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor 30-pin dengan konfigurasi Microfit 2x12 dan 2x3 +- Kartu SD untuk data logging + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +ECU Mazduino Compact menggunakan konektor 30-pin dengan pin assignment sebagai berikut: + +![Mazduino Compact 30-pin Connector](img/compact-30p-connector.jpg) + +#### Layout Konektor +``` + 1 2 3 7 8 9 10 11 12 13 14 15 16 17 18 + 4 5 6 19 20 21 22 23 24 25 26 27 28 29 30 +``` + +#### Pin Assignment + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Clutch | Input posisi kopling | +| 2 | AC Switch | Switch AC/input digital | +| 3 | CANH/Spare Analog 1 | CAN High atau input analog cadangan (solder jumper) | +| 4 | VSS | Sensor kecepatan kendaraan | +| 5 | GND | Ground | +| 6 | CANL/Main Relay | CAN Low atau relay utama (solder jumper) | +| 7 | 12V | Catu daya utama | +| 8 | 5V | Output referensi 5V | +| 9 | Fan | Kontrol relay kipas | +| 10 | Tacho | Output tachometer | +| 11 | Idle PWM | PWM kontrol idle air | +| 12 | Injector 4 | Channel injektor 4 | +| 13 | Injector 3 | Channel injektor 3 | +| 14 | Injector 2 | Channel injektor 2 | +| 15 | Injector 1 | Channel injektor 1 | +| 16 | CMP | Sensor posisi camshaft | +| 17 | TPS | Sensor posisi throttle | +| 18 | MAP | Tekanan absolut manifold | +| 19 | GND | Ground | +| 20 | GND | Ground | +| 21 | AC Compressor | Relay kompresor AC | +| 22 | Fuel Pump | Relay pompa bahan bakar | +| 23 | Ignition 1 | Channel pengapian 1 | +| 24 | Ignition 2 | Channel pengapian 2 | +| 25 | Ignition 3 | Channel pengapian 3 | +| 26 | Ignition 4 | Channel pengapian 4 | +| 27 | CKP | Sensor posisi crankshaft | +| 28 | IAT | Suhu udara masuk | +| 29 | CLT | Suhu coolant | +| 30 | O2 | Sensor oksigen | + +### Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6: + +| Fungsi | Pin MCU | +|----------|---------| +| Output Pengapian 1 | PE15 | +| Output Pengapian 2 | PE14 | +| Output Pengapian 3 | PD13 | +| Output Pengapian 4 | PE5 | +| Output Injeksi 1 | PD8 | +| Output Injeksi 2 | PB15 | +| Output Injeksi 3 | PB14 | +| Output Injeksi 4 | PB13 | +| Sensor MAP | PA0 | +| TPS | PA3 | +| Sensor IAT | PA5 | +| Sensor CLT | PA4 | +| Sensor O2 | PA1 | +| Battery/Voltage Ref | PA2 | +| Input Analog Cadangan 1 | PB1 | +| Input AC | PB0 | +| Input Clutch | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Relay Pompa Bahan Bakar | PC8 | +| Relay FAN | PA15 | +| Relay Kompresor AC | PC7 | +| Relay Utama | PE8 | +| Idle 1 | PD9 | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +### Solder Jumper + +PCB termasuk solder jumper di bagian belakang untuk konfigurasi: + +- **Pin 3**: CANH atau Input Analog Cadangan 1 + +- **Pin 6**: CANL atau Kontrol Relay Utama + +- **Pemilihan tegangan pengapian**: Pilih tegangan yang sesuai untuk koil pengapian + +### Langkah Instalasi +1. **Pemasangan**: Amankan ECU di lokasi yang sesuai +2. **Koneksi Daya**: Hubungkan daya utama (pin 7) dan ground (pin 5, 19, 20) +3. **Wiring Sensor**: Hubungkan sensor mesin sesuai pin mapping di atas +4. **Wiring Aktuator**: Hubungkan injektor dan koil pengapian ke pin masing-masing +5. **Verifikasi**: Periksa semua koneksi sebelum power-up + +### Catatan Wiring +- **Ground Sensor**: Gunakan pin 19 dan 20 untuk koneksi ground sensor + +- **Referensi 5V**: Pin 8 menyediakan referensi 5V untuk sensor + +- **Konfigurasi CAN**: Gunakan solder jumper untuk memilih fungsi CAN atau relay (pin 3 & 6) + +- **Kompatibilitas Wiring**: Wiring kompatibel dengan standar Speeduino + +- **Referensi**: Informasi wiring tambahan tersedia di [Speeduino Wiki][speeduino-wiring] + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} + +## Dukungan dan Sumber Daya + +### Dokumentasi +- Panduan instalasi - Petunjuk setup lengkap +- Diagram wiring - Pin assignment konektor detail (lihat di atas) +- Panduan tuning - Konfigurasi dan optimisasi mesin +- Pemecahan masalah - Masalah umum dan solusi + +### File Firmware & Konfigurasi +- [Halaman Download](downloads.md) - Dapatkan firmware terbaru dan file konfigurasi TunerStudio +- Firmware rusEFI dan Speeduino tersedia \ No newline at end of file diff --git a/docs/mazduino-compact-4ch-v2.1.md b/docs/mazduino-compact-4ch-v2.1.md new file mode 100644 index 0000000..f179b5e --- /dev/null +++ b/docs/mazduino-compact-4ch-v2.1.md @@ -0,0 +1,232 @@ +# ECU Mazduino Compact (v2.1) + +## Gambaran Umum + +ECU Mazduino Compact v2.1 adalah Engine Control Unit standalone 4-channel yang dirancang untuk aplikasi manajemen mesin yang serbaguna. Dibuat khusus untuk firmware rusEFI dan Speeduino, memberikan engine control komprehensif dalam paket kompak yang cocok untuk operasi 4-silinder sequential penuh atau 8-silinder paired. + +**Fitur Baru v2.1:** + +- **Konektor Yamaha 33-pin**: Upgrade dari Microfit ke konektor otomotif grade profesional + +- **Knock Sensor Input**: IC khusus untuk membaca sensor knock dan deteksi ketukan mesin + +- **6 MOSFET High Current**: Penambahan 1 MOSFET arus tinggi (dari 5 menjadi 6) untuk kontrol Idle 2/Boost/VVT + +![Mazduino Compact 4ch](img/mazduino-compact-4ch-v2.1.jpeg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP hall atau optical saja +- Input trigger kedua untuk sensor CMP hall atau optical saja +- 6 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 1 cadangan yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- **Knock Sensor Input (v2.1)**: Input khusus untuk sensor knock dengan IC conditioning + +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 3 input digital pullup untuk AC Switch, VSS, Clutch (AC atau VSS dapat digunakan untuk tombol Launch Control jika tidak diperlukan) +- **6x driver low-side arus tinggi 3A (v2.1)**: 4 injektor + Idle 1 + Idle 2 untuk high-impedance injector, idle PWM, boost control, VVT + +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 4x output 12V atau 5V untuk sinyal koil pengapian +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- **Konektor Yamaha 33-pin (v2.1)**: Konektor otomotif grade profesional dengan pin assignment yang optimal + +- Kartu SD untuk data logging + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +ECU Mazduino Compact v2.1 menggunakan konektor Yamaha 33-pin dengan pin assignment sebagai berikut: + +![Mazduino Compact 33-pin Connector](img/connector-33p.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Injector 1 | Channel injektor 1 | +| 2 | Injector 2 | Channel injektor 2 | +| 3 | Injector 3 | Channel injektor 3 | +| 4 | Injector 4 | Channel injektor 4 | +| 5 | Idle 1 | Output kontrol idle 1 (high current 3A) | +| 6 | Tacho | Output tachometer | +| 7 | Fan | Kontrol relay kipas | +| 8 | 5V | Output referensi 5V | +| 9 | 12V | Catu daya utama | +| 10 | Main Relay | Kontrol relay utama | +| 11 | GND | Ground | +| 12 | **Idle 2** | **Output kontrol idle 2 (high current 3A) - dapat digunakan untuk boost/VVT** | +| 13 | Ignition 4 | Channel pengapian 4 | +| 14 | Ignition 3 | Channel pengapian 3 | +| 15 | Ignition 2 | Channel pengapian 2 | +| 16 | Ignition 1 | Channel pengapian 1 | +| 17 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 18 | AC Compressor | Relay kompresor AC | +| 19 | CKP | Sensor posisi crankshaft (Trigger 1) | +| 20 | GND | Ground | +| 21 | GND | Ground | +| 22 | GND | Ground | +| 23 | CLT | Suhu coolant | +| 24 | TPS | Sensor posisi throttle | +| 25 | O2 | Sensor oksigen | +| 26 | MAP | Tekanan absolut manifold | +| 27 | IAT | Suhu udara masuk | +| 28 | Spare Analog | Input analog cadangan | +| 29 | CMP | Sensor posisi camshaft (Trigger 2) | +| 30 | **Knock Sensor** | Input sensor knock dengan IC conditioning | +| 31 | AC Switch | Input switch AC (aktif ground) | +| 32 | Clutch | Input posisi kopling | +| 33 | VSS | Sensor kecepatan kendaraan | + +### Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6 untuk v2.1: + +| Fungsi | Pin MCU | +|----------|---------| +| Output Pengapian 1 | PE15 | +| Output Pengapian 2 | PE14 | +| Output Pengapian 3 | PD13 | +| Output Pengapian 4 | PE5 | +| Output Injeksi 1 | PD8 | +| Output Injeksi 2 | PB15 | +| Output Injeksi 3 | PB14 | +| Output Injeksi 4 | PB13 | +| Sensor MAP | PA0 | +| TPS | PA3 | +| Sensor IAT | PA5 | +| Sensor CLT | PA4 | +| Sensor O2 | PA1 | +| Battery/Voltage Ref | PA2 | +| Input Analog Cadangan 1 | PB1 | +| **Knock Sensor** | **PA6** | +| Input AC | PB0 | +| Input Clutch | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Relay Pompa Bahan Bakar | PC8 | +| Relay FAN | PA15 | +| Relay Kompresor AC | PC7 | +| Relay Utama | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +### Fitur Khusus v2.1 + +#### Konektor Yamaha 33-pin (Baru di v2.1) +- **Upgrade Konektor**: Dari Microfit 30-pin ke Yamaha 33-pin otomotif grade + +- **Keandalan Tinggi**: Konektor tahan cuaca dan vibration resistant + +- **Pin Layout Optimal**: Pin assignment yang lebih terorganisir untuk instalasi yang mudah + +- **Ground yang Lebih Baik**: Multiple ground pins (11, 20, 21, 22) untuk integritas sinyal + +#### Knock Sensor Support (Baru di v2.1) +- **Pin 30**: Input khusus untuk sensor knock + +- **IC Conditioning**: Sirkuit khusus untuk memproses sinyal knock sensor + +- **MCU Pin PA6**: Pin khusus untuk input knock sensor + +- **Aplikasi**: Deteksi ketukan mesin untuk perlindungan dan optimasi timing + +#### Enhanced High Current Outputs (v2.1) +- **6 MOSFET High Current**: Upgrade dari 5 menjadi 6 MOSFET arus tinggi 3A + +- **Dual Idle Control**: Idle 1 dan Idle 2 untuk kontrol idle yang lebih presisi + +- **Flexible Applications**: Idle 2 dapat digunakan untuk boost control, VVT, atau kontrol PWM lainnya + +- **Output Capacity**: Total 6 output arus tinggi vs 5 output di v1 + +#### Solder Jumper +PCB termasuk solder jumper di bagian belakang untuk konfigurasi: + +- **Input/Output Selection**: Konfigurasi pin untuk berbagai fungsi + +- **Pemilihan tegangan pengapian**: Pilih tegangan yang sesuai untuk koil pengapian + +- **Knock Sensor Enable**: Aktivasi input knock sensor + +### Langkah Instalasi +1. **Pemasangan**: Amankan ECU di lokasi yang sesuai dengan akses yang baik untuk konektor +2. **Koneksi Daya**: Hubungkan daya utama (pin 9) dan ground (pin 11, 20, 21, 22) +3. **Wiring Sensor**: Hubungkan sensor mesin sesuai pin mapping di atas +4. **Knock Sensor**: Hubungkan sensor knock ke pin 30 jika digunakan +5. **Wiring Aktuator**: Hubungkan injektor dan koil pengapian ke pin masing-masing +6. **Verifikasi**: Periksa semua koneksi sebelum power-up + +### Catatan Wiring +- **Multiple Ground**: Gunakan semua pin ground (11, 20, 21, 22) untuk koneksi yang optimal + +- **Referensi 5V**: Pin 8 menyediakan referensi 5V untuk sensor + +- **Knock Sensor**: Pin 30 memiliki IC conditioning khusus untuk sinyal knock + +- **High Current Outputs**: Pin 1-5 dan 12 adalah output arus tinggi 3A untuk injektor dan kontrol PWM + +- **Idle 2 Flexibility**: Pin 12 (Idle 2) dapat digunakan untuk idle control, boost control, VVT, atau kontrol PWM arus tinggi lainnya + +- **Konektor Yamaha**: Konektor grade otomotif dengan keandalan tinggi + +- **AC Switch**: Pin 31 adalah input aktif ground untuk switch AC + +- **Kompatibilitas Wiring**: Kompatibel dengan standar Speeduino dengan pin mapping yang diperbarui + +- **Referensi**: Informasi wiring tambahan tersedia di [Speeduino Wiki][speeduino-wiring] + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} + +## Perbandingan v1 vs v2.1 + +| Fitur | v1 | v2.1 | +|--------|-----|------| +| Konektor | Microfit 30-pin (2x12 + 2x3) | Yamaha 33-pin otomotif | +| Knock Input | Tidak ada | Pin 30 dengan IC conditioning | +| Ground Pins | 3 pins (5, 19, 20) | 4 pins (11, 20, 21, 22) | +| Pin Layout | 6-pin dan 24-pin terpisah | 33-pin single connector | +| MCU Pin Knock | - | PA6 | +| **High Current MOSFET** | **5 (4 injektor + 1 idle)** | **6 (4 injektor + 2 idle)** | +| Idle Outputs | 1 (Idle PWM) | 2 (Idle 1 & Idle 2) | + +## Dukungan dan Sumber Daya + +### Dokumentasi +- Panduan instalasi v2.1 - Petunjuk setup lengkap untuk konektor Yamaha +- Diagram wiring - Pin assignment konektor 33-pin detail (lihat di atas) +- Panduan tuning - Konfigurasi dan optimisasi mesin dengan knock detection +- Panduan knock sensor - Setup dan kalibrasi sensor knock +- Pemecahan masalah - Masalah umum dan solusi untuk v2.1 + +### File Firmware & Konfigurasi +- [Halaman Download](downloads.md) - Dapatkan firmware terbaru dan file konfigurasi TunerStudio untuk v2.1 +- Firmware rusEFI dan Speeduino tersedia dengan dukungan knock sensor +- Konfigurasi pin mapping khusus untuk v2.1 sudah disertakan +- Template konfigurasi knock sensor untuk berbagai jenis mesin + +### Support dan Komunitas +- Forum Mazduino untuk pertanyaan teknis v2.1 +- Dokumentasi upgrade dari v1 ke v2.1 +- Panduan migrasi konfigurasi dan wiring \ No newline at end of file diff --git a/docs/mazduino-compact-4ch-v2.2.md b/docs/mazduino-compact-4ch-v2.2.md new file mode 100644 index 0000000..e748c66 --- /dev/null +++ b/docs/mazduino-compact-4ch-v2.2.md @@ -0,0 +1,199 @@ +# ECU Mazduino Compact (v2.2) + +## Gambaran Umum + +ECU Mazduino Compact v2.2 adalah evolusi terbaru dari Engine Control Unit standalone 4-channel yang dirancang untuk aplikasi manajemen mesin yang serbaguna. Dibuat khusus untuk firmware rusEFI dan Speeduino, memberikan engine control komprehensif dalam paket kompak yang cocok untuk operasi 4-silinder sequential penuh atau 8-silinder paired. + +**Fitur Baru v2.2:** + +- **High Side Switching**: Output high-side MOSFET untuk kontrol alternator, VVT, dan switching 12V lainnya + +- **Enhanced Pin Mapping**: Pin 22 konektor dialokasikan untuk output High Side + +- **PA8 MCU Support**: Kontrol high-side melalui pin MCU PA8 + +![Mazduino Compact 4ch v2.2](img/mazduino-compact-4ch-v2.2.jpeg) + +## Fitur Utama + +### Core Features +- Input trigger utama untuk sensor CKP hall atau optical saja +- Input trigger kedua untuk sensor CMP hall atau optical saja +- 6 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 1 cadangan +- **Knock Sensor Input**: Input khusus untuk sensor knock dengan IC conditioning + +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 3 input digital pullup untuk AC Switch, VSS, Clutch (AC atau VSS dapat digunakan untuk tombol Launch Control jika tidak diperlukan) +- **6x driver low-side arus tinggi 3A**: 4 injektor + Idle 1 + Idle 2 untuk high-impedance injector, idle PWM, boost control, VVT + +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 4x output 12V atau 5V untuk sinyal koil pengapian +- **NEW: 1x High Side Switching** untuk kontrol alternator/VVT/12V switching + +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- **Konektor Yamaha 33-pin**: Konektor otomotif grade profesional dengan pin assignment yang optimal + +- Kartu SD untuk data logging + +### High Side Switching (v2.2) +- **Output Type**: High-side MOSFET switching + +- **Voltage**: 12V switching capability + +- **Current Rating**: High current handling untuk beban berat + +- **Applications**: + - Kontrol alternator field + - Variable Valve Timing (VVT) solenoid + - High current 12V loads + - Auxiliary systems control +- **MCU Control**: Pin PA8 untuk kontrol PWM dan digital switching + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +ECU Mazduino Compact v2.2 menggunakan konektor Yamaha 33-pin dengan pin assignment sebagai berikut: + +![Mazduino Compact 33-pin Connector](img/connector-33p.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Injector 1 | Channel injektor 1 | +| 2 | Injector 2 | Channel injektor 2 | +| 3 | Injector 3 | Channel injektor 3 | +| 4 | Injector 4 | Channel injektor 4 | +| 5 | Idle 1 | Output kontrol idle 1 (high current 3A) | +| 6 | Tacho | Output tachometer | +| 7 | Fan | Kontrol relay kipas | +| 8 | 5V | Output referensi 5V | +| 9 | 12V | Catu daya utama | +| 10 | Main Relay | Kontrol relay utama | +| 11 | GND | Ground | +| 12 | Idle 2 | Output kontrol idle 2 (high current 3A) - dapat digunakan untuk boost/VVT | +| 13 | Ignition 4 | Channel pengapian 4 | +| 14 | Ignition 3 | Channel pengapian 3 | +| 15 | Ignition 2 | Channel pengapian 2 | +| 16 | Ignition 1 | Channel pengapian 1 | +| 17 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 18 | AC Compressor | Relay kompresor AC | +| 19 | CKP | Sensor posisi crankshaft (Trigger 1) | +| 20 | GND | Ground | +| 21 | GND | Ground | +| **22** | **High Side Out** | **Output High Side MOSFET** | +| 23 | CLT | Suhu coolant | +| 24 | TPS | Sensor posisi throttle | +| 25 | O2 | Sensor oksigen | +| 26 | MAP | Tekanan absolut manifold | +| 27 | IAT | Suhu udara masuk | +| 28 | Spare Analog | Input analog cadangan | +| 29 | CMP | Sensor posisi camshaft (Trigger 2) | +| 30 | Knock Sensor | Input sensor knock dengan IC conditioning | +| 31 | AC Switch | Input switch AC (aktif ground) | +| 32 | Clutch | Input posisi kopling | +| 33 | VSS | Sensor kecepatan kendaraan | + +### Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6 untuk v2.2: + +| Fungsi | Pin MCU | +|----------|---------| +| Output Pengapian 1 | PE15 | +| Output Pengapian 2 | PE14 | +| Output Pengapian 3 | PD13 | +| Output Pengapian 4 | PE5 | +| Output Injeksi 1 | PD8 | +| Output Injeksi 2 | PB15 | +| Output Injeksi 3 | PB14 | +| Output Injeksi 4 | PB13 | +| **High Side Output** | **PA8** | +| Sensor MAP | PA0 | +| TPS | PA3 | +| Sensor IAT | PA5 | +| Sensor CLT | PA4 | +| Sensor O2 | PA1 | +| Battery/Voltage Ref | PA2 | +| Input Analog Cadangan 1 | PB1 | +| **Knock Sensor** | **PA6** | +| Input AC | PB0 | +| Input Clutch | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Relay Pompa Bahan Bakar | PC8 | +| Relay FAN | PA15 | +| Relay Kompresor AC | PC7 | +| Relay Utama | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +## High Side Switching + +- **MCU Pin**: PA8, **Connector Pin**: Pin 22 + +- **Output Type**: High-side P-channel MOSFET, 12V, PWM/digital support + +- **Aplikasi**: Kontrol alternator field, VVT solenoid, atau beban 12V lainnya + +Contoh wiring: +``` +Pin 22 (High Side) → VVT Solenoid (+) +VVT Solenoid (-) → Vehicle Ground +``` + +> Selalu gunakan fuse sesuai rating beban. Matikan power sebelum wiring. + +## Catatan + +- **Smart Coils**: Koneksi langsung didukung. **Dump Coils**: Memerlukan IGBT eksternal. + +- **Upgrade dari v2.1**: Pin 22 berubah menjadi High Side Output — sesuaikan wiring jika upgrade. + +- Solder jumper di bagian belakang PCB untuk konfigurasi tegangan pengapian dan knock sensor enable. + +**[Download firmware dan file konfigurasi](downloads.md)** + +## Perbandingan Versi + +| Feature | v2.1 | v2.2 | +|---------|------|------| +| Core MCU | STM32F407VGT6 | STM32F407VGT6 | +| Ignition Outputs | 4x | 4x | +| Injection Outputs | 4x | 4x | +| Low Side Outputs | 5x | 5x | +| **High Side Output** | **Tidak** | **Ya (Pin 22)** | +| **MCU Pin PA8** | **Unused** | **High Side Control** | +| CAN Bus | Ya | Ya | +| USB Type-C | Ya | Ya | +| SD Card | Ya | Ya | +| Knock Sensor | Ya (Pin 30) | Ya (Pin 30) | +| High Current MOSFET | 6 (4 injektor + 2 idle) | 6 (4 injektor + 2 idle) | +| Stepper Support | Ya | Ya | + +--- + +**Update v2.2**: Menambahkan High Side Switching untuk kontrol alternator, VVT, dan aplikasi 12V switching lainnya melalui pin 22 konektor dan pin PA8 MCU. diff --git a/docs/mazduino-compact-4ch-v2.3.md b/docs/mazduino-compact-4ch-v2.3.md new file mode 100644 index 0000000..f2a096c --- /dev/null +++ b/docs/mazduino-compact-4ch-v2.3.md @@ -0,0 +1,189 @@ +# ECU Mazduino Compact (v2.3) + +## Gambaran Umum + +ECU Mazduino Compact v2.3 adalah versi terbaru dari Engine Control Unit standalone 4-channel yang menghadirkan perbaikan penting dan fitur tambahan. Dibuat khusus untuk firmware rusEFI dan Speeduino, memberikan engine control komprehensif dalam paket kompak yang cocok untuk operasi 4-silinder sequential penuh atau 8-silinder paired. + +**Pembaruan v2.3:** + +- **Perbaikan Pin Mapping MCU**: Pin mapping MCU yang dioptimalkan untuk performa lebih baik + +- **Fix Knock Sensor**: Perbaikan knock sensor agar tidak konflik dengan TPS + +- **RTC Battery Support**: Penambahan dukungan baterai RTC untuk real-time data logging menggunakan SD Card (opsional) + +- **PCB Optimization**: Optimasi jalur pada PCB untuk performa dan reliabilitas yang lebih baik + +- **Enhanced Compatibility**: Kompatibilitas yang ditingkatkan dengan berbagai sensor dan aktuator + +![Mazduino Compact 4ch v2.3](img/mazduino-compact-4ch-v2.3.jpeg) + +## Fitur Utama + +### Core Features +- Input trigger utama untuk sensor CKP hall atau optical saja +- Input trigger kedua untuk sensor CMP hall atau optical saja +- 6 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 1 cadangan +- **Knock Sensor Input**: Input khusus untuk sensor knock dengan IC conditioning yang diperbaiki + +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 3 input digital pullup untuk AC Switch, VSS, Clutch (AC atau VSS dapat digunakan untuk tombol Launch Control jika tidak diperlukan) +- **6x driver low-side arus tinggi 3A**: 4 injektor + Idle 1 + Idle 2 untuk high-impedance injector, idle PWM, boost control, VVT + +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 4x output 12V atau 5V untuk sinyal koil pengapian +- **1x High Side Switching** untuk kontrol alternator/VVT/12V switching +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- **Konektor Yamaha 33-pin**: Konektor otomotif grade profesional dengan pin assignment yang optimal + +- **SD Card dengan RTC**: Data logging real-time dengan dukungan baterai RTC (opsional) + +### Perbaikan Knock Sensor (v2.3) +- **Pin MCU**: PA3 (dipindahkan dari PA6 untuk menghindari konflik dengan TPS) + +- **Official Firmware Support**: PA3 dapat menggunakan firmware official rusEFI + +- **Backward Compatibility**: PA6 tetap dapat digunakan dengan custom firmware + +- **IC Conditioning**: Sirkuit kondisioning yang diperbaiki untuk sensitivitas optimal + +- **Noise Immunity**: Peningkatan ketahanan terhadap noise elektrik + +- **Firmware Flexibility**: Pilihan antara official firmware (PA3) atau custom firmware (PA6) + +### RTC Battery Support (v2.3) +- **Real-time Clock**: Dukungan RTC untuk timestamp akurat pada data logging + +- **Battery Backup**: Slot baterai koin untuk menjaga waktu saat ECU mati + +- **Masalah yang Dipecahkan**: Sebelumnya data logging menunjukkan waktu 00:00:00 + +- **Solusi**: Baterai koin mempertahankan waktu real-time secara permanen + +- **SD Card Logging**: Enhanced logging dengan timestamp yang akurat dan persisten + +- **Data Integrity**: Memastikan integritas data dengan waktu yang selalu tersimpan + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +ECU Mazduino Compact v2.3 menggunakan konektor Yamaha 33-pin dengan pin assignment sebagai berikut: + +![Mazduino Compact 33-pin Connector](img/connector-33p.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Injector 1 | Channel injektor 1 | +| 2 | Injector 2 | Channel injektor 2 | +| 3 | Injector 3 | Channel injektor 3 | +| 4 | Injector 4 | Channel injektor 4 | +| 5 | Idle 1 | Output kontrol idle 1 (high current 3A) | +| 6 | Tacho | Output tachometer | +| 7 | Fan | Kontrol relay kipas | +| 8 | 5V | Output referensi 5V | +| 9 | 12V | Catu daya utama | +| 10 | Main Relay | Kontrol relay utama | +| 11 | GND | Ground | +| 12 | Idle 2 | Output kontrol idle 2 (high current 3A) | +| 13 | Ignition 4 | Channel pengapian 4 | +| 14 | Ignition 3 | Channel pengapian 3 | +| 15 | Ignition 2 | Channel pengapian 2 | +| 16 | Ignition 1 | Channel pengapian 1 | +| 17 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 18 | AC Compressor | Relay kompresor AC | +| 19 | CKP | Sensor posisi crankshaft (Trigger 1) | +| 20 | GND | Ground | +| 21 | GND | Ground | +| 22 | High Side Out | Output High Side MOSFET | +| 23 | CLT | Suhu coolant | +| 24 | TPS | Sensor posisi throttle | +| 25 | O2 | Sensor oksigen | +| 26 | MAP | Tekanan absolut manifold | +| 27 | IAT | Suhu udara masuk | +| 28 | Spare Analog | Input analog cadangan | +| 29 | CMP | Sensor posisi camshaft (Trigger 2) | +| **30** | **Knock Sensor** | **Input sensor knock (diperbaiki di v2.3)** | +| 31 | AC Switch | Input switch AC (aktif ground) | +| 32 | Clutch | Input posisi kopling | +| 33 | VSS | Sensor kecepatan kendaraan | + +### Pin Mapping MCU (v2.3) + +Pin mapping MCU yang diperbarui untuk STM32F407VGT6 di v2.3: + +| Fungsi | Pin MCU | Perubahan v2.3 | +|----------|---------|----------------| +| Output Pengapian 1 | PE15 | - | +| Output Pengapian 2 | PE14 | - | +| Output Pengapian 3 | PD13 | - | +| Output Pengapian 4 | PE5 | - | +| Output Injeksi 1 | PD8 | - | +| Output Injeksi 2 | PB15 | - | +| Output Injeksi 3 | PB14 | - | +| Output Injeksi 4 | PB13 | - | +| High Side Output | PA8 | - | +| Sensor MAP | PA0 | - | +| **TPS** | **PA6** | **🔄 Optimized** | +| Sensor IAT | PA5 | - | +| Sensor CLT | PA4 | - | +| Sensor O2 | PA1 | - | +| Battery/Voltage Ref | PA2 | - | +| **Knock Sensor** | **PA3** | **🔄 Dipindahkan dari PA6** | +| Input Analog Spare 1 | PB1 | - | +| Input Analog Spare 2 | PA7 | - | +| Input AC | PB0 | - | +| Input Clutch | PE13 | - | +| VSS | PD7 | - | +| CKP | PD3 | - | +| CMP | PD4 | - | +| Tacho | PC9 | - | +| Relay Pompa Bahan Bakar | PC8 | - | +| Relay FAN | PA15 | - | +| Relay Kompresor AC | PC7 | - | +| Relay Utama | PE8 | - | +| Idle 1 | PD9 | - | +| Idle 2 | PD10 | - | +| TXD1 | PA9 | - | +| RXD1 | PA10 | - | +| TXD3 | PB10 | - | +| RXD3 | PB11 | - | +| TXCAN | PD1 | - | +| RXCAN | PD0 | - | +| **SD CS** | **PD2** | **🔄 Enhanced untuk RTC** | +| SPI3 CLK | PC10 | - | +| SPI3 MISO | PC11 | - | +| SPI3 MOSI | PC12 | - | + +## Spesifikasi Teknis + +| Parameter | Nilai | +|-----------|--------| +| Input Voltage | 12V (9V - 16V) | +| MCU | STM32F407VGT6 | +| Clock Speed | 168 MHz | +| Flash Memory | 1MB | +| RAM | 192KB | +| Analog Inputs | 7 channels (0-5V) | +| Digital Inputs | 4 channels | +| Ignition Outputs | 4 channels (12V/5V) | +| Injection Outputs | 4 channels (3A max) | +| Auxiliary Outputs | 7 channels | +| High Side Output | 1 channel | +| Communication | USB-C, CAN, Serial | +| Data Logging | SD Card dengan RTC | +| Operating Temp | -40°C to +85°C | +| Dimensions | 100mm x 80mm | +| Connector | Yamaha 33-pin | diff --git a/docs/mazduino-compact-4ch-v2.5.md b/docs/mazduino-compact-4ch-v2.5.md new file mode 100644 index 0000000..f3e0f7a --- /dev/null +++ b/docs/mazduino-compact-4ch-v2.5.md @@ -0,0 +1,178 @@ +# ECU Mazduino Compact (v2.5) + +## Gambaran Umum + +ECU Mazduino Compact v2.5 adalah pengembangan terbaru dari platform Compact 4-channel dengan fokus pada peningkatan fleksibilitas output dan kestabilan pembacaan sinyal. Versi ini tetap ditujukan untuk firmware rusEFI dan Speeduino, cocok untuk konfigurasi 4-silinder sequential penuh atau 8-silinder paired. + +**Pembaruan v2.5:** + +- **Pembaruan Pin Mapping MCU pada High Side**: High side kini menjadi dua kanal independen dengan mapping **HS1 = PD15** dan **HS2 = PD14** + +- **Optimasi Hall Input**: Perbaikan jalur dan conditioning input hall (CKP/CMP) untuk sinyal trigger lebih stabil pada rpm rendah maupun tinggi + +- **Optimasi Analog Input**: Penyempurnaan filtering analog untuk meningkatkan akurasi pembacaan sensor dan ketahanan terhadap noise + +- **PCB Optimization**: Penyempurnaan routing dan konfigurasi jumper untuk fleksibilitas instalasi + +![Mazduino Compact 4ch v2.5](img/mazduino-compact-4ch-v2.3.jpeg) + +## Fitur Utama + +### Core Features +- Input trigger utama untuk sensor CKP hall atau optical +- Input trigger kedua untuk sensor CMP hall atau optical +- 6 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 1 cadangan +- Input knock sensor khusus dengan conditioning yang kompatibel firmware official +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 3 input digital pullup untuk AC Switch, VSS, dan Clutch +- 6x driver low-side arus tinggi 3A: 4 injektor + Idle 1 + Idle 2 + +- 5x driver low-side arus rendah untuk main relay, fuel pump, AC compressor, fan, dan tacho +- 4x output 12V atau 5V untuk sinyal koil pengapian +- **2x High Side Switching** untuk kontrol alternator, VVT, atau 12V switching tambahan +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi via CANbus, USB Type-C, dan Serial RX/TX +- Konektor Yamaha 33-pin otomotif grade +- Dukungan data logging SD Card + +### Pembaruan High Side (v2.5) +- **HS1 (utama)** menggunakan pin MCU **PD15** + +- **HS2 (tambahan)** menggunakan pin MCU **PD14** + +- Pada konektor, terdapat opsi **GND / HS2 (Jumper)** untuk menyesuaikan mode pemakaian +- Memungkinkan kontrol beban 12V lebih fleksibel untuk kebutuhan setup lanjutan + +### Optimasi Hall Input (v2.5) +- Alokasi pin hall tetap: **CKP = PD3** dan **CMP = PD4** + +- Peningkatan dilakukan pada sisi jalur/rangkaian input (tanpa perubahan pin mapping) +- Tujuan optimasi: memperbaiki stabilitas trigger dan mengurangi gangguan noise + +### Optimasi Analog Input (v2.5) +- Alokasi pin analog tetap: MAP, TPS, IAT, CLT, O2, dan spare analog tidak berubah + +- Perbaikan berada pada filtering dan kualitas conditioning sinyal analog +- Tujuan optimasi: pembacaan sensor lebih konsisten dan akurat + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +ECU Mazduino Compact v2.5 menggunakan konektor Yamaha 33-pin dengan pin assignment sebagai berikut: + +![Mazduino Compact 33-pin Connector](img/connector-33p.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment + +| Pin | Fungsi | Deskripsi | +|-----|--------|-----------| +| 1 | Injector 1 | Channel injektor 1 | +| 2 | Injector 2 | Channel injektor 2 | +| 3 | Injector 3 | Channel injektor 3 | +| 4 | Injector 4 | Channel injektor 4 | +| 5 | Idle 1 | Output kontrol idle 1 (high current 3A) | +| 6 | Tacho/RPM | Output tachometer | +| 7 | Fan | Kontrol relay kipas | +| 8 | 5V | Output referensi 5V | +| 9 | 12V | Catu daya utama | +| 10 | Main Relay | Kontrol relay utama | +| 11 | GND | Ground | +| 12 | Idle 2 | Output kontrol idle 2 (high current 3A) | +| 13 | Ignition 4 | Channel pengapian 4 | +| 14 | Ignition 3 | Channel pengapian 3 | +| 15 | Ignition 2 | Channel pengapian 2 | +| 16 | Ignition 1 | Channel pengapian 1 | +| 17 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 18 | AC Compressor Relay | Relay kompresor AC | +| 19 | CKP / Trigger 1 | Sensor posisi crankshaft | +| 20 | GND | Ground | +| **21** | **GND / HS2 (Jumper)** | **Ground atau High Side 2 (sesuai konfigurasi jumper)** | +| **22** | **HS1** | **High Side Output 1** | +| 23 | CLT | Sensor suhu coolant | +| 24 | TPS | Sensor posisi throttle | +| 25 | O2 | Sensor oksigen | +| 26 | MAP | Sensor tekanan manifold | +| 27 | IAT | Sensor suhu udara masuk | +| 28 | Spare Analog Input | Input analog cadangan | +| 29 | CMP / Trigger 2 | Sensor posisi camshaft | +| 30 | Knock Sensor | Input sensor knock | +| 31 | AC Switch Input | Input switch AC (aktif ground) | +| 32 | Clutch Switch | Input posisi kopling | +| 33 | VSS | Sensor kecepatan kendaraan | + +### Pin Mapping MCU (v2.5) + +Pin mapping MCU untuk STM32F407VGT6 pada v2.5: + +| Fungsi | Pin MCU | Perubahan v2.5 | +|--------|---------|----------------| +| Output Pengapian 1 | PE15 | - | +| Output Pengapian 2 | PE14 | - | +| Output Pengapian 3 | PD13 | - | +| Output Pengapian 4 | PE5 | - | +| Output Injeksi 1 | PD8 | - | +| Output Injeksi 2 | PB15 | - | +| Output Injeksi 3 | PB14 | - | +| Output Injeksi 4 | PB13 | - | +| Sensor MAP | PA0 | - | +| TPS | PA6 | Optimasi rangkaian input | +| Sensor IAT | PA5 | Optimasi rangkaian input | +| Sensor CLT | PA4 | Optimasi rangkaian input | +| Sensor O2 | PA1 | Optimasi rangkaian input | +| Battery/Voltage Ref | PA2 | Optimasi rangkaian input | +| Knock Input | PA3 | - | +| Analog Spare Input 1 | PB1 | Optimasi rangkaian input | +| Analog Spare Input 2 | PA7 | Optimasi rangkaian input | +| AC Input | PB0 | - | +| Clutch Input | PE13 | - | +| VSS | PD7 | - | +| CKP | PD3 | Optimasi jalur hall input | +| CMP | PD4 | Optimasi jalur hall input | +| Tacho | PC9 | - | +| Fuelpump Relay | PC8 | - | +| FAN Relay | PA15 | - | +| AC Compressor Relay | PC7 | - | +| Main Relay | PE8 | - | +| Idle 1 | PD9 | - | +| Idle 2 | PD10 | - | +| **High Side Output 1 (HS1)** | **PD15** | **Pin high side diperbarui** | +| **High Side Output 2 (HS2)** | **PD14** | **Kanal high side baru** | +| TXD1 | PA9 | - | +| RXD1 | PA10 | - | +| TXD3 | PB10 | - | +| RXD3 | PB11 | - | +| TXCAN | PD1 | - | +| RXCAN | PD0 | - | +| SD CS | PD2 | - | +| SPI3 CLK | PC10 | - | +| SPI3 MISO | PC11 | - | +| SPI3 MOSI | PC12 | - | + +## Spesifikasi Teknis + +| Parameter | Nilai | +|-----------|-------| +| Input Voltage | 12V (9V - 16V) | +| MCU | STM32F407VGT6 | +| Clock Speed | 168 MHz | +| Flash Memory | 1MB | +| RAM | 192KB | +| Analog Inputs | 7 channels (0-5V) | +| Digital Inputs | 4 channels | +| Ignition Outputs | 4 channels (12V/5V) | +| Low Side MOSFET Outputs | 6 channels (4 Injector + Idle 1 + Idle 2, 3A max) | +| Auxiliary Outputs | 7 channels | +| High Side Output | 2 channels (HS1 + HS2) | +| Communication | USB-C, CAN, Serial | +| Data Logging | SD Card | +| Operating Temp | -40C to +85C | +| Dimensions | 100mm x 80mm | +| Connector | Yamaha 33-pin | diff --git a/docs/mazduino-compact-4ch.md b/docs/mazduino-compact-4ch.md deleted file mode 100644 index 2529bff..0000000 --- a/docs/mazduino-compact-4ch.md +++ /dev/null @@ -1,148 +0,0 @@ -# Mazduino Compact ECU - -## Overview - -The Mazduino Compact ECU is a 4-channel standalone engine control unit designed for versatile engine management applications. Made specifically for rusEFI and Speeduino firmware, it provides comprehensive engine control in a compact package suitable for 4-cylinder full sequential or 8-cylinder paired operation. - -![Mazduino Compact 4ch](img/mazduino-compact-4ch.jpg) - -## Key Features -- Primary trigger input for CKP hall or optical sensor only -- Secondary trigger input for CMP hall or optical sensor only -- 6 analog inputs (0-5V) for MAP, TPS, IAT, CLT, O2, and 1 spare that can be used for fuel pressure or other sensors -- 5V power supply for sensors with internal fuse protection -- 3 digital pullup inputs for AC Switch, VSS, Clutch (AC or VSS can be used for Launch Control button if not needed) -- 5x high current low-side drivers 3A for high-impedance injectors and idle PWM (ISC) -- 5x low current low-side drivers for main relay, fuel pump, AC compressor, fan, and tachometer control -- 4x 12V or 5V outputs for ignition coil signals -- 168 MHz ARM Cortex-M4 processor -- Data communication via CANbus -- Data communication via USB Type-C -- Serial RX/TX communication -- 30-pin connector with 6-pin and 24-pin configuration -- SD card for data logging - -## Wiring and Installation - -### Connector Pin Mapping - -The Mazduino Compact ECU uses a 30-pin connector with the following pin assignments: - -![Mazduino Compact 30-pin Connector](img/compact-30p-connector.jpg) - -#### Connector Layout -``` - 1 2 3 7 8 9 10 11 12 13 14 15 16 17 18 - 4 5 6 19 20 21 22 23 24 25 26 27 28 29 30 -``` - -#### Pin Assignments - -| Pin | Function | Description | -|-----|----------|-------------| -| 1 | Clutch | Clutch position input | -| 2 | AC Switch | AC switch/digital input | -| 3 | CANH/Spare Analog 1 | CAN High or spare analog input (solder jumper) | -| 4 | VSS | Vehicle speed sensor | -| 5 | GND | Ground | -| 6 | CANL/Main Relay | CAN Low or main relay (solder jumper) | -| 7 | 12V | Main power supply | -| 8 | 5V | 5V reference output | -| 9 | Fan | Fan relay control | -| 10 | Tacho | Tachometer output | -| 11 | Idle PWM | Idle air control PWM | -| 12 | Injector 4 | Injector channel 4 | -| 13 | Injector 3 | Injector channel 3 | -| 14 | Injector 2 | Injector channel 2 | -| 15 | Injector 1 | Injector channel 1 | -| 16 | CMP | Camshaft position sensor | -| 17 | TPS | Throttle position sensor | -| 18 | MAP | Manifold absolute pressure | -| 19 | GND | Ground | -| 20 | GND | Ground | -| 21 | AC Compressor | AC compressor relay | -| 22 | Fuel Pump | Fuel pump relay | -| 23 | Ignition 1 | Ignition channel 1 | -| 24 | Ignition 2 | Ignition channel 2 | -| 25 | Ignition 3 | Ignition channel 3 | -| 26 | Ignition 4 | Ignition channel 4 | -| 27 | CKP | Crankshaft position sensor | -| 28 | IAT | Intake air temperature | -| 29 | CLT | Coolant temperature | -| 30 | O2 | Oxygen sensor | - -### MCU Pin Mapping - -For advanced users and firmware development, here are the STM32F407VGT6 pin assignments: - -| Function | MCU Pin | -|----------|---------| -| Ignition Output 1 | PE15 | -| Ignition Output 2 | PE14 | -| Ignition Output 3 | PD13 | -| Ignition Output 4 | PE5 | -| Injection Output 1 | PD8 | -| Injection Output 2 | PB15 | -| Injection Output 3 | PB14 | -| Injection Output 4 | PB13 | -| MAP Sensor | PA0 | -| TPS | PA3 | -| IAT Sensor | PA5 | -| CLT Sensor | PA4 | -| O2 Sensor | PA1 | -| Battery/Voltage Ref | PA2 | -| Analog Spare Input 1 | PB1 | -| AC Input | PB0 | -| Clutch Input | PE13 | -| VSS | PD7 | -| CKP | PD3 | -| CMP | PD4 | -| Tacho | PC9 | -| Fuel Pump Relay | PC8 | -| FAN Relay | PA15 | -| AC Compressor Relay | PC7 | -| Main Relay | PE8 | -| Idle 1 | PD9 | -| TXD1 | PA9 | -| RXD1 | PA10 | -| TXD3 | PB10 | -| RXD3 | PB11 | -| TXCAN | PD1 | -| RXCAN | PD0 | -| SD CS | PD2 | -| SPI3 CLK | PC10 | -| SPI3 MISO | PC11 | -| SPI3 MOSI | PC12 | - -### Solder Jumpers - -The PCB includes solder jumpers on the back for configuration: -- **Pin 3**: CANH or Spare Analog Input 1 -- **Pin 6**: CANL or Main Relay Control -- **Ignition voltage selection**: Choose appropriate voltage for ignition coils - -### Installation Steps -1. **Mounting**: Secure ECU in suitable location -2. **Power Connection**: Connect main power (pin 7) and ground (pins 5, 19, 20) -3. **Sensor Wiring**: Connect engine sensors per pin mapping above -4. **Actuator Wiring**: Wire injectors and ignition coils to respective pins -5. **Verification**: Check all connections before power-up - -### Wiring Notes -- **Sensor Ground**: Use pins 19 and 20 for sensor ground connections -- **5V Reference**: Pin 8 provides 5V reference for sensors -- **CAN Configuration**: Use solder jumpers to select CAN or relay functions (pins 3 & 6) -- **Wiring Compatibility**: Wiring is compatible with Speeduino standards -- **Reference**: Additional wiring information available at [Speeduino Wiki](https://wiki.speeduino.com/en/wiring/system) - -## Support and Resources - -### Documentation -- Installation guide - Complete setup instructions -- Wiring diagrams - Detailed connector pin assignments (see above) -- Tuning guide - Engine configuration and optimization -- Troubleshooting - Common issues and solutions - -### Firmware & Configuration Files -- [Download Page](downloads.md) - Get the latest firmware and TunerStudio configuration files -- rusEFI and Speeduino firmware available \ No newline at end of file diff --git a/docs/mazduino-core-rev0.md b/docs/mazduino-core-rev0.md new file mode 100644 index 0000000..48273dd --- /dev/null +++ b/docs/mazduino-core-rev0.md @@ -0,0 +1,226 @@ +# Mazduino Core + +## Gambaran Umum + +Mazduino Core adalah ECU generasi baru berbasis konektor otomotif 48-pin dengan arsitektur I/O yang lebih lengkap dari lini Mini 6CH. Produk ini menggunakan **STM32F427** sebagai MCU utama untuk kebutuhan kontrol mesin advanced, termasuk dukungan **dual ETB**, **dual CAN bus**, kombinasi input **Hall + VR**, serta output aktuator yang lebih banyak untuk mesin modern. + +Dokumentasi ini disusun berdasarkan spesifikasi produk Mazduino Core dan referensi hardware pada dokumen MAZDUINO CORE. + +![Foto produk Mazduino Core](img/core/mazduino-core.jpeg) + +## Fitur Utama + +- MCU **STM32F427** ARM Cortex-M4 +- Built-in **5V sensor supply** dengan proteksi internal +- **4x input Hall/Digital** untuk CKP, CMP, VSS, clutch, launch, atau switch lainnya +- **12x input analog** untuk MAP, TPS, O2, tekanan, temperatur, PPS, dan sensor tambahan +- **6x output ignition** (untuk smart coil, 5V/12V sesuai konfigurasi) +- **10x output low side 3A** untuk injektor, idle PWM, boost, VVT, dan aktuator beban menengah +- **5x output low side low current** untuk relay (main relay, fuel pump, fan, AC, tach) +- **2x output high side 1.3A** untuk beban 12V switching + - Contoh penggunaan: **alternator control**, solenoid 12V, dan aktuator switching lain sesuai batas arus. + +- **2x CAN bus** (tergantung konfigurasi jalur/jumper) +- **2x input VR** untuk CKP/CMP tipe variable reluctor +- **2x ETB output** (ETB1 dan ETB2) +- **Dual IC ETB (ETB1 dan ETB2)** dapat juga digunakan untuk kontrol **Idle Stepper** +- Komunikasi USB, Serial, dan CAN +- Dukungan firmware **rusEFI based** saja (official atau custom firmware dengan MCU F4) + +## Konfigurasi Hardware dan Jumper + +Mazduino Core memiliki beberapa pin yang dapat dialihkan fungsinya melalui jumper solder. Konsep ini memberi fleksibilitas agar satu board bisa dipakai untuk berbagai konfigurasi mesin. + +### Posisi Jumper Solder JP3, JP4, dan JP5 + +![Posisi jumper solder JP3 JP4 JP5](img/core/Picture1.png) + +Posisi pin **JP3**, **JP4**, dan **JP5** berada di bagian bawah board dengan model solder jumper. + +Dibagian belakang board ada jumper yang bisa disesuaikan kebutuhan atau permintaan diawal pesanan. ingin digunakan untuk mobil dengan 6 silinder atau hanya 4 silinder. Atau butuh ekstra analog input atau high side output (12v switching). + +Solder Jumper 2 pin ke tengah untuk meneruskan ke konektor ECU pada JP3, JP4 dan JP5. + +### Pin Header Jumper Tanpa Solder + +![Pin header jumper tanpa solder](img/core/Picture2.png) + +Pin header jumper tanpa solder sesuai permintaan saat awal pesanan atau dapat dipindahkan sendiri sesuai kebutuhan. konektor ECU akan mengeluarkan CANL atau VR2-, Digital 4 atau VR1-, CANH atau VR2+, Digital 3 atau VR1+. + +### Pin Header Tambahan (Prototype) + +Untuk kebutuhan prototype, tersedia 4 buah pin header 6 pin yang bisa menggunakan konektor **JST XH 2.54**. + +| Header | Pinout | +|--------|--------| +| J2 | 5V, Analog Temp 4, Analog Volt 2, Analog Volt 3, GND, GND | +| J5 | 12V, CANL1, CANH1, CANL2, CANH2, GND | +| J6 | 5V, 5V, 5V, USB D-, USB D+, GND | +| J7 | 3.3V, 3.3V, 3.3V, 3.3V, GND | + +### Jumper Ignition Volt Drive (12V / 5V) + +Jumper **Ignition Volt Drive** digunakan untuk memilih level tegangan trigger sinyal coil, yaitu **12V** atau **5V**. + +Harap berhati-hati dan pastikan tegangan sinyal coil sesuai. Jika level tegangan tidak sesuai, coil dapat rusak dan tidak dapat digunakan lagi. + +### Catatan ETB dan Idle Stepper + +Karena terdapat dual IC untuk kontrol **ETB1** dan **ETB2**, jalur driver tersebut juga dapat dimanfaatkan untuk kontrol **Idle Stepper** sesuai konfigurasi firmware dan wiring. + +### Opsi Jumper Penting + +- **JP3 (Pin 4)**: pilih **AVS2 (Analog Volt 5)** atau **Ignition 6** + +- **JP4 (Pin 20)**: pilih **ATS2 (Analog Temp 4)** atau **Ignition 5** + +- **JP5 (Pin 5)**: pilih **AVS3 (Analog Volt 6)** atau **High Side 2** + +- **IN22**: pilih **Digital 3** atau **VR1+** + +- **IN38**: pilih **Digital 4** atau **VR1-** + +- **IN33**: pilih **CANH1** atau **VR2+** + +- **IN34**: pilih **CANL1** atau **VR2-** + +### Catatan Konfigurasi + +- Untuk setup **6 ignition penuh**, aktifkan mode ignition pada Pin 4 dan Pin 20. +- Untuk setup yang butuh analog ekstra, aktifkan mode analog di Pin 4/5/20. +- Untuk sensor trigger VR, pindahkan jalur Digital 3/4 atau CANH/CANL ke VR sesuai kebutuhan. +- Selalu matikan sumber daya ECU sebelum mengubah konfigurasi jumper. + +## Wiring dan Instalasi +![Mazduino Core 48-pin Connector](img/mazduino-48p-connector.jpeg) + +### Layout Konektor 48-pin + +``` + 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 Konektor ECU 48-pin + +| Pin | Fungsi | Keterangan | +|-----|--------|------------| +| 1 | 12V ECU | Catu daya utama ECU | +| 2 | Ignition 1 | Output pengapian 1 | +| 3 | High Side 1 | Output high side 1.3A untuk 12V switching (contoh: alternator control) | +| 4 | OUT4 (JP3) | Pilih AVS2 (Analog Volt 5) atau Ignition 6 | +| 5 | OUT5 (JP5) | Pilih AVS3 (Analog Volt 6) atau High Side 2 untuk 12V switching | +| 6 | 5V Sensor Supply | Referensi 5V sensor | +| 7 | ETB1+ | Output ETB 1 positif | +| 8 | ETB1- | Output ETB 1 negatif | +| 9 | ETB2+ | Output ETB 2 positif | +| 10 | ETB2- | Output ETB 2 negatif | +| 11 | Low Side 10 | Output low side 3A | +| 12 | Low Side 9 | Output low side 3A | +| 13 | Low Side 8 | Output low side 3A | +| 14 | Low Side 7 | Output low side 3A | +| 15 | Low Side 6 | Output low side 3A | +| 16 | Low Side 5 | Output low side 3A | +| 17 | Ground | Ground power | +| 18 | Ground | Ground power | +| 19 | Ignition 2 | Output pengapian 2 | +| 20 | OUT20 (JP4) | Pilih ATS2 (Analog Temp 4) atau Ignition 5 | +| 21 | Digital 1 | Input hall/digital | +| 22 | IN22 | Pilih Digital 3 atau VR1+ | +| 23 | Analog Temp 1 | Input temperatur | +| 24 | Analog Temp 2 | Input temperatur | +| 25 | Analog Volt 7 | Input analog 0-5V | +| 26 | Analog Temp 3 | Input temperatur | +| 27 | Low Side LC 15 | Output low current | +| 28 | Low Side LC 14 | Output low current | +| 29 | Low Side LC 13 | Output low current | +| 30 | Low Side LC 12 | Output low current | +| 31 | Low Side LC 11 / RPM | Output low current / tach | +| 32 | Low Side 4 | Output low side 3A | +| 33 | IN33 | Pilih CANH1 atau VR2+ | +| 34 | IN34 | Pilih CANL1 atau VR2- | +| 35 | Ignition 3 | Output pengapian 3 | +| 36 | Ignition 4 | Output pengapian 4 | +| 37 | Digital 2 | Input hall/digital | +| 38 | IN38 | Pilih Digital 4 atau VR1- | +| 39 | Ground | Ground | +| 40 | Ground | Ground | +| 41 | Analog Volt 8 | Input analog 0-5V | +| 42 | Analog Volt 1 | Input analog 0-5V | +| 43 | Analog Volt 2 | Input analog 0-5V | +| 44 | Analog Volt 3 | Input analog 0-5V | +| 45 | Analog Volt 4 | Input analog 0-5V | +| 46 | Low Side 3 | Output low side 3A | +| 47 | Low Side 2 | Output low side 3A | +| 48 | Low Side 1 | Output low side 3A | + +## Ringkasan Jumlah I/O + +| Kelompok | Jumlah | Keterangan | +|----------|--------|------------| +| Input Hall/Digital | 4 | Digital 1, 2, 3, 4 (3/4 via jumper) | +| Input VR | 2 | VR1 (+/-) dan VR2 (+/-) melalui jalur jumper | +| Input Analog | 12 | Analog Volt + Analog Temp termasuk pin opsi jumper | +| Ignition Output | 6 | Ignition 1-6 (5/6 via jumper) | +| Low Side 3A | 10 | Lowside 1-10 | +| Low Side Low Current | 5 | LC 11-15 | +| High Side 1.3A | 2 | High Side 1 + High Side 2 (via jumper), dapat dipakai untuk 12V switching seperti alternator control | +| ETB Output | 2 set | ETB1 (+/-), ETB2 (+/-) | +| CAN Bus | 2 | CAN1 via pin jumper; CAN2 sesuai konfigurasi board/firmware | + +## Mapping Fungsional Firmware + +Berikut mapping fungsi umum untuk setup firmware. Assignment dapat disesuaikan dengan kebutuhan mesin dan strategi tuning. + +| Fungsi Umum | Jalur Default | +|------------|---------------| +| Ignition 1-6 | Ign 1 sampai Ign 6 | +| Injector 1-10 | Low Side 1 sampai Low Side 10 | +| Main Relay / Fuel Pump / Fan / AC / Tacho | Low Side Low Current 11 sampai 15 | +| MAP / TPS / O2 / PPS / Sensor tekanan | Analog Volt 1 sampai 8 | +| CLT / IAT / Temp tambahan | Analog Temp 1 sampai 4 | +| CKP / CMP Hall | Digital 1 dan Digital 2 | +| CKP / CMP VR | VR1 dan VR2 (melalui konfigurasi jumper) | +| ETB1 | ETB1+ dan ETB1- | +| ETB2 | ETB2+ dan ETB2- | + +## Informasi MCU + +- **MCU**: STM32F427 + +- ETB control lines pada firmware biasanya dipetakan ke pin MCU khusus (DIR/DIS/PWM) sesuai package firmware. +- Gunakan file konfigurasi firmware yang memang ditujukan untuk **Mazduino Core** agar semua pin berfungsi sesuai desain board. +- Firmware untuk board ini hanya untuk **rusEFI based** (baik official maupun custom firmware dengan MCU F4). + +## Panduan Instalasi Singkat + +1. Pastikan semua ground utama (pin 17/18/39/40) terhubung baik. +2. Hubungkan pin 1 ke suplai 12V ECU yang stabil. +3. Konfigurasikan jumper dulu sebelum ECU dipasang ke harness final. +4. Pilih mode trigger Hall atau VR sesuai jenis sensor CKP/CMP. +5. Jika menggunakan 6 ignition, aktifkan opsi ignition pada pin jumper terkait. +6. Jika menggunakan ETB ganda, verifikasi wiring ETB1 dan ETB2 serta kalibrasi TPS/PPS. +7. Lakukan pengecekan output dengan test mode di TunerStudio/rusEFI sebelum start engine. + +## Catatan Penting + +- Output ignition ditujukan untuk **smart coil**. Untuk dumb coil wajib menggunakan driver/IGBT eksternal. +- Jalur output low current dipakai untuk relay atau beban ringan, bukan beban motor langsung. +- **HS1 dan HS2** dapat digunakan sebagai output **12V switching**, misalnya untuk **alternator control**. +- Pastikan setting **Ignition Volt Drive** (12V/5V) sesuai spesifikasi coil sebelum menyalakan sistem. +- Semua perubahan jumper harus dilakukan saat ECU **tanpa daya**. +- Untuk pemanfaatan **CAN2**, ikuti skema hardware dan konfigurasi firmware yang sesuai revisi board. + +## Software Tuning + +- Download TunerStudio: [TunerStudio Downloads][tunerstudio-dl] + +- Referensi firmware rusEFI: [wiki.rusefi.com][rusefi-wiki] + +- Informasi produk: [www.mazduino.com][mazduino-site] + +[tunerstudio-dl]: https://www.tunerstudio.com/index.php/downloads {:target="_blank"} +[rusefi-wiki]: https://wiki.rusefi.com {:target="_blank"} +[mazduino-site]: https://www.mazduino.com {:target="_blank"} + diff --git a/docs/mazduino-lite-v0.1.md b/docs/mazduino-lite-v0.1.md new file mode 100644 index 0000000..12d24fc --- /dev/null +++ b/docs/mazduino-lite-v0.1.md @@ -0,0 +1,189 @@ +# Mazduino LITE v0.1 + +## Pengantar + +Mazduino LITE v0.1 adalah varian pertama dari keluarga ECU Mazduino LITE yang dirancang khusus untuk aplikasi engine 4-silinder dengan 4 channel injector dan 2 channel ignition. Versi ini ideal untuk setup **Coil On Plug** atau aplikasi dengan **IGBT Eksternal**. + +![Mazduino LITE ECU](img/lite/mazduino-lite-with-case.jpeg) + +**Catatan Penting v0.1**: + +- IGBT footprint tidak umum - gunakan IGBT eksternal atau Coil On Plug + +## Fitur Utama + +### Sistem Input +- **Trigger Input**: CKP dan CMP untuk Hall/Optical sensors + +- **VR Support**: Variable Reluctance sensors dengan konditioner module + +- **Analog Inputs**: 6x (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan spare + +- **Digital Inputs**: 5x pullup untuk AC Switch, VSS, Clutch, dan launch control + +- **Sensor Power**: 5V regulated dengan internal fuse protection + +### Sistem Output +- **Injection**: 4x high-current drivers untuk sequential atau batch mode + +- **Ignition**: 2x outputs dengan Smart Coil (5V/12V) support + - **v0.1**: IGBT footprint tidak umum - **gunakan IGBT eksternal atau COP** + +- **Control**: 5x relay outputs untuk fuel pump, fan, AC, main relay, tachometer + +- **Idle Control**: 2x PWM outputs untuk ISC valve + +### Komunikasi +- **USB Type-C**: Modern connector untuk tuning dan programming + +- **CAN Bus**: 4-pin connector dengan power selection (5V/12V) + +- **Serial**: RX/TX pins untuk additional communication + +### Penyimpanan dan Timing +- **SD Card**: Micro SD untuk onboard data logging (max 32GB) + +- **RTC**: Battery-backed real-time clock + +- **Processor**: ARM Cortex-M4 STM32F4 series + +## Sistem Konektor + +### Konektor Utama 33-Pin + +![Connector Layout](img/lite/mazduino-lite-connector-layout.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment v0.1 + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Idle 1 | Output kontrol idle 1 | +| 2 | Idle 2 | Output kontrol idle 2 | +| 3 | CKP/Digital1 | Crankshaft position | +| 4 | VR1- | VR sensor negatif | +| 5 | Ignition 1 | Channel pengapian 1 | +| 6 | Main Relay | Kontrol relay utama | +| 7 | **Ignition 2** | **Channel pengapian 2** | +| 8 | Tacho/RPM | Output tachometer | +| 9 | **Ground Coil** | **Ground untuk coil** | +| 10 | +5V | Output referensi 5V | +| 11 | +12V | Catu daya utama | +| 12 | Injector 3 | Channel injektor 3 | +| 13 | Injector 4 | Channel injektor 4 | +| 14 | CMP/Digital2 | Camshaft position | +| 15 | VR2- | VR sensor negatif 2 | +| 16 | VR2+ | VR sensor positif 2 | +| 17 | AC Relay | Kontrol relay AC | +| 18 | Fuel Pump Relay | Kontrol pompa bahan bakar | +| 19 | Fan Relay | Kontrol relay kipas | +| 20 | IAT | Intake air temperature | +| 21 | TPS | Throttle position sensor | +| 22 | Ground ECU | Ground ECU | +| 23 | Injector 2 | Channel injektor 2 | +| 24 | Injector 1 | Channel injektor 1 | +| 25 | Ground Sensor | Ground sensor | +| 26 | Ground Sensor | Ground sensor | +| 27 | VR1+ | VR sensor positif 1 | +| 28 | MAP | Manifold absolute pressure | +| 29 | Clutch/Digital3 | Input posisi kopling | +| 30 | CLT | Coolant temperature | +| 31 | AC Switch Input | Input switch AC (Aktif Ground) | +| 32 | VSS/Digital4 | Vehicle speed sensor | +| 33 | O2 Sensor | Sensor oksigen | + +**Penting**: Pin 7 dan 9 pada v0.1 adalah **Ignition 2** dan **Ground Coil** + +### CAN Bus Konektor (4-Pin) + +| Pin | Fungsi | +|-----|----------| +| 1 | Power (12V/5V selectable) | +| 2 | CAN Low | +| 3 | CAN High | +| 4 | Ground | + +## Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware: + +| Fungsi | Pin MCU | +|----------|---------| +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA3 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Analog Spare Input 1 | PB1 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PC6 | +| CMP | PE11 | +| VR1 | PD3 | +| VR2 | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +## Konfigurasi Hardware + +### Pengaturan Jumper Kritis + +**PENTING**: Konfigurasi jumper harus benar sebelum power-up! + +#### Top Side Board +- **Coil Voltage**: 12V/5V selection (default berdasarkan coil type) + +- **CAN Terminator**: Enable/disable resistor terminator + +- **VR Conditioner**: 8-pin connector untuk VR module + +#### Bottom Side Board +- **Tacho Signal**: 5V/12V output selection (default 12V) + +- **IGN1/IGN2 Mode**: Smart Coil selection (JP3/JP4) + - **v0.1**: **Hanya gunakan Smart Coil** - IGBT footprint tidak umum + +- **VR1/Hall, VR2/Hall**: Input type selection + +- **Digital Pullup**: Enable internal pullup resistors + +- **CAN Power**: 12V/5V pada CAN connector + +### Peringatan Keselamatan + +**PERINGATAN**: + +- **Jangan hubungkan sinyal 12V langsung ke ECU input** +- **Verifikasi coil voltage jumper sebelum koneksi** +- **Gunakan sensor ground terpisah dari power ground** +- **Check all jumper settings sebelum first power-up** +--- \ No newline at end of file diff --git a/docs/mazduino-lite-v0.2.md b/docs/mazduino-lite-v0.2.md new file mode 100644 index 0000000..91f028e --- /dev/null +++ b/docs/mazduino-lite-v0.2.md @@ -0,0 +1,269 @@ +# Mazduino LITE v0.2 + +## Pengantar + +Mazduino LITE v0.2 adalah versi yang diperbaiki dan direkomendasikan dari keluarga ECU Mazduino LITE. Versi ini dirancang untuk aplikasi engine 4-silinder dengan 4 channel injector dan 2 channel ignition, dengan perbaikan signifikan pada IGBT footprint dan penambahan sensor barometer internal. + +![Mazduino LITE ECU](img/lite/mazduino-lite-with-case.jpeg) + +**Keunggulan v0.2**: + +- IGBT footprint D2Pak to 263 (umum & mudah ditemukan) +- Sensor barometer internal (optional) +- Jalur PCB yang diperbaiki + +## Fitur Utama + +### Sistem Input +- **Trigger Input**: CKP dan CMP untuk Hall/Optical sensors + +- **VR Support**: Variable Reluctance sensors dengan konditioner module + +- **Analog Inputs**: 6x (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan spare + +- **Digital Inputs**: 5x pullup untuk AC Switch, VSS, Clutch, dan launch control + +- **Sensor Power**: 5V regulated dengan internal fuse protection + +- **Barometer Internal**: **Tersedia pada v0.2 (optional, tidak terpasang default kecuali diminta)** + +### Sistem Output +- **Injection**: 4x high-current drivers untuk sequential atau batch mode + +- **Ignition**: 2x outputs dengan Smart Coil (5V/12V) dan IGBT support + - **v0.2**: IGBT footprint **D2Pak to 263** yang umum dan mudah ditemukan + +- **Control**: 5x relay outputs untuk fuel pump, fan, AC, main relay, tachometer + +- **Idle Control**: 2x PWM outputs untuk ISC valve + +### Komunikasi +- **USB Type-C**: Modern connector untuk tuning dan programming + +- **CAN Bus**: 4-pin connector dengan power selection (5V/12V) + +- **Serial**: RX/TX pins untuk additional communication + +### Penyimpanan dan Timing +- **SD Card**: Micro SD untuk onboard data logging (max 32GB) + +- **RTC**: Battery-backed real-time clock + +- **Processor**: ARM Cortex-M4 STM32F4 series + +## Sistem Konektor + +### Konektor Utama 33-Pin + +![Connector Layout](img/lite/mazduino-lite-connector-layout.jpeg) + +#### Layout Konektor +``` +11 10 9 8 7 6 5 4 3 2 1 +22 21 20 19 18 17 16 15 14 13 12 +33 32 31 30 29 28 27 26 25 24 23 +``` + +#### Pin Assignment v0.2 + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | Idle 1 | Output kontrol idle 1 | +| 2 | Idle 2 | Output kontrol idle 2 | +| 3 | CKP/Digital1 | Crankshaft position | +| 4 | VR1- | VR sensor negatif | +| 5 | Ignition 1 | Channel pengapian 1 | +| 6 | Main Relay | Kontrol relay utama | +| 7 | **Ground Coil** | **Ground untuk coil** | +| 8 | Tacho/RPM | Output tachometer | +| 9 | **Ignition 2** | **Channel pengapian 2** | +| 10 | +5V | Output referensi 5V | +| 11 | +12V | Catu daya utama | +| 12 | Injector 3 | Channel injektor 3 | +| 13 | Injector 4 | Channel injektor 4 | +| 14 | CMP/Digital2 | Camshaft position | +| 15 | VR2- | VR sensor negatif 2 | +| 16 | VR2+ | VR sensor positif 2 | +| 17 | AC Relay | Kontrol relay AC | +| 18 | Fuel Pump Relay | Kontrol pompa bahan bakar | +| 19 | Fan Relay | Kontrol relay kipas | +| 20 | IAT | Intake air temperature | +| 21 | TPS | Throttle position sensor | +| 22 | Ground ECU | Ground ECU | +| 23 | Injector 2 | Channel injektor 2 | +| 24 | Injector 1 | Channel injektor 1 | +| 25 | Ground Sensor | Ground sensor | +| 26 | Ground Sensor | Ground sensor | +| 27 | VR1+ | VR sensor positif 1 | +| 28 | MAP | Manifold absolute pressure | +| 29 | Clutch/Digital3 | Input posisi kopling | +| 30 | CLT | Coolant temperature | +| 31 | AC Switch Input | Input switch AC (Aktif Ground) | +| 32 | VSS/Digital4 | Vehicle speed sensor | +| 33 | O2 Sensor | Sensor oksigen | + +**Perbedaan Penting v0.2**: Pin 7 dan 9 **ditukar** - Pin 7 adalah **Ground Coil**, Pin 9 adalah **Ignition 2** + +### CAN Bus Konektor (4-Pin) + +| Pin | Fungsi | +|-----|----------| +| 1 | Power (12V/5V selectable) | +| 2 | CAN Low | +| 3 | CAN High | +| 4 | Ground | + +## Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware: + +| Fungsi | Pin MCU | +|----------|---------| +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA3 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Analog Spare Input 1 | PB1 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PC6 | +| CMP | PE11 | +| VR1 | PD3 | +| VR2 | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| **BARO SCL** | **PB10** | +| **BARO SDA** | **PB11** | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +**Tambahan v0.2**: Pin mapping untuk **Barometric Pressure Sensor** + +- **BARO SCL**: PB10 (shared dengan TXD3) + +- **BARO SDA**: PB11 (shared dengan RXD3) + +## Konfigurasi Hardware + +### Pengaturan Jumper Kritis + +**PENTING**: Konfigurasi jumper harus benar sebelum power-up! + +#### Top Side Board +- **Coil Voltage**: 12V/5V selection (default berdasarkan coil type) + +- **CAN Terminator**: Enable/disable resistor terminator + +- **VR Conditioner**: 8-pin connector untuk VR module + +#### Bottom Side Board +- **Tacho Signal**: 5V/12V output selection (default 12V) + +- **IGN1/IGN2 Mode**: Smart Coil/IGBT selection (JP3/JP4) + - **v0.2**: IGBT internal dengan footprint **D2Pak to 263** (umum & mudah ditemukan) + +- **VR1/Hall, VR2/Hall**: Input type selection + +- **Digital Pullup**: Enable internal pullup resistors + +- **CAN Power**: 12V/5V pada CAN connector + +### Perbaikan pada v0.2 + +**Perbaikan Utama:** + +- **Jalur PCB**: Perbaikan routing dan koreksi jalur untuk kemudahan jumper + +- **IGBT Compatibility**: Footprint yang lebih umum dan mudah ditemukan + +- **Barometer Support**: Mounting untuk sensor barometer internal (optional) + +- **Pin Assignment**: Optimasi pin assignment untuk konektor 33-pin + +### Sensor Barometer Internal (Optional) + +**Fitur Baru v0.2**: Sensor barometer internal tersedia sebagai opsi + +**Spesifikasi:** + +- **Sensor Type**: Barometric Pressure Sensor + +- **Interface**: I2C + +- **Pin MCU**: BARO SCL (PB10), BARO SDA (PB11) + +- **Ketersediaan**: Optional - tidak terpasang default, dapat diminta saat pembelian + +- **Fungsi**: Koreksi altitude dan referensi tekanan atmosfer + +**Cara Pemesanan:** +Hubungi tim Mazduino dan sebutkan kebutuhan "barometer internal" saat pembelian LITE v0.2 + +### Rekomendasi Penggunaan v0.2 + +**Ideal untuk:** + +- **Semua aplikasi** engine management +- Setup dengan **IGBT Internal** +- Aplikasi yang memerlukan **barometer internal** +- **Pengguna baru** dan instalasi yang mudah +- Project dengan komponen yang mudah ditemukan + +**Keunggulan:** + +- IGBT footprint umum (D2Pak to 263) +- Jalur PCB yang diperbaiki +- Optional barometer internal +- Reliability yang lebih baik + +### Peringatan Keselamatan + +**PERINGATAN**: + +- **Jangan hubungkan sinyal 12V langsung ke ECU input** +- **Verifikasi coil voltage jumper sebelum koneksi** +- **Gunakan sensor ground terpisah dari power ground** +- **Check all jumper settings sebelum first power-up** + +**CATATAN PINOUT v0.2**: + +- **Pin 7**: Ground Coil (berbeda dengan v0.1) + +- **Pin 9**: Ignition 2 (berbeda dengan v0.1) + +- **Periksa kembali koneksi saat upgrade dari v0.1** + +## Perbandingan dengan v0.1 + +| Aspek | v0.1 | v0.2 | +|-------|------|------| +| **IGBT Footprint** | Tidak umum (issue) | D2Pak to 263 (umum) | +| **Pin 7** | Ignition 2 | Ground Coil | +| **Pin 9** | Ground Coil | Ignition 2 | +| **Barometer Internal** | Tidak tersedia | Optional | +| **Jalur PCB** | Standard | Diperbaiki | +| **Rekomendasi** | COP/IGBT Eksternal | Semua aplikasi | + +--- \ No newline at end of file diff --git a/docs/mazduino-mini-6ch-v1.0-v1.2.md b/docs/mazduino-mini-6ch-v1.0-v1.2.md new file mode 100644 index 0000000..f5fe3d2 --- /dev/null +++ b/docs/mazduino-mini-6ch-v1.0-v1.2.md @@ -0,0 +1,247 @@ +# Mazduino Mini 6CH (v1.0 - v1.2) + +## Gambaran Umum + +Mazduino Mini 6CH v1.0-v1.2 adalah Engine Control Unit 6-channel yang kompak dirancang untuk digunakan dengan firmware rusEFI dan Speeduino. Dibangun di sekitar prosesor STM32F407VGT6 ARM 32-bit yang powerful, memberikan manajemen mesin komprehensif dalam faktor bentuk kompak yang cocok untuk mesin 6-silinder atau mesin 4-silinder dengan output arus tinggi tambahan. + +![Mazduino Mini 6ch](img/mazduino-mini-6ch.jpg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP VR, hall atau optical +- Input trigger kedua untuk sensor CMP VR, hall atau optical +- 7 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 2 cadangan yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 4 input digital pullup untuk AC Switch, VSS, Clutch, Launch Control +- 8x driver low-side arus tinggi 3A untuk injektor high-impedance, idle PWM (ISC), Boost, VVT dan lainnya +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 6x output 12V atau 5V untuk sinyal koil pengapian +- Dukungan untuk Modul VR Conditioner tambahan +- Dukungan untuk Modul Stepper Idle tambahan +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor otomotif 48-pin +- Kartu SD untuk data logging + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +Mazduino Mini 6CH menggunakan konektor ECU Yamaha 48-pin dengan pin assignment sebagai berikut: + +![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) + +#### Layout Konektor +``` + 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 | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | 12V ECU | Catu daya utama ECU | +| 2 | IDLE1 | Output kontrol idle 1 | +| 3 | IDLE2 | Output kontrol idle 2 | +| 4 | CANH | CAN bus high | +| 5 | 5V | Output referensi 5V | +| 6 | AC Compressor | Kontrol kompresor AC | +| 7 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 8 | PC13 | Akses pin MCU langsung | +| 9 | VR-1 | Input VR conditioner 1 | +| 10 | VR-2 | Input VR conditioner 2 | +| 11 | Stepper B2 | Motor stepper fase B2 | +| 12 | Stepper B1 | Motor stepper fase B1 | +| 13 | Stepper A1 | Motor stepper fase A1 | +| 14 | Stepper A2 | Motor stepper fase A2 | +| 15 | Injector 5 | Injektor 5 atau output arus tinggi cadangan | +| 16 | Injector 6 | Injektor 6 atau output arus tinggi cadangan | +| 17 | GND ECU | Ground ECU | +| 18 | Spare Analog 1 | Input analog cadangan 1 | +| 19 | VSS | Sensor kecepatan kendaraan | +| 20 | AC Switch | Input switch AC | +| 21 | CANL | CAN bus low | +| 22 | GND Sensor | Ground sensor | +| 23 | Fan | Kontrol relay kipas | +| 24 | Ignition 6 | Channel pengapian 6 | +| 25 | Ignition 5 | Channel pengapian 5 | +| 26 | Ignition 1 | Channel pengapian 1 | +| 27 | Ignition 2 | Channel pengapian 2 | +| 28 | Ignition 3 | Channel pengapian 3 | +| 29 | Ignition 4 | Channel pengapian 4 | +| 30 | TPS | Sensor posisi throttle | +| 31 | MAP | Tekanan absolut manifold | +| 32 | Injector 4 | Channel injektor 4 | +| 33 | Main Relay | Kontrol relay utama | +| 34 | GND Sensor | Ground sensor | +| 35 | Spare Analog 2 | Input analog cadangan 2 | +| 36 | Clutch | Input posisi kopling | +| 37 | GND Sensor | Ground sensor | +| 38 | GND Sensor | Ground sensor | +| 39 | Tacho | Output tachometer | +| 40 | Launch Control | Input launch control | +| 41 | VR1+ | Sensor VR 1 positif | +| 42 | VR2+ | Sensor VR 2 positif | +| 43 | O2 | Sensor oksigen (1-5V dari kontroler wideband) | +| 44 | IAT | Suhu udara masuk | +| 45 | CLT | Suhu coolant | +| 46 | Injector 2 | Channel injektor 2 | +| 47 | Injector 1 | Channel injektor 1 | +| 48 | Injector 3 | Channel injektor 3 | + +### Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6: + +| 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 | PB10 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuel Pump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compressor Relay | PC7 | +| Main Relay | PC6 | +| 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 | + +### Fitur Khusus + +#### Dukungan VR Conditioner +- **VR-1 & VR-2**: Pin input untuk modul VR conditioner (DIP 8) + +- **VR1+ & VR2+**: Input sensor VR positif + +#### Kontrol Stepper Motor +- **Stepper A1/A2**: Output fase A untuk stepper motor (DRV8825) + +- **Stepper B1/B2**: Output fase B untuk stepper motor + +- **Direction/Enable/Step**: Sinyal kontrol untuk driver stepper + +#### Konfigurasi Injector Fleksibel +Untuk mesin 4-silinder: + +- **Injector 5 & 6**: Dapat digunakan sebagai output arus tinggi cadangan + +- **Aplikasi**: Kontrol boost, kontrol VVT, injeksi air/methanol, dll. + +### Panduan Instalasi +1. **Pemasangan**: Pasang ECU di lokasi yang tepat dengan pendinginan yang memadai +2. **Koneksi Daya**: Hubungkan daya 12V (pin 1) dan ground (pin 17) +3. **Ground Sensor**: Gunakan beberapa pin ground sensor (22, 34, 37, 38) untuk sinyal yang bersih +4. **Sensor Posisi Mesin**: Hubungkan sensor CKP/CMP atau gunakan input VR sesuai kebutuhan +5. **Instalasi Modul**: Pasang modul VR-Conditioner dan/atau Stepper jika diperlukan +6. **Verifikasi**: Test semua koneksi sebelum startup awal + +### Catatan Wiring +- **Multiple Ground**: Gunakan semua pin ground yang tersedia untuk integritas sinyal optimal + +- **Referensi 5V**: Pin 5 menyediakan referensi 5V untuk sensor yang memerlukannya + +- **Sensor O2**: Pin 43 menerima sinyal 1-5V dari output analog kontroler wideband + +- **Sensor VR**: Dapat menggunakan input digital atau input modul VR conditioner + +- **Konektor Yamaha**: Konektor 48-pin grade otomotif profesional + +- **Kompatibilitas Wiring**: Kompatibel dengan standar wiring Speeduino + +- **Referensi**: Informasi wiring sensor tambahan di [Speeduino Wiki][speeduino-wiring] + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} + +## Dukungan dan Sumber Daya + +### Dokumentasi +- **Datasheet STM32F407VGT6**: Informasi lengkap tentang MCU + +- **Manual Referensi**: Dokumentasi pin mapping dan konfigurasi khusus + +- **Wiring Diagram**: Diagram lengkap untuk instalasi + +- **TunerStudio Configuration**: File konfigurasi siap pakai untuk Speeduino + +### File Firmware & Konfigurasi +- **[Halaman Download](downloads.md)** - Dapatkan firmware rusEFI terbaru dan file konfigurasi TunerStudio +- Dukungan penuh 6-channel dengan fitur-fitur canggih +- Konfigurasi pin mapping khusus sudah disertakan +- Kompatibel dengan firmware rusEFI dan Speeduino + +## Dukungan Modul + +### Modul VR-Conditioner +- **Package DIP 8**: Instalasi dan penggantian yang mudah + +- **Dukungan Sensor VR**: Mengkonversi sinyal VR ke digital (pin 9, 10) + +- **Signal Conditioning**: Sinyal trigger yang bersih dan andal + +- **Kompatibilitas**: Bekerja dengan berbagai jenis sensor VR + +### Modul Stepper Motor +- **Driver DRV8825**: Kontrol stepper berperforma tinggi + +- **Idle Air Control**: Manajemen kecepatan idle yang presisi (pin 11-14) + +- **Integrasi Mudah**: Desain modul plug-and-play + +- **Operasi Andal**: Komponen grade otomotif + +## Catatan Penting + +### Persyaratan Sistem Pengapian +- **Smart Coils**: Koneksi langsung didukung + +- **Dump Coils**: IGBT eksternal diperlukan untuk operasi yang tepat + +- **Pemilihan Coil**: Pilih jenis coil yang sesuai untuk aplikasi Anda + +- **Keamanan**: Driver eksternal yang tepat penting untuk sistem dump coil + +### File Firmware & Konfigurasi +- **[Halaman Download](downloads.md)** - Dapatkan firmware rusEFI terbaru dan file konfigurasi TunerStudio +- Dukungan penuh 6-channel dengan fitur-fitur canggih +- Konfigurasi pin mapping khusus sudah disertakan +- Kompatibel dengan firmware rusEFI + diff --git a/docs/mazduino-mini-6ch-v1.3.md b/docs/mazduino-mini-6ch-v1.3.md new file mode 100644 index 0000000..2f576ee --- /dev/null +++ b/docs/mazduino-mini-6ch-v1.3.md @@ -0,0 +1,349 @@ +# Mazduino Mini 6CH (v1.3) + +## Gambaran Umum + +Mazduino Mini 6CH v1.3 adalah Engine Control Unit 6-channel yang kompak dirancang untuk digunakan dengan firmware rusEFI dan Speeduino. Dibangun di sekitar prosesor STM32F407VGT6 ARM 32-bit yang powerful, memberikan manajemen mesin komprehensif dalam faktor bentuk kompak yang cocok untuk mesin 6-silinder atau mesin 4-silinder dengan output arus tinggi tambahan. + +**Fitur Baru v1.3:** + +- **Knock Input**: Dukungan sensor knock untuk deteksi ketukan mesin + +- **ETB (Electronic Throttle Body)**: Kontrol throttle elektronik terintegrasi + +![Mazduino Mini 6ch](img/mazduino-mini-6ch-v1.3.jpeg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP VR, hall atau optical +- Input trigger kedua untuk sensor CMP VR, hall atau optical +- 7 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 2 cadangan yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 4 input digital pullup untuk AC Switch, VSS, Clutch, Launch Control +- 8x driver low-side arus tinggi 3A untuk injektor high-impedance, idle PWM (ISC), Boost, VVT dan lainnya +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 6x output 12V atau 5V untuk sinyal koil pengapian +- **Knock Input (v1.3)**: Input sensor knock untuk deteksi ketukan mesin + +- **ETB Support (v1.3)**: Kontrol Electronic Throttle Body dengan TPS1 dan TPS2 + +- Dukungan untuk Modul VR Conditioner tambahan +- Dukungan untuk Modul Stepper Idle tambahan +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor otomotif 48-pin +- Kartu SD untuk data logging + +## Konfigurasi Jumper + +Mazduino Mini 6CH v1.3 dilengkapi dengan sistem jumper solder yang memungkinkan kustomisasi fungsi sesuai kebutuhan aplikasi Anda. Jumper ini memberikan fleksibilitas konfigurasi tanpa perlu mengubah firmware, memastikan kompatibilitas optimal dengan berbagai setup mesin. + +![Mazduino Mini 6ch](img/mini6ch/IMG_6232.jpeg) + +### Zona Konfigurasi Atas (Kanan) + +#### JP11 - Tachometer Pullup +- **Fungsi**: Menentukan tegangan sinyal output tachometer + +- **Pilihan**: 12V atau 5V + +- **Aplikasi**: Sesuaikan dengan kompatibilitas dashboard kendaraan Anda + +#### Ignition VDrive Jumper +- **Fungsi**: Mengatur tegangan sinyal pengapian untuk **Smart Coil Only** + +- **Pilihan**: Sinyal 12V atau 5V + +- **Khusus Smart Coil**: Jumper ini hanya untuk smart coil dengan driver internal + +- **PENTING**: Dump coil memerlukan IGBT eksternal + +#### Knock/PC13 Input Selection +- **Mode Knock**: Input sensor knock untuk deteksi ketukan mesin (default) + +- **Mode PC13**: Akses langsung ke pin MCU untuk fungsi custom + +- **Fitur Baru v1.3**: Dukungan deteksi knock terintegrasi + +![Mazduino Mini 6ch](img/mini6ch/IMG_6229.jpeg) + +### Zona Konfigurasi Tengah + +#### JP5 & JP4 - Sensor Pullup Configuration +- **JP5**: Pullup 5V untuk sinyal CKP (Crankshaft Position) + +- **JP4**: Pullup 5V untuk sinyal CMP (Camshaft Position) + +- **Manfaat**: Sinyal trigger yang bersih dan stabil + +#### JP3 & JP2 - Sensor Type Selection +- **JP3**: Mode sinyal CKP (VR atau Hall sensor) + +- **JP2**: Mode sinyal CMP (VR atau Hall sensor) + +- **Fleksibilitas**: Kompatibel dengan berbagai jenis sensor posisi + +![Mazduino Mini 6ch](img/mini6ch/IMG_6230.jpeg) + +### Zona Konfigurasi Kiri + +#### JP10 - CAN Bus Controller +- **Fungsi**: Mengaktifkan IC CAN bus TJA1051T/3 + +- **Aplikasi**: Komunikasi data high-speed dengan perangkat lain + +- **Protocol**: Mendukung standar automotive CAN 2.0 + +#### JP6 - Stepper Motor Enable +- **Fungsi**: Kontrol aktivasi driver stepper motor + +- **Note**: Konsultasi skematik untuk konfigurasi optimal + +- **Aplikasi**: Idle Air Control (IAC) dengan presisi tinggi + +#### JP7 & JP8 - Knock Sensor Filter Bypass +- **Fungsi**: Bypass filter untuk sensor knock + +- **JP7**: Bypass filter knock channel 1 + +- **JP8**: Bypass filter knock channel 2 + +- **Advanced Feature**: Fine-tuning sensitivitas deteksi knock + +![Mazduino Mini 6ch](img/mini6ch/IMG_6231.jpeg) + +### Tips Konfigurasi Jumper + +#### Pengaturan Optimal: + +- **Smart Coils**: Gunakan VDrive 5V untuk Coil dengan sinyal 5V dan 12V untuk coil dengan sinyal 12V + +- **Dump/Conventional Coils**: Memerlukan IGBT eksternal + +- **VR Sensors**: Aktifkan pullup dan pilih mode VR untuk sinyal bersih + +- **Hall Sensors**: Nonaktifkan pullup dan pilih mode Hall + +#### Best Practices: + +1. **Pre-Installation**: Konfigurasi jumper sebelum instalasi final +2. **Documentation**: Catat konfigurasi jumper untuk referensi masa depan +3. **Testing**: Verifikasi sinyal setelah perubahan konfigurasi jumper +4. **Compatibility**: Pastikan jumper sesuai dengan hardware yang digunakan + +#### Perhatian Khusus: + +- **Jenis Coil Kritis**: VDrive hanya untuk smart coil - dump coil butuh IGBT eksternal + +- **Solder dengan Hati-hati**: Gunakan suhu solder yang tepat + +- **Verifikasi Koneksi**: Pastikan sambungan solder yang solid + +- **Konsultasi Skematik**: Rujuk diagram untuk konfigurasi lanjutan + +- **Power Off**: Selalu matikan power saat mengubah jumper + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +Mazduino Mini 6CH v1.3 menggunakan konektor ECU Yamaha 48-pin dengan pin assignment sebagai berikut: + +![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) + +#### Layout Konektor +``` + 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 | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | 12V ECU | Catu daya utama ECU | +| 2 | IDLE1 | Output kontrol idle 1 | +| 3 | IDLE2 | Output kontrol idle 2 | +| 4 | CANH | CAN bus high | +| 5 | 5V | Output referensi 5V | +| 6 | AC Compressor | Kontrol kompresor AC | +| 7 | Fuel Pump | Kontrol relay pompa bahan bakar | +| 8 | **Knock/PC13** | Input sensor knock (default) atau akses pin MCU langsung | +| 9 | VR-1 | Input VR conditioner 1 | +| 10 | VR-2 | Input VR conditioner 2 | +| 11 | Stepper B2 | Motor stepper fase B2 | +| 12 | Stepper B1 | Motor stepper fase B1 | +| 13 | Stepper A1 | Motor stepper fase A1 | +| 14 | Stepper A2 | Motor stepper fase A2 | +| 15 | Injector 5 | Injektor 5 atau output arus tinggi cadangan | +| 16 | Injector 6 | Injektor 6 atau output arus tinggi cadangan | +| 17 | Main Relay | Kontrol relay utama (low current low side) | +| 18 | **Spare Analog 1/PPS1** | Input analog cadangan 1 atau Pedal Position Sensor 1 | +| 19 | VSS | Sensor kecepatan kendaraan | +| 20 | AC Switch | Input switch AC | +| 21 | CANL | CAN bus low | +| 22 | GND | Ground ECU | +| 23 | Fan | Kontrol relay kipas | +| 24 | Ignition 6 | Channel pengapian 6 | +| 25 | Ignition 5 | Channel pengapian 5 | +| 26 | Ignition 1 | Channel pengapian 1 | +| 27 | Ignition 2 | Channel pengapian 2 | +| 28 | Ignition 3 | Channel pengapian 3 | +| 29 | Ignition 4 | Channel pengapian 4 | +| 30 | TPS | Sensor posisi throttle | +| 31 | MAP | Tekanan absolut manifold | +| 32 | Injector 4 | Channel injektor 4 | +| 33 | **ETB-** | Electronic Throttle Body negatif | +| 34 | **ETB+** | Electronic Throttle Body positif | +| 35 | **Spare Analog 2/PPS2** | Input analog cadangan 2 atau Pedal Position Sensor 2 | +| 36 | Clutch | Input posisi kopling | +| 37 | GND Sensor | Ground sensor | +| 38 | GND Sensor | Ground sensor | +| 39 | Tacho | Output tachometer | +| 40 | Launch Control | Input launch control | +| 41 | VR1+ | Sensor VR 1 positif | +| 42 | VR2+ | Sensor VR 2 positif | +| 43 | **O2/TPS2** | Sensor oksigen (1-5V dari kontroler wideband) atau TPS2 untuk ETB | +| 44 | IAT | Suhu udara masuk | +| 45 | CLT | Suhu coolant | +| 46 | Injector 2 | Channel injektor 2 | +| 47 | Injector 1 | Channel injektor 1 | +| 48 | Injector 3 | Channel injektor 3 | + +### Pin Mapping MCU + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6 untuk 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 | +| **Knock1** | **PC0** | +| **Knock2** | **PC1** | +| **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 | + +### Fitur Khusus v1.3 + +#### Knock Input (Baru di v1.3) +- **Pin 8 (Knock/PC13)**: Input sensor knock dengan solder jumper default untuk deteksi ketukan + +- **Dual Knock Support**: Knock1 (PC0) dan Knock2 (PC1) untuk monitoring multi-silinder + +- **Aplikasi**: Deteksi ketukan mesin untuk perlindungan dan optimasi timing pengapian + +#### Electronic Throttle Body (Baru di v1.3) +- **Pin 33 (ETB-)**: Output negatif untuk kontrol ETB + +- **Pin 34 (ETB+)**: Output positif untuk kontrol ETB + +- **Pin 43 (TPS2)**: Sensor posisi throttle kedua untuk ETB (dual TPS) + +- **Pin 18/35 (PPS1/PPS2)**: Dual Pedal Position Sensor untuk kontrol ETB + +- **ETB Control**: PWM (PA8), Direction (PB8), Disable (PB9) + +#### Dukungan VR Conditioner +- **VR-1 & VR-2**: Pin input untuk modul VR conditioner (DIP 8) + +- **VR1+ & VR2+**: Input sensor VR positif + +#### Kontrol Stepper Motor +- **Stepper A1/A2**: Output fase A untuk stepper motor (DRV8825) + +- **Stepper B1/B2**: Output fase B untuk stepper motor + +- **Direction/Enable/Step**: Sinyal kontrol untuk driver stepper + +#### Konfigurasi Injector Fleksibel +Untuk mesin 4-silinder: + +- **Injector 5 & 6**: Dapat digunakan sebagai output arus tinggi cadangan + +- **Aplikasi**: Kontrol boost, kontrol VVT, injeksi air/methanol, dll. + +### Panduan Instalasi +1. **Pemasangan**: Pasang ECU di lokasi yang tepat dengan pendinginan yang memadai +2. **Koneksi Daya**: Hubungkan daya 12V (pin 1) dan ground (pin 22) +3. **Ground Sensor**: Gunakan beberapa pin ground sensor (37, 38) untuk sinyal yang bersih +4. **Sensor Posisi Mesin**: Hubungkan sensor CKP/CMP atau gunakan input VR sesuai kebutuhan +5. **Knock Sensor**: Hubungkan sensor knock ke pin 8 (default konfigurasi) +6. **ETB Setup**: Hubungkan ETB ke pin 33/34 dan TPS2 ke pin 43 jika menggunakan throttle elektronik +7. **Instalasi Modul**: Pasang modul VR-Conditioner dan/atau Stepper jika diperlukan +8. **Verifikasi**: Test semua koneksi sebelum startup awal + +### Catatan Wiring +- **Multiple Ground**: Gunakan semua pin ground yang tersedia untuk integritas sinyal optimal + +- **Referensi 5V**: Pin 5 menyediakan referensi 5V untuk sensor yang memerlukannya + +- **Sensor O2/TPS2**: Pin 43 dapat digunakan untuk O2 sensor atau TPS2 untuk ETB + +- **Sensor VR**: Dapat menggunakan input digital atau input modul VR conditioner + +- **Knock Sensor**: Pin 8 dikonfigurasi default untuk knock input via solder jumper + +- **ETB Wiring**: ETB memerlukan koneksi dual (pin 33/34) dan dual TPS (pin 30/43) + +- **Konektor Yamaha**: Konektor 48-pin grade otomotif profesional + +- **Kompatibilitas Wiring**: Kompatibel dengan standar wiring Speeduino + +- **Referensi**: Informasi wiring sensor tambahan di [Speeduino Wiki][speeduino-wiring] + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} + +## Catatan Penting + +### Persyaratan Sistem Pengapian +- **Smart Coils**: Koneksi langsung didukung — pilih VDrive 5V atau 12V sesuai spesifikasi coil + +- **Dump Coils**: IGBT eksternal diperlukan; VDrive jumper **tidak** digunakan untuk dump coil + +**[Download firmware dan file konfigurasi](downloads.md)** diff --git a/docs/mazduino-mini-6ch-v1.3b.md b/docs/mazduino-mini-6ch-v1.3b.md new file mode 100644 index 0000000..0d2db1a --- /dev/null +++ b/docs/mazduino-mini-6ch-v1.3b.md @@ -0,0 +1,440 @@ +# Mazduino Mini 6CH (v1.3B) + +## Gambaran Umum + +Mazduino Mini 6CH v1.3B adalah perbaikan dan peningkatan dari versi v1.3, dirancang sebagai Engine Control Unit 6-channel yang lebih optimal. Dibangun di sekitar prosesor **STM32F427VGT6** ARM 32-bit yang lebih powerful, memberikan manajemen mesin komprehensif dalam faktor bentuk kompak yang cocok untuk mesin 6-silinder atau mesin 4-silinder dengan output arus tinggi tambahan. + +**Perbaikan v1.3B dari v1.3:** + +- **Upgrade MCU**: Menggunakan STM32F427VGT6 (180MHz) yang lebih powerful menggantikan STM32F407VGT6 (168MHz) + +- **Penambahan Input Analog**: Menambahkan 1 spare input analog khusus untuk sensor TPS2 yang dibutuhkan untuk ETB + +- **Optimisasi Hardware**: Menghapus dan mengoptimalkan komponen yang tidak digunakan untuk efisiensi yang lebih baik + +- **Layout Komponen**: Menata ulang layout komponen untuk kinerja dan manufaktur yang lebih optimal + +- **Dukungan ETB yang Diperbaiki**: Electronic Throttle Body support dengan input analog TPS2 yang dedicated + +- **Efisiensi Desain**: Desain yang lebih streamlined dengan fokus pada fungsionalitas yang diperlukan + +![Mazduino Mini 6ch](img/mazduino-mini-6ch-v1.3B.jpeg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP VR, hall atau optical +- Input trigger kedua untuk sensor CMP VR, hall atau optical +- 8 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 3 cadangan termasuk input analog khusus untuk TPS2/ETB yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 4 input digital pullup untuk AC Switch, VSS, Clutch, Launch Control +- 8x driver low-side arus tinggi 3A untuk injektor high-impedance, idle PWM (ISC), Boost, VVT dan lainnya +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 6x output 12V atau 5V untuk sinyal koil pengapian +- **Knock Input (v1.3B)**: Input sensor knock yang diperbaiki untuk deteksi ketukan mesin + +- **ETB Support (v1.3B)**: Kontrol Electronic Throttle Body yang dioptimalkan dengan TPS1 dan TPS2 + +- Dukungan untuk Modul VR Conditioner tambahan +- Dukungan untuk Modul Stepper Idle tambahan +- **Prosesor 180 MHz ARM Cortex-M4 (STM32F427VGT6)** - **Upgrade dari v1.3** + +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor otomotif 48-pin +- Kartu SD untuk data logging + +![Mazduino Mini 6ch](img/mazduino-mini6ch-new-case.jpeg) + +## Konfigurasi Jumper + +Mazduino Mini 6CH v1.3B dilengkapi dengan sistem jumper solder yang memungkinkan kustomisasi fungsi sesuai kebutuhan aplikasi Anda. Jumper ini memberikan fleksibilitas konfigurasi tanpa perlu mengubah firmware, memastikan kompatibilitas optimal dengan berbagai setup mesin. + +![Mazduino Mini 6ch](img/mini6ch/IMG_6232.jpeg) + +### Zona Konfigurasi Atas (Kanan) + +#### JP11 - Tachometer Pullup +- **Fungsi**: Menentukan tegangan sinyal output tachometer + +- **Pilihan**: 12V atau 5V + +- **Aplikasi**: Sesuaikan dengan kompatibilitas dashboard kendaraan Anda + +#### Ignition VDrive Jumper +- **Fungsi**: Mengatur tegangan sinyal pengapian untuk **Smart Coil Only** + +- **Pilihan**: Sinyal 12V atau 5V + +- **Khusus Smart Coil**: Jumper ini hanya untuk smart coil dengan driver internal + +- **PENTING**: Dump coil memerlukan IGBT eksternal + +#### Knock/PC13 Input Selection +- **Mode Knock**: Input sensor knock untuk deteksi ketukan mesin (default) + +- **Mode PC13**: Akses langsung ke pin MCU untuk fungsi custom + +- **Perbaikan v1.3B**: Deteksi knock yang lebih stabil dan akurat + +![Mazduino Mini 6ch](img/mini6ch/mazduino-mini-6ch-v1.3B-jumper.jpeg) + +### Zona Konfigurasi Tengah + +#### JP5 & JP4 - Sensor Pullup Configuration +- **JP5**: Pullup 5V untuk sinyal CKP (Crankshaft Position) + +- **JP4**: Pullup 5V untuk sinyal CMP (Camshaft Position) + +- **Manfaat**: Sinyal trigger yang bersih dan stabil + +#### JP3 & JP2 - Sensor Type Selection +- **JP3**: Mode sinyal CKP (VR atau Hall sensor) + +- **JP2**: Mode sinyal CMP (VR atau Hall sensor) + +- **Fleksibilitas**: Kompatibel dengan berbagai jenis sensor posisi + +![Mazduino Mini 6ch](img/mini6ch/IMG_6230.jpeg) + +### Zona Konfigurasi Kiri + +#### JP6 - Stepper Motor Enable +- **Fungsi**: Kontrol aktivasi driver stepper motor + +- **Note**: Konsultasi skematik untuk konfigurasi optimal + +- **Aplikasi**: Idle Air Control (IAC) dengan presisi tinggi + +#### JP7 & JP8 - Knock Sensor Filter Bypass +- **Fungsi**: Bypass filter internal untuk sensor knock + +- **JP7**: Bypass filter internal knock stage 1 + +- **JP8**: Bypass filter internal knock stage 2 + +- **v1.3B Improvement**: Filter yang dioptimalkan untuk sensitivitas deteksi knock + +- **Note**: Untuk satu input knock di konektor ECU (pin 8) + +![Mazduino Mini 6ch](img/mini6ch/mazduino-mini-6ch-v1.3B-jumper2.jpeg) + +### Tips Konfigurasi Jumper + +#### Pengaturan Optimal: + +- **Smart Coils**: Gunakan VDrive 5V untuk Coil dengan sinyal 5V dan 12V untuk coil dengan sinyal 12V + +- **Dump/Conventional Coils**: Memerlukan IGBT eksternal + +- **VR Sensors**: Aktifkan pullup dan pilih mode VR untuk sinyal bersih + +- **Hall Sensors**: Nonaktifkan pullup dan pilih mode Hall + +#### Best Practices: + +1. **Pre-Installation**: Konfigurasi jumper sebelum instalasi final +2. **Documentation**: Catat konfigurasi jumper untuk referensi masa depan +3. **Testing**: Verifikasi sinyal setelah perubahan konfigurasi jumper +4. **Compatibility**: Pastikan jumper sesuai dengan hardware yang digunakan + +#### Perhatian Khusus: + +- **Jenis Coil Kritis**: VDrive hanya untuk smart coil - dump coil butuh IGBT eksternal + +- **Solder dengan Hati-hati**: Gunakan suhu solder yang tepat + +- **Verifikasi Koneksi**: Pastikan sambungan solder yang solid + +- **Konsultasi Skematik**: Rujuk diagram untuk konfigurasi lanjutan + +- **Power Off**: Selalu matikan power saat mengubah jumper + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +Mazduino Mini 6CH v1.3B menggunakan konektor ECU Yamaha 48-pin dengan pin assignment yang diperbaiki sebagai berikut: + +![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) + +#### Layout Konektor +``` + 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 (v1.3B) + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | 12V ECU | Catu daya utama ECU | +| 2 | IDLE1 | Output kontrol idle 1 | +| 3 | IDLE2 | Output kontrol idle 2 | +| 4 | CANH | CAN bus high | +| 5 | 5V | Output referensi 5V | +| 6 | AC-OUT / AC COMPRESOR | Kontrol kompresor AC | +| 7 | FUEL PUMP | Kontrol relay pompa bahan bakar | +| 8 | **Knock/PC13** | Input sensor knock (default) atau akses pin MCU langsung | +| 9 | VR1- | Input VR conditioner 1 negatif | +| 10 | VR2- | Input VR conditioner 2 negatif | +| 11 | Stepper B2 | Motor stepper fase B2 | +| 12 | Stepper B1 | Motor stepper fase B1 | +| 13 | Stepper A1 | Motor stepper fase A1 | +| 14 | Stepper A2 | Motor stepper fase A2 | +| 15 | Injector 5 | Injektor 5 atau output arus tinggi cadangan | +| 16 | Injector 6 | Injektor 6 atau output arus tinggi cadangan | +| 17 | Main Relay | Kontrol relay utama (low current low side) | +| 18 | **Spare Analog Input 1 / PPS1** | Input analog cadangan 1 atau Pedal Position Sensor 1 untuk ETB | +| 19 | VSS | Vehicle Speed Sensor | +| 20 | **AC-IN / AC Switch** | Input switch AC (Hanya menerima **GROUND** sebagai sinyal ON) | +| 21 | CANL | CAN bus low | +| 22 | **GND** | Ground ECU | +| 23 | FAN | Kontrol relay kipas | +| 24 | Ignition 6 | Channel pengapian 6 | +| 25 | Ignition 5 | Channel pengapian 5 | +| 26 | Ignition 1 | Channel pengapian 1 | +| 27 | Ignition 2 | Channel pengapian 2 | +| 28 | Ignition 3 | Channel pengapian 3 | +| 29 | Ignition 4 | Channel pengapian 4 | +| 30 | TPS | Sensor posisi throttle | +| 31 | MAP | Tekanan absolut manifold | +| 32 | Injector 4 | Channel injektor 4 | +| 33 | **ETB-** | Electronic Throttle Body negatif | +| 34 | **ETB+** | Electronic Throttle Body positif | +| 35 | **Spare Analog Input 2 / PPS2** | Input analog cadangan 2 atau Pedal Position Sensor 2 untuk ETB | +| 36 | Clutch | Input posisi kopling | +| 37 | **GND Sensor** | Ground sensor | +| 38 | **GND Sensor** | Ground sensor | +| 39 | **RPM / Tacho** | Output tachometer | +| 40 | **Spare Input 3 / TPS2** | Input cadangan 3 atau TPS2 untuk ETB | +| 41 | VR1+ | Sensor VR 1 positif | +| 42 | VR2+ | Sensor VR 2 positif | +| 43 | **O2** | Sensor oksigen (analog 5V, dari wideband controller analog output 1-5V) | +| 44 | IAT | Suhu udara masuk | +| 45 | CLT | Suhu coolant | +| 46 | Injector 2 | Channel injektor 2 | +| 47 | Injector 1 | Channel injektor 1 | +| 48 | Injector 3 | Channel injektor 3 | + +### Pin Mapping MCU (v1.3B) + +Pin assignment **STM32F427VGT6** yang telah diperbaiki untuk v1.3B: + +| 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 Reff | PA6 | +| Analog Spare Input 1 | PB0 | +| Analog Spare Input 2 | PB1 | +| **Analog Spare Input 3** | **PA2** | +| AC Input | PB5 | +| Clutch Input | PE12 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PC5 | +| Idle 1 | PD10 | +| Idle 2 | PE9 | +| Stepper DIR | PD12 | +| Stepper ENBL | PD14 | +| Stepper STEP | PD15 | +| **Knock1** | **PC0** | +| **Knock2** | **PC1** | +| **ETB-DIR** | **PB8** | +| **ETB-DIS** | **PB9** | +| **ETB-PWM** | **PA8** | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +### Fitur Khusus v1.3B + +#### Knock Input (Diperbaiki di v1.3B) +- **Pin 8 (Knock/PC13)**: Input sensor knock dengan solder jumper default untuk deteksi ketukan yang lebih akurat + +- **Single Knock Input**: Satu input knock (PC0) di konektor ECU untuk monitoring ketukan mesin + +- **Aplikasi**: Deteksi ketukan mesin yang lebih sensitif untuk perlindungan dan optimasi timing pengapian + +- **Perbaikan**: Filter dan sensitivitas yang dioptimalkan + +#### Electronic Throttle Body (Dioptimalkan di v1.3B) +- **Pin 33 (ETB-)**: Output negatif untuk kontrol ETB + +- **Pin 34 (ETB+)**: Output positif untuk kontrol ETB + +- **Pin 40 (TPS2)**: Input analog khusus untuk sensor TPS2 yang dedicated untuk ETB - **Fitur baru v1.3B** + +- **Pin 18/35 (PPS1/PPS2)**: Dual Pedal Position Sensor untuk kontrol ETB + +- **ETB Control**: PWM (PA8), Direction (PB8), Disable (PB9) + +- **Perbaikan v1.3B**: Penambahan input analog dedicated untuk TPS2 dan optimisasi hardware ETB + +#### Perbaikan Hardware v1.3B +- **Input Analog Tambahan**: Penambahan 1 input analog khusus untuk sensor TPS2/ETB pada pin 40 + +- **Optimisasi Komponen**: Penghapusan komponen yang tidak digunakan untuk efisiensi desain + +- **Layout Komponen**: Penataan ulang layout untuk manufaktur dan kinerja yang lebih optimal + +- **Pin 43**: Khusus untuk O2 sensor dengan path analog yang dioptimalkan + +- **AC Switch**: Clarification bahwa hanya menerima sinyal GROUND untuk ON + +#### Dukungan VR Conditioner +- **VR1- & VR2-**: Pin input untuk modul VR conditioner (DIP 8) - negatif + +- **VR1+ & VR2+**: Input sensor VR positif + +#### Kontrol Stepper Motor +- **Stepper A1/A2**: Output fase A untuk stepper motor (DRV8825) + +- **Stepper B1/B2**: Output fase B untuk stepper motor + +- **Direction/Enable/Step**: Sinyal kontrol untuk driver stepper + +#### Konfigurasi Injector Fleksibel +Untuk mesin 4-silinder: + +- **Injector 5 & 6**: Dapat digunakan sebagai output arus tinggi cadangan + +- **Aplikasi**: Kontrol boost, kontrol VVT, injeksi air/methanol, dll. + +### Panduan Instalasi +1. **Pemasangan**: Pasang ECU di lokasi yang tepat dengan pendinginan yang memadai +2. **Koneksi Daya**: Hubungkan daya 12V (pin 1) dan ground (pin 22) +3. **Ground Sensor**: Gunakan beberapa pin ground sensor (37, 38) untuk sinyal yang bersih +4. **Sensor Posisi Mesin**: Hubungkan sensor CKP/CMP atau gunakan input VR sesuai kebutuhan +5. **Knock Sensor**: Hubungkan sensor knock ke pin 8 (default konfigurasi) +6. **ETB Setup**: Hubungkan ETB ke pin 33/34 dan TPS2 ke pin 40 (diperbaiki dari v1.3) jika menggunakan throttle elektronik +7. **AC Switch**: Pastikan switch AC hanya memberikan sinyal GROUND untuk kondisi ON +8. **Instalasi Modul**: Pasang modul VR-Conditioner dan/atau Stepper jika diperlukan +9. **Verifikasi**: Test semua koneksi sebelum startup awal + +### Catatan Wiring v1.3B +- **O2 Sensor**: Pin 43 khusus untuk O2 sensor dengan path analog yang dioptimalkan (1-5V dari wideband controller) + +- **TPS2 Dedicated**: Pin 40 adalah input analog tambahan khusus untuk sensor TPS2/ETB — **fitur baru v1.3B** (berbeda dari v1.3 yang menggunakan pin 43 untuk TPS2) + +- **AC Switch Logic**: Pin 20 hanya menerima GROUND sebagai sinyal ON — jangan hubungkan 12V langsung + +- **Referensi**: Informasi wiring sensor tambahan di [Speeduino Wiki][speeduino-wiring] + +## Informasi Hardware + +Mazduino Mini 6CH v1.3B didesain dengan **STM32F427VGT6** sebagai MCU utama, memberikan performa yang lebih tinggi dibanding v1.3. Mendukung beberapa module tambahan seperti VR Conditioner Module dan Idle Stepper Module. Secara bawaan Mazduino Mini 6CH v1.3B hanya mendukung sinyal CKP dan CMP dalam bentuk digital, seperti sensor hall dan optical. Untuk kendaraan yang masih menggunakan VR sensor perlu menambahkan VR Module (atau bisa custom sensor ke hall). + +![VR Module](img/mini6ch/vr-module.jpeg) + +Kemudian untuk bagian Idle, Mazduino Mini 6CH v1.3B sudah support Idle PWM, terdapat 2 output dari low side mosfet yang dapat digunakan untuk kontrol IDLE PWM. + +Untuk jenis Idle Control yang menggunakan stepper motor diperlukan module tambahan yaitu Idle Stepper Motor Module. Disini bisa menggunakan driver DRV8825. + +![Stepper Module](img/mini6ch/stepper-module.jpeg) + +Selain itu terdapat solder jumper di bagian belakang seperti Tach Pullup, Ignition Vdrive, opsi knock / MCU PC13. Kemudian ada JP4, JP5, JP2, JP3, JP6, JP7 dan JP8 yang sudah dijelaskan di bagian konfigurasi jumper. + +**Solder Jumper v1.3B:** + +- **Tach Pullup:** Pullup untuk tachometer/RPM Speedometer menggunakan 12V atau 5V + +- **Ignition Vdrive:** Tegangan yang digunakan untuk mengirimkan sinyal ke Coil On Plug (12V atau 5V) + +- **Knock/MCU PC13:** Opsi input Knock sensor atau langsung ke pin MCU PC13 (default untuk Knock) + +- **JP4:** Pullup trigger CKP/Primary + +- **JP5:** Pullup trigger CMP/Secondary + +- **JP2:** Opsi VR atau Hall untuk CKP/Primary + +- **JP3:** Opsi VR atau Hall untuk CMP/Secondary + +- **JP6:** Bypass Idle Stepper + +- **JP7 & JP8:** Bypass filter knock (diperbaiki di v1.3B) + +- **Pullup Launch:** Digunakan untuk pullup pada pin spare input 3 jika digunakan untuk tombol aktivasi launch control/input lainnya yang membutuhkan pullup + +## Software Tuning + +### Download Software +Download software TunerStudio: [TunerStudio Downloads][tunerstudio-dl] + +![TunerStudio](img/manual/tunerstudio-download.png) + +### Konfigurasi Khusus v1.3B +- **Knock Detection**: Gunakan konfigurasi knock sensor yang dioptimalkan untuk v1.3B + +- **ETB Setup**: Konfigurasi TPS2 pada pin 40 (bukan pin 43 seperti v1.3) + +- **AC Switch Logic**: Pastikan konfigurasi AC switch menggunakan logic GROUND untuk ON + +- **Pin Mapping**: Gunakan file konfigurasi pin mapping khusus v1.3B + +### Firmware Support +- **rusEFI**: Dukungan penuh untuk v1.3B dengan pin mapping yang diperbaiki + +- **Speeduino**: Kompatibel dengan konfigurasi pin mapping terbaru + +- **File Konfigurasi**: Tersedia di [halaman download](downloads.md) + +## Wiring Diagram + +### Wiring Sensor +![Sensor Wiring](img/sensor-wiring.png) + +*Catatan: Pastikan AC Switch hanya menggunakan sinyal GROUND untuk kondisi ON* + +### Injector Wiring +![Injector Wiring](img/injector-wiring.png) + +### Ignition Wiring +![Ignition Wiring](img/ignition-wiring.png) + +## Catatan Penting v1.3B + +### Persyaratan Sistem Pengapian +- **Smart Coils**: Koneksi langsung didukung — pilih VDrive 5V atau 12V sesuai spesifikasi coil + +- **Dump Coils**: IGBT eksternal diperlukan; VDrive jumper **tidak** digunakan untuk dump coil + +### ETB (v1.3B) +- TPS2 menggunakan pin 40 (bukan pin 43 seperti v1.3) — pastikan konfigurasi firmware menggunakan pin yang benar + +### Knock Detection (v1.3B) +- Satu input knock di konektor ECU (pin 8, MCU PC0); filter yang diperbaiki dibanding v1.3 + +**[Download firmware dan file konfigurasi](downloads.md)** + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} +[tunerstudio-dl]: https://www.tunerstudio.com/index.php/downloads {:target="_blank"} diff --git a/docs/mazduino-mini-6ch-v1.3c.md b/docs/mazduino-mini-6ch-v1.3c.md new file mode 100644 index 0000000..bdaef58 --- /dev/null +++ b/docs/mazduino-mini-6ch-v1.3c.md @@ -0,0 +1,495 @@ +# Mazduino Mini 6CH (v1.3C) + +## Gambaran Umum + +Mazduino Mini 6CH v1.3C adalah perbaikan dan peningkatan dari versi v1.3B, dirancang sebagai Engine Control Unit 6-channel yang lebih optimal. Dibangun di sekitar prosesor **STM32F427VGT6** ARM 32-bit yang powerful, memberikan manajemen mesin komprehensif dalam faktor bentuk kompak yang cocok untuk mesin 6-silinder atau mesin 4-silinder dengan output arus tinggi tambahan. + +**Perbaikan v1.3C dari v1.3B:** + +- **Optimisasi Pin MCU**: Pemindahan pin TPS ke PA6 dan Battery/Voltage Reference ke PA7 untuk routing sinyal yang lebih baik + +- **Knock Input Tunggal**: Konsolidasi dari 2 input knock (PC0, PC1) menjadi 1 input knock (PA3) yang lebih efisien + +- **VDrive Ignition Terpisah**: Dua jumper VDrive terpisah — satu untuk channel ignition 1-4 dan satu untuk channel ignition 5-6, memberikan fleksibilitas konfigurasi tegangan yang lebih baik + +- **Fleksibilitas Channel**: 6 channel ignition dan 6 channel injection yang semuanya dapat dikonfigurasi sesuai kebutuhan aplikasi + +![Mazduino Mini 6ch](img/mazduino-mini-6ch-v1.3B.jpeg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP VR, hall atau optical +- Input trigger kedua untuk sensor CMP VR, hall atau optical +- 8 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 3 cadangan termasuk input analog khusus untuk TPS2/ETB yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 4 input digital pullup untuk AC Switch, VSS, Clutch, Launch Control +- 8x driver low-side arus tinggi 3A untuk injektor high-impedance, idle PWM (ISC), Boost, VVT dan lainnya +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- **6x output ignition** dengan VDrive terpisah untuk channel 1-4 dan channel 5-6 (masing-masing dapat dikonfigurasi 5V atau 12V) +- **Knock Input (v1.3C)**: Satu input sensor knock yang dioptimalkan (PA3) + +- **ETB Support**: Kontrol Electronic Throttle Body dengan TPS1 dan TPS2 + +- Dukungan untuk Modul VR Conditioner tambahan +- Dukungan untuk Modul Stepper Idle tambahan +- **Prosesor 180 MHz ARM Cortex-M4 (STM32F427VGT6)** + +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor otomotif 48-pin +- Kartu SD untuk data logging + +![Mazduino Mini 6ch](img/mazduino-mini6ch-new-case.jpeg) + +## Konfigurasi Channel 6CH + +Mazduino Mini 6CH v1.3C memiliki 6 channel ignition dan 6 channel injection yang seluruhnya dapat dikonfigurasi sesuai kebutuhan aplikasi. + +### Ignition Channel (6x) + +| Channel | Penggunaan Default | Penggunaan Alternatif | +|---------|-------------------|----------------------| +| Ignition 1-4 | Channel pengapian silinder 1-4 | — | +| Ignition 5-6 | Channel pengapian silinder 5-6 | Switching control 5V atau 12V (on/off atau PWM) | + +Untuk mesin 4-silinder, **channel ignition 5 dan 6 dapat digunakan sebagai output switching control** (5V atau 12V) sesuai konfigurasi jumper VDrive 5-6 di bagian bawah PCB. + +### Injection Channel (6x) + +| Channel | Penggunaan Default | Penggunaan Alternatif | +|---------|-------------------|----------------------| +| Injector 1-4 | Channel injektor silinder 1-4 | — | +| Injector 5-6 | Channel injektor silinder 5-6 | Output low-side arus tinggi cadangan | + +Untuk mesin 4-silinder, **channel injector 5 dan 6 dapat digunakan sebagai output low-side** untuk selenoid on/off, kontrol boost, VVT, injeksi air/methanol, atau kontrol PWM lainnya. + +## Konfigurasi Jumper + +Mazduino Mini 6CH v1.3C dilengkapi dengan sistem jumper solder yang memungkinkan kustomisasi fungsi sesuai kebutuhan aplikasi Anda. Jumper ini memberikan fleksibilitas konfigurasi tanpa perlu mengubah firmware, memastikan kompatibilitas optimal dengan berbagai setup mesin. + +![Mazduino Mini 6ch](img/mini6ch/IMG_6232.jpeg) + +### Zona Konfigurasi Atas (Kanan) + +#### JP11 - Tachometer Pullup +- **Fungsi**: Menentukan tegangan sinyal output tachometer + +- **Pilihan**: 12V atau 5V + +- **Aplikasi**: Sesuaikan dengan kompatibilitas dashboard kendaraan Anda + +#### Ignition VDrive 1-4 Jumper +- **Fungsi**: Mengatur tegangan sinyal pengapian untuk channel **Ignition 1, 2, 3, 4** — Smart Coil Only + +- **Pilihan**: Sinyal 12V atau 5V + +- **Khusus Smart Coil**: Jumper ini hanya untuk smart coil dengan driver internal + +- **Alternatif**: Ketika channel 1-4 digunakan untuk pengapian 4-silinder, channel 5-6 tetap independen + +- **PENTING**: Dump coil memerlukan IGBT eksternal + +#### Ignition VDrive 5-6 Jumper *(Baru di v1.3C)* +- **Fungsi**: Mengatur tegangan sinyal untuk channel **Ignition 5 dan 6** secara **terpisah** dari channel 1-4 + +- **Pilihan**: Sinyal 12V atau 5V + +- **Fleksibilitas**: Channel 5-6 dapat dikonfigurasi tegangan berbeda dari channel 1-4 + +- **Penggunaan Alternatif**: Saat digunakan sebagai switching control, sesuaikan tegangan (5V atau 12V) dengan kebutuhan beban + +- **Lokasi**: Bagian bawah PCB (lihat foto jumper) + +- **PENTING**: Dump coil memerlukan IGBT eksternal + +#### Knock/PC13 Input Selection +- **Mode Knock**: Input sensor knock untuk deteksi ketukan mesin (default) + +- **Mode PC13**: Akses langsung ke pin MCU untuk fungsi custom + +- **v1.3C**: Satu input knock yang dioptimalkan pada pin MCU PA3 + +![Mazduino Mini 6ch](img/mini6ch/mazduino-mini-6ch-v1.3B-jumper.jpeg) + +### Zona Konfigurasi Tengah + +#### JP5 & JP4 - Sensor Pullup Configuration +- **JP5**: Pullup 5V untuk sinyal CKP (Crankshaft Position) + +- **JP4**: Pullup 5V untuk sinyal CMP (Camshaft Position) + +- **Manfaat**: Sinyal trigger yang bersih dan stabil + +#### JP3 & JP2 - Sensor Type Selection +- **JP3**: Mode sinyal CKP (VR atau Hall sensor) + +- **JP2**: Mode sinyal CMP (VR atau Hall sensor) + +- **Fleksibilitas**: Kompatibel dengan berbagai jenis sensor posisi + +![Mazduino Mini 6ch](img/mini6ch/IMG_6230.jpeg) + +### Zona Konfigurasi Kiri + +#### JP6 - Stepper Motor Enable +- **Fungsi**: Kontrol aktivasi driver stepper motor + +- **Note**: Konsultasi skematik untuk konfigurasi optimal + +- **Aplikasi**: Idle Air Control (IAC) dengan presisi tinggi + +#### JP7 & JP8 - Knock Sensor Filter Bypass +- **Fungsi**: Bypass filter internal untuk sensor knock + +- **JP7**: Bypass filter internal knock stage 1 + +- **JP8**: Bypass filter internal knock stage 2 + +- **Note**: Untuk satu input knock di konektor ECU (pin 8) + +![Mazduino Mini 6ch](img/mini6ch/mazduino-mini-6ch-v1.3B-jumper2.jpeg) + +### Tips Konfigurasi Jumper + +#### Pengaturan Optimal: + +- **Smart Coils 1-4**: Gunakan VDrive 1-4 sesuai spesifikasi coil (5V atau 12V) + +- **Smart Coils 5-6**: Gunakan VDrive 5-6 sesuai spesifikasi coil atau beban alternatif — **dapat berbeda dari 1-4** + +- **Dump/Conventional Coils**: Memerlukan IGBT eksternal + +- **VR Sensors**: Aktifkan pullup dan pilih mode VR untuk sinyal bersih + +- **Hall Sensors**: Nonaktifkan pullup dan pilih mode Hall + +#### Best Practices: + +1. **Pre-Installation**: Konfigurasi jumper sebelum instalasi final +2. **VDrive Terpisah**: Manfaatkan VDrive 5-6 yang independen untuk aplikasi mixed-voltage +3. **Documentation**: Catat konfigurasi jumper untuk referensi masa depan +4. **Testing**: Verifikasi sinyal setelah perubahan konfigurasi jumper +5. **Compatibility**: Pastikan jumper sesuai dengan hardware yang digunakan + +#### Perhatian Khusus: + +- **Jenis Coil Kritis**: VDrive hanya untuk smart coil - dump coil butuh IGBT eksternal + +- **VDrive Terpisah**: VDrive 1-4 dan VDrive 5-6 adalah jumper yang **berbeda** di bawah PCB + +- **Solder dengan Hati-hati**: Gunakan suhu solder yang tepat + +- **Verifikasi Koneksi**: Pastikan sambungan solder yang solid + +- **Konsultasi Skematik**: Rujuk diagram untuk konfigurasi lanjutan + +- **Power Off**: Selalu matikan power saat mengubah jumper + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +Mazduino Mini 6CH v1.3C menggunakan konektor ECU Yamaha 48-pin dengan pin assignment sebagai berikut: + +![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) + +#### Layout Konektor +``` + 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 (v1.3C) + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | 12V ECU | Catu daya utama ECU | +| 2 | IDLE1 | Output kontrol idle 1 | +| 3 | IDLE2 | Output kontrol idle 2 | +| 4 | CANH | CAN bus high | +| 5 | 5V | Output referensi 5V | +| 6 | AC-OUT / AC COMPRESOR | Kontrol kompresor AC | +| 7 | FUEL PUMP | Kontrol relay pompa bahan bakar | +| 8 | **Knock/PC13** | Input sensor knock (default) atau akses pin MCU langsung | +| 9 | VR1- | Input VR conditioner 1 negatif | +| 10 | VR2- | Input VR conditioner 2 negatif | +| 11 | Stepper B2 | Motor stepper fase B2 | +| 12 | Stepper B1 | Motor stepper fase B1 | +| 13 | Stepper A1 | Motor stepper fase A1 | +| 14 | Stepper A2 | Motor stepper fase A2 | +| 15 | Injector 5 | Injektor 5 atau output low-side arus tinggi cadangan | +| 16 | Injector 6 | Injektor 6 atau output low-side arus tinggi cadangan | +| 17 | Main Relay | Kontrol relay utama (low current low side) | +| 18 | **Spare Analog Input 1 / PPS1** | Input analog cadangan 1 atau Pedal Position Sensor 1 untuk ETB | +| 19 | VSS | Vehicle Speed Sensor | +| 20 | **AC-IN / AC Switch** | Input switch AC (Hanya menerima **GROUND** sebagai sinyal ON) | +| 21 | CANL | CAN bus low | +| 22 | **GND** | Ground ECU | +| 23 | FAN | Kontrol relay kipas | +| 24 | **Ignition 6** | Channel pengapian 6 atau switching control (5V/12V sesuai VDrive 5-6) | +| 25 | **Ignition 5** | Channel pengapian 5 atau switching control (5V/12V sesuai VDrive 5-6) | +| 26 | Ignition 1 | Channel pengapian 1 | +| 27 | Ignition 2 | Channel pengapian 2 | +| 28 | Ignition 3 | Channel pengapian 3 | +| 29 | Ignition 4 | Channel pengapian 4 | +| 30 | TPS | Sensor posisi throttle | +| 31 | MAP | Tekanan absolut manifold | +| 32 | Injector 4 | Channel injektor 4 | +| 33 | **ETB-** | Electronic Throttle Body negatif | +| 34 | **ETB+** | Electronic Throttle Body positif | +| 35 | **Spare Analog Input 2 / PPS2** | Input analog cadangan 2 atau Pedal Position Sensor 2 untuk ETB | +| 36 | Clutch | Input posisi kopling | +| 37 | **GND Sensor** | Ground sensor | +| 38 | **GND Sensor** | Ground sensor | +| 39 | **RPM / Tacho** | Output tachometer | +| 40 | **Spare Input 3 / TPS2** | Input cadangan 3 atau TPS2 untuk ETB | +| 41 | VR1+ | Sensor VR 1 positif | +| 42 | VR2+ | Sensor VR 2 positif | +| 43 | **O2** | Sensor oksigen (analog 5V, dari wideband controller analog output 1-5V) | +| 44 | IAT | Suhu udara masuk | +| 45 | CLT | Suhu coolant | +| 46 | Injector 2 | Channel injektor 2 | +| 47 | Injector 1 | Channel injektor 1 | +| 48 | Injector 3 | Channel injektor 3 | + +### Pin Mapping MCU (v1.3C) + +Pin assignment **STM32F427VGT6** yang telah dioptimalkan untuk v1.3C: + +| Function | MCU Pin | Perubahan dari v1.3B | +|----------|---------|----------------------| +| 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** | **PA6** | **Dipindah dari PA3** | +| IAT Sensor | PA5 | — | +| CLT Sensor | PA4 | — | +| O2 Sensor | PA1 | — | +| **Battery/Voltage Reff** | **PA7** | **Dipindah dari PA6** | +| Analog Spare Input 1 | PB0 | — | +| Analog Spare Input 2 | PB1 | — | +| Analog Spare Input 3 | PA2 | — | +| AC Input | PB5 | — | +| Clutch Input | PE12 | — | +| VSS | PD7 | — | +| CKP | PD3 | — | +| CMP | PD4 | — | +| Tacho | PC9 | — | +| Fuelpump Relay | PC8 | — | +| FAN Relay | PA15 | — | +| AC Compresor Relay | PC7 | — | +| Main Relay | PC5 | — | +| Idle 1 | PD10 | — | +| Idle 2 | PE9 | — | +| Stepper DIR | PD12 | — | +| Stepper ENBL | PD14 | — | +| Stepper STEP | PD15 | — | +| **Knock** | **PA3** | **Dari PC0+PC1 ke satu input PA3** | +| ETB-DIR | PB8 | — | +| ETB-DIS | PB9 | — | +| ETB-PWM | PA8 | — | +| TXD1 | PA9 | — | +| RXD1 | PA10 | — | +| TXD3 | PB10 | — | +| RXD3 | PB11 | — | +| TXCAN | PD1 | — | +| RXCAN | PD0 | — | +| SD CS | PD2 | — | +| SPI3 CLK | PC10 | — | +| SPI3 MISO | PC11 | — | +| SPI3 MOSI | PC12 | — | + +### Fitur Khusus v1.3C + +#### Konfigurasi Channel Fleksibel + +**Ignition 6-Channel:** + +- **6-silinder**: Gunakan semua channel 1-6 untuk pengapian mesin + +- **4-silinder**: Channel 1-4 untuk pengapian, channel 5-6 tersedia sebagai **switching control** + +- **Channel 5-6 Alternatif**: Output switching 5V atau 12V sesuai VDrive 5-6, dapat digunakan untuk kontrol selenoid, relay, atau beban lainnya + +- **VDrive Terpisah**: Channel 1-4 dan 5-6 memiliki konfigurasi tegangan yang **independen** + +**Injection 6-Channel:** + +- **6-silinder**: Gunakan semua channel 1-6 untuk injektor mesin + +- **4-silinder**: Channel 1-4 untuk injektor, channel 5-6 tersedia sebagai **output low-side cadangan** + +- **Channel 5-6 Alternatif**: Output low-side 3A untuk kontrol boost, VVT, selenoid on/off, injeksi air/methanol, atau aplikasi PWM lainnya + +#### Knock Input (Dioptimalkan di v1.3C) +- **Pin 8 (Knock/PC13)**: Input sensor knock dengan solder jumper default + +- **Single Knock Input**: Satu input knock (**PA3**) — dikonsolidasi dari dua input (PC0 + PC1) pada v1.3B + +- **Aplikasi**: Deteksi ketukan mesin untuk perlindungan dan optimasi timing pengapian + +#### Electronic Throttle Body (ETB) +- **Pin 33 (ETB-)**: Output negatif untuk kontrol ETB + +- **Pin 34 (ETB+)**: Output positif untuk kontrol ETB + +- **Pin 40 (TPS2)**: Input analog khusus untuk sensor TPS2 yang dedicated untuk ETB + +- **Pin 18/35 (PPS1/PPS2)**: Dual Pedal Position Sensor untuk kontrol ETB + +- **ETB Control**: PWM (PA8), Direction (PB8), Disable (PB9) + +#### Ignition VDrive Terpisah (Baru di v1.3C) +- **VDrive 1-4**: Jumper solder untuk tegangan sinyal ignition channel 1, 2, 3, 4 (5V atau 12V) + +- **VDrive 5-6**: Jumper solder **terpisah** untuk tegangan sinyal ignition channel 5 dan 6 (5V atau 12V) + +- **Lokasi**: Keduanya terdapat di bagian **bawah PCB** + +- **Fleksibilitas**: Memungkinkan channel 5-6 dikonfigurasi tegangan berbeda dari channel 1-4 sesuai kebutuhan aplikasi + +#### Dukungan VR Conditioner +- **VR1- & VR2-**: Pin input untuk modul VR conditioner (DIP 8) - negatif + +- **VR1+ & VR2+**: Input sensor VR positif + +#### Kontrol Stepper Motor +- **Stepper A1/A2**: Output fase A untuk stepper motor (DRV8825) + +- **Stepper B1/B2**: Output fase B untuk stepper motor + +- **Direction/Enable/Step**: Sinyal kontrol untuk driver stepper + +### Panduan Instalasi +1. **Pemasangan**: Pasang ECU di lokasi yang tepat dengan pendinginan yang memadai +2. **Koneksi Daya**: Hubungkan daya 12V (pin 1) dan ground (pin 22) +3. **Ground Sensor**: Gunakan beberapa pin ground sensor (37, 38) untuk sinyal yang bersih +4. **Sensor Posisi Mesin**: Hubungkan sensor CKP/CMP atau gunakan input VR sesuai kebutuhan +5. **Knock Sensor**: Hubungkan sensor knock ke pin 8 (default konfigurasi) +6. **ETB Setup**: Hubungkan ETB ke pin 33/34 dan TPS2 ke pin 40 jika menggunakan throttle elektronik +7. **AC Switch**: Pastikan switch AC hanya memberikan sinyal GROUND untuk kondisi ON +8. **Konfigurasi VDrive**: Atur jumper VDrive 1-4 dan VDrive 5-6 secara terpisah di bagian bawah PCB sesuai jenis coil atau beban +9. **Channel Spare**: Konfigurasi channel injector 5-6 dan/atau ignition 5-6 sesuai kebutuhan aplikasi +10. **Instalasi Modul**: Pasang modul VR-Conditioner dan/atau Stepper jika diperlukan +11. **Verifikasi**: Test semua koneksi sebelum startup awal + +### Catatan Wiring v1.3C +- **VDrive Terpisah**: Jumper VDrive 1-4 dan VDrive 5-6 berada di bagian **bawah PCB** — konfigurasi sebelum instalasi final + +- **AC Switch Logic**: Pin 20 hanya menerima GROUND sebagai sinyal ON — jangan hubungkan 12V langsung + +- **TPS Pin MCU**: TPS menggunakan PA6 (bukan PA3 seperti v1.3B) — pastikan konfigurasi firmware benar + +- **Channel Spare**: Pin 15-16 (Injector 5-6) dan Pin 24-25 (Ignition 5-6) tersedia untuk penggunaan alternatif pada mesin 4-silinder + +- **Referensi**: Informasi wiring sensor tambahan di [Speeduino Wiki][speeduino-wiring] + +## Informasi Hardware + +Mazduino Mini 6CH v1.3C didesain dengan **STM32F427VGT6** sebagai MCU utama, memberikan performa tinggi dengan clock 180MHz. Mendukung beberapa module tambahan seperti VR Conditioner Module dan Idle Stepper Module. Secara bawaan Mazduino Mini 6CH v1.3C hanya mendukung sinyal CKP dan CMP dalam bentuk digital, seperti sensor hall dan optical. Untuk kendaraan yang masih menggunakan VR sensor perlu menambahkan VR Module (atau bisa custom sensor ke hall). + +![VR Module](img/mini6ch/vr-module.jpeg) + +Kemudian untuk bagian Idle, Mazduino Mini 6CH v1.3C sudah support Idle PWM, terdapat 2 output dari low side mosfet yang dapat digunakan untuk kontrol IDLE PWM. + +Untuk jenis Idle Control yang menggunakan stepper motor diperlukan module tambahan yaitu Idle Stepper Motor Module. Disini bisa menggunakan driver DRV8825. + +![Stepper Module](img/mini6ch/stepper-module.jpeg) + +Terdapat solder jumper di bagian belakang PCB: + +**Solder Jumper v1.3C:** + +- **Tach Pullup:** Pullup untuk tachometer/RPM Speedometer menggunakan 12V atau 5V + +- **Ignition VDrive 1-4:** Tegangan sinyal untuk Ignition channel 1, 2, 3, 4 (12V atau 5V) + +- **Ignition VDrive 5-6:** Tegangan sinyal untuk Ignition channel 5 dan 6 (12V atau 5V) — **terpisah dari jumper 1-4** + +- **Knock/MCU PC13:** Opsi input Knock sensor atau langsung ke pin MCU PC13 (default untuk Knock) + +- **JP4:** Pullup trigger CKP/Primary + +- **JP5:** Pullup trigger CMP/Secondary + +- **JP2:** Opsi VR atau Hall untuk CKP/Primary + +- **JP3:** Opsi VR atau Hall untuk CMP/Secondary + +- **JP6:** Bypass Idle Stepper + +- **JP7 & JP8:** Bypass filter knock + +- **Pullup Launch:** Digunakan untuk pullup pada pin spare input 3 jika digunakan untuk tombol aktivasi launch control/input lainnya yang membutuhkan pullup + +## Software Tuning + +### Download Software +Download software TunerStudio: [TunerStudio Downloads][tunerstudio-dl] + +![TunerStudio](img/manual/tunerstudio-download.png) + +### Konfigurasi Khusus v1.3C +- **TPS Pin**: Pastikan konfigurasi TPS menggunakan **PA6** (bukan PA3 seperti v1.3B) + +[speeduino-wiring]: https://wiki.speeduino.com/en/wiring/system {:target="_blank"} +[tunerstudio-dl]: https://www.tunerstudio.com/index.php/downloads {:target="_blank"} + +- **Battery/VRef Pin**: Pastikan konfigurasi Battery/Voltage Reference menggunakan **PA7** + +- **Knock Detection**: Gunakan **PA3** untuk konfigurasi knock sensor tunggal + +- **ETB Setup**: Konfigurasi TPS2 pada pin 40 + +- **AC Switch Logic**: Pastikan konfigurasi AC switch menggunakan logic GROUND untuk ON + +- **Pin Mapping**: Gunakan file konfigurasi pin mapping khusus v1.3C + +### Firmware Support +- **rusEFI**: Dukungan penuh untuk v1.3C dengan pin mapping yang diperbarui + +- **Speeduino**: Kompatibel dengan konfigurasi pin mapping terbaru + +- **File Konfigurasi**: Tersedia di [halaman download](downloads.md) + +## Wiring Diagram + +### Wiring Sensor +![Sensor Wiring](img/sensor-wiring.png) + +*Catatan: Pastikan AC Switch hanya menggunakan sinyal GROUND untuk kondisi ON* + +### Injector Wiring +![Injector Wiring](img/injector-wiring.png) + +### Ignition Wiring +![Ignition Wiring](img/ignition-wiring.png) + +## Catatan Penting v1.3C + +### Persyaratan Sistem Pengapian +- **Smart Coils**: Koneksi langsung didukung — VDrive 1-4 dan VDrive 5-6 dapat dikonfigurasi tegangan berbeda (5V atau 12V per grup) + +- **Dump Coils**: IGBT eksternal diperlukan; VDrive jumper **tidak** digunakan untuk dump coil + +### Migrasi dari v1.3B +- **TPS**: Update ke **PA6** (dari PA3) — wajib diubah di konfigurasi firmware + +- **Battery/VRef**: Update ke **PA7** (dari PA6) — mengikuti perubahan TPS + +- **Knock**: Hanya satu input (**PA3**) — hapus konfigurasi knock kedua jika ada + +- **VDrive**: Konfigurasi ulang jumper VDrive 1-4 dan VDrive 5-6 di bagian bawah PCB secara terpisah + +**[Download firmware dan file konfigurasi](downloads.md)** diff --git a/docs/mazduino-mini-6ch-v1.4.md b/docs/mazduino-mini-6ch-v1.4.md new file mode 100644 index 0000000..aeed0a4 --- /dev/null +++ b/docs/mazduino-mini-6ch-v1.4.md @@ -0,0 +1,526 @@ +# Mazduino Mini 6CH (v1.4) + +## Gambaran Umum + +Mazduino Mini 6CH v1.4 adalah Engine Control Unit 6-channel terbaru dengan fitur-fitur canggih yang dirancang untuk digunakan dengan firmware rusEFI dan Speeduino. Dibangun di sekitar prosesor STM32F407VGT6 ARM 32-bit yang powerful, memberikan manajemen mesin komprehensif dengan dukungan penuh untuk teknologi terdepan seperti Variable Valve Timing (VVT), Boost Control, dan dual Electronic Throttle Body (ETB). + +**Fitur Baru v1.4:** + +- **VVT (Variable Valve Timing)**: Kontrol timing katup variabel untuk performa dan efisiensi optimal + +- **BOOST Control**: Kontrol boost pressure terintegrasi untuk aplikasi forced induction + +- **Dual ETB IC**: Dukungan dual Electronic Throttle Body dengan IC driver terintegrasi + +- **Enhanced Idle Control**: Driver khusus untuk Electronic Throttle Body atau Idle Stepper Motor + +![Mazduino Mini 6ch](img/mazduino-mini-6ch-v1.4.jpeg) + +## Fitur Utama +- Input trigger utama untuk sensor CKP VR, hall atau optical +- Input trigger kedua untuk sensor CMP VR, hall atau optical +- 7 input analog (0-5V) untuk MAP, TPS, IAT, CLT, O2, dan 2 cadangan yang dapat digunakan untuk sensor tekanan bahan bakar atau sensor lainnya +- Catu daya 5V untuk sensor dengan perlindungan fuse internal +- 4 input digital pullup untuk AC Switch, VSS, Clutch, Launch Control +- 8x driver low-side arus tinggi 3A untuk injektor high-impedance, idle PWM (ISC), Boost, VVT dan lainnya +- 5x driver low-side arus rendah untuk relay utama, pompa bahan bakar, kompresor AC, kipas, dan kontrol tachometer +- 6x output 12V atau 5V untuk sinyal koil pengapian +- Knock Input untuk deteksi ketukan mesin +- **VVT Control (v1.4)**: Kontrol Variable Valve Timing untuk optimasi performa + +- **Boost Control (v1.4)**: Kontrol boost pressure dengan PWM presisi + +- **Dual ETB Support (v1.4)**: Dukungan dual Electronic Throttle Body dengan IC driver terintegrasi + +- **ETB/Stepper Compatibility (v1.4)**: Dapat menggunakan driver untuk ETB atau Idle Stepper Motor + +- Dukungan untuk Modul VR Conditioner tambahan +- Prosesor 168 MHz ARM Cortex-M4 +- Komunikasi data via CANbus +- Komunikasi data via USB Type-C +- Komunikasi Serial RX/TX +- Konektor otomotif 48-pin +- Kartu SD untuk data logging + +## Konfigurasi Jumper + +Mazduino Mini 6CH v1.4 dilengkapi dengan sistem jumper solder yang memungkinkan kustomisasi fungsi sesuai kebutuhan aplikasi Anda. Jumper ini memberikan fleksibilitas konfigurasi tanpa perlu mengubah firmware, memastikan kompatibilitas optimal dengan berbagai setup mesin. + +![Mazduino Mini 6ch](img/mini6ch/IMG_6232.jpeg) + +### Zona Konfigurasi Atas (Kanan) + +#### JP11 - Tachometer Pullup +- **Fungsi**: Menentukan tegangan sinyal output tachometer + +- **Pilihan**: 12V atau 5V + +- **Aplikasi**: Sesuaikan dengan kompatibilitas dashboard kendaraan Anda + +#### Ignition VDrive Jumper +- **Fungsi**: Mengatur tegangan sinyal pengapian untuk **Smart Coil Only** + +- **Pilihan**: Sinyal 12V atau 5V + +- **Khusus Smart Coil**: Jumper ini hanya untuk smart coil dengan driver internal + +- **PENTING**: Dump coil memerlukan IGBT eksternal + +#### Knock/PC13 Input Selection +- **Mode Knock**: Input sensor knock untuk deteksi ketukan mesin (default) + +- **Mode PC13**: Akses langsung ke pin MCU untuk fungsi custom + +- **Enhanced v1.4**: Sensitivitas knock detection yang ditingkatkan + +![Mazduino Mini 6ch](img/mini6ch/IMG_6229.jpeg) + +### Zona Konfigurasi Tengah + +#### JP5 & JP4 - Sensor Pullup Configuration +- **JP5**: Pullup 5V untuk sinyal CKP (Crankshaft Position) + +- **JP4**: Pullup 5V untuk sinyal CMP (Camshaft Position) + +- **Manfaat**: Sinyal trigger yang bersih dan stabil + +#### JP3 & JP2 - Sensor Type Selection +- **JP3**: Mode sinyal CKP (VR atau Hall sensor) + +- **JP2**: Mode sinyal CMP (VR atau Hall sensor) + +- **Fleksibilitas**: Kompatibel dengan berbagai jenis sensor posisi + +![Mazduino Mini 6ch](img/mini6ch/IMG_6230.jpeg) + +### Zona Konfigurasi Kiri + +#### JP10 - CAN Bus Controller +- **Fungsi**: Mengaktifkan IC CAN bus TJA1051T/3 + +- **Aplikasi**: Komunikasi data high-speed dengan perangkat lain + +- **Protocol**: Mendukung standar automotive CAN 2.0 + +#### JP6 - ETB/Stepper Motor Mode Selection (Baru di v1.4) +- **Mode ETB**: Konfigurasi untuk Electronic Throttle Body dengan IC driver terintegrasi + +- **Mode Stepper**: Konfigurasi untuk Idle Stepper Motor control + +- **Fleksibilitas**: Dapat mengganti fungsi tanpa mengubah hardware + +- **Default**: Mode ETB untuk aplikasi throttle control modern + +#### JP7 & JP8 - Knock Sensor Filter Bypass +- **Fungsi**: Bypass filter untuk sensor knock + +- **JP7**: Bypass filter knock channel 1 + +- **JP8**: Bypass filter knock channel 2 + +- **Advanced Feature**: Fine-tuning sensitivitas deteksi knock + +![Mazduino Mini 6ch](img/mini6ch/IMG_6231.jpeg) + +### Tips Konfigurasi Jumper + +#### Pengaturan Optimal v1.4: + +- **Smart Coils**: Gunakan VDrive 5V untuk Coil dengan sinyal 5V dan 12V untuk coil dengan sinyal 12V + +- **Dump/Conventional Coils**: Memerlukan IGBT eksternal + +- **VR Sensors**: Aktifkan pullup dan pilih mode VR untuk sinyal bersih + +- **Hall Sensors**: Nonaktifkan pullup dan pilih mode Hall + +- **ETB Mode**: Pilih mode ETB untuk aplikasi throttle elektronik modern + +- **Stepper Mode**: Pilih mode stepper untuk kontrol idle konvensional + +#### Best Practices: + +1. **Pre-Installation**: Konfigurasi jumper sebelum instalasi final +2. **Documentation**: Catat konfigurasi jumper untuk referensi masa depan +3. **Testing**: Verifikasi sinyal setelah perubahan konfigurasi jumper +4. **Compatibility**: Pastikan jumper sesuai dengan hardware yang digunakan +5. **ETB Testing**: Test driver ETB sebelum menghubungkan throttle body aktual +6. **VVT Calibration**: Kalibrasi sistem VVT dengan hati-hati + +#### Perhatian Khusus: + +- **Jenis Coil Kritis**: VDrive hanya untuk smart coil - dump coil butuh IGBT eksternal + +- **ETB Safety**: Dual ETB memerlukan konfigurasi failsafe yang tepat + +- **High Current**: Output VVT dan Boost dapat menangani arus tinggi, pastikan wiring memadai + +- **Solder dengan Hati-hati**: Gunakan suhu solder yang tepat + +- **Verifikasi Koneksi**: Pastikan sambungan solder yang solid + +- **Konsultasi Skematik**: Rujuk diagram untuk konfigurasi lanjutan + +- **Power Off**: Selalu matikan power saat mengubah jumper + +## Wiring dan Instalasi + +### Pin Mapping Konektor + +Mazduino Mini 6CH v1.4 menggunakan konektor ECU Yamaha 48-pin dengan pin assignment yang telah ditingkatkan untuk mendukung fitur-fitur baru: + +![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) + +#### Layout Konektor +``` + 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 v1.4 + +| Pin | Fungsi | Deskripsi | +|-----|----------|-------------| +| 1 | **12V ECU** | Catu daya utama ECU | +| 2 | **IDLE1** | Output kontrol idle 1 atau ETB driver 1 | +| 3 | **IDLE2** | Output kontrol idle 2 atau ETB driver 2 | +| 4 | **VVT** | **[BARU v1.4]** Variable Valve Timing control output | +| 5 | **5V** | Output referensi 5V untuk sensor | +| 6 | **BOOST** | **[BARU v1.4]** Boost control PWM output | +| 7 | **Fuel Pump** | Kontrol relay pompa bahan bakar | +| 8 | **Knock/PC13** | Input sensor knock (default) atau akses pin MCU langsung | +| 9 | **VR1-** | Input VR conditioner 1 negatif | +| 10 | **VR2-** | Input VR conditioner 2 negatif | +| 11 | **ETB2-** | **[BARU v1.4]** Electronic Throttle Body 2 negatif | +| 12 | **ETB2+** | **[BARU v1.4]** Electronic Throttle Body 2 positif | +| 13 | **Spare Input 3** | Input analog cadangan 3 | +| 14 | **High Side** | 12V Switching / Alternator Control / VTEC Control | +| 15 | **Injector 5** | Injektor 5 atau output arus tinggi cadangan (boost/vvt/control pwm) | +| 16 | **Injector 6** | Injektor 6 atau output arus tinggi cadangan (boost/vvt/control pwm) | +| 17 | **Main Relay** | Kontrol relay utama (low current low side) | +| 18 | **Spare Analog 1/PPS1** | Input analog cadangan 1 atau Pedal Position Sensor 1 | +| 19 | **VSS** | Sensor kecepatan kendaraan (Vehicle Speed Sensor) | +| 20 | **AC-IN** | Input switch AC | +| 21 | **AC Relay** | Kontrol relay kompresor AC | +| 22 | **GND** | Ground ECU | +| 23 | **Fan** | Kontrol relay kipas | +| 24 | **Ignition 6** | Channel pengapian 6 | +| 25 | **Ignition 5** | Channel pengapian 5 | +| 26 | **Ignition 1** | Channel pengapian 1 | +| 27 | **Ignition 2** | Channel pengapian 2 | +| 28 | **Ignition 3** | Channel pengapian 3 | +| 29 | **Ignition 4** | Channel pengapian 4 | +| 30 | **TPS** | Sensor posisi throttle (TPS1) | +| 31 | **MAP** | Sensor tekanan absolut manifold | +| 32 | **Injector 4** | Channel injektor 4 | +| 33 | **ETB-** | Electronic Throttle Body 1 negatif | +| 34 | **ETB+** | Electronic Throttle Body 1 positif | +| 35 | **Spare Analog 2/PPS2** | Input analog cadangan 2 atau Pedal Position Sensor 2 | +| 36 | **Clutch** | Input posisi kopling | +| 37 | **GND Sensor** | Ground sensor | +| 38 | **GND Sensor** | Ground sensor | +| 39 | **RPM/Tacho** | Output tachometer | +| 40 | **Launch Control** | Input launch control | +| 41 | **VR1+** | Sensor VR 1 positif | +| 42 | **VR2+** | Sensor VR 2 positif | +| 43 | **O2/TPS2** | Sensor oksigen (1-5V dari kontroler wideband) atau TPS2 untuk ETB | +| 44 | **IAT** | Sensor suhu udara masuk | +| 45 | **CLT** | Sensor suhu coolant | +| 46 | **Injector 2** | Channel injektor 2 | +| 47 | **Injector 1** | Channel injektor 1 | +| 48 | **Injector 3** | Channel injektor 3 | + +### Pin Mapping MCU v1.4 + +Untuk pengguna lanjutan dan pengembangan firmware, berikut adalah pin assignment STM32F407VGT6 untuk v1.4: + +| Function | MCU Pin | Keterangan | +|----------|---------|------------| +| Ignition Output 1 | PE15 | Channel pengapian 1 | +| Ignition Output 2 | PE14 | Channel pengapian 2 | +| Ignition Output 3 | PD13 | Channel pengapian 3 | +| Ignition Output 4 | PE5 | Channel pengapian 4 | +| Ignition Output 5 | PE2 | Channel pengapian 5 | +| Ignition Output 6 | PE3 | Channel pengapian 6 | +| Injection Output 1 | PD8 | Channel injektor 1 | +| Injection Output 2 | PB15 | Channel injektor 2 | +| Injection Output 3 | PB14 | Channel injektor 3 | +| Injection Output 4 | PB13 | Channel injektor 4 | +| Injection Output 5 | PD9 | Channel injektor 5 | +| Injection Output 6 | PE8 | Channel injektor 6 | +| MAP Sensor | PA0 | Input sensor MAP | +| TPS | PA3 | Input sensor TPS1 | +| IAT Sensor | PA5 | Input sensor suhu udara | +| CLT Sensor | PA4 | Input sensor suhu coolant | +| O2 Sensor | PA1 | Input sensor oksigen | +| Battery/Voltage Ref | PA2 | Referensi tegangan baterai | +| Analog Spare Input 1 | PB0 | Input analog cadangan 1 | +| Analog Spare Input 2 | PB1 | Input analog cadangan 2 | +| AC Input | PB5 | Input switch AC | +| Launch Control Input | PE13 | Input launch control | +| Clutch Input | PE12 | Input sensor kopling | +| VSS | PD7 | Input sensor kecepatan | +| CKP | PD3 | Input sensor posisi crankshaft | +| CMP | PD4 | Input sensor posisi camshaft | +| Tacho | PC9 | Output tachometer | +| Fuelpump Relay | PC8 | Kontrol relay pompa bahan bakar | +| FAN Relay | PA15 | Kontrol relay kipas | +| AC Compressor Relay | PC7 | Kontrol relay kompresor AC | +| Main Relay | PC5 | Kontrol relay utama | +| Idle 1 | PD10 | Output idle control 1 | +| Idle 2 | PE9 | Output idle control 2 | +| High Side | PD15 | Output 12V switching | +| **ETB-DIR** | **PB8** | **[v1.4]** ETB direction control | +| **ETB-DIS** | **PB9** | **[v1.4]** ETB disable control | +| **ETB-PWM** | **PA8** | **[v1.4]** ETB PWM control | +| **ETB2-DIR** | **PD12** | **[BARU v1.4]** ETB2 direction control | +| **ETB2-DIS** | **PD11** | **[BARU v1.4]** ETB2 disable control | +| **ETB2-PWM** | **PD14** | **[BARU v1.4]** ETB2 PWM control | +| **VVT** | **PB6** | **[BARU v1.4]** Variable valve timing | +| **BOOST** | **PB4** | **[BARU v1.4]** Boost control PWM | +| Knock1 | PA3 | Input sensor knock 1 | +| TXD1 | PA9 | UART1 transmit | +| RXD1 | PA10 | UART1 receive | +| TXD3 | PB10 | UART3 transmit | +| RXD3 | PB11 | UART3 receive | +| TXCAN | PD1 | CAN transmit | +| RXCAN | PD0 | CAN receive | +| SD CS | PD2 | SD card chip select | +| SPI3 CLK | PC10 | SPI3 clock | +| SPI3 MISO | PC11 | SPI3 master in | +| SPI3 MOSI | PC12 | SPI3 master out | + +### Fitur Khusus v1.4 + +#### Variable Valve Timing (VVT) - Baru di v1.4 +- **Pin 4 (VVT)**: Output kontrol VVT dengan PWM presisi + +- **MCU Pin**: PB6 untuk kontrol timing katup variabel + +- **Aplikasi**: + - Optimasi torsi dan power di berbagai RPM + - Pengurangan emisi dan konsumsi bahan bakar + - Kontrol overlap katup untuk performa maksimal +- **Konfigurasi**: PWM duty cycle untuk kontrol posisi aktuator VVT + +#### Boost Control System - Baru di v1.4 +- **Pin 6 (BOOST)**: Output kontrol boost pressure + +- **MCU Pin**: PB4 untuk kontrol wastegate atau blow-off valve + +- **Aplikasi**: + - Kontrol boost pressure pada aplikasi turbocharger + - Managemen overboost protection + - Electronic boost controller dengan feedback MAP sensor +- **Konfigurasi**: PWM control untuk wastegate actuator + +#### Dual Electronic Throttle Body (ETB) - Baru di v1.4 +- **ETB1**: Pin 33/34 (ETB-/ETB+) dengan kontrol PB8, PB9, PA8 + +- **ETB2**: Pin 11/12 (ETB2-/ETB2+) dengan kontrol PD12, PD11, PD14 **[BARU]** + +- **Dual TPS Support**: TPS1 (pin 30) dan TPS2 (pin 43) + +- **Dual PPS Support**: PPS1 (pin 18) dan PPS2 (pin 35) + +- **IC Driver Terintegrasi**: Driver H-bridge dengan proteksi overcurrent + +- **Aplikasi**: + - Sistem throttle redundant untuk aplikasi kritis + - Dual throttle untuk mesin V-configuration + - Primary dan secondary throttle control + +#### Enhanced Idle Control - v1.4 +- **Dual Mode Operation**: ETB atau Stepper Motor control + +- **ETB Mode**: Menggunakan driver ETB untuk throttle control presisi + +- **Stepper Mode**: Kontrol tradisional dengan stepper motor driver + +- **Pin Assignment**: + - IDLE1 (pin 2): PD10 untuk kontrol idle 1 + - IDLE2 (pin 3): PE9 untuk kontrol idle 2 + +- **Fleksibilitas**: Dapat dikonfigurasi via jumper JP6 + +#### High Current Low Side Outputs - Enhanced v1.4 +- **Injector 5 & 6**: Dapat digunakan untuk: + - VVT control (high current) + - Boost control (high current) + - Additional PWM control output + - Water injection control + - Methanol injection control +- **Current Rating**: 3A continuous per channel + +### Panduan Instalasi v1.4 + +#### 1. Persiapan Sistem +- **Power Supply**: Pastikan sistem kelistrikan 12V stabil + +- **Grounding**: Gunakan multiple ground points untuk noise reduction + +- **Cooling**: Pasang ECU dengan ventilasi memadai + +#### 2. Instalasi Dasar +1. **Mounting**: Pasang ECU di lokasi yang aman dari panas dan getaran +2. **Power Connection**: + - Pin 1: 12V switched power + - Pin 22: Main ground + - Pin 37, 38: Sensor ground +3. **Engine Position Sensors**: + - CKP sensor ke pin 41/42 atau pin 9/10 (VR) + - CMP sensor sesuai konfigurasi jumper + +#### 3. Instalasi Fitur Baru v1.4 + +##### VVT Installation +1. **Wiring VVT Actuator**: + - Hubungkan VVT solenoid ke pin 4 (VVT) + - Ground VVT actuator ke chassis + - Pastikan wiring tahan panas engine bay +2. **VVT Position Sensor**: + - Gunakan input analog cadangan untuk feedback posisi + - Kalibrasi range sensor dalam TunerStudio + +##### Boost Control Installation +1. **Boost Actuator Wiring**: + - Hubungkan wastegate actuator ke pin 6 (BOOST) + - Pastikan actuator compatible dengan PWM control +2. **Boost Pressure Sensor**: + - Gunakan MAP sensor atau sensor boost terpisah + - Konfigurasi boost target dan limit dalam firmware + +##### Dual ETB Installation +1. **ETB1 (Primary)**: + - ETB motor ke pin 33/34 (ETB-/ETB+) + - TPS1 ke pin 30 + - TPS2 ke pin 43 untuk redundancy +2. **ETB2 (Secondary)** - **[BARU v1.4]**: + - ETB motor ke pin 11/12 (ETB2-/ETB2+) + - Gunakan input analog tambahan untuk TPS feedback +3. **Pedal Position**: + - PPS1 ke pin 18 + - PPS2 ke pin 35 untuk redundancy +4. **Safety Configuration**: + - Konfigurasi failsafe values + - Set limp-home mode parameters + - Test emergency shutdown + +#### 4. Konfigurasi Lanjutan + +##### Idle Control Setup (v1.4) +- **Mode ETB**: Konfigurasi jumper JP6 untuk mode ETB + +- **Mode Stepper**: Konfigurasi jumper JP6 untuk mode stepper + +- **Pin Assignment**: + - IDLE1 (pin 2) untuk primary idle control + - IDLE2 (pin 3) untuk secondary atau backup + +##### High Current Outputs (Injector 5&6) +- **VVT Control**: Gunakan injector 5/6 untuk VVT tambahan + +- **Boost Control**: Alternative boost control output + +- **Water/Meth Injection**: Kontrol sistem injeksi tambahan + +## Spesifikasi Teknis v1.4 + +### Hardware Specifications +- **MCU**: STM32F407VGT6 ARM Cortex-M4 @ 168MHz + +- **Flash Memory**: 1MB untuk firmware dan konfigurasi + +- **RAM**: 192KB untuk operasi real-time + +- **ADC**: 12-bit resolution, 1µs sampling time + +- **PWM Resolution**: 16-bit untuk kontrol presisi + +- **Operating Temperature**: -40°C to +85°C + +- **Input Voltage**: 9V - 16V (12V nominal) + +- **Current Consumption**: <200mA @ 12V + +- **Dimensions**: Compatible dengan mounting bracket existing + +### Performance Specifications +- **Maximum RPM**: 20,000 RPM (configurable) + +- **Injection Timing Resolution**: 0.1ms + +- **Ignition Timing Resolution**: 0.1° crank angle + +- **VVT Response Time**: <100ms typical + +- **ETB Response Time**: <50ms typical + +- **Boost Control Response**: <200ms typical + +- **Data Logging Rate**: Up to 100Hz per channel + +### Output Specifications +- **High Current Outputs**: 8x @ 3A continuous (injectors, VVT, boost) + +- **Low Current Outputs**: 5x @ 500mA (relays, tacho) + +- **Ignition Outputs**: 6x @ 12V/5V selectable + +- **ETB Outputs**: 2x H-bridge @ 10A peak + +- **VVT Output**: PWM @ 1kHz, 3A continuous + +- **Boost Output**: PWM @ 100Hz, 3A continuous + +### Input Specifications +- **Analog Inputs**: 7x 0-5V, 12-bit resolution + +- **Digital Inputs**: 4x with internal pullup + +- **VR Inputs**: 2x with conditioning circuit + +- **Knock Inputs**: 1x with integrated amplifier and filter + +- **CAN Bus**: ISO 11898 compliant + +- **Serial**: 2x UART (USB + dedicated) + +## Catatan Penting v1.4 + +### Persyaratan Sistem Pengapian +- **Smart Coils**: Koneksi langsung didukung dengan voltage selection + +- **Dump Coils**: IGBT eksternal diperlukan untuk operasi yang tepat + +- **Coil Selection**: Critical untuk system reliability dan performance + +### Variable Valve Timing (VVT) +- **Engine Compatibility**: Pastikan engine mendukung VVT mechanism + +- **Actuator Selection**: Gunakan VVT actuator yang sesuai dengan engine + +- **Timing Safety**: Incorrect VVT timing dapat menyebabkan valve interference + +- **Oil Pressure**: VVT memerlukan oil pressure minimal untuk operasi + +### Boost Control System +- **Turbo/Supercharger**: Compatible dengan berbagai jenis forced induction + +- **Wastegate Type**: Mendukung pneumatic dan electronic wastegate + +- **Safety Limits**: Set overboost protection untuk keamanan engine + +- **Response Tuning**: Tune PID parameters untuk response optimal + +### Dual ETB System +- **Failsafe Critical**: Dual ETB harus memiliki sistem failsafe yang robust + +- **TPS Redundancy**: Dual TPS untuk safety dan accuracy + +- **PPS Redundancy**: Dual PPS untuk pedal input validation + +- **Emergency Mode**: Konfigurasi limp-home mode untuk kondisi emergency + +**[Download firmware dan file konfigurasi](downloads.md)** diff --git a/docs/mazduino-mini-6ch.md b/docs/mazduino-mini-6ch.md deleted file mode 100644 index 8a44499..0000000 --- a/docs/mazduino-mini-6ch.md +++ /dev/null @@ -1,208 +0,0 @@ -# Mazduino Mini 6CH - -## Overview - -The Mazduino Mini 6CH is a compact 6-channel engine control unit designed for use with rusEFI and Speeduino firmware. Built around the powerful STM32F407VGT6 ARM 32-bit processor, it provides comprehensive engine management in a compact form factor suitable for 6-cylinder engines or 4-cylinder engines with additional high-current outputs. - -![Mazduino Mini 6ch](img/mazduino-mini-6ch.jpg) - -## Key Features -- Primary trigger input for CKP VR, hall or optical sensor -- Secondary trigger input for CMP VR, hall or optical sensor -- 7 analog inputs (0-5V) for MAP, TPS, IAT, CLT, O2, and 2 spare that can be used for fuel pressure or other sensors -- 5V power supply for sensors with internal fuse protection -- 4 digital pullup inputs for AC Switch, VSS, Clutch, Launch Control -- 8x high current low-side drivers 3A for high-impedance injectors, idle PWM (ISC), Boost, VVT and others -- 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 -- Support for additional VR Conditioner Module -- Support for additional Stepper Idle 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 - -## Wiring and Installation - -### Connector Pin Mapping - -The Mazduino Mini 6CH uses a 48-pin Yamaha ECU connector with the following pin assignments: - -![Mazduino Mini 48-pin Connector](img/mazduino-48p-connector.jpeg) - -#### 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 Assignments - -| Pin | Function | Description | -|-----|----------|-------------| -| 1 | 12V ECU | Main ECU 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 | PC13 | 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 | GND ECU | ECU ground | -| 18 | Spare Analog 1 | Spare analog input 1 | -| 19 | VSS | Vehicle speed sensor | -| 20 | AC Switch | AC switch input | -| 21 | CANL | CAN bus low | -| 22 | GND Sensor | Sensor 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 | Main Relay | Main relay control | -| 34 | GND Sensor | Sensor ground | -| 35 | Spare Analog 2 | Spare analog input 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 | Oxygen sensor (1-5V from wideband controller) | -| 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, here are the STM32F407VGT6 pin assignments: - -| 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 | PB10 | -| VSS | PD7 | -| CKP | PD3 | -| CMP | PD4 | -| Tacho | PC9 | -| Fuel Pump Relay | PC8 | -| FAN Relay | PA15 | -| AC Compressor Relay | PC7 | -| Main Relay | PC6 | -| 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 | - -### Special Features - -#### VR Conditioner Support -- **VR-1 & VR-2**: Input pins for VR conditioner module (DIP 8) -- **VR1+ & VR2+**: Positive VR sensor inputs - -#### Stepper Motor Control -- **Stepper A1/A2**: Phase A outputs for stepper motor (DRV8825) -- **Stepper B1/B2**: Phase B outputs for stepper motor -- **Direction/Enable/Step**: Control signals for stepper driver - -#### Flexible Injector Configuration -For 4-cylinder engines: -- **Injectors 5 & 6**: Can be used as spare high-current outputs -- **Applications**: Boost control, VVT control, water injection, etc. - -### Installation Guidelines -1. **Mounting**: Secure ECU in appropriate location with proper cooling -2. **Power Connection**: Connect 12V power (pin 1) and ground (pin 17) -3. **Sensor Grounds**: Use multiple sensor ground pins (22, 34, 37, 38) for clean signals -4. **Engine Position Sensors**: Connect CKP/CMP sensors or use VR inputs as needed -5. **Module Installation**: Install VR-Conditioner and/or Stepper modules if required -6. **Verification**: Test all connections before initial startup - -### Wiring Notes -- **Multiple Grounds**: Use all available ground pins for optimal signal integrity -- **5V Reference**: Pin 5 provides 5V reference for sensors requiring it -- **O2 Sensor**: Pin 43 accepts 1-5V signal from wideband controller analog output -- **VR Sensors**: Can use either digital inputs or VR conditioner module inputs -- **Yamaha Connector**: Professional automotive-grade 48-pin connector -- **Wiring Compatibility**: Compatible with Speeduino wiring standards -- **Reference**: Additional sensor wiring information at [Speeduino Wiki](https://wiki.speeduino.com/en/wiring/system) - -## Module Support - -### VR-Conditioner Module -- **DIP 8 Package**: Easy installation and replacement -- **VR Sensor Support**: Convert VR signals to digital (pins 9, 10) -- **Signal Conditioning**: Clean, reliable trigger signals -- **Compatibility**: Works with various VR sensor types - -### Stepper Motor Module -- **DRV8825 Driver**: High-performance stepper control -- **Idle Air Control**: Precise idle speed management (pins 11-14) -- **Easy Integration**: Plug-and-play module design -- **Reliable Operation**: Automotive-grade components - -## Important Notes - -### Ignition System Requirements -- **Smart Coils**: Direct connection supported -- **Dump Coils**: External IGBT required for proper operation -- **Coil Selection**: Choose appropriate coil type for your application -- **Safety**: Proper external drivers essential for dump coil systems - -### Firmware & Configuration Files -- **[Download Page](downloads.md)** - Get the latest rusEFI firmware and TunerStudio configuration files -- Full 6-channel support with advanced features -- Custom pin mapping configuration included -- Compatible with both rusEFI firmware - diff --git a/docs/tunerstudio-ac-settings.md b/docs/tunerstudio-ac-settings.md new file mode 100644 index 0000000..980f60b --- /dev/null +++ b/docs/tunerstudio-ac-settings.md @@ -0,0 +1,130 @@ +# Pengaturan Air Conditioning (A/C) - TunerStudio + +## Pengantar + +Bagian A/C Settings memungkinkan konfigurasi kontrol air conditioning dalam ECU, mencakup fitur seperti compressor delay, kompensasi idle, dan kontrol berbasis tekanan untuk mengoptimalkan performa dan mengelola beban mesin. Untuk unit Plug and Play, pengaturan A/C mungkin sudah dikonfigurasi dalam basemap, meskipun penyesuaian masih dapat dilakukan untuk memenuhi kebutuhan spesifik. Unit Kit/DIY mungkin memerlukan konfigurasi lengkap pengaturan ini berdasarkan setup kendaraan. + +![Air Conditioner Overview](img/manual/ac-overview.png) + +## Pengaturan Utama A/C + +### Input Controls + +**A/C Switch**: Memilih sumber input untuk mengaktifkan sistem A/C. Mengatur ini ke NONE akan menonaktifkan kontrol ECU atas switch A/C, selama tidak dikontrol oleh metode lain, seperti Lua. + +**A/C Switch Mode**: Menentukan mode input switch A/C, tergantung pada instalasi dan fungsionalitas yang diinginkan. + +### Output Controls + +**A/C Relay**: Mengkonfigurasi pin output yang ditugaskan untuk mengontrol relay A/C. Misalnya, memilih PC7 memungkinkan kontrol A/C melalui pin spesifik tersebut. + +**A/C Relay Mode**: Mendefinisikan mode output relay A/C. Ini dapat dibiarkan sebagai default untuk sebagian besar aplikasi atau disesuaikan jika diperlukan. + +## Pengaturan Timing dan Proteksi + +### Compressor Delay +**A/C Compressor Delay (sec)**: Mengatur penundaan sebelum kompresor A/C aktif, mencegah peningkatan beban mendadak pada mesin ketika A/C dinyalakan. + +- **Rekomendasi**: 1-3 detik untuk startup yang smooth + +- **Aplikasi**: Mengurangi shock load pada mesin + +### Batas Operasi Maximum + +**Max RPM (RPM)**: Mengatur RPM mesin maksimum yang diizinkan untuk operasi A/C. Jika RPM melebihi batas ini, A/C akan dinonaktifkan untuk melindungi mesin. + +- **Rekomendasi**: 6000-6500 RPM untuk mesin standar + +- **Tujuan**: Melindungi mesin pada RPM tinggi + +**Max CLT (deg C)**: Mengkonfigurasi suhu coolant maksimum untuk operasi A/C. Jika terlampaui, A/C akan otomatis mati untuk mencegah overheating. + +- **Rekomendasi**: 100-105°C untuk mesin standar + +- **Tujuan**: Mencegah overheating mesin + +**Max TPS (%)**: Mendefinisikan posisi throttle maksimum untuk operasi A/C. Jika throttle melebihi persentase ini, A/C akan mati untuk memprioritaskan performa mesin. + +- **Rekomendasi**: 80-90% untuk performa optimal + +- **Aplikasi**: Full throttle performance priority + +## Kompensasi Idle + +### Idle Speed Compensation +**A/C Idle Adder (%)**: Mengatur persentase peningkatan kecepatan idle untuk mengkompensasi beban yang disebabkan oleh kompresor A/C. + +- **Rekomendasi**: 10-15% untuk sebagian besar mesin + +- **Penyesuaian**: Sesuaikan berdasarkan beban kompresor + +**A/C Idle RPM**: Menentukan target idle RPM ketika A/C aktif, menyesuaikan kecepatan idle mesin untuk memperhitungkan beban kompresor. + +- **Rekomendasi**: +100-200 RPM dari idle normal + +- **Aplikasi**: Mencegah engine stalling saat A/C aktif + +### RPM Protection +**RPM Low Threshold (RPM)**: Ambang batas RPM minimum di bawah mana A/C secara otomatis dinonaktifkan untuk mencegah mesin mati. + +- **Rekomendasi**: 400-500 RPM di bawah idle normal + +- **Safety**: Mencegah engine stalling + +## Kontrol Tekanan Sistem + +### Pressure Limits +**Pressure Low Disable (kPa)**: Mengatur batas tekanan rendah; jika tekanan turun di bawah level ini, A/C akan dinonaktifkan untuk melindungi kompresor. + +- **Rekomendasi**: Sesuai dengan spesifikasi sistem A/C kendaraan + +- **Tujuan**: Perlindungan kompresor dari kerusakan + +**Pressure High Disable (kPa)**: Mengkonfigurasi batas tekanan tinggi; jika tekanan melebihi level ini, A/C akan dinonaktifkan untuk perlindungan sistem. + +- **Rekomendasi**: Sesuai dengan spesifikasi sistem A/C kendaraan + +- **Tujuan**: Perlindungan sistem dari tekanan berlebih + +### Hysteresis Control +**A/C Pressure Enable Hysteresis (kPa)**: Menyediakan rentang buffer di sekitar batas tekanan untuk mencegah cycling cepat sistem A/C. + +- **Rekomendasi**: 50-100 kPa untuk operasi yang stabil + +- **Fungsi**: Mencegah on/off yang terlalu sering + +## Indikator Status A/C + +Kotak putih di sisi kanan jendela mewakili berbagai pemeriksaan dan status yang terkait dengan sistem A/C. Indikator ini berubah merah untuk menunjukkan kondisi aktif, seperti: + +- **A/C Button**: Tombol A/C ditekan/aktif + +- **Pressure OK**: Tekanan dalam batas yang dapat diterima + +- **RPM OK**: RPM dalam rentang operasi A/C + +- **CLT OK**: Suhu coolant dalam batas normal + +- **TPS OK**: Throttle position dalam batas A/C + +- **System Ready**: Semua kondisi terpenuhi untuk operasi A/C + +Umpan balik visual ini membantu pengguna dengan cepat menilai apakah semua kondisi terpenuhi untuk operasi A/C. + +## Rekomendasi Konfigurasi + +### Untuk Unit Plug and Play +- Pengaturan biasanya sudah dioptimalkan dalam basemap +- Fokus pada penyesuaian suhu dan tekanan sesuai sistem kendaraan +- Verifikasi idle compensation sesuai dengan karakteristik mesin + +### Untuk Unit Kit/DIY +- Konfigurasi lengkap diperlukan sesuai spesifikasi kendaraan +- Konsultasi manual kendaraan untuk nilai tekanan yang tepat +- Test semua fungsi proteksi sebelum penggunaan normal + +### Best Practices +1. **Start Conservative**: Mulai dengan nilai yang aman dan sesuaikan bertahap +2. **Monitor Temperature**: Selalu monitor suhu coolant saat A/C beroperasi +3. **Test All Limits**: Verifikasi semua batas proteksi berfungsi dengan baik +4. **Document Changes**: Catat semua perubahan untuk referensi masa depan diff --git a/docs/tunerstudio-base-engine.md b/docs/tunerstudio-base-engine.md new file mode 100644 index 0000000..08e584a --- /dev/null +++ b/docs/tunerstudio-base-engine.md @@ -0,0 +1,145 @@ +# Base Engine Settings - TunerStudio + +Konfigurasi dasar mesin untuk ECU Mazduino menggunakan TunerStudio. Pengaturan ini mencakup parameter fundamental engine yang crucial untuk operasi ECU yang tepat. + +## Menu Base Engine Overview + +Menu **Base Engine** dalam TunerStudio berisi pengaturan esensial yang berkaitan dengan konfigurasi fundamental engine. Untuk unit **Plug and Play**, sebagian besar pengaturan ini sudah dikonfigurasi dalam basemap yang disertakan, tetapi penyesuaian masih dapat dilakukan sesuai kebutuhan spesifik. Untuk unit **Metal-series Wire In**, semua pengaturan ini perlu dikonfigurasi dengan hati-hati. + +![Base Engine Menu][image27] + +### Submenu yang Tersedia: + +1. **Base Engine**: Konfigurasi engine dasar seperti displacement, firing order, dan parameter crucial lainnya untuk operasi ECU yang tepat + +2. **Limits and Protection**: Memungkinkan pengaturan batas keselamatan untuk parameter engine seperti RPM, coolant temperature, dan oil pressure + +3. **Trigger**: Berisi pengaturan untuk konfigurasi crankshaft atau camshaft position sensor (trigger) yang essential untuk sinkronisasi ECU dengan rotasi engine + +4. **Advanced Trigger**: Menyediakan konfigurasi lebih detail untuk trigger system, termasuk pengaturan untuk advanced triggering modes + +5. **Trigger Gap Override**: Memungkinkan pengaturan manual gap override untuk trigger signal + +6. **Battery and Alternator**: Mengelola pengaturan yang berkaitan dengan battery charging dan alternator functionality + +7. **Outputs**: Mengkonfigurasi berbagai ECU output yang mengontrol komponen engine + +8. **Air Conditioning**: Mengontrol pengaturan untuk interface dengan sistem A/C kendaraan + +9. **Status LEDs**: Memungkinkan konfigurasi status LED pada ECU (jika applicable) + +## Base Engine Settings Window + +### Layout Selection + +**Layout** dropdown memungkinkan Anda memilih kompleksitas tampilan pengaturan: + +- **Tuning Layout**: Direkomendasikan untuk sebagian besar pengguna, terutama yang menggunakan Mazduino Plug and Play. Layout ini menyembunyikan beberapa tombol yang jarang digunakan, menciptakan interface yang lebih bersih + +- **Full Layout**: Menampilkan semua opsi untuk konfigurasi lengkap. Manual ini menggunakan Full layout untuk memastikan kejelasan + +![Base Engine Settings][image28] + +### Engine Configuration + +#### Basic Engine Parameters + +1. **Number of Cylinders**: Atur jumlah silinder engine Anda (misalnya 4, 6, 8) + - Pengaturan ini mempengaruhi kalkulasi timing dan fuel delivery + - Pastikan sesuai dengan spesifikasi engine aktual + +2. **Displacement (L)**: Masukkan displacement engine dalam liter + - Input essential untuk menghitung air-fuel ratio dan parameter tuning lainnya + - Digunakan untuk kalkulasi volumetric efficiency + +3. **Firing Order**: Tentukan firing order engine Anda + - Asumsi bahwa wiring kendaraan di-map langsung + - Setiap silinder terhubung ke output number yang sesuai (Silinder 1 ke Output 1, dll.) + - Memastikan sinkronisasi yang tepat antara ECU dan engine + +#### Engine Metadata + +Field-field ini digunakan terutama oleh rusEFI Online dan memberikan konteks tambahan: + +1. **Engine Make**: Masukkan manufacturer atau brand engine (contoh: Toyota) +2. **Manufacturer Engine Code**: Masukkan kode engine (contoh: 22R) +3. **Vehicle Name**: Nama custom untuk kendaraan (contoh: "ProjectCar") +4. **Forced Induction**: Toggle opsi ini jika engine memiliki forced induction (turbo/supercharger) + +### Fuel Strategy + +Menentukan metode yang digunakan untuk menghitung fuel delivery. Opsi yang tersedia: + +#### 1. Speed Density +- **Prinsip**: Menggunakan intake manifold pressure (MAP) dan intake air temperature (IAT) untuk menghitung air density dan fuel requirements + +- **Aplikasi**: Strategi umum, terutama untuk naturally aspirated atau turbocharged engines + +- **Keuntungan**: Reliable dan well-tested untuk sebagian besar aplikasi + +#### 2. MAF Air Charge +- **Prinsip**: Bergantung pada Mass Air Flow (MAF) sensor untuk mengukur jumlah udara yang masuk engine secara langsung + +- **Aplikasi**: Efektif untuk engine yang dilengkapi dengan MAF sensor + +- **Keuntungan**: Direct measurement dari airflow + +#### 3. Alpha-N +- **Prinsip**: Menggunakan throttle position sebagai load input utama untuk kalkulasi fuel + +- **Aplikasi**: Digunakan pada engine dengan individual throttle bodies atau yang tidak memiliki MAP signal yang reliable + +- **Keuntungan**: Cocok untuk ITB setups dan modified intake systems + +#### 4. Lua +- **Prinsip**: Memungkinkan kalkulasi fuel custom menggunakan Lua scripting + +- **Aplikasi**: Aplikasi tuning yang highly specific di mana strategi lain tidak applicable + +- **Keuntungan**: Fleksibilitas maksimum untuk custom applications + +## Rekomendasi Berdasarkan Tipe Unit + +### Plug and Play Units +- Sebagian besar pengaturan sudah dikonfigurasi optimal dalam basemap +- Fokus pada penyesuaian engine-specific parameters: + - Engine displacement jika berbeda dari default + - Firing order jika custom + - Fuel strategy jika menggunakan setup khusus + +### Metal-series Wire In Units +- Semua pengaturan perlu dikonfigurasi dari awal +- Mulai dengan basic engine parameters +- Verifikasi fuel strategy sesuai dengan sensor setup +- Test dan validasi semua pengaturan sebelum first start + +## Tips Konfigurasi + +### Best Practices +1. **Double-check engine specifications** sebelum input parameters +2. **Start conservative** dengan pengaturan dasar +3. **Verify wiring** sesuai dengan firing order yang dipilih +4. **Test incrementally** setiap perubahan configuration + +### Common Mistakes +1. **Salah firing order** - dapat menyebabkan rough idle atau misfire +2. **Displacement tidak akurat** - mempengaruhi fuel calculations +3. **Fuel strategy tidak sesuai** dengan sensor setup yang ada +4. **Forced induction setting** yang salah untuk NA engines + +### Troubleshooting +- **Engine tidak start**: Periksa firing order dan trigger settings + +- **Rough idle**: Verifikasi number of cylinders dan displacement + +- **Poor fuel economy**: Review fuel strategy selection + +- **Inconsistent performance**: Check engine metadata untuk akurasi + +--- + +**Selanjutnya**: [Limits and Protection](tunerstudio-limits-protection.md) + + +[image27]: # "Base Engine Menu" +[image28]: # "Base Engine Settings Window" \ No newline at end of file diff --git a/docs/tunerstudio-canbus.md b/docs/tunerstudio-canbus.md new file mode 100644 index 0000000..870f12e --- /dev/null +++ b/docs/tunerstudio-canbus.md @@ -0,0 +1,212 @@ +# Konfigurasi CAN Bus TunerStudio + +## Pengantar +Sistem CAN Bus pada Mazduino memungkinkan komunikasi dengan berbagai perangkat eksternal seperti dashboard, sensor, dan kontroler tambahan. Menu CAN Bus menyediakan konfigurasi lengkap untuk komunikasi data engine management. + +![CAN Bus Menu](images/canbus-menu.png) + +## Menu CAN Bus Overview + +- **CAN Bus Settings** - Mengkonfigurasi baud rate jaringan CAN, ID, dan prioritas pesan untuk komunikasi dengan perangkat eksternal +- **CAN Vehicle Speed Sensor** - Mengatur data kecepatan kendaraan yang diterima melalui sensor kecepatan berbasis CAN +- **CAN O2 Sensors** - Mengaktifkan dan mengkonfigurasi sensor oksigen wideband yang berkomunikasi melalui jaringan CAN +- **CAN EGT Sensors** - Menetapkan dan menskala sensor suhu gas buang (EGT) berbasis CAN +- **CAN MS IO-Box Settings** - Mengkonfigurasi IO box eksternal untuk memperluas input dan output melalui jaringan CAN + +## Pengaturan Komunikasi CAN Bus + +![CAN Bus Communication Settings](images/canbus-communication.png) + +### Konfigurasi Utama + +1. **CAN Dash Type** - Pilih tipe dashboard yang terhubung via CAN. Opsi termasuk None, dashboard custom, atau dashboard predefined seperti yang digunakan dalam motorsports, memungkinkan kompatibilitas dengan display eksternal. + +2. **Inertia Measurement Unit** - Pilih perangkat IMU eksternal jika digunakan. Pengaturan ini memungkinkan integrasi accelerometer dan gyroscope untuk sensing gerakan kendaraan lanjutan, umumnya digunakan dalam mobil balap. + +3. **CAN Read Enabled** - Mengaktifkan ECU untuk menerima dan memproses data dari perangkat di bus CAN, seperti display dashboard atau sensor eksternal. + +4. **CAN Write Enabled** - Memungkinkan ECU untuk mentransmisi data, mengaktifkan interaksi dengan dashboard, perangkat logging, atau sistem kontrol lainnya. + +5. **Enable rusEFI CAN Broadcast** - Mengirim data format standar secara berkala melalui bus CAN untuk perangkat yang terhubung. + +6. **Enable Extended rusEFI CAN Broadcast** - Menyiarkan data tambahan spesifik rusEFI untuk opsi integrasi yang diperluas, berguna untuk setup lanjutan seperti integrasi CAN custom. + +7. **rusEFI CAN Data Bus** - Mendefinisikan apakah broadcast data terjadi di bus CAN pertama atau kedua, mengakomodasi sistem dual-bus. + +8. **rusEFI CAN Base Address** - Alamat memori awal untuk data yang ditransmisi di jaringan CAN. Sesuaikan jika terjadi konflik dengan perangkat lain. + +9. **rusEFI CAN Data Address Type** - Pilih antara format alamat CAN 11-bit (standar) atau 29-bit (extended) berdasarkan persyaratan jaringan. Extended addressing digunakan dalam sistem dengan lebih banyak perangkat. + +10. **rusEFI CAN Data Period (ms)** - Menentukan frekuensi broadcasting data rusEFI. Misalnya, pengaturan 50 ms menghasilkan transmisi data setiap 50 milidetik. + +### Pengaturan Primary CAN + +11. **Primary CAN Verbose** - Mengkonfigurasi level pesan debugging untuk Primary CAN bus. Berguna untuk mendiagnosis masalah komunikasi. + +12. **Primary CAN Bitrate** - Mengatur kecepatan komunikasi Primary CAN bus. Default adalah 500 kbps, tetapi rate yang lebih rendah atau tinggi mungkin diperlukan untuk setup spesifik. + +13. **Primary CAN Allow OpenBLT** - Mengaktifkan kompatibilitas dengan bootloader OpenBLT, memungkinkan update firmware melalui Primary CAN bus. + +### Pengaturan Secondary CAN + +14. **Secondary CAN Verbose** - Sama dengan Primary CAN Verbose tetapi berlaku untuk Secondary CAN bus. + +15. **Secondary CAN Bitrate** - Menyesuaikan kecepatan Secondary CAN bus, mencocokkannya dengan persyaratan perangkat yang terhubung. + +16. **Secondary CAN Allow OpenBLT** - Memungkinkan update firmware melalui Secondary CAN bus menggunakan OpenBLT, berguna untuk setup dengan multiple networks. + +## CAN O2 Sensor Configuration + +![CAN O2 Sensor](images/can-o2-sensor.png) + +### Konfigurasi CAN Wideband + +**Enable CAN Wideband**: + +- Bekerja dengan **unit wideband AEM** atau **Mazduino** yang dihubungkan melalui CAN +- Pilih **channel CAN bus** tempat wideband terhubung +- Jika channel tertukar, aktifkan **Swap Channels 1 and 2** +- Opsi **Force O2 sensor heating** dapat mengesampingkan kontrol heating otomatis, meskipun biasanya diatur ke "No" + +**CAN Indicators**: + +- Menampilkan status operasional sistem wideband +- Indikator hijau menandakan operasi yang tepat (mis. Heating Allowed, Communication OK) +- Indikator merah menyoroti masalah seperti kegagalan heating atau sensor underheating/overheating + +### Keuntungan CAN Wideband + +1. **Komunikasi Digital**: Menghilangkan noise analog dan memberikan akurasi tinggi +2. **Multiple Sensors**: Mendukung beberapa sensor wideband dalam satu bus CAN +3. **Diagnostics**: Informasi status real-time untuk troubleshooting +4. **Kalibrasi Otomatis**: Sensor CAN umumnya sudah dikalibrasi dari pabrik + +## CAN Vehicle Speed Sensor + +### Konfigurasi CAN VSS + +1. **Enable CAN VSS**: Mengaktifkan penggunaan CAN-based Vehicle Speed Sensor (VSS) alih-alih input speed sensor langsung. + +2. **CAN VSS Type**: Memilih tipe kendaraan untuk data kecepatan berbasis CAN: + - BMW e46 + - Generic CAN + - Custom protocol + +3. **CAN VSS Scaling (ratio)**: Menyesuaikan faktor skala untuk data CAN VSS agar sesuai dengan kecepatan aktual. + +### Keuntungan CAN VSS + +- **Akurasi Tinggi**: Data digital memberikan akurasi lebih baik daripada sensor analog + +- **Integrasi Mudah**: Menggunakan data yang sudah tersedia dari ECU OEM + +- **Reduced Wiring**: Mengurangi kebutuhan wiring tambahan untuk sensor kecepatan + +## CAN EGT Sensors + +![CAN EGT Sensors](images/can-egt-sensors.png) + +### Konfigurasi EGT + +Sensor EGT (Exhaust Gas Temperature) berbasis CAN memungkinkan monitoring suhu gas buang untuk multiple silinder tanpa kompleksitas wiring analog. + +1. **EGT Sensor Assignment**: + - Tetapkan setiap sensor EGT ke silinder spesifik + - Konfigurasikan CAN ID untuk setiap sensor + - Set scaling dan offset untuk kalibrasi yang akurat + +2. **Temperature Limits**: + - Warning temperature untuk proteksi engine + - Critical temperature untuk engine shutdown + - Hysteresis untuk mencegah false triggering + +3. **Averaging and Filtering**: + - Time constant untuk smoothing pembacaan + - Sample rate configuration + - Error detection dan fallback values + +### Aplikasi EGT Monitoring + +- **Tuning Optimization**: Monitoring suhu untuk tuning yang aman + +- **Engine Protection**: Deteksi kondisi lean atau overheating + +- **Performance Analysis**: Analisis distribusi suhu antar silinder + +- **Turbo Protection**: Monitoring suhu untuk proteksi turbocharger + +## CAN IO Box Configuration + +### MS IO-Box Settings + +CAN IO Box memungkinkan ekspansi input/output melalui jaringan CAN, ideal untuk aplikasi yang membutuhkan banyak I/O. + +1. **Box Assignment**: + - Konfigurasikan alamat CAN untuk setiap IO box + - Set communication timeout + - Enable/disable individual boxes + +2. **Input Configuration**: + - Analog input scaling + - Digital input pull-up/pull-down + - Input filtering dan debouncing + +3. **Output Configuration**: + - PWM output frequency + - Digital output current limits + - Fault detection dan protection + +### Keuntungan IO Box + +- **Ekspansi I/O**: Menambah kemampuan input/output tanpa ECU yang lebih besar + +- **Distributed Control**: IO dapat ditempatkan dekat dengan sensor/aktuator + +- **Modular Design**: Mudah untuk menambah atau mengurangi I/O sesuai kebutuhan + +- **Cost Effective**: Lebih ekonomis daripada upgrade ke ECU yang lebih besar + +## Troubleshooting CAN Bus + +### Common Issues + +1. **Communication Timeout**: + - Periksa wiring CAN High/Low + - Verifikasi termination resistor (120Ω di setiap ujung bus) + - Cek baud rate yang konsisten + +2. **Message Conflicts**: + - Pastikan CAN ID unik untuk setiap perangkat + - Periksa message priority + - Verifikasi timing configuration + +3. **Data Corruption**: + - Periksa kualitas wiring dan shielding + - Verifikasi ground connections + - Cek interferensi elektromagnetik + +### Diagnostic Tools + +- **CAN Bus Monitor**: Real-time monitoring pesan CAN + +- **Error Counters**: Tracking error transmit/receive + +- **Bus Load Analysis**: Monitoring utilisasi bandwidth CAN + +- **Message Logging**: Recording untuk analisis offline + +## Best Practices + +### Wiring Guidelines + +1. **Twisted Pair Cable**: Gunakan kabel twisted pair untuk CAN High/Low +2. **Proper Termination**: 120Ω resistor di kedua ujung bus +3. **Star Topology**: Hindari topologi star, gunakan linear bus +4. **Cable Length**: Maksimum panjang tergantung baud rate + +### Network Design + +1. **Baud Rate Selection**: Pilih rate yang sesuai dengan aplikasi +2. **Message Priority**: Set prioritas berdasarkan kritikalitas data +3. **Redundancy**: Pertimbangkan backup communication untuk sistem critical +4. **Error Handling**: Implement proper error detection dan recovery diff --git a/docs/tunerstudio-controller.md b/docs/tunerstudio-controller.md new file mode 100644 index 0000000..4f073cc --- /dev/null +++ b/docs/tunerstudio-controller.md @@ -0,0 +1,270 @@ +# Controller & Diagnostics TunerStudio + +## Pengantar +Menu **Controller** menyediakan akses ke berbagai tool diagnostik dan testing untuk ECU Mazduino. Fitur-fitur ini memungkinkan testing komprehensif, troubleshooting, dan konfigurasi lanjutan untuk memastikan operasi engine management yang optimal. + +![Controller Menu](images/controller-menu.png) + +## Opsi Menu Controller + +### 1. ECU Stimulator +Mensimulasikan berbagai input untuk menguji fungsionalitas ECU tanpa engine yang berjalan. + +### 2. Bench Test +Memungkinkan testing output seperti injektor dan ignition coil untuk troubleshooting atau setup. + +### 3. Injector Test +Menyediakan cara terkontrol untuk menguji performa dan flow rate injektor. + +### 4. Popular Vehicles +Konfigurasi predefined untuk kendaraan umum, menyederhanakan setup awal. + +### 5. rusEFI Console +Interface terminal untuk debugging detail dan konfigurasi lanjutan. + +### 6. SD Card Logger +Mengelola pengaturan logging onboard untuk penyimpanan dan pengambilan data. + +### 7. Connection +Mengkonfigurasi parameter koneksi antara ECU dan software, seperti baud rate. + +### 8. Full Pinout (1/3, 2/3, 3/3) +Menampilkan detail pinout lengkap untuk ECU wire-in sebagai referensi hardware. + +### 9. Fancy Board +Tersedia di ECU wire-in, digunakan untuk mengkonfigurasi pengaturan I/O fleksibel. + +### 10. Traction Control ETB Drop +Mengurangi posisi throttle untuk mengelola wheel slip selama event traction control. + +### 11. Traction Control Timing Adjustment +Menyesuaikan ignition timing secara dinamis untuk kontrol wheel slip. + +### 12. Traction Control Skip Ignition +Melewati event ignition untuk mengurangi power engine dan mengelola traksi. + +### 13. Experimental 1, 2, 3 +Fitur testing lanjutan untuk developer dan setup eksperimental. + +### 14. Anti-Lag ALS +Mengkonfigurasi sistem anti-lag untuk engine turbocharged untuk mempertahankan tekanan boost. + +### 15. Rotary +Mengaktifkan konfigurasi kontrol engine spesifik rotary. + +### 16. Throttle Effective Area +Mengkalibrasi area efektif throttle body untuk modeling airflow. + +## Bench Test & Commands + +![Bench Test Commands](images/bench-test-commands.png) + +Dialog **Bench Test & Commands** berisi beberapa grup tombol yang memungkinkan testing output spesifik dengan membuat pulsa sesuai pengaturan yang dikonfigurasi: + +### Grup Testing + +1. **Spark Test**: Membuat pulsa pada output ignition +2. **Injector Test**: Membuat pulsa pada output injektor +3. **TCU Solenoid Test**: Membuat pulsa pada solenoid kontrol transmisi (jika tersedia) +4. **Lua Out Test**: Membuat pulsa pada output yang dikonfigurasi Lua +5. **Miscellaneous Commands**: Mengaktifkan fungsi spesifik seperti testing relay A/C, idle air valve, menghentikan engine, reboot ECU, atau reset konfigurasi + +### Pengaturan Konfigurasi + +Pengaturan yang dapat dikonfigurasi memungkinkan kontrol presisi atas testing: + +- **Count**: Menentukan berapa banyak pulsa yang akan dihasilkan. Misalnya, setting 3 akan menghasilkan 3 pulsa. + +- **On Time (ms)**: Menentukan berapa lama setiap output tetap aktif per pulsa. Misalnya, setting 4 ms akan mengaktifkan output selama 4 milidetik. + +- **Off Time (ms)**: Menentukan durasi tidak aktif antara pulsa. Misalnya, setting 500 ms akan menciptakan delay 500 milidetik sebelum pulsa berikutnya. + +Kontrol ini memastikan testing output yang konsisten dan dapat diulang untuk tujuan diagnostik dan validasi. + +### Aplikasi Bench Test + +1. **Verifikasi Wiring**: Memastikan koneksi yang benar untuk injektor dan coil +2. **Testing Flow Rate**: Menguji flow rate injektor dengan setting waktu yang presisi +3. **Troubleshooting**: Mendiagnosis masalah output tanpa menjalankan engine +4. **Setup Validation**: Memverifikasi konfigurasi sebelum start awal engine + +## Fancy Board Configuration + +![Fancy Board](images/fancy-board.png) + +Fitur **Fancy Board** tersedia di ECU wire-in untuk konfigurasi I/O yang fleksibel: + +### Mode Input Configuration + +- **With Pull-Up**: Menambah resistor pull-up internal ke sirkuit, menarik line sinyal ke voltase tinggi (biasanya 5V) ketika tidak ada sinyal aktif. Ini cocok untuk sensor atau switch yang menarik sinyal low ketika dipicu. + +- **With Pull-Down**: Menambah resistor pull-down internal, menarik line sinyal ke ground ketika tidak ada sinyal aktif. Ini ideal untuk sensor atau switch yang menggerakkan sinyal high ketika diaktifkan. + +- **VR**: Memungkinkan switching input antara mode sensor VR (Variable Reluctance) two-wire dan mode input Hall. Sensor VR menghasilkan sinyal AC dan memerlukan pemrosesan khusus, sedangkan sensor Hall menghasilkan sinyal digital on/off. Memilih mode yang benar memastikan input memproses tipe sinyal dengan akurat. + +### Keuntungan Konfigurasi Fleksibel + +1. **Adaptabilitas**: Satu pin dapat dikonfigurasi untuk berbagai tipe sensor +2. **Cost Effective**: Mengurangi kebutuhan hardware eksternal +3. **Easy Reconfiguration**: Perubahan dapat dilakukan melalui software +4. **Signal Conditioning**: Built-in conditioning untuk berbagai tipe sinyal + +## Traction Control Configuration + +![Traction Control Tables](images/traction-control-tables.png) + +### Overview Tabel Traction Control + +1. **Y-Axis (Slip Ratio)**: Merepresentasikan jumlah wheel slip yang terdeteksi. Nilai `1.0` menunjukkan tidak ada slip, sedangkan nilai di atas `1.0` (mis. `1.1`) menunjukkan slip (mis. `1.1` merepresentasikan 10% slip). + +2. **X-Axis (Vehicle Speed)**: Merepresentasikan kecepatan kendaraan dalam kilometer per jam. + +3. **Timing Drop Table**: Menghilangkan ignition timing sebesar nilai positif yang ditentukan dalam tabel ketika slip terdeteksi. Semakin besar nilai, semakin banyak timing yang dikurangi. + +4. **ETB Drop Table**: Memerintahkan pengurangan throttle (ETB = Electronic Throttle Body) sebesar nilai negatif yang ditentukan. Angka negatif yang lebih tinggi berarti pengurangan throttle yang lebih besar. + +5. **Ignition Skip Table**: Melewati event ignition sebesar persentase yang ditentukan dalam tabel (mis. `50%` melewati setengah dari event ignition). + +6. **Consecutive Ignition Skips (Dropdown)**: Memungkinkan kontrol atas melewati event ignition berturut-turut. Ketika diatur ke `true`, dua atau lebih event ignition dapat dilewati secara berurutan, yang direkomendasikan dalam sebagian besar kasus untuk traction control yang efektif. Ketika diatur ke `false`, skip berturut-turut tidak diizinkan. + +### Strategi Traction Control + +#### Timing Drop Strategy +- **Low Speed**: Pengurangan timing yang lebih agresif untuk kontrol slip yang efektif + +- **High Speed**: Pengurangan timing yang lebih moderat untuk stabilitas + +- **Progressive Control**: Pengurangan bertahap sesuai tingkat slip + +#### Throttle Control Strategy +- **Immediate Response**: Pengurangan throttle cepat untuk kontrol slip instan + +- **Smooth Operation**: Transisi throttle yang halus untuk comfort pengemudi + +- **Load Dependent**: Pengurangan yang disesuaikan dengan kondisi beban + +#### Ignition Skip Strategy +- **Severe Slip**: Skip ignition untuk pengurangan power dramatis + +- **Mild Slip**: Skip minimal untuk kontrol halus + +- **Pattern Control**: Skip pattern yang dioptimasi untuk efektivitas + +### Tuning Guidelines + +1. **Start Conservative**: Mulai dengan nilai rendah dan tingkatkan bertahap +2. **Test Safely**: Lakukan testing di lingkungan yang aman dan terkontrol +3. **Monitor Effectiveness**: Gunakan data logging untuk evaluasi performa +4. **Vehicle Specific**: Sesuaikan dengan karakteristik kendaraan spesifik + +## SD Card Logger + +![SD Card Logger](images/sd-card-logger.png) + +### Konfigurasi Logging + +SD Card Logger menyediakan kemampuan logging data onboard untuk analisis performa dan troubleshooting. + +#### Pengaturan Logging + +1. **Enable SD Logging**: Mengaktifkan/menonaktifkan fungsi logging SD card +2. **Logging Period**: Interval waktu antara sample data (ms) +3. **Buffer Size**: Ukuran buffer untuk data sebelum ditulis ke SD card +4. **Auto Start**: Memulai logging otomatis saat engine start + +#### Parameter Logging + +- **Engine Parameters**: RPM, Load, TPS, MAP, IAT, CLT + +- **Fuel System**: Injector duty cycle, fuel pressure, AFR + +- **Ignition System**: Timing advance, dwell time, knock events + +- **Sensor Data**: Semua input sensor yang dikonfigurasi + +- **Calculated Values**: VE, timing corrections, lambda targets + +#### File Management + +1. **File Naming**: Format nama file dengan timestamp +2. **File Rotation**: Otomatis membuat file baru setelah ukuran maksimum +3. **Storage Management**: Monitoring ruang tersedia di SD card +4. **Data Format**: Format CSV untuk kompatibilitas analisis + +### Keuntungan SD Logging + +- **Standalone Operation**: Logging tanpa koneksi laptop + +- **High Resolution**: Sample rate tinggi untuk data detail + +- **Large Capacity**: Kemampuan storage besar untuk session panjang + +- **Portable**: Data dapat dianalisis di berbagai platform + +## rusEFI Console + +![rusEFI Console](images/rusefi-console.png) + +### Interface Console + +rusEFI Console menyediakan interface command-line untuk debugging dan konfigurasi lanjutan: + +#### Command Categories + +1. **Engine Commands**: + - `info`: Informasi status engine + - `status`: Status sistem real-time + - `sensors`: Pembacaan sensor real-time + - `actuators`: Status aktuator + +2. **Calibration Commands**: + - `calibrate_tps`: Kalibrasi TPS otomatis + - `calibrate_pedal`: Kalibrasi pedal position + - `learn_idle`: Learning mode untuk idle control + +3. **Diagnostic Commands**: + - `errors`: Menampilkan error codes aktif + - `reset_errors`: Clear error codes + - `test_injector`: Test injektor individual + - `test_coil`: Test ignition coil individual + +4. **Configuration Commands**: + - `save_config`: Simpan konfigurasi ke flash + - `load_config`: Load konfigurasi dari file + - `factory_reset`: Reset ke pengaturan default + +### Advanced Features + +#### Real-time Monitoring +- Live data streaming dari semua sensor +- Calculated parameters dan internal states +- Error detection dan reporting +- Performance metrics + +#### Tuning Support +- Live table editing +- Parameter adjustment tanpa restart +- Backup dan restore konfigurasi +- Batch command execution + +#### Development Tools +- Memory dump dan analysis +- Register access untuk low-level debugging +- Timing analysis dan profiling +- Custom script execution + +## Connection Configuration + +### Communication Settings + +1. **Port Selection**: Pilih port komunikasi (USB, Serial) +2. **Baud Rate**: Kecepatan komunikasi (115200, 256000) +3. **Protocol**: Format komunikasi (rusEFI, MSCAN) +4. **Timeout**: Waktu tunggu untuk response + +### Connection Troubleshooting + +1. **Driver Issues**: Pastikan driver USB terinstall dengan benar +2. **Port Conflicts**: Periksa port yang digunakan aplikasi lain +3. **Cable Quality**: Gunakan kabel USB berkualitas baik +4. **EMI Interference**: Hindari interferensi elektromagnetik diff --git a/docs/tunerstudio-examples.md b/docs/tunerstudio-examples.md new file mode 100644 index 0000000..912a5e1 --- /dev/null +++ b/docs/tunerstudio-examples.md @@ -0,0 +1,319 @@ +# Examples & Map Switching TunerStudio + +## Pengantar +Bagian ini menyediakan contoh praktis implementasi fitur TunerStudio Mazduino, dengan fokus khusus pada Map Switching yang memungkinkan pergantian tune secara real-time untuk kondisi operasi yang berbeda. + +## Map Switching + +![Map Switching Overview](images/map-switching-overview.png) + +Map Switching adalah fitur powerful yang memungkinkan ECU untuk beralih antara konfigurasi tune yang berbeda berdasarkan input eksternal seperti switch, sensor, atau kondisi operasi tertentu. + +### Konsep Dasar Map Switching + +Map Switching bekerja dengan cara "blending" atau mencampur table utama (base table) dengan table tambahan (blend table) berdasarkan parameter tertentu. Hasil akhir adalah interpolasi antara kedua table sesuai dengan kondisi yang diinginkan. + +**Keuntungan Map Switching**: + +- Optimasi untuk kondisi operasi berbeda (street vs track) +- Adaptasi untuk kualitas bahan bakar berbeda (octane rating) +- Penyesuaian untuk kondisi cuaca atau ketinggian +- Tuning progressive untuk performa bertahap + +## Implementasi Map Switching + +### 1. Wiring Switch + +![Switch Wiring](images/switch-wiring.png) + +Untuk mengaktifkan map switching, Anda perlu menghubungkan switch fisik antara pin +5V ECU dan pin analog input yang tersedia (misalnya salah satu Aux Linear Sensor). + +**Konfigurasi Wiring**: + +- **Switch OFF**: Analog input membaca 0V + +- **Switch ON**: Analog input membaca +5V + +- **Threshold**: Kalibrasi seperti gambar berikut, dimana nilai di bawah 3V dianggap sebagai 0, dan nilai di atas 3.5V dianggap sebagai 1 + +**Langkah Wiring**: + +1. Identifikasi pin analog input yang tidak digunakan +2. Hubungkan satu terminal switch ke pin +5V ECU +3. Hubungkan terminal lain switch ke analog input terpilih +4. Tambahkan pull-down resistor (10kΩ) dari analog input ke ground +5. Test kontinuitas dan isolasi dengan multimeter + +### 2. Konfigurasi Blend Table + +![Blend Table Configuration](images/blend-table-config.png) + +Setelah wiring selesai, konfigurasikan blend table yang diinginkan di TunerStudio: + +#### Memilih Blend Table +1. **VE Blend Table**: Untuk modifikasi fuel mapping +2. **Ignition Blend Table**: Untuk adjustment timing +3. **Boost Blend Table**: Untuk kontrol turbo yang berbeda +4. **Lambda Target Blend**: Untuk AFR target yang berbeda + +#### Pengaturan Blend Parameter Source +**Blend Parameter** diatur ke analog input (misalnya **Aux Linear 1**) dimana switch dihubungkan. Input ini menentukan seberapa banyak blend table yang dicampur ke base table. + +- **Switch OFF (0V)**: Parameter value minimum (0), ECU menggunakan nilai "Bias" yang didefinisikan dalam table (misalnya 0% blend) + +- **Switch ON (5V)**: Parameter value maksimum (misalnya 1.0), ECU menggunakan **100% dari blend table** + +### 3. Cara Kerja Bias Table + +![Bias Table Function](images/bias-table-function.png) + +**Bias Table** mendefinisikan persentase blend table yang akan diterapkan: + +- **Param = 0**: Bias value **0%**, tidak ada blend yang diterapkan, base table tetap aktif + +- **Param = 1.0**: Bias value **100%**, ECU sepenuhnya menggunakan blend table + +**Contoh Praktis VE Blend**: + +- **Switch OFF (0V)**: Blend table diabaikan (0% bias) + +- **Switch ON (5V)**: Blend table sepenuhnya diterapkan (100% bias) + +- Dalam VE blend ini, ketika switch tidak diaktifkan, table diabaikan. Setelah switch diaktifkan, table ini secara langsung menambah ke base VE table, artinya jika switch diaktifkan dan kita berada di 4000RPM dengan 80% load, kita akan menambahkan 10% VE ke kalkulasi fueling utama. + +## Contoh Aplikasi Map Switching + +### 1. Street vs Track Mode + +![Street vs Track Mode](images/street-track-mode.png) + +**Setup**: + +- **Base Map**: Tune conservative untuk penggunaan harian + +- **Blend Map**: Modifikasi aggressive untuk track day + +**Konfigurasi**: +``` +Base VE Table: Conservative fueling untuk reliability +Blend VE Table: +5% VE di high load areas untuk power +Ignition Base: Safe timing untuk pump gas +Ignition Blend: +3° advance untuk race fuel +``` + +**Operasi**: + +- Switch OFF: Street mode dengan fueling conservative dan timing safe + +- Switch ON: Track mode dengan fueling enriched dan timing advanced + +### 2. Fuel Quality Switching + +![Fuel Quality Switching](images/fuel-quality-switch.png) + +**Setup**: + +- **Base Map**: Tune untuk premium fuel (RON 92-95) + +- **Blend Map**: Adjustment untuk race fuel (RON 98+) + +**Konfigurasi**: +``` +Base Tables: Optimized untuk pump gas +Ignition Blend: +4-6° timing advance untuk high octane +Lambda Target Blend: Leaner targets untuk better power +Boost Blend: +0.2 bar additional boost untuk race fuel +``` + +### 3. Progressive Tuning + +![Progressive Tuning](images/progressive-tuning.png) + +Gunakan analog input variable (potensiometer) alih-alih switch on/off untuk progressive blending: + +**Setup Potensiometer**: + +- **0V**: 0% blend (full base map) + +- **2.5V**: 50% blend (mixture of base and blend) + +- **5V**: 100% blend (full blend map) + +**Aplikasi**: + +- Driver dapat adjust level aggressiveness secara real-time +- Testing berbagai setting tanpa reflash ECU +- Gradual transition antara tune yang berbeda + +## Advanced Map Switching Techniques + +### 1. Multi-Parameter Switching + +![Multi-Parameter Switching](images/multi-parameter-switching.png) + +Gunakan multiple inputs untuk switching yang lebih kompleks: + +**Contoh Setup**: +``` +Aux Linear 1: Fuel quality switch (91/95/98 octane) +Aux Linear 2: Weather conditions (hot/cold/humid) +Aux Linear 3: Load condition (street/highway/track) +``` + +**Table Configuration**: + +- Base table untuk kondisi normal +- Multiple blend tables untuk kombinasi kondisi +- Advanced blending logic menggunakan multiple parameters + +### 2. Automatic Switching + +![Automatic Switching](images/auto-switching.png) + +Implementasi switching otomatis berdasarkan kondisi operasi: + +**Trigger Conditions**: + +- **RPM Range**: Switch ke high-RPM tune di atas 6000 RPM + +- **Load Based**: Aggressive tune hanya pada high load (>80% TPS) + +- **Temperature**: Cold start enrichment automatic switching + +- **Speed Based**: Highway vs city driving modes + +**Configuration Example**: +``` +Blend Parameter: RPM +Bias Table: + +- RPM < 4000: 0% blend (base tune) + +- RPM 4000-6000: Progressive blend 0-50% + +- RPM > 6000: 100% blend (performance tune) +``` + +### 3. Safety Switching + +![Safety Switching](images/safety-switching.png) + +Implementasi safety features dengan map switching: + +**Limp Mode**: + +- Automatic switch ke safe tune jika sensor error +- Reduced power dan conservative timing +- Enable basic engine operation untuk safely reach service + +**Example Safety Configuration**: +``` +Error Condition: MAP sensor fault +Action: Switch to Speed Density backup tune +Limitations: Max 3000 RPM, conservative timing +Duration: Until error cleared and ECU reset +``` + +## Troubleshooting Map Switching + +### Common Issues + +1. **Switch Not Responding**: + - Verify wiring continuity dan voltage levels + - Check analog input calibration + - Ensure proper pull-up/pull-down resistor values + +2. **Erratic Switching**: + - Add filtering atau hysteresis ke switching logic + - Check for electrical noise di switching signal + - Verify stable power supply + +3. **Unexpected Behavior**: + - Verify blend table values dan scaling + - Check bias table configuration + - Ensure parameter source assignment correct + +### Diagnostic Steps + +1. **Monitor Raw Input**: Gunakan TunerStudio untuk monitor raw voltage dari switching input +2. **Test Tables**: Verify base dan blend table values masuk akal +3. **Log Data**: Record switching events dan resulting behavior +4. **Incremental Testing**: Test switching dengan engine off terlebih dahulu + +## Best Practices + +### Design Guidelines + +1. **Start Simple**: Mulai dengan simple on/off switching sebelum advanced blending +2. **Safety First**: Selalu include safety limits di blend tables +3. **Documentation**: Document semua switching logic dan table purposes +4. **Testing**: Comprehensive testing di controlled environment + +### Tuning Recommendations + +1. **Conservative Base**: Base map harus safe untuk semua kondisi +2. **Gradual Changes**: Blend table harus smooth transitions +3. **Limit Extremes**: Avoid extreme values di blend tables +4. **Monitor Results**: Always monitor AFR dan timing saat switching + +### Maintenance + +1. **Regular Inspection**: Periksa switch mechanical condition +2. **Electrical Check**: Monitor input signal stability +3. **Table Review**: Periodic review table accuracy +4. **Update Documentation**: Keep switching logic documented + +## Integration dengan Fitur Lain + +### Launch Control Integration + +Map switching dapat diintegrasikan dengan launch control: +``` +Launch Active: Switch to launch timing map +Normal Operation: Return to selected tune map +``` + +### Traction Control Integration + +Different maps untuk kondisi traction: +``` +Good Traction: Full performance map +Slip Detected: Reduced torque map dengan timing retard +``` + +### Boost Control Integration + +Coordinate map switching dengan boost control: +``` +Base Map: Conservative boost targets +Blend Map: Increased boost dengan supporting fuel/timing +``` + +## Warranty Considerations + +### Approved Uses + +Map switching untuk approved applications tidak void warranty: + +- Different fuel grades switching +- Weather condition adaptation +- Conservative vs performance modes + +### Restricted Uses + +Certain extreme applications dapat void warranty: + +- Nitrous oxide switching (requires approval) +- Extreme boost level switching +- Racing-only applications tanpa safety limits + +## Kesimpulan + +Map switching adalah tool powerful yang memberikan fleksibilitas tremendous untuk adaptasi tune terhadap berbagai kondisi operasi. Dengan implementasi yang tepat, fitur ini dapat significantly improve drivability, performance, dan safety dari engine management system. + +Key points untuk successful map switching: + +- Proper electrical installation dan calibration +- Conservative base maps dengan well-designed blend tables +- Thorough testing dan documentation +- Regular maintenance dan monitoring diff --git a/docs/tunerstudio-fuel-system.md b/docs/tunerstudio-fuel-system.md new file mode 100644 index 0000000..8957824 --- /dev/null +++ b/docs/tunerstudio-fuel-system.md @@ -0,0 +1,273 @@ +# Fuel System Configuration - TunerStudio + +Konfigurasi komprehensif untuk sistem bahan bakar ECU Mazduino. Menu **Fuel** berisi berbagai pengaturan yang mengontrol fuel injection, enrichment, correction factors, dan kompensasi terkait fuel. + +![Fuel Menu][image33] + +## Fuel Menu Overview + +Menu **Fuel** menyediakan akses ke berbagai pengaturan yang mengontrol fuel injection, enrichment, correction factors, dan kompensasi terkait fuel. Untuk unit **Plug and Play**, banyak pengaturan ini sudah dikonfigurasi dalam basemap yang disertakan, tetapi penyesuaian masih dapat dilakukan. Untuk unit **Metal-series Wire In**, kalibrasi penuh diperlukan berdasarkan setup kendaraan. + +### Submenu yang Tersedia: + +1. **Injection Configuration**: Setup parameter injection dasar seperti injection timing dan fuel injector configuration + +2. **Injection Hardware**: Konfigurasi aspek fisik fuel injectors, termasuk flow rate dan injector characterization + +3. **Cylinder Bank Selection**: Untuk engine dengan multiple injector banks, mengatur assignment silinder ke bank untuk optimal fuel delivery + +4. **Injector Small-Pulse Correction**: Adjustment untuk injector behavior pada low pulse widths untuk smooth fuel delivery + +5. **Staged Injection**: Untuk secondary injectors dalam aplikasi high-performance + +6. **Cylinder Fuel Trims**: Individual fuel trim adjustments per cylinder + +7. **VE (Volumetric Efficiency) Table**: Primary fuel table untuk mengatur VE values + +8. **VE 3D View**: Representasi visual VE table dalam 3D + +9. **VE Blend Tables**: Setup secondary VE tables untuk blending purposes + +10. **Target AFR**: Menentukan target air-fuel ratio untuk berbagai kondisi operasi + +11. **Charge Temperature Estimation**: Kompensasi untuk perubahan air density karena temperature + +12. **CLT (Coolant Temperature) Multiplier**: Adjustment fuel delivery berdasarkan coolant temperature + +13. **IAT (Intake Air Temperature) Multiplier**: Kompensasi untuk intake air temperature + +14. **Closed Loop Fuel Correction**: Closed-loop control menggunakan feedback dari oxygen sensor + +15. **Deceleration Fuel Cutoff (DFCO)**: Memotong fuel selama deceleration + +16. **Injection Phase**: Adjustment timing injection event relatif terhadap intake stroke + +17. **Acceleration Enrichment**: Tambahan fuel saat throttle dibuka dengan cepat + +## Injection Configuration + +![Injection Configuration][image34] + +### Injection Settings + +#### Basic Injection Parameters + +**Enabled**: Set ke `true` untuk mengaktifkan fuel injection + +**Mode**: Opsi meliputi: + +- **Sequential**: Individual injector timing - setiap injector fire sesuai firing order + +- **Batch**: Semua injectors fire bersamaan + +- **Batch Injection with Individual Wiring**: Injectors diwiring terpisah tapi beroperasi dalam batch mode + +**Alpha-N Uses IAT Density Correction**: Saat set ke `true`, mengaktifkan koreksi berbasis intake air temperature untuk strategi tuning Alpha-N + +**Override VE Table Load Axis**: Memungkinkan mengubah default load axis yang digunakan untuk VE table (biasanya MAP) + +**Override AFR Table Load Axis**: Override default load axis untuk target AFR table + +**Injection Phase Control Mode**: Menentukan kapan fuel disuntikkan relatif terhadap intake valve opening + +### Injector Settings + +#### Flow and Characterization + +**Injector Flow**: Specifies flow rate injector, biasanya dalam cc/min atau lbs/hr + +**Injector Flow Units**: Pilih antara **Volumetric Flow** (cc/min) atau unit lainnya + +**Injector Flow Compensation Mode**: + +- **None**: Untuk setup dengan MAP-referenced fuel pressure regulator + +- **Fixed Rail Pressure**: Untuk sistem dengan atmosphere-referenced fuel pressure regulator + +- **Sensed Rail Pressure**: Untuk sistem dengan fuel pressure sensor + +**Fuel Rail Pressure Sensor**: Hanya digunakan saat "Sensed Rail Pressure" dipilih + +### Fuel Characteristics + +**Stoichiometric Ratio**: Menentukan stoichiometric air-fuel ratio (AFR) untuk tipe fuel yang digunakan + +**E100 Stoichiometric Ratio**: Menentukan stoichiometric AFR untuk E100 (pure ethanol) untuk ethanol blends + +### Injector Dead Time + +Menampilkan graph yang menunjukkan injector dead time (dalam milliseconds) sebagai fungsi battery voltage. Dead time menurun saat voltage naik, memastikan kontrol injector yang presisi di bawah kondisi elektrik yang bervariasi. + +## VE (Volumetric Efficiency) Table + +![VE Table][image35] + +VE Table menampilkan nilai volumetric efficiency engine sebagai fungsi **load (kPa)** dan **RPM**. Values ini menentukan seberapa banyak fuel yang dibutuhkan berdasarkan karakteristik airflow engine pada operating points yang berbeda. + +### Typical VE Values + +#### Idle Conditions +- **Load**: 30-50 kPa, **RPM**: 500-1000 + +- **VE Values**: 30-40% + +- Merepresentasikan airflow yang relatif rendah saat engine running pada low RPM dan tanpa load + +#### High Load Conditions +- **Load**: 100-250 kPa, **RPM**: 4000-7000 + +- **VE Values**: 80-100% atau lebih + +- Engines dengan forced induction dapat memiliki values melebihi 100% + +#### Troubleshooting VE Values + +Jika VE values signifikan berbeda dari ranges ini, mungkin mengindikasikan **injectors belum correctly modeled**: + +- Incorrect injector flow rates +- Dead time settings salah +- Kesalahan kalibrasi lainnya + +## Target AFR Table + +![Target AFR][image36] + +Target AFR Table mengatur air-fuel mixture yang diinginkan untuk berbagai kondisi **RPM** dan **load (kPa)**. Values dalam table ini mempengaruhi seberapa rich atau lean mixture akan di berbagai operating conditions. + +### Example Breakdown - Turbocharged Engine + +Table contoh ini di-setup untuk turbocharged, cammed engine: + +#### Idle AFR (14.0 AFR) +- Target untuk idle AFR yang lebih smooth, praktek umum untuk cammed engines +- Memberikan idle yang lebih stabil + +#### Boost Conditions (150-250 kPa) +- AFR targets lebih rich: 10.7-11.0 AFR + +- Mengurangi risiko detonation +- Menjaga combustion temperatures aman +- Memastikan reliable performance di bawah high load + +#### Mid-Range Conditions +- Balance antara performance dan efficiency +- Typical values: 12.5-13.5 AFR untuk partial load + +## Closed Loop Fuel Correction + +![Closed Loop Correction][image37] + +### Basic Settings + +**Enabled**: Mengaktifkan closed-loop correction system + +**Startup delay**: Delay (dalam seconds) setelah startup sebelum koreksi dimulai + +**Minimum CLT for correction**: Coolant temperature minimum untuk mulai corrections + +**Minimum/Maximum AFR for correction**: Range AFR di mana corrections akan diaplikasikan + +**Adjustment deadband**: Threshold di mana tidak ada corrections yang dibuat untuk menghindari fluktuasi minor + +**Ignore error magnitude**: Mengontrol berapa AFR error yang diabaikan sebelum corrections diterapkan + +### Region Configuration + +**Region Configuration** memungkinkan kustomisasi RPM dan load thresholds: + +- **Idle region RPM**: RPM yang dianggap sebagai idle threshold + +- **Overrun region load**: Load limit untuk membedakan deceleration + +- **Power region load**: Load limit untuk high load conditions + +### Region-Specific Parameters + +Setiap region (Main, Idle, Power, Overrun) memiliki **time constants** dan **maximum add/remove percentages**: + +- **Time constant**: Mengontrol responsiveness corrections + +- **Max add/remove**: Membatasi maximum fuel adjustment + +## Coasting Fuel Cutoff (DFCO) + +![Fuel Cutoff Settings][image38] + +### Enable/Disable Settings + +**Enable Coasting Fuel Cutoff**: Mengaktifkan fuel cutoff selama coasting + +**No cut below CLT(C)**: Coolant temperature minimum di bawah mana fuel cutoff tidak terjadi + +### Activation Thresholds + +**RPM cut fuel above**: RPM threshold di atas mana fuel cutoff akan engage selama deceleration + +**RPM restore fuel below**: RPM di mana fuel di-restore setelah cutoff + +**Vehicle speed cut above/restore below**: Speed thresholds untuk mengaktifkan/menonaktifkan fuel cutoff + +**Cut fuel below TPS(%)**: Throttle position threshold untuk aktivasi fuel cutoff + +**Cut fuel below MAP(kPa)**: Manifold pressure threshold untuk aktivasi fuel cutoff + +### Advanced Settings + +**Fuel cut delay**: Delay sebelum fuel cutoff engage setelah kondisi terpenuhi + +**Inhibit closed loop fuel after cut**: Temporarily disable closed-loop fuel correction setelah fuel di-restore + +## Acceleration Enrichment + +![Acceleration Enrichment][image39] + +### TPS-Based Enrichment + +**Length (sec)**: Durasi enrichment pulse saat throttle movement terdeteksi + +**Accel Threshold (roc)**: Rate of change threshold untuk trigger acceleration enrichment + +**Decel Threshold (roc)**: ROC threshold untuk trigger deceleration enrichment + +### Accelerator Pump Model + +**Fraction Period (cycles)** dan **Fraction Divisor (coef)**: Mengontrol bagaimana enrichment dikirimkan selama rapid throttle changes + +### Wall Wetting Compensation + +**Wall fueling model type**: Model untuk calculating wall wetting fuel adjustments + +**Evaporation time constant / tau**: Time constant untuk fuel evaporation dari intake walls + +**Added to wall coef / beta**: Proporsi fuel yang menempel ke intake walls + +## Rekomendasi Tuning + +### Plug and Play Units +- Sebagian besar settings sudah optimal dalam basemap +- Focus pada adjustment engine-specific parameters +- Monitor AFR dan performance untuk fine-tuning + +### Metal-series Wire In Units +- Semua parameters perlu dikonfigurasi dari awal +- Start dengan conservative values +- Incremental tuning dengan data logging + +### Best Practices +1. **Start conservative** dengan fuel delivery +2. **Monitor AFR constantly** selama tuning +3. **Use data logging** untuk track performance +4. **Test incrementally** setiap perubahan + +--- + +**Selanjutnya**: [Ignition System Configuration](tunerstudio-ignition.md) + + +[image33]: # "Fuel Menu Overview" +[image34]: # "Injection Configuration" +[image35]: # "VE Table" +[image36]: # "Target AFR Table" +[image37]: # "Closed Loop Correction" +[image38]: # "Fuel Cutoff Settings" +[image39]: # "Acceleration Enrichment" \ No newline at end of file diff --git a/docs/tunerstudio-ignition.md b/docs/tunerstudio-ignition.md new file mode 100644 index 0000000..17ec3d7 --- /dev/null +++ b/docs/tunerstudio-ignition.md @@ -0,0 +1,316 @@ +# Ignition System Configuration - TunerStudio + +Konfigurasi komprehensif untuk sistem ignition ECU Mazduino. Menu **Ignition** menyediakan kontrol detail atas berbagai aspek ignition system untuk performance, efficiency, dan safety requirements. + +![Ignition Menu][image40] + +## Ignition Menu Overview + +Menu **Ignition** menawarkan multiple opsi konfigurasi untuk tuning berbagai pengaturan terkait ignition dalam ECU. Sistem ignition yang dikonfigurasi dengan benar essential untuk performance engine yang optimal. + +### Submenu yang Tersedia: + +1. **Ignition Settings**: Primary configuration settings untuk ignition, termasuk tipe ignition system dan timing control + +2. **Ignition Advance**: Adjustment ignition timing advance table berdasarkan engine load dan RPM + +3. **Ign CLT Correction**: Timing adjustments berdasarkan Coolant Temperature (CLT) + +4. **Ign IAT Correction**: Adjustments timing berdasarkan Intake Air Temperature (IAT) + +5. **Dwell**: Kontrol dwell time - waktu ignition coil di-energize sebelum firing + +6. **Ignition Blend Tables**: Custom tables untuk blend ignition timing values + +7. **Cylinder Ign Trims**: Individual cylinder ignition timing adjustments + +8. **Multispark**: Multiple sparks per cycle pada lower RPMs untuk improved combustion + +9. **Knock Control**: Konfigurasi knock detection dan response + +10. **Max Knock Retard**: Maximum degree timing retardation untuk knock response + +## Ignition Settings + +![Ignition Settings][image41] + +### Ignition Mode Configuration + +**Mode** dropdown untuk memilih tipe konfigurasi ignition system: + +#### Single Coil +- **Aplikasi**: Distributor-based systems + +- **Karakteristik**: Single coil melayani semua cylinders + +- **Kabel**: One coil output ke distributor + +#### Individual Coils +- **Aplikasi**: Coil-on-plug atau coil-near-plug setups + +- **Requirement**: Sequential injection mode + +- **Karakteristik**: One coil per cylinder untuk precise timing + +#### Wasted Spark +- **Aplikasi**: Paired cylinders fire together + +- **Konfigurasi**: One coil per pair atau one coil per cylinder + +- **Keuntungan**: Simpler ignition system setup + +#### Two Distributors +- **Aplikasi**: Pair distributors, umum pada certain BMW, Toyota engines + +- **Karakteristik**: Dual distributor configuration + +### Timing Parameters + +#### Maximum/Minimum Limits +**Maximum Timing Advance (deg BTDC)**: Membatasi maximum timing advance untuk safe ignition settings + +**Minimum Timing Advance (deg BTDC)**: Mencegah timing retard terlalu jauh, melindungi engine + +#### Validation and Override +**Use Fixed Timing While Validating**: Menggunakan fixed timing untuk validasi dengan timing gun + +**Override Ignition Table Load Axis**: Override load axis ignition table dengan custom axis + +### Timing Mode + +**Dynamic**: Menggunakan ignition timing map untuk menentukan timing secara dinamis selama engine operation + +**Static**: Fix timing ke specified value untuk verifikasi static timing dengan timing light + +### Ignition Outputs + +#### Wiring Configuration +- **Wire each output** ke cylinder number secara langsung +- **Firmware (rusEFI)** mengelola firing order secara internal +- **Ignition Output Mode**: Customization bagaimana outputs berperilaku + +#### Important Notes +1. **Timing Validation**: Gunakan timing gun dengan static timing mode untuk verify alignment +2. **Sequential Ignition**: Ensure sequential mode untuk **Individual Coils** configuration +3. **Wasted Spark Mode**: Verify coil pairing dan firing order correct + +## Ignition Timing Table + +![Ignition Table][image42] + +Ignition Table mengkonfigurasi spark timing berdasarkan RPM (horizontal axis) dan engine load (vertical axis). Essential untuk fine-tuning engine performance, efficiency, dan safety. + +### Example Analysis - High-Compression Turbocharged Engine + +#### High Compression and Turbocharged Timing +- **Boosted regions**: Ignition timing conservative (lower values) untuk avoid pre-ignition + +- **Example**: 200 kPa, 3000 RPM = 7.6 degrees BTDC + +- **Safety**: Critical untuk turbocharged engines + +#### Deceleration Burble +- **Lower load values**: Negative atau very low timing values + +- **Purpose**: Intentionally delayed ignition untuk burble/popping sound + +- **Application**: Aesthetic atau performance sound tuning + +#### Mid-Range Efficiency +- **Mid-load/mid-RPM**: 75 kPa, 2500 RPM regions + +- **Timing values**: 25-35 degrees BTDC + +- **Optimization**: Fuel efficiency dan smooth power delivery + +#### High RPMs +- **Higher RPMs/moderate loads**: Timing slightly advanced + +- **Example**: 37.5 degrees pada 100 kPa dan 7000 RPM + +- **Balance**: Maintain performance tanpa knocking + +### Tuning Guidelines + +#### Turbocharged Engines +- **Monitor carefully**: Timing dalam high-boost areas untuk safety + +- **Use knock sensors**: Data logging untuk detect potential detonation + +- **Conservative approach**: Start dengan lower timing values + +#### Deceleration Effects +- **Burble effect**: Hanya gunakan di regions dengan fuel cut-off active + +- **Prevent fuel waste**: Avoid excessive fuel consumption + +#### Engine-Specific Considerations +- **Timing values**: Heavily dependent pada engine design, fuel type, compression ratio + +- **Guidelines only**: Table ini reference, mungkin tidak applicable untuk all setups + +## Dwell Configuration + +![Dwell Settings][image43] + +Dwell Settings menyediakan kontrol critical atas ignition coil charge time, yang mempengaruhi spark energy dan ignition system performance. + +### Dwell Time Base (Top Graph) + +#### Purpose dan Function +- **Adjusts**: Base dwell time (ms) relative terhadap engine RPM + +- **Lower RPMs**: Higher dwell time (3.60 ms pada 0 RPM) untuk fully charge coil + +- **Higher RPMs**: Decreased dwell time (2.60 ms pada 7000 RPM) untuk shorter cycle times + +#### Tuning Considerations +- **Excessive high dwell**: Dapat menyebabkan coil saturation dan heat damage + +- **Too low dwell**: Dapat mengakibatkan weak sparks atau misfires + +### Dwell Voltage Correction (Bottom Graph) + +#### Voltage Compensation +- **Lower battery voltages**: Increased dwell time (multiplier > 1.0) untuk compensate reduced charging efficiency + +- **Higher voltages**: Reduced dwell time (multiplier < 1.0) untuk prevent overheating + +- **Example**: 8.0V = 1.40 multiplier, 16.0V = 0.80 multiplier + +#### Implementation Notes +- **Voltage table**: Essential untuk engines dengan weak electrical systems + +- **Compensation vital**: Untuk vehicles running additional electrical loads + +### General Guidelines + +#### RPM Table Values +- **Start values**: 2.0-4.0 ms pada idle + +- **Progression**: Reduce as RPM rises + +- **Manufacturer specs**: Always refer untuk avoid coil damage + +#### Battery Voltage Considerations +- **Compensation critical**: Untuk reliable ignition performance + +- **System monitoring**: Track voltage levels selama operation + +## Advanced Ignition Features + +### Multispark Configuration + +#### Purpose dan Benefits +- **Lower RPMs**: Multiple sparks per cycle + +- **Improved combustion**: Better idle stability + +- **Performance applications**: Enhanced ignition reliability + +#### Configuration Parameters +- **RPM threshold**: Below which multispark activates + +- **Number of sparks**: Sparks per combustion cycle + +- **Spark spacing**: Time between individual sparks + +### Knock Control System + +#### Knock Detection +- **Sensitivity adjustment**: Configure knock sensor responsiveness + +- **Frequency filtering**: Isolate actual knock dari background noise + +- **Threshold setting**: Determine knock detection levels + +#### Knock Response +- **Timing retard**: Automatic timing reduction saat knock detected + +- **Recovery strategy**: Gradual timing advance restoration + +- **Protection limits**: Maximum retard values untuk engine protection + +### Cylinder Individual Trims + +#### Purpose +- **Individual adjustment**: Fine-tune setiap cylinder independently + +- **Compensation**: Account untuk cylinder-to-cylinder variations + +- **Performance optimization**: Maximize power output per cylinder + +#### Implementation +- **Trim values**: Degrees of advance/retard per cylinder + +- **Monitoring**: Track individual cylinder performance + +- **Balancing**: Achieve consistent power delivery + +## Troubleshooting Ignition Issues + +### Common Problems + +#### Poor Ignition Performance +**Symptoms**: Misfires, rough idle, poor acceleration +**Solutions**: + +- Check dwell settings untuk appropriate coil charging +- Verify timing table values reasonable +- Ensure proper ignition mode selection + +#### Knock Detection Issues +**Symptoms**: False knock detection atau inability untuk detect real knock +**Solutions**: + +- Adjust knock sensor sensitivity +- Review timing table untuk excessive advance +- Check knock sensor mounting dan wiring + +#### Coil Overheating +**Symptoms**: Coil failure, reduced spark energy +**Solutions**: + +- Reduce dwell time pada high RPM +- Check voltage compensation table +- Verify coil specifications match settings + +### Diagnostic Procedures + +1. **Timing light verification**: Check actual vs commanded timing +2. **Dwell monitoring**: Measure actual dwell time vs settings +3. **Knock logging**: Monitor knock events dan responses +4. **Coil temperature**: Check untuk overheating conditions + +## Rekomendasi Berdasarkan Application + +### Street/Daily Driving +- **Conservative timing**: Prioritize reliability over maximum power + +- **Knock protection**: Active knock control essential + +- **Smooth operation**: Focus pada idle stability dan drivability + +### Performance/Racing +- **Aggressive timing**: Extract maximum power dengan careful monitoring + +- **Data logging**: Continuous monitoring essential + +- **Component quality**: High-performance ignition components required + +### Forced Induction +- **Conservative boost timing**: Prevent detonation di high boost conditions + +- **Temperature compensation**: Active CLT dan IAT corrections + +- **Safety margins**: Extra conservative approach untuk reliability + +--- + +**Selanjutnya**: [Cranking Configuration](tunerstudio-cranking.md) + + +[image40]: # "Ignition Menu Overview" +[image41]: # "Ignition Settings" +[image42]: # "Ignition Timing Table" +[image43]: # "Dwell Settings" \ No newline at end of file diff --git a/docs/tunerstudio-instalasi.md b/docs/tunerstudio-instalasi.md new file mode 100644 index 0000000..44275e2 --- /dev/null +++ b/docs/tunerstudio-instalasi.md @@ -0,0 +1,189 @@ +# Instalasi TunerStudio untuk ECU Mazduino + +Panduan lengkap untuk mengunduh, menginstal, dan mengkonfigurasi TunerStudio untuk digunakan dengan ECU Mazduino. + +## Persyaratan Sistem + +Sebelum menginstal TunerStudio, pastikan sistem Anda memenuhi persyaratan berikut: + +- **Sistem Operasi**: Windows 10 atau yang lebih baru, macOS, atau Linux + +- **Hardware**: Minimum RAM 4GB, processor 2GHz, dan storage tersedia 500MB + +- **Koneksi**: Port USB untuk komunikasi langsung dengan Mazduino + +- **Driver**: Windows 10 ke atas umumnya sudah memiliki driver yang diperlukan + +## Langkah 1: Mengakses Website Mazduino + +1. **Buka Website Mazduino**: Buka browser web dan kunjungi [wiki.mazduino.com][wiki-mazduino] + +[wiki-mazduino]: https://wiki.mazduino.com {:target="_blank"} +2. **Navigasi ke Menu**: Klik ikon menu hamburger (tiga garis horizontal) yang terletak di bagian kanan atas halaman +3. **Masuk ke Bagian Downloads**: Dari menu, pilih **Downloads** untuk mengakses software dan sumber daya yang tersedia untuk Mazduino + +![Mazduino Homepage][image1] + +*Referensi Gambar*: Gambar di atas menunjukkan homepage website Mazduino. Ikuti langkah-langkah yang dijelaskan untuk menemukan bagian Downloads. + +## Langkah 2: Memilih Opsi Downloads + +1. **Buka Menu**: Setelah mengklik ikon menu hamburger, akan muncul daftar opsi +2. **Pilih Downloads**: Dari menu, klik **Downloads** untuk melanjutkan ke halaman di mana Anda dapat mengunduh TunerStudio dan sumber daya lainnya untuk Mazduino + +![Menu Downloads][image2] + +*Referensi Gambar*: Pada screenshot di atas, Anda dapat melihat opsi Downloads yang di-highlight dalam menu. + +## Langkah 3: Download TunerStudio + +1. **Cari Link TunerStudio**: Di halaman **Downloads**, gulir ke bagian yang berlabel **Software Requirements** +2. **Klik pada TunerStudio Tuning Software**: Temukan link **TunerStudio MS** dan klik untuk mengunduh versi terbaru software + +![TunerStudio Download Link][image3] + +*Referensi Gambar*: Pada screenshot di atas, link download TunerStudio di-highlight di bawah bagian "Software Requirements". Klik link ini untuk memulai download. + +## Langkah 4: Download Versi Terbaru TunerStudio + +1. **Redirect ke Halaman Download TunerStudio**: Setelah memilih TunerStudio dari website Mazduino, Anda akan diarahkan ke halaman download resmi TunerStudio di situs EFI Analytics +2. **Cari Versi Terbaru**: Cari link **TunerStudio MS version X.X.XX (Approximately XX MB)**. Link ini menyediakan versi terbaru, dengan nomor versi yang tepat dan ukuran file yang ditampilkan +3. **Klik untuk Download**: Klik link **download** di sebelah versi TunerStudio MS terbaru untuk memulai download + +![TunerStudio Download Page][image4] + +*Referensi Gambar*: Pada screenshot di atas, versi TunerStudio saat ini terdaftar di bagian atas, dengan link "download" di sebelah kanan. Klik link ini untuk mendapatkan versi terbaru untuk Mazduino Anda. + +## Langkah 5: Pilih "Open" untuk Memulai Instalasi + +1. **Opsi Download**: Setelah Anda mengklik link **download** untuk TunerStudio, mungkin akan muncul pop-up yang menanyakan apakah Anda ingin **Open** atau **Save** file + - **Open**: Opsi ini akan langsung membuka installer setelah selesai diunduh, memungkinkan Anda untuk memulai proses instalasi segera + - **Save**: Opsi ini akan menyimpan file installer ke komputer Anda, memungkinkan Anda menginstalnya nanti dengan mencari file di folder Downloads + +2. **Pilihan yang Direkomendasikan**: Klik **Open** untuk melanjutkan langsung ke proses instalasi setelah download selesai. Opsi ini ideal jika Anda siap untuk menginstal TunerStudio segera + +![Download Options][image5] + +*Referensi Gambar*: Pada screenshot di atas, opsi **Open** di-highlight. Pilih ini untuk memulai instalasi langsung setelah download. + +## Langkah 6: Menerima User Account Control (UAC) Prompt + +1. **Notifikasi User Account Control**: Setelah download selesai, Windows mungkin menampilkan prompt User Account Control (UAC) yang meminta izin untuk melanjutkan instalasi +2. **Berikan Izin**: Ketika prompt ini muncul, klik **Yes** untuk mengizinkan instalasi. Izin ini diperlukan agar TunerStudio dapat melakukan perubahan yang diperlukan pada komputer Anda + +*Catatan*: Prompt UAC adalah langkah keamanan standar Windows. Menerimanya memastikan bahwa TunerStudio terinstal dengan benar dan dapat berfungsi dengan izin penuh. + +## Langkah 7: Menerima License Agreement + +1. **Layar License Agreement**: Setup TunerStudio akan menampilkan jendela License Agreement. Baca dengan cermat ketentuan perjanjian +2. **Pilih "I accept the agreement"**: Untuk melanjutkan instalasi, klik opsi **I accept the agreement** +3. **Klik Next**: Setelah Anda menerima perjanjian, klik **Next** untuk melanjutkan setup + +![License Agreement][image6] + +*Referensi Gambar*: Pada screenshot di atas, pilih opsi **I accept the agreement** untuk mengaktifkan tombol Next. + +## Langkah 8: Pilih Installation Path + +1. **Pilih Destination Location**: Setup akan meminta Anda untuk memilih folder tempat TunerStudio akan diinstal. Secara default, diatur ke `C:\Program Files (x86)\EFIAnalytics\TunerStudioMS` +2. **Pertahankan atau Ubah Path**: + - Jika Anda puas dengan lokasi default, cukup klik **Next** untuk melanjutkan + - Untuk memilih lokasi yang berbeda, klik **Browse**, pilih folder yang diinginkan, kemudian klik **Next** + +*Catatan*: Disarankan untuk menggunakan path default kecuali Anda memiliki alasan khusus untuk mengubahnya. + +![Installation Path][image7] + +*Referensi Gambar*: Screenshot di atas menunjukkan path instalasi default. Klik **Next** untuk melanjutkan. + +## Langkah 9: Pilih Start Menu Folder + +1. **Pemilihan Start Menu Folder**: Setup akan meminta Anda untuk memilih folder Start Menu tempat shortcut TunerStudio akan ditempatkan. Secara default, diatur ke **EFI Analytics** +2. **Pertahankan atau Ubah Folder**: + - Untuk melanjutkan dengan folder default, cukup klik **Next** + - Jika Anda lebih suka membuat shortcut di folder yang berbeda, klik **Browse**, pilih lokasi yang diinginkan, kemudian klik **Next** + +![Start Menu Folder][image8] + +*Referensi Gambar*: Screenshot di atas menunjukkan folder Start Menu default. Klik **Next** untuk melanjutkan. + +## Langkah 10: Pilih Additional Tasks + +1. **Shortcut Tambahan**: Setup akan menanyakan apakah Anda ingin membuat shortcut desktop untuk TunerStudio +2. **Buat Desktop Shortcut (Opsional)**: + - Untuk menambahkan shortcut ke desktop untuk akses mudah, centang kotak di sebelah **Create a desktop shortcut** + - Jika Anda tidak memerlukan shortcut desktop, biarkan kotak tidak dicentang +3. **Klik Next**: Setelah Anda membuat pilihan, klik **Next** untuk melanjutkan instalasi + +![Additional Tasks][image9] + +*Referensi Gambar*: Pada screenshot di atas, Anda dapat melihat opsi untuk membuat desktop shortcut. Pilih opsi ini jika Anda ingin akses cepat ke TunerStudio dari desktop. + +## Langkah 11: Memulai Instalasi + +1. **Review Settings**: Setup akan menampilkan ringkasan pengaturan instalasi yang Anda pilih, termasuk lokasi tujuan dan folder Start Menu +2. **Klik Install**: Jika semua pengaturan benar, klik **Install** untuk memulai proses instalasi. Jika Anda perlu mengubah pengaturan, klik **Back** untuk kembali ke langkah sebelumnya + +![Ready to Install][image10] + +*Referensi Gambar*: Pada screenshot di atas, tombol **Install** di-highlight. Klik tombol ini untuk melanjutkan instalasi TunerStudio. + +## Langkah 12: Menyelesaikan Instalasi dan Meluncurkan TunerStudio + +1. **Selesaikan Instalasi**: Setelah setup selesai, Anda akan melihat layar konfirmasi bahwa instalasi telah selesai +2. **Launch TunerStudio**: + - Secara default, opsi **Launch TunerStudio MS** dipilih. Biarkan kotak ini dicentang untuk secara otomatis membuka TunerStudio setelah Anda mengklik **Finish** + - Jika Anda tidak ingin meluncurkan TunerStudio segera, hapus centang pada kotak +3. **Klik Finish**: Klik **Finish** untuk keluar dari setup dan menyelesaikan proses instalasi + +![Installation Complete][image11] + +*Referensi Gambar*: Pada screenshot di atas, opsi untuk meluncurkan TunerStudio dicentang. Klik **Finish** untuk menutup setup dan mulai menggunakan TunerStudio. + +## Mengatasi Masalah Instalasi + +### Masalah Driver COM Port + +**Gejala**: TunerStudio tidak dapat mendeteksi ECU Mazduino atau COM port tidak muncul + +**Solusi**: + +1. **Windows 10 ke atas**: Umumnya sudah memiliki driver yang diperlukan secara pre-installed +2. **Windows versi lama**: Mungkin perlu menginstal **STMicroelectronics Virtual COM Port (VCP) drivers** +3. **Download driver**: Dari website STMicroelectronics resmi +4. **Restart komputer**: Setelah instalasi driver + +### Masalah UAC Permission + +**Gejala**: Instalasi gagal karena masalah permission + +**Solusi**: + +1. **Klik kanan** pada installer TunerStudio +2. **Pilih "Run as administrator"** +3. **Ikuti langkah instalasi** seperti biasa + +### Masalah Antivirus + +**Gejala**: Antivirus memblokir instalasi TunerStudio + +**Solusi**: + +1. **Sementara disable antivirus** selama instalasi +2. **Tambahkan TunerStudio** ke whitelist antivirus +3. **Enable antivirus kembali** setelah instalasi selesai + +--- + + +[image1]: img/manual/docs-overview.png "Mazduino Homepage" +[image2]: img/manual/downloads-overview.png "Menu Downloads" +[image3]: # "TunerStudio Download Link" +[image4]: img/manual/ts-downloaf-page-overview.png "TunerStudio Download Page" +[image5]: # "Download Options" +[image6]: # "License Agreement" +[image7]: # "Installation Path" +[image8]: # "Start Menu Folder" +[image9]: # "Additional Tasks" +[image10]: # "Ready to Install" +[image11]: # "Installation Complete" \ No newline at end of file diff --git a/docs/tunerstudio-interface.md b/docs/tunerstudio-interface.md new file mode 100644 index 0000000..c2fa969 --- /dev/null +++ b/docs/tunerstudio-interface.md @@ -0,0 +1,273 @@ +# Interface dan Menu TunerStudio + +Panduan lengkap untuk navigasi dan penggunaan interface TunerStudio beserta penjelasan menu-menu yang tersedia. + +## Overview Interface TunerStudio + +TunerStudio menyediakan interface yang komprehensif untuk monitoring, tuning, dan konfigurasi ECU Mazduino. Interface utama terdiri dari: + +- **Dashboard**: Area utama dengan gauge dan indikator real-time + +- **Menu Bar**: File, Options, Data Logging, Communications, Tools, Help + +- **Status Indicators**: Menampilkan status sistem dan koneksi + +- **Navigation Buttons**: Akses cepat ke berbagai fungsi tuning + +## File Menu - Manajemen Project dan Tune + +### 1. New Project +- Digunakan untuk membuat project baru +- Memandu Anda melalui setup konfigurasi fresh untuk ECU baru +- Berguna saat setup ECU pertama kali atau ganti hardware + +### 2. Open Project +- Memungkinkan membuka project yang ada yang tersimpan di komputer +- Berguna untuk beralih antara setup ECU yang berbeda +- Mendukung file project (.prj) + +### 3. Close Project +- Menutup project yang sedang terbuka +- Mengembalikan ke layar utama atau memungkinkan pilih project lain +- Tidak akan kehilangan data yang sudah disimpan + +### 4. Load Tune (.msq) +Opsi ini memungkinkan memuat konfigurasi tuning yang tersimpan (file .msq) dari komputer langsung ke ECU. Berguna untuk: + +- Menerapkan pengaturan yang tersimpan sebelumnya +- Beralih antara tune yang berbeda +- Restore backup tune + +### 5. Save Tune +- Menyimpan konfigurasi tuning saat ini dengan menimpa tune yang tersimpan di komputer +- Gunakan untuk update file .msq yang ada dengan perubahan yang telah dibuat +- Shortcut: Ctrl+S + +### 6. Save Tune As +- Memungkinkan membuat file .msq baru untuk menyimpan tune saat ini +- Memungkinkan menyimpan konfigurasi yang berbeda secara terpisah +- Berguna untuk menjaga library berbagai setup tuning + +*Catatan*: **Tune Restore Points** dan **Compare Tune** adalah fitur yang tersedia hanya di versi berbayar TunerStudio dan di luar cakupan manual ini. + +### 7. Recent Vehicle Projects +- Mencantumkan project yang baru digunakan +- Akses cepat ke konfigurasi yang sering digunakan tanpa mencari melalui file +- Berguna untuk mengakses setup yang sering digunakan + +### 8. Gauge Cluster +- Memungkinkan kustomisasi layout gauge pada dashboard +- Dapat mengatur susunan dan jenis gauge untuk menampilkan informasi yang paling penting +- Mendukung multiple cluster layouts + +### 9. Work Offline +- Memungkinkan beralih ke mode offline +- Berguna jika ingin mengakses dan memodifikasi pengaturan tanpa perlu koneksi aktif ke ECU +- Ideal untuk review atau prepare tune + +### 10. Exit +- Menutup TunerStudio sepenuhnya +- Menyimpan pengaturan dan preferensi secara otomatis + +## Options Menu - Pengaturan Interface + +### 1. Language +- Memungkinkan mengubah bahasa tampilan TunerStudio +- Pilih bahasa yang diinginkan dari daftar +- Restart mungkin diperlukan untuk beberapa perubahan + +### 2. Look and Feel +- Memungkinkan kustomisasi tampilan interface TunerStudio +- Termasuk gaya tombol dan layout +- Tersedia **Dark Mode** yang mungkin lebih disukai untuk lingkungan cahaya rendah + +### 3. Navigation +- Pengaturan navigasi memungkinkan memodifikasi susunan tombol +- Dapat menggabungkannya menjadi satu baris atau mengubahnya ke layout dropdown menu dasar +- Memungkinkan interface yang lebih bersih jika diinginkan + +### 4. View, Advanced, Preferences, dan Performance +- Berisi berbagai pengaturan yang sebagian besar kurang relevan untuk pengguna dasar +- Biasanya dapat dibiarkan pada nilai default +- Untuk pengguna advanced yang ingin fine-tuning interface + +### 5. Preferred Units +- Memungkinkan menyesuaikan satuan untuk parameter tertentu +- Contoh: mengubah satuan Y-axis **Manifold Absolute Pressure** dari **kPa** ke **PSI** + +- Berguna untuk preferensi regional atau kebiasaan pengguna + +## Data Logging Menu - Recording dan Analisis + +### 1. Start Logging +- Memulai recording data dari ECU +- Data logging memungkinkan capture metrik performa real-time +- Data dapat dianalisis kemudian untuk tuning atau troubleshooting + +### 2. Stop +- Menghentikan sesi data logging aktif +- Gunakan saat sudah cukup capture data atau ingin mengakhiri recording +- Data otomatis tersimpan dengan timestamp + +### 3. Logging Profiles +- Memungkinkan memilih atau membuat profil logging spesifik +- Profil dapat dikustomisasi untuk capture parameter atau konfigurasi tertentu +- Berguna untuk kebutuhan tuning yang berbeda + +### 4. Triggered Logging +- Memungkinkan data logging dimulai secara otomatis saat kondisi tertentu terpenuhi +- Contoh: RPM tertentu atau posisi throttle + +- Berguna untuk capture data hanya saat event tertentu terjadi + +### 5. Data Logging Preferences +- Membuka preferensi untuk data logging +- Dapat menyesuaikan pengaturan terkait bagaimana data direkam dan disimpan +- Opsi untuk mengatur ukuran file, format data, dan detail logging lainnya + +### 6. Import / Conversion +- Menyediakan opsi untuk import atau convert data log +- Memungkinkan bekerja dengan log dari sumber atau format lain +- Berguna untuk analisis komparatif + +### 7. View with MegaLogViewer +- Membuka data log saat ini di **MegaLogViewer** +- Aplikasi terpisah yang dirancang untuk menganalisis data log TunerStudio +- Memungkinkan review dan analisis data yang lebih detail (tersedia jika MegaLogViewer terinstall) + +### 8. Show DataLog Folder +- Membuka folder tempat TunerStudio menyimpan semua data log yang direkam secara default +- Berguna untuk mengakses atau mengorganisir file log dengan cepat +- Lokasi default dapat dikustomisasi + +## Communications Menu - Pengaturan Koneksi + +### 1. Settings +- Membuka pengaturan komunikasi untuk TunerStudio +- Memungkinkan menyesuaikan parameter terkait koneksi antara komputer dan ECU +- Termasuk baud rate atau COM port jika diperlukan + +### 2. Data Rate +- Menyesuaikan data rate untuk koneksi +- Dapat mempengaruhi seberapa cepat data ditransmisikan dan diterima dari ECU +- Data rate yang lebih tinggi memberikan update lebih cepat tapi dapat mempengaruhi stabilitas tergantung kualitas koneksi + +### 3. GPS Configuration +- Memungkinkan konfigurasi pengaturan GPS jika setup Anda termasuk data GPS +- Berguna untuk logging data berbasis lokasi selain parameter mesin +- Sering digunakan dalam aplikasi performa atau tracking + +### 4. Mini Terminal +- Membuka interface terminal dalam TunerStudio +- Memungkinkan komunikasi langsung dengan ECU melalui perintah +- Berguna untuk pengguna advanced yang perlu troubleshoot atau mengirim instruksi spesifik ke ECU + +### 5. Comm Debug Log +- Mengaktifkan log debug komunikasi +- Merekam detail komunikasi ECU-ke-TunerStudio +- Valuable untuk troubleshooting masalah komunikasi atau memahami perilaku transmisi data + +## Tools Menu - Utilities dan Kalibrasi + +### 1. Protocol Stats +- Menampilkan statistik terkait protokol komunikasi antara TunerStudio dan ECU +- Informasi berguna untuk mendiagnosis masalah komunikasi atau verifikasi kualitas transfer data +- Termasuk packet loss, response time, dll. + +### 2. Update / Install Firmware +- Opsi ini memungkinkan update firmware atau instalasi baru untuk ECU yang kompatibel +- **PENTING**: Fungsi ini **tidak bekerja** dengan Mazduino, jadi hindari menggunakannya dengan setup Mazduino + +- Gunakan metode flashing firmware yang disediakan dalam [dokumentasi downloads](downloads.md) + +### 3. Add Custom Channel Wizard +- Memungkinkan penambahan channel data kustom +- Berguna jika ingin memonitor parameter tambahan yang tidak termasuk secara default di TunerStudio +- Memungkinkan pengalaman tuning yang lebih disesuaikan + +### 4. Custom Channel Editor +- Membuka editor untuk channel kustom +- Dapat memodifikasi atau mengelola channel data kustom yang telah dibuat +- Berguna untuk pengguna advanced yang ingin menyesuaikan tracking data + +### 5. Action Management +- Menyediakan opsi untuk konfigurasi action di TunerStudio +- Memungkinkan setup respons otomatis atau alert berdasarkan kondisi spesifik +- Meningkatkan pengalaman monitoring dengan action yang dapat disesuaikan + +### 6. Calculators +- Menawarkan berbagai tools dan kalkulator yang membantu dengan kalkulasi tuning +- Termasuk air-fuel ratio, ukuran fuel injector, atau engine displacement +- Kalkulator berguna untuk membuat penyesuaian yang tepat selama tuning + +### 7. TunerStudio Plug-ins +- Memungkinkan mengelola dan menginstal plugin untuk TunerStudio +- Plugin memperluas fungsionalitas TunerStudio +- Menambahkan fitur atau tools baru yang dapat lebih meningkatkan kemampuan tuning + +### 8. Calibrate TPS +- Membuka tool kalibrasi Throttle Position Sensor (TPS) +- Essential untuk memastikan ECU menginterpretasikan posisi throttle dengan benar +- **PENTING**: Fungsi ini hanya kompatibel dengan cable throttle + +- Untuk electronic throttle, prosedur kalibrasi spesifik diperlukan yang akan dibahas dalam bagian **Advanced** + +## Help Menu - Bantuan dan Dokumentasi + +### 1. Help Contents +- Akses ke dokumentasi bantuan TunerStudio +- Termasuk tutorial dan panduan penggunaan +- Search function untuk menemukan topik spesifik + +### 2. Getting Started +- Tutorial untuk pengguna baru +- Panduan step-by-step untuk setup dasar +- Contoh-contoh konfigurasi umum + +### 3. About TunerStudio +- Informasi versi dan license TunerStudio +- Contact information untuk support +- Link ke website dan update + +### 4. Check for Updates +- Memungkinkan check update TunerStudio secara manual +- Notifikasi jika versi baru tersedia +- Link langsung untuk download update + +## Tips Penggunaan Interface + +### Keyboard Shortcuts Berguna +- **Ctrl + S**: Save tune + +- **Ctrl + O**: Open project + +- **F1**: Help + +- **Ctrl + L**: Start logging + +- **Esc**: Cancel current operation + +### Kustomisasi Dashboard +1. **Klik kanan** pada gauge untuk opsi kustomisasi +2. **Drag and drop** gauge untuk mengatur ulang layout +3. **Double click** gauge untuk pengaturan detail +4. **Right click** di area kosong untuk menambah gauge baru + +### Best Practices +1. **Simpan project secara berkala** untuk menghindari kehilangan konfigurasi +2. **Gunakan nama project yang deskriptif** untuk identifikasi mudah +3. **Test koneksi** sebelum memulai tuning session +4. **Monitor communications stats** untuk masalah koneksi +5. **Backup tune files** secara teratur + +--- + +**Selanjutnya**: [Pengaturan Output Controls](tunerstudio-output-controls.md) + + +[image21]: # "File Menu Options" +[image22]: # "Options Menu" +[image23]: # "Data Logging Menu" +[image24]: # "Communications Menu" +[image25]: # "Tools Menu" +[image26]: # "Help Menu" \ No newline at end of file diff --git a/docs/tunerstudio-konfigurasi.md b/docs/tunerstudio-konfigurasi.md new file mode 100644 index 0000000..80f1f7d --- /dev/null +++ b/docs/tunerstudio-konfigurasi.md @@ -0,0 +1,237 @@ +# Konfigurasi Project TunerStudio + +Panduan lengkap untuk membuat project baru dan mengkonfigurasi TunerStudio untuk ECU Mazduino. + +## Membuat Project Baru + +### Langkah 13: Membuat Project Baru dalam TunerStudio + +Ketika TunerStudio terbuka, Anda akan melihat beberapa opsi untuk memulai atau melanjutkan pekerjaan dengan project. Berikut penjelasan masing-masing opsi: + +![TunerStudio Welcome Screen][image12] + +*Referensi Gambar*: Pada screenshot, opsi-opsi ini ditampilkan pada welcome screen, memungkinkan Anda memilih metode yang paling sesuai untuk membuka atau membuat project di TunerStudio. + +1. **Create New Project**: + - Opsi ini memungkinkan Anda memulai project baru dari awal + - Ideal untuk setup baru, opsi ini memandu Anda melalui langkah-langkah konfigurasi project TunerStudio untuk Mazduino Anda + - Gunakan ini jika Anda mengatur TunerStudio untuk pertama kalinya atau jika Anda bekerja dengan ECU baru + +2. **Open Project**: + - Memilih opsi ini membuka kotak dialog di mana Anda dapat browse dan memilih file project yang ada dari komputer Anda + - Gunakan ini jika Anda ingin memuat project yang tersimpan sebelumnya yang tidak terdaftar di bagian "recently used" + - Ini berguna jika Anda memiliki beberapa project dan perlu memilih yang spesifik + +3. **Open Last Project**: + - Opsi ini membuka project terbaru yang Anda kerjakan di TunerStudio + - Ini adalah shortcut yang nyaman jika Anda melanjutkan pekerjaan pada project terbaru tanpa perlu browse melalui file + - Gunakan ini untuk akses cepat untuk melanjutkan tuning atau menganalisis data dari sesi terakhir + +4. **Open Other Recently Used Projects**: + - Bagian ini mencantumkan project yang baru digunakan, memungkinkan Anda dengan cepat membuka ulang konfigurasi terbaru + - Klik nama project dalam daftar untuk membukanya langsung, menghemat waktu jika Anda sering beralih antar project + +### Langkah 14: Konfigurasi Project Baru + +1. **Project Name**: Di field **Project Name**, ketik nama khusus untuk project Anda. Nama ini akan membantu Anda mengidentifikasi konfigurasi spesifik untuk Mazduino Anda + +2. **Project Directory**: Field **Project Directory** menampilkan folder tempat file project Anda akan disimpan. Anda dapat membiarkannya sebagai lokasi default atau klik **Browse** untuk memilih folder yang berbeda jika diinginkan + +3. **Detect Firmware**: + - Dengan Mazduino Anda terhubung, klik tombol **Detect** di sebelah bagian **Firmware** + - TunerStudio akan secara otomatis mendeteksi versi firmware Mazduino Anda, memastikan kompatibilitas dengan setup project + +4. **Additional Options** (Opsional): Jika Anda memerlukan opsi setup lanjutan, Anda dapat memilih **Show Advanced / Offline Setup** untuk kustomisasi lebih lanjut, meskipun ini biasanya tidak diperlukan untuk sebagian besar pengguna + +5. **Klik Next**: Setelah project diberi nama dan firmware terdeteksi, klik **Next** untuk melanjutkan konfigurasi project baru + +![Project Configuration][image13] + +*Referensi Gambar*: Pada screenshot di atas, Anda dapat melihat jendela konfigurasi project tempat Anda memasukkan nama project dan mendeteksi firmware. + +## Deteksi dan Koneksi ECU + +### Langkah 15: Deteksi dan Pilih ECU + +1. **Device Detection Window**: Setelah mengklik **Detect**, TunerStudio akan membuka jendela yang memindai device yang terhubung + +2. **Tunggu Deteksi**: TunerStudio akan secara otomatis mencari melalui port yang tersedia untuk mendeteksi Mazduino yang terhubung. Anda akan melihat progress bar saat memindai + +3. **Pilih ECU**: + - Setelah Mazduino Anda muncul di kotak dialog, klik untuk highlight + - Kemudian, klik **Accept** untuk mengonfirmasi pilihan dan melanjutkan dengan setup project + +![Device Detection][image14] + +*Referensi Gambar*: Pada screenshot di atas, jendela deteksi ditampilkan sedang memindai device. Setelah Mazduino Anda terdaftar, pilih dan klik **Accept**. + +### Langkah 16: Konfirmasi Detail Project dan Melanjutkan + +1. **Kembali ke Project Configuration**: Setelah mengklik **Accept** di jendela deteksi, TunerStudio akan kembali ke layar konfigurasi project. Kali ini, bagian **Firmware** harus secara otomatis terisi dengan detail Mazduino Anda + +2. **Review Configuration**: Pastikan semua field, termasuk **Project Name**, **Project Directory**, dan **Firmware**, terisi dengan benar + +3. **Klik Next**: Setelah semuanya dikonfirmasi, klik **Next** untuk melanjutkan dengan proses setup + +![Project Configuration Complete][image15] + +*Referensi Gambar*: Layar konfigurasi project sekarang menampilkan semua informasi relevan tentang Mazduino Anda. Klik **Next** untuk melanjutkan. + +## Konfigurasi Display dan Komunikasi + +### Langkah 17: Pilih Lambda Display + +1. **Configuration Settings**: Jendela ini memungkinkan Anda memilih bagaimana air-fuel ratio (AFR) akan ditampilkan + +2. **Pilih AFR atau Lambda**: + - **AFR (Default)**: Ini adalah pengaturan yang paling umum digunakan dan menampilkan air-fuel ratio, yang familiar bagi sebagian besar pengguna + - **Lambda**: Alternatifnya, Anda dapat memilih Lambda, pengukuran yang berbeda untuk air-fuel ratio, yang mungkin lebih disukai oleh beberapa pengguna + +3. **Klik Next**: Setelah memilih opsi tampilan yang diinginkan, klik **Next** untuk melanjutkan + +![Lambda Display Configuration][image16] + +*Referensi Gambar*: Pada screenshot di atas, opsi AFR (Default) dipilih. Sebagian besar pengguna lebih memilih pengaturan ini. + +### Langkah 18: Konfigurasi Communication Settings + +1. **Communication Settings Window**: Di jendela ini, TunerStudio akan mencoba menampilkan COM port tempat Mazduino Anda terhubung + +2. **Jika COM Port Terdeteksi Otomatis**: + - Jika COM port yang benar ditampilkan, cukup klik **Next** untuk melanjutkan + +3. **Jika COM Port Tidak Terdeteksi**: + - Gunakan dropdown menu **COM Port** untuk secara manual memilih port yang benar untuk koneksi ECU Anda + - Jika tidak ada COM port valid yang terdaftar, ini mungkin mengindikasikan masalah driver + +4. **Troubleshooting Driver**: + - Windows 10 dan yang lebih baru umumnya memiliki driver yang diperlukan pre-installed + - Untuk versi Windows yang lebih lama atau jika software lain telah memodifikasi driver COM port, Anda mungkin perlu menginstal **STMicroelectronics Virtual COM Port (VCP) drivers** + - Driver ini dapat diunduh dari website STMicroelectronics + +5. **Testing the Connection (Opsional)**: Jika Anda ingin mengonfirmasi koneksi, klik **Test Port**. Opsi ini memverifikasi koneksi sebelum melanjutkan + +![Communication Settings][image17] + +*Referensi Gambar*: Pada screenshot di atas, pengaturan COM Port ditampilkan, dengan opsi untuk memilih port yang benar jika diperlukan. Setelah port diatur, klik **Next**. + +## Menyelesaikan Setup + +### Langkah 19: Pilih Dashboard dan Selesaikan Setup + +1. **Select Dashboard**: Jendela ini memungkinkan Anda memilih layout dashboard untuk project Anda. Dashboard menampilkan berbagai gauge dan parameter untuk monitoring Mazduino secara real-time + +2. **Pilih Default Dashboard**: + - Untuk pengguna baru, disarankan untuk melanjutkan dengan **Default** dashboard yang dipilih + - Jika Anda suka, Anda dapat menjelajahi layout dashboard tambahan dari dropdown menu untuk setup yang disesuaikan + +3. **Klik Finish**: Setelah default dashboard dipilih, klik **Finish** untuk menyelesaikan setup project dan meluncurkan TunerStudio dengan konfigurasi baru Anda + +![Dashboard Selection][image18] + +*Referensi Gambar*: Pada screenshot di atas, opsi Default dashboard dipilih. Klik **Finish** untuk mulai menggunakan TunerStudio. + +### Langkah 20: Verifikasi Koneksi dan Status Dashboard + +1. **Dashboard Display**: + - Setelah setup project selesai, jendela dashboard utama akan terbuka, menampilkan berbagai gauge untuk parameter mesin + +2. **Periksa Connection Status**: + - **Not Connected**: Jika gauge tampak abu-abu dan menampilkan "Not Connected," ini berarti ECU tidak terdeteksi dengan benar. Verifikasi koneksi USB dan pengaturan COM port, kemudian coba sambung kembali + - **Connected**: Ketika ECU terdeteksi dengan benar, gauge akan muncul dengan wajah putih, dan data akan ditampilkan secara real time. Pesan "Not Connected" akan hilang, menunjukkan koneksi berhasil + +3. **Periksa Indicator Status**: + - Ketika terhubung, tombol indikator bawah akan menampilkan berbagai status dalam warna yang berbeda (misalnya "Fuel pump on," "Fan on," "Brake down"). Indikator ini memberikan feedback real-time tentang status sistem dan masalah potensial + +![Dashboard Not Connected][image19] + +*Referensi Gambar*: Pada screenshot pertama, dashboard menampilkan sebagai "Not Connected." Pada screenshot kedua, gauge aktif, dan indikator menampilkan berbagai status sistem. +![Dashboard Connected][image20] + +## Troubleshooting Koneksi + +### Masalah Umum dan Solusi + +#### 1. ECU Tidak Terdeteksi + +**Gejala**: + +- Gauge menampilkan "Not Connected" +- COM port tidak muncul dalam daftar +- Error message saat detect firmware + +**Solusi**: + +1. **Periksa Koneksi Fisik**: + - Pastikan kabel USB terpasang dengan benar + - Coba kabel USB yang berbeda + - Periksa port USB komputer + +2. **Periksa Driver**: + - Buka Device Manager Windows + - Cari "Ports (COM & LPT)" + - Pastikan ada entry untuk Mazduino/STM32 + +3. **Reset ECU**: + - Matikan ECU + - Tunggu 10 detik + - Nyalakan kembali dan coba deteksi + +#### 2. Koneksi Terputus-putus + +**Gejala**: + +- Gauge kadang menampilkan data, kadang "Not Connected" +- Data freeze atau tidak update +- Error message intermittent + +**Solusi**: + +1. **Periksa Data Rate**: + - Masuk ke Communications → Data Rate + - Coba turunkan data rate jika terlalu tinggi + +2. **Periksa Ground Connection**: + - Pastikan ground ECU terhubung dengan baik + - Periksa ground komputer/laptop + +3. **EMI/RFI Interference**: + - Jauhkan kabel USB dari sumber interferensi + - Gunakan kabel USB berpelindung jika perlu + +#### 3. Firmware Tidak Kompatibel + +**Gejala**: + +- TunerStudio mendeteksi ECU tapi tidak bisa komunikasi +- Error message tentang firmware version +- Fitur tidak berfungsi dengan benar + +**Solusi**: + +1. **Update Firmware**: + - Download firmware terbaru dari [Download Page](downloads.md) + - Flash firmware sesuai petunjuk + +2. **Update TunerStudio**: + - Download versi TunerStudio terbaru + - Install ulang jika perlu + +3. **Periksa Kompatibilitas**: + - Pastikan versi firmware cocok dengan versi TunerStudio + - Baca release notes untuk kompatibilitas + +--- + +**Selanjutnya**: [Interface dan Menu TunerStudio](tunerstudio-interface.md) + + +[image12]: # "TunerStudio Welcome Screen" +[image13]: # "Project Configuration" +[image14]: # "Device Detection" +[image15]: # "Project Configuration Complete" +[image16]: # "Lambda Display Configuration" +[image17]: # "Communication Settings" +[image18]: # "Dashboard Selection" +[image19]: # "Dashboard Not Connected" +[image20]: # "Dashboard Connected" \ No newline at end of file diff --git a/docs/tunerstudio-limits-protection.md b/docs/tunerstudio-limits-protection.md new file mode 100644 index 0000000..469c7ec --- /dev/null +++ b/docs/tunerstudio-limits-protection.md @@ -0,0 +1,192 @@ +# Limits and Protection - TunerStudio + +Sistem proteksi dan pembatasan untuk melindungi engine dari kondisi yang dapat menyebabkan kerusakan. Menu **Limits and Protection** berisi pengaturan essential untuk menjaga engine dalam parameter operasi yang aman. + +![Limits and Protection Menu][image29] + +## Overview Limits and Protection + +Submenu **Limits and Protection** di bawah **Base Engine** mencakup pengaturan essential untuk melindungi engine dengan menetapkan batas operasional. Bagian ini crucial untuk melindungi engine dari kondisi yang dapat menyebabkan kerusakan. + +### Opsi yang Tersedia: + +#### 1. Limits and Fallbacks +- Memungkinkan pengguna menentukan batas operasional maksimum untuk berbagai parameter engine +- Saat batas tercapai, strategi fallback (seperti mengurangi power atau memicu safe mode) diaktivasi +- **Contoh**: Setting RPM limit untuk memastikan engine tidak melebihi threshold tertentu + +#### 2. Oil Pressure Protection +- Monitors oil pressure levels untuk melindungi engine dari insufficient lubrication +- Jika oil pressure turun di bawah level yang aman, fitur ini dapat mengaktivasi warning atau shutdown engine +- **Catatan**: Pastikan oil pressure sensor dikalibrasi dengan benar dalam TunerStudio + +#### 3. Lambda Protection +- Monitors air-fuel ratios (AFR) untuk memastikan engine beroperasi dalam parameter pembakaran yang aman +- Jika AFR menyimpang dari range yang aman, dapat memicu corrective actions +- **Tip**: Lambda protection essential untuk turbocharged atau high-performance engines + +## Limits and Fallbacks Configuration + +![Limits and Fallbacks][image30] + +### Main Options + +#### RPM Limiting Methods + +1. **Cut fuel on RPM limit**: + - Memotong suplai fuel saat RPM limit tercapai + - Memberikan limiting action yang lebih smooth + - Dapat mengakibatkan temperature combustion chamber sedikit lebih tinggi + +2. **Cut spark on RPM limit**: + - Memotong spark untuk membatasi RPM + - Dapat menghasilkan flames dari exhaust karena unburned fuel + - Unburned fuel membantu mendinginkan combustion chamber + +3. **Use CLT-based RPM limit curve**: + - Mengaktifkan RPM limit yang bervariasi dengan coolant temperature + - Menggunakan control panel di sebelah kanan + - Memungkinkan pengaturan RPM limit berbeda berdasarkan temperature engine + +### RPM Limits Configuration + +#### Basic RPM Settings +- **RPM hard limit (RPM)**: RPM maksimum sebelum cut actions (fuel atau spark) dipicu + +- **RPM limit hysteresis (RPM)**: Buffer di bawah RPM hard limit untuk menghindari rapid cycling + +#### Boost Cut Limits +- **Boost cut pressure (kPa absolute)**: Tekanan boost maksimum absolut yang diizinkan + +- **Boost cut pressure hysteresis (kPa absolute)**: Range tekanan di bawah cut limit untuk kontrol yang lebih smooth + +### Injector Duty Cycle Limiter + +#### Immediate Protection +- **Instantaneous injector duty cycle limit (%)**: + - Limit immediate pada injector duty cycle + - Jika threshold tercapai, sistem langsung cut injectors + +#### Sustained Protection +- **Sustained injector duty cycle limit (%)**: Limit untuk operasi berkelanjutan + +- **Sustained injector duty cycle delay (seconds)**: Waktu delay sebelum limit sustained aktif + +- Memungkinkan high fuel demands sementara sambil melindungi injectors dari prolonged stress + +### Soft RPM Limit Options + +#### Gradual Engagement +- **Window size (RPM)**: Range RPM untuk gradual engagement + +- **Timing retard (degrees)**: Retard timing secara bertahap + +- **Fuel added (%)**: Tambahan fuel untuk smooth transition + +Opsi-opsi ini memungkinkan membuat "soft" limiter yang gradually engage, bukan abruptly cutting fuel atau spark. + +### Electronic Throttle Limiting + +#### Throttle-Based Limiting +- **Soft limiter start RPM**: RPM mulai throttle closing + +- **Soft limiter range (RPM)**: Range RPM untuk gradual throttle closing + +Secara bertahap menutup throttle saat RPM mendekati limit, memberikan smooth limiter response. + +## Oil Pressure Protection + +![Oil Pressure Protection][image31] + +### Configuration Options + +**Minimum oil pressure after start (kPa)**: + +- Field untuk memasukkan nilai minimum oil pressure dalam kilopascals +- Jika oil pressure turun di bawah threshold ini selama operasi, sistem akan mengaktivasi protective measure +- Essential untuk engine longevity, terutama high-performance atau heavily modified engines + +### Implementation Notes +- Pastikan oil pressure sensor terkalibrasi dengan benar +- Test threshold values pada kondisi operasi normal +- Consider engine warm-up characteristics saat setting values + +## Lambda Protection + +![Lambda Protection][image32] + +### Enable/Disable Settings + +**Enable lambda protection**: Toggle untuk mengaktifkan/menonaktifkan Lambda Protection + +### Activation Conditions + +Lambda protection hanya aktif saat semua kondisi berikut terpenuhi: + +1. **Check above load (%)**: Load engine melebihi percentage threshold ini +2. **and above TPS (%)**: Throttle position sensor melebihi percentage ini +3. **and above RPM**: RPM di atas threshold yang ditentukan +4. **and after delay (s)**: Delay time sebelum Lambda Protection engage + +### Cut Fuel Conditions + +**Cut Fuel Until** section menentukan kondisi di mana fuel akan dipotong: + +1. **Load less than (%)**: Fuel dipotong hingga engine load turun di bawah percentage ini +2. **and TPS less than (%)**: Fuel cut berlanjut hingga TPS di bawah percentage ini +3. **and RPM less than (RPM)**: Fuel cut aktif hingga RPM turun di bawah threshold ini + +### Lambda Difference Table + +**Lambda Difference Table** (sisi kanan window) memungkinkan setting maksimum allowable deviation dalam Lambda values: + +- **Y-axis**: Load + +- **X-axis**: RPM + +- **Z-axis values**: Lambda values (bukan AFR) + +Table ini membantu menentukan Lambda deviation limits di bawah berbagai engine loads dan RPMs. + +## Rekomendasi Setting + +### Conservative Settings (Recommended untuk pemula) +- **RPM limit**: 500-1000 RPM di bawah engine redline + +- **Oil pressure minimum**: Sesuai spesifikasi engine manufacturer + +- **Lambda protection**: Aktif di atas 70% load dan 3000 RPM + +### Performance Settings +- **Soft RPM limit**: Window size 200-500 RPM untuk smooth engagement + +- **Lambda protection**: Tighter tolerances untuk precision control + +- **Boost cut**: 50-100 kPa di bawah maximum safe boost + +### Troubleshooting Protection Issues + +#### RPM Limiter Tidak Aktif +- Verifikasi RPM sensor signal quality +- Check trigger settings dan sync +- Pastikan limit values realistic + +#### Oil Pressure False Alarms +- Kalibrasi ulang oil pressure sensor +- Check wiring dan ground connections +- Adjust minimum pressure sesuai engine characteristics + +#### Lambda Protection Terlalu Sensitive +- Increase load/RPM thresholds +- Expand Lambda difference table tolerances +- Add delay time untuk prevent false triggers + +--- + +**Selanjutnya**: [Trigger Configuration](tunerstudio-trigger.md) + + +[image29]: # "Limits and Protection Menu" +[image30]: # "Limits and Fallbacks Configuration" +[image31]: # "Oil Pressure Protection" +[image32]: # "Lambda Protection" \ No newline at end of file diff --git a/docs/tunerstudio-manual.md b/docs/tunerstudio-manual.md new file mode 100644 index 0000000..7eeeb91 --- /dev/null +++ b/docs/tunerstudio-manual.md @@ -0,0 +1,271 @@ +# Manual Tuning TunerStudio untuk ECU Mazduino + +Manual ini berlaku untuk semua ECU Mazduino (Compact dan Mini 6CH) yang menggunakan firmware rusEFI dengan TunerStudio sebagai software tuning. Panduan ini mencakup kebutuhan sistem, instalasi hardware, wiring, dan navigasi ke semua halaman konfigurasi TunerStudio. + +## Kebutuhan Sistem + +Untuk menggunakan TunerStudio dengan Mazduino, pastikan perangkat Anda memenuhi persyaratan minimum berikut: + +- **Sistem Operasi**: Windows 10 atau yang lebih baru, macOS, atau Linux + +- **Hardware**: Minimum RAM 4GB, processor 2GHz, dan storage tersedia 500MB + +- **Koneksi**: Port USB untuk komunikasi langsung dengan Mazduino + +## Wiring dan Instalasi + +### Mengapa Output untuk Beban Berat Membutuhkan Relay + +ECU, termasuk Mazduino, menyediakan **output tingkat logika arus rendah** untuk mengontrol perangkat seperti fan, fuel pump, atau solenoid. Output ini tidak dirancang untuk menangani arus tinggi yang dibutuhkan oleh perangkat tersebut. Menggunakan relay memungkinkan ECU untuk mengontrol perangkat bertenaga tinggi dengan aman: + +1. **Mengisolasi Arus Tinggi dari ECU**: + - ECU hanya perlu mengirim sinyal kecil ke relay, yang menangani aliran arus tinggi ke perangkat + - Ini mencegah kerusakan pada rangkaian output ECU + +2. **Mencegah Kelebihan Beban**: + - Menghubungkan perangkat beban tinggi langsung ke ECU dapat menyebabkan panas berlebih atau kerusakan permanen karena tarikan arus yang berlebihan + +3. **Menyediakan Operasi yang Aman**: + - Relay melindungi wiring dan komponen elektrik dengan bertindak sebagai switch, mengurangi risiko hubung singkat atau panas berlebih + +### Rekomendasi untuk Wiring: Crimping vs. Soldering + +#### Crimping Kabel + +Crimping lebih disukai untuk wiring otomotif karena lebih cepat, tahan lama, dan tahan getaran jika dilakukan dengan benar: + +1. **Alat yang Dibutuhkan**: + - Gunakan **ratcheting crimp tool** yang dirancang untuk konektor otomotif + - Sesuaikan mata crimp tool dengan jenis terminal (open barrel, insulated, dll.) + +2. **Teknik**: + - Kupas kabel sepanjang yang benar (biasanya 4-6mm) tanpa merusak untaian kawat + - Masukkan kabel ke dalam terminal dan crimp dengan kuat + - Periksa hasil crimp untuk memastikan kencang dan aman, tanpa untaian kawat yang lepas + +3. **Heat Shrink**: + - Gunakan heat shrink tubing di atas sambungan untuk melindungi dari kelembaban dan korosi + +#### Soldering Kabel + +Soldering memberikan konektivitas elektrik yang sangat baik tetapi kurang tahan getaran: + +1. **Alat yang Dibutuhkan**: + - Gunakan **soldering iron berkualitas tinggi** dan **solder grade otomotif** (rosin-core, leaded solder ideal) + +2. **Teknik**: + - Kupas kabel, puntir untaian kawat bersama, dan aplikasikan flux + - Panaskan sambungan dengan soldering iron dan aplikasikan solder hingga mengalir dengan halus ke dalam sambungan + - Biarkan dingin tanpa mengganggu sambungan + +3. **Isolasi**: + - Tutupi sambungan yang di-solder dengan heat shrink atau electrical tape untuk perlindungan + +### Tips Instalasi ECU Aftermarket Umum + +#### Persiapan + +1. **Merencanakan Wiring**: + - Gunakan diagram wiring yang spesifik untuk ECU dan kendaraan Anda + - Beri label pada kabel dan rencanakan jalur untuk menghindari kebingungan selama instalasi + +2. **Tes Sensor dan Perangkat**: + - Verifikasi kesehatan dan kompatibilitas sensor (misalnya TPS, MAP, IAT) sebelum menghubungkannya ke ECU + +#### Power dan Grounding + +1. **Suplai Daya Khusus**: + - Hubungkan ECU ke sumber daya +12V yang bersih dan menggunakan fuse + - Gunakan rangkaian daya yang dikontrol relay untuk ECU agar memastikan mati saat ignition dimatikan + +2. **Grounding**: + - Pastikan semua ground (ECU, sensor, dan mesin) terhubung ke **titik ground bersama** + - Gunakan kabel ground yang tebal dan berkualitas tinggi untuk meminimalkan voltage drop + +### Pentingnya Grounding yang Tepat dalam Sistem ECU + +Grounding adalah aspek kritis dari sistem elektrik apapun, terutama dalam aplikasi otomotif. Untuk ECU seperti Mazduino, grounding yang tepat memastikan operasi yang stabil, pembacaan sensor yang akurat, dan mencegah kerusakan pada komponen sensitif. + +#### Mengapa Grounding yang Tepat Sangat Penting + +1. **Melengkapi Rangkaian**: + - Ground adalah jalur kembali untuk arus listrik, melengkapi rangkaian untuk semua perangkat + - Ground yang buruk dapat menyebabkan koneksi listrik yang terputus-putus, mengakibatkan perilaku sistem yang tidak stabil + +2. **Mencegah Noise Elektrik**: + - Grounding yang baik meminimalkan interferensi elektrik, atau "noise," yang dapat mengganggu sinyal dalam rangkaian sensitif + +3. **Memastikan Pengukuran yang Akurat**: + - Banyak sensor bergantung pada referensi ground yang konsisten. Variasi dalam potensial ground dapat mengakibatkan pembacaan sensor yang tidak akurat + +4. **Melindungi Komponen**: + - Grounding yang tepat membantu membuang kelebihan arus dengan aman, melindungi ECU dan perangkat yang terhubung dari kerusakan + +#### Mengapa Power Ground dan Sensor Ground Terpisah + +ECU memiliki **power ground** dan **sensor ground** yang khusus karena rangkaian ini melayani tujuan yang berbeda dan memiliki persyaratan yang unik: + +**1. Power Ground** +- **Tujuan**: Menangani arus balik dari perangkat bertenaga tinggi seperti injector, ignition coil, fuel pump, dan relay + +- **Karakteristik**: Arus ini seringkali besar dan dapat berfluktuasi dengan cepat saat perangkat menyala dan mati + +- **Dampak Koneksi yang Salah**: Jika arus power ground mengalir melalui rangkaian sensor ground, mereka dapat menimbulkan noise dan fluktuasi voltase + +**2. Sensor Ground** +- **Tujuan**: Menyediakan titik referensi yang stabil dan bebas noise untuk sensor bertenaga rendah seperti TPS, MAP, dan IAT + +- **Karakteristik**: Ground ini membawa arus yang sangat kecil, dan gangguan apapun dapat secara signifikan mempengaruhi integritas sinyal + +- **Dampak Koneksi yang Salah**: Jika sensor ground tidak diisolasi, noise arus tinggi dari perangkat power dapat menyebabkan pembacaan sensor yang tidak menentu atau bahkan salah interpretasi ECU + +### Best Practice untuk Grounding dalam Sistem Otomotif + +1. **Gunakan Titik Ground Bersama**: + - Hubungkan semua power ground ECU ke satu titik ground yang bersih (misalnya terminal negatif aki) + - Pastikan sensor ground kembali langsung ke ECU tanpa melewati chassis + +2. **Isolasi Sensor Ground**: + - Jangan pernah hubungkan sensor ground langsung ke chassis. Gunakan pin sensor ground khusus ECU untuk semua sensor + +3. **Pastikan Koneksi yang Aman**: + - Gunakan teknik crimping atau soldering yang tepat dan bersihkan titik kontak untuk meminimalkan resistansi dan mencegah voltage drop + +4. **Gunakan Kabel Berpelindung**: + - Untuk sinyal sensitif (misalnya sensor crank dan cam), gunakan kabel berpelindung yang di-ground di satu ujung untuk mengurangi interferensi elektromagnetik + +5. **Periksa Integritas Grounding**: + - Secara berkala periksa koneksi ground untuk korosi, sambungan yang kendor, atau kabel yang rusak + +**Pengingat Keselamatan**: Sebelum menginstal atau menangani wiring apapun, putuskan aki kendaraan untuk mencegah hubung singkat atau kerusakan pada komponen. + +**Catatan Penting**: + +- Pastikan semua koneksi wiring mengikuti spesifikasi yang direkomendasikan untuk performa dan keselamatan terbaik +- Gunakan hanya konektor berkualitas tinggi dan isolasi yang tepat untuk semua sambungan + +## Pengantar TunerStudio + +TunerStudio adalah software tuning yang digunakan untuk mengkonfigurasi dan memonitor ECU Mazduino. Software ini memungkinkan Anda untuk mengatur parameter mesin, melihat data sensor real-time, dan melakukan tuning untuk performa optimal. + +Dokumentasi ini telah dibagi menjadi bagian-bagian terpisah untuk memudahkan navigasi dan pemahaman. Setiap menu konfigurasi memiliki panduan lengkap dengan contoh praktis dan rekomendasi untuk unit Plug & Play maupun Kit/DIY. + +## Daftar Menu Konfigurasi + +### [Instalasi TunerStudio](tunerstudio-instalasi.md) +Panduan lengkap instalasi TunerStudio untuk ECU Mazduino, meliputi: + +- Download dan instalasi step-by-step +- Konfigurasi system requirements +- Troubleshooting masalah instalasi +- Setup driver dan koneksi USB + +### [Konfigurasi Project TunerStudio](tunerstudio-konfigurasi.md) +Setup project baru dan konfigurasi ECU connection, mencakup: + +- Membuat project baru dari awal +- Deteksi dan koneksi ECU Mazduino +- Konfigurasi communication settings +- Verifikasi koneksi dan troubleshooting + +### [Interface dan Menu TunerStudio](tunerstudio-interface.md) +Panduan navigasi dan penggunaan interface TunerStudio, meliputi: + +- Overview interface dan dashboard +- File menu (project dan tune management) +- Options menu (pengaturan interface) +- Data logging, communications, dan tools menu + +### [Base Engine Settings](tunerstudio-base-engine.md) +Konfigurasi dasar engine untuk operasi ECU yang tepat, mencakup: + +- Engine configuration (cylinders, displacement, firing order) +- Fuel strategy selection (Speed Density, MAF, Alpha-N, Lua) +- Engine metadata dan forced induction settings +- Layout selection dan best practices + +### [Limits and Protection](tunerstudio-limits-protection.md) +Sistem proteksi untuk melindungi engine dari kerusakan, meliputi: + +- Limits and Fallbacks (RPM, boost, injector duty cycle) +- Oil Pressure Protection +- Lambda Protection (AFR monitoring) +- Soft RPM limits dan electronic throttle limiting + +### [Fuel System Configuration](tunerstudio-fuel-system.md) +Konfigurasi komprehensif sistem bahan bakar, mencakup: + +- Injection configuration dan hardware settings +- VE (Volumetric Efficiency) table tuning +- Target AFR table dan closed loop correction +- Acceleration enrichment dan fuel cutoff (DFCO) + +### [Ignition System Configuration](tunerstudio-ignition.md) +Setup sistem ignition untuk performance optimal, meliputi: + +- Ignition mode selection (single coil, individual coils, wasted spark) +- Ignition timing table dan dwell configuration +- CLT/IAT timing corrections +- Multispark, knock control, dan cylinder trims + +### [Sensor Configuration](tunerstudio-sensors.md) +Konfigurasi lengkap semua jenis sensor untuk monitoring dan kontrol engine, mencakup: + +- Setup sensor analog dan digital +- Kalibrasi TPS, MAP, CLT, IAT dan sensor lainnya +- Konfigurasi O2 sensor dan wideband controller +- VR sensor threshold dan speed sensor setup + +### [CAN Bus Configuration](tunerstudio-canbus.md) +Setup komunikasi CAN Bus untuk integrasi dengan perangkat eksternal, meliputi: + +- Konfigurasi CAN Bus communication settings +- Setup CAN O2 sensors dan EGT sensors +- CAN vehicle speed sensor configuration +- Integration dengan dashboard dan IO box + +### [Controller & Diagnostics](tunerstudio-controller.md) +Tool diagnostik dan testing untuk troubleshooting sistem, mencakup: + +- Bench testing injector dan ignition outputs +- Fancy Board configuration untuk ECU wire-in +- Traction control tables dan tuning +- SD Card logging dan rusEFI console + +### [Troubleshooting](tunerstudio-troubleshooting.md) +Panduan komprehensif untuk mengatasi masalah sistem Mazduino, meliputi: + +- Diagnosis masalah umum (no RPM signal, sensor errors) +- Tool diagnostik dan raw sensor monitoring +- Error codes dan prosedur reset +- Best practices untuk maintenance preventif + +### [Examples & Map Switching](tunerstudio-examples.md) +Contoh implementasi praktis dan fitur advanced, mencakup: + +- Setup map switching untuk kondisi operasi berbeda +- Progressive tuning dan automatic switching +- Integration dengan launch control dan traction control +- Safety considerations dan best practices + +### [Pengaturan Output Controls](tunerstudio-output-controls.md) +Konfigurasi komprehensif untuk semua kontrol output ECU, meliputi: + +- Main Relay dan Fuel Pump Control +- Tachometer dan Speedometer Output +- Fan Cooling (Dual Fan Support) +- Starter Control dan Safety Features +- Check Engine Light Configuration + +### [Pengaturan Air Conditioning](tunerstudio-ac-settings.md) +Kontrol sistem A/C yang terintegrasi dengan ECU, mencakup: + +- Input dan Output Controls A/C +- Timing dan Protection Settings +- Kompensasi Idle Speed +- Kontrol Tekanan Sistem +- Status Monitoring dan Indikator + +--- + +*Manual ini akan terus diperbarui dengan penambahan menu konfigurasi baru. Pastikan Anda menggunakan versi terbaru untuk informasi yang akurat.* diff --git a/docs/tunerstudio-output-controls.md b/docs/tunerstudio-output-controls.md new file mode 100644 index 0000000..78f43e9 --- /dev/null +++ b/docs/tunerstudio-output-controls.md @@ -0,0 +1,135 @@ +# Pengaturan Output Controls - TunerStudio + +## Pengantar + +Di jendela pengaturan Outputs, Anda akan menemukan opsi untuk mengkonfigurasi berbagai kontrol output untuk ECU. Untuk unit Plug and Play, sebagian besar pengaturan ini ditangani oleh basemap yang disertakan, sehingga hanya penyesuaian spesifik (seperti suhu, timing, dan adder) yang biasanya perlu dimodifikasi. Untuk unit Kit/DIY, yang tidak dilengkapi dengan basemap yang sudah dikonfigurasi, setiap pengaturan harus ditinjau dengan hati-hati dan dikonfigurasi untuk memastikan kompatibilitas dengan kendaraan. + +![Output Overview](img/manual/output-overview.png) + +## Ringkasan Kontrol Output + +**Main Relay Output**: Menentukan kontrol relay utama, termasuk channel output dan mode. Relay ini umumnya digunakan untuk memberikan daya pada komponen kunci seperti sistem bahan bakar dan pengapian. + +**Fuel Pump**: Mengkonfigurasi kontrol pompa bahan bakar, dengan opsi untuk channel output, mode, dan durasi priming (dalam detik). Ini mengontrol berapa lama pompa bahan bakar melakukan priming selama startup. + +**Tachometer Output**: Mengelola sinyal tachometer dengan opsi untuk mode pulsa dan durasi. Pengaturan ini biasanya disesuaikan pada basemap Plug and Play untuk kompatibilitas dengan dashboard mobil, tetapi harus dikonfigurasi untuk unit Kit/DIY. + +## Main Relay Output +- **Fungsi**: Mengontrol relay utama untuk sistem bahan bakar dan pengapian + +- **Channel**: Pilih output channel yang sesuai untuk relay utama + +- **Mode**: Konfigurasi mode operasi relay + +- **Aplikasi**: Umumnya digunakan untuk mengaktifkan sistem utama ECU + +## Fuel Pump (Pompa Bahan Bakar) +- **Output Channel**: Tentukan channel output untuk kontrol pompa bahan bakar + +- **Mode**: Pilih mode operasi (Normal/Inverted) + +- **Priming Duration**: Durasi priming dalam detik saat startup + - **Rekomendasi**: 2-5 detik untuk mesin standar + - **Penyesuaian**: Sesuaikan berdasarkan volume sistem bahan bakar + +## Tachometer Output +- **Pulse Mode**: Konfigurasi mode sinyal untuk dashboard + +- **Duration**: Durasi pulsa tachometer + +- **Compatibility**: Biasanya sudah dikonfigurasi pada basemap Plug and Play + +- **Custom Setup**: Perlu konfigurasi manual untuk unit kit + +## Pengaturan Fan Cooling + +Fan 1 dan Fan 2, ECU Mazduino mendukung kontrol dual fan dengan pengaturan independen: + +### Temperature Control +- **On Temperature (°C)**: Suhu aktivasi fan + - **Fan 1**: Biasanya 85-90°C + - **Fan 2**: Biasanya 92-98°C (untuk fan kedua/high speed) + +- **Off Temperature (°C)**: Suhu deaktivasi fan + - **Setting**: 3-5°C lebih rendah dari suhu aktivasi untuk mencegah cycling + +### Kondisi Operasi +- **Enable with AC**: Fan aktif saat AC menyala + - **Rekomendasi**: Aktifkan untuk menjaga suhu saat AC beroperasi + +- **Disable When Engine Stopped**: Nonaktifkan fan saat mesin mati + - **Safety**: Mencegah battery drain + +- **Disable Above Vehicle Speed**: Nonaktifkan fan di atas kecepatan tertentu + - **Setting**: 60-80 km/h (airflow alami cukup) + +### Idle Adder +- **Fungsi**: Menambah duty cycle fan saat idle + +- **Percentage (%)**: 10-20% untuk bantuan cooling di RPM rendah + +- **Aplikasi**: Membantu cooling saat idle atau traffic jam + +## Starter Control Output +- **Output Selection**: Pilih pin output spesifik untuk kontrol relay starter + +- **NONE Setting**: Menonaktifkan kontrol starter ECU (operasi independen) + +- **Safety**: Memungkinkan ECU mengelola starter engagement + +## Safety Features + +### Require Foot on Brake to Crank +- **Fungsi**: Memerlukan pedal rem ditekan untuk starter + +- **Safety**: Mencegah starter aktif tanpa rem + +- **Aplikasi**: Umumnya untuk transmisi otomatis + +### Start/Stop Button Input +- **Input Channel**: Tentukan channel input untuk tombol start/stop + +- **Mode**: Default atau custom sesuai kebutuhan + +- **Integration**: Untuk sistem keyless atau push-button start + +## Starter Protection + +### Start Cranking Maximum Time +- **Durasi**: Batas maksimum waktu cranking (biasanya 10-15 detik) + +- **Protection**: Melindungi starter dari overuse + +- **Safety**: Mencegah kerusakan starter dan battery drain + +### Suppress on Startup +- **Delay (ms)**: Penundaan untuk menghindari sinyal starter palsu + +- **Setting**: 500-1000ms untuk sistem stabil + +- **Function**: Mencegah false starter signals saat inisialisasi + +### Starter Disable +- **Output Channel**: Konfigurasi channel output untuk menonaktifkan starter + +- **Conditions**: Kondisi spesifik untuk disable starter (RPM tinggi, dll) + +- **Safety**: Mencegah starter aktif saat mesin sudah hidup + +## Konfigurasi Speedometer +- **Output Mode**: Customize mode sinyal output speedometer + +- **Pulses per Kilometer**: Sesuaikan dengan spesifikasi dashboard + +- **Calibration**: Kalibrasi sesuai dengan gear ratio dan ukuran ban + +- **Compatibility**: Pastikan kompatibilitas dengan sistem dashboard existing + +## Check Engine Output +- **Output Configuration**: Konfigurasi output channel untuk lampu check engine + +- **Warning Period**: Durasi periode warning dalam detik + +- **Trigger Conditions**: Kondisi yang memicu check engine light + +- **Diagnostic**: Integrasi dengan sistem diagnostik ECU diff --git a/docs/tunerstudio-sensors.md b/docs/tunerstudio-sensors.md new file mode 100644 index 0000000..c6ceb01 --- /dev/null +++ b/docs/tunerstudio-sensors.md @@ -0,0 +1,350 @@ +# Konfigurasi Sensor TunerStudio + +## Pengantar +Menu **Sensors** menyediakan akses untuk mengkonfigurasi berbagai sensor yang diperlukan untuk operasi ECU Mazduino. Setiap opsi didedikasikan untuk sensor atau jenis pengukuran tertentu dan memungkinkan penyesuaian parameter sensor yang tepat. + +![Sensor Configuration Menu](images/sensor-configuration-menu.png) + +## Opsi Konfigurasi Sensor + +### 1. Misc Sensors +Mengkonfigurasi sensor non-standar atau input umum untuk berbagai kebutuhan. + +### 2. Analog Input Settings +Mendefinisikan pengaturan untuk input analog tambahan yang terhubung ke ECU. + +### 3. CLT Sensor (Coolant Temperature) +Mengatur kalibrasi sensor suhu coolant, penting untuk pengkayaan cold start dan kontrol kipas. + +### 4. IAT Sensor (Intake Air Temperature) +Mengkonfigurasi parameter sensor suhu udara masuk yang membantu menghitung kepadatan udara untuk bahan bakar. + +### 5. Auxiliary Temperature Sensors (1 & 2) +Menetapkan dan mengkalibrasi sensor suhu tambahan untuk monitoring komponen tambahan. + +### 6. TPS (Throttle Position Sensor) +Menyesuaikan pengaturan sensor posisi throttle, vital untuk acceleration enrichment dan idle control. + +### 7. Accelerator Pedal Sensor +Mengatur kalibrasi untuk sistem drive-by-wire dimana posisi pedal dimonitor secara elektronik. + +### 8. MAP Sensor (Manifold Absolute Pressure) +Mengkonfigurasi sensor MAP untuk kalkulasi load, manajemen turbo boost, atau koreksi barometrik. + +### 9. MAP Sampling +Menyesuaikan interval sampling sensor MAP untuk pembacaan yang konsisten dan akurat. + +### 10. Barometric Pressure Sensor +Mengkonfigurasi sensor barometrik untuk penyesuaian bahan bakar berdasarkan ketinggian. + +### 11. MAF Sensor (Mass Airflow) +Mengatur sensor mass airflow untuk mengukur udara masuk untuk kalkulasi bahan bakar. + +### 12. MAF Transfer Function +Mendefinisikan kurva kalibrasi sensor MAF untuk konversi voltase ke airflow. + +### 13. O2 Sensor +Mengkonfigurasi sensor oksigen untuk monitoring air-fuel ratio. + +### 14. rusEFI Wideband Controller +Mengkalibrasi dan mengintegrasikan kontroler O2 wideband untuk tuning AFR yang presisi. + +### 15. VR Sensor Threshold +Menyesuaikan parameter untuk sensor VR (Variable Reluctance), biasanya digunakan untuk deteksi posisi crankshaft dan camshaft. + +### 16. Vehicle Speed Sensor +Mengatur sensor kecepatan untuk menentukan kecepatan kendaraan, digunakan dalam fitur kontrol lanjutan seperti launch control atau manajemen boost. + +### 17. Oil Pressure Sensor +Mengkonfigurasi pengaturan untuk monitoring tekanan oli mesin untuk mencegah kerusakan. + +### 18. Oil Temperature Sensor +Mengatur kalibrasi untuk tracking suhu oli untuk monitoring keselamatan dan performa. + +### 19. Fuel Pressure Sensor +Mengkonfigurasi sensor untuk memastikan pengiriman bahan bakar yang konsisten di berbagai beban. + +### 20. Fuel Temperature Sensor +Mengatur sensor untuk monitoring suhu bahan bakar yang dapat mempengaruhi densitas dan aliran. + +### 21. Fuel Level Sensor +Menyesuaikan kalibrasi sensor level bahan bakar untuk menampilkan pembacaan yang akurat. + +### 22. Ambient Temperature Sensor +Mengkonfigurasi sensor untuk monitoring suhu lingkungan. + +### 23. Compressor Discharge Temp +Mengatur sensor ini untuk monitoring suhu output turbocharger/intercooler. + +### 24. Wastegate and Idle Position Sensors +Mengkalibrasi sensor posisi wastegate atau bypass valve untuk manajemen boost. + +### 25. A/C Pressure Sensor +Mengkonfigurasi sensor untuk monitoring sistem air conditioning. + +### 26. Aux Sensors +Input sensor tambahan yang dapat dikustomisasi untuk monitoring berbagai komponen atau sistem. + +## Input Sensor Lainnya + +![Other Sensor Inputs](images/other-sensor-inputs.png) + +Dialog **Other Sensor Inputs** memungkinkan konfigurasi sensor tambahan yang berperan dalam kontrol mesin khusus atau fitur lanjutan. Ini termasuk input untuk kopling, rem, throttle, turbo, dan berbagai sensor terkait tekanan. + +### Opsi Input Sensor + +#### 1. Clutch Down +- **Signal**: Menetapkan pin dan jenis input untuk mendeteksi ketika kopling ditekan penuh + +- **Mode**: Opsi termasuk **Pull-up** atau **Pull-down** untuk mengkonfigurasi polaritas sinyal + +- **Signal Polarity**: Dapat diatur ke **Normal** atau **Inverted**, tergantung cara kerja sensor + +#### 2. Clutch Up +- **Signal**: Mengkonfigurasi pin untuk mendeteksi ketika kopling dilepas penuh + +- **Mode**: Mirip dengan clutch down, dapat diatur ke **Pull-up** atau **Pull-down** + +- **Signal Polarity**: Pilih antara **Normal** dan **Inverted** + +#### 3. Throttle Up Switch +Menetapkan sinyal untuk aktuasi throttle ketika input sekunder diperlukan. + +#### 4. Brake Pedal +- **Signal**: Mendeteksi aktivasi pedal rem + +- **Mode**: Mengkonfigurasi polaritas sinyal untuk input rem (mis. Pull-up atau Pull-down) + +- **Signal Polarity**: Opsi termasuk **Normal** atau **Inverted** + +#### 5. Flex Fuel Sensor +- Menetapkan sinyal untuk monitoring konten ethanol untuk memungkinkan penyesuaian bahan bakar dinamis +- **Signal Type**: Mengkonfigurasi format input yang diharapkan (mis. Pull-up atau Pull-down) + +#### 6. Turbo Speed Sensor +- Menetapkan input sensor untuk monitoring RPM turbocharger +- **Turbo Speed Multiplier**: Memungkinkan kalibrasi berdasarkan setup turbocharger spesifik + +#### 7. Throttle Inlet Pressure Sensor +Mengkonfigurasi sensor tekanan khusus untuk mengukur tekanan manifold sebelum throttle body. + +#### 8. Compressor Discharge Pressure Sensor +Mengkalibrasi sensor untuk monitoring tekanan output dari turbocharger atau supercharger. + +### Catatan Penggunaan + +- **Signal Polarity (Normal/Inverted)**: Saat mengkonfigurasi input dengan opsi **Normal/Inverted**, pastikan pengaturan sesuai dengan perilaku sensor yang diharapkan. Misalnya, sinyal inverted membalik logika input untuk mencocokkan wiring perangkat keras. + +- **Flex Fuel dan Turbo Sensors**: Ini opsional tetapi direkomendasikan untuk setup yang memerlukan manajemen ethanol atau turbocharger yang presisi. + +- Kalibrasi yang tepat sangat penting untuk sensor seperti **turbo speed** dan **pressure sensors** untuk memastikan akurasi dan menghindari masalah performa. + +## Konfigurasi TPS dan Accelerator Pedal + +![TPS and Accelerator Pedal Setup](images/tps-accelerator-setup.png) + +Window **TPS (Throttle Position Sensor)** dan **Accelerator Pedal Sensor (PPS)** digunakan untuk mengkalibrasi dan mengkonfigurasi sensor yang diperlukan saat menggunakan **electronic throttle bodies (ETB)**. Kalibrasi yang tepat di bagian ini sangat penting untuk fungsi mesin, karena setup yang salah atau tidak lengkap dapat menyebabkan ECU mengeluarkan error dan menolak untuk berjalan sampai masalah diselesaikan. + +### Setup TPS + +- **Ford/Toyota Redundant TPS Mode**: + - Mode ini dirancang khusus untuk **sensor TPS/PPS tertentu yang dibuat oleh Ford dan Toyota**, yang memiliki skala berbeda dibandingkan setup TPS/PPS biasa + - Semua TPS/PPS menggunakan sensor redundan, tetapi mode ini hanya diperlukan ketika sensor kedua menunjukkan skala ganjil yang unik untuk manufaktur ini + - Pastikan mode ini diaktifkan jika sensor tersebut digunakan + +- **TPS/PPS Limits**: + - **Minimum Valid Value (%)**: Nilai sensor terendah yang dapat diterima + - **Maximum Valid Value (%)**: Nilai sensor tertinggi yang dapat diterima + - **Error Detection Threshold (%)**: Menentukan kapan ECU menandai fault berdasarkan deviasi dari nilai yang diharapkan + +- **Throttle Body #1 dan #2 Sensors**: + - Kalibrasi melibatkan pengaturan nilai **minimum (ADC)** dan **maximum (ADC)** menggunakan tombol **Auto Calibrate** + - Pastikan input sensor ditetapkan dengan benar (mis. TPS1 Primary, TPS1 Secondary) + - **Catatan**: Jika kalibrasi tidak lengkap atau salah, ECU akan menandai error dan menolak untuk berfungsi sampai dibersihkan + +### Setup Accelerator Pedal + +- **Accelerator Position Sensor**: + - Tetapkan input untuk sensor pedal **primary** dan **secondary** + - Gunakan tombol **Grab Up** untuk merekam voltase ketika pedal **tidak ditekan** + - Gunakan tombol **Grab Down** untuk merekam voltase ketika pedal **ditekan penuh** + - Pastikan kalibrasi presisi; deviasi dapat memicu error ECU + +### Catatan Penting + +- **Persyaratan Kalibrasi**: Kalibrasi TPS dan PPS harus diselesaikan dengan sukses agar ECU berfungsi dengan baik dengan ETB + +- **Penanganan Error**: Jika kalibrasi gagal atau pengaturan salah, ECU akan menampilkan error dan mencegah mesin berjalan sampai masalah diselesaikan dan error dibersihkan + +- Pengaturan ini **hanya diperlukan untuk setup ETB**. Untuk setup throttle drive-by-cable tradisional, konfigurasi ini tidak berlaku + +## Konfigurasi Sensor O2 + +![O2 Sensor Configuration](images/o2-sensor-config.png) + +Window **O2 Sensor** memungkinkan konfigurasi **unit wideband CAN** atau **sensor berbasis analog-input**, menyediakan fleksibilitas untuk berbagai setup. + +### Konfigurasi CAN Wideband + +- **Enable CAN Wideband**: + - Bekerja dengan **unit wideband AEM** atau **Mazduino** yang dihubungkan melalui CAN + - Pilih **channel CAN bus** tempat wideband terhubung + - Jika channel tertukar, aktifkan **Swap Channels 1 and 2** + - Opsi **Force O2 sensor heating** dapat mengesampingkan kontrol heating otomatis, meskipun biasanya diatur ke "No" + +- **CAN Indicators**: + - Menampilkan status operasional sistem wideband + - Indikator hijau menandakan operasi yang tepat (mis. Heating Allowed, Communication OK) + - Indikator merah menyoroti masalah seperti kegagalan heating atau sensor underheating/overheating + +### Konfigurasi Analog Input + +- **O2 Sensor I/O**: + - **Input Channel**: Pilih input analog yang terhubung ke sensor + - **Heater Output**: Tentukan channel output untuk kontrol heater + +### Opsi Tipe O2 + +Dropdown **O2 Type** memungkinkan konfigurasi tipe sensor O2 yang digunakan untuk input analog: + +- **Custom**: Memungkinkan konfigurasi manual skala voltase-ke-AFR sensor. Anda dapat mendefinisikan: + - **Low Voltage (Volts)**: Voltase minimum yang dikeluarkan sensor + - **Low Value (AFR)**: AFR yang sesuai dengan voltase rendah + - **High Voltage (Volts)**: Voltase maksimum yang dikeluarkan sensor + - **High Value (AFR)**: AFR yang sesuai dengan voltase tinggi + +- **BP SX**: Skala predefined untuk sensor wideband BP SX + +- **Innovate**: Skala predefined untuk kontroler wideband Innovate + +- **14Point7**: Skala predefined untuk sensor wideband 14Point7 + +- **PLX**: Skala predefined untuk kontroler wideband PLX + +- **Narrow Band**: Untuk sensor O2 narrowband tradisional. Terbatas pada perilaku switching stoichiometric + +- **AEM**: Skala predefined untuk kontroler wideband AEM + +### Pengaturan Opsi yang Benar + +- Pilih **tipe predefined yang sesuai** jika menggunakan unit wideband umum untuk skala otomatis +- Gunakan **Custom** hanya jika tipe sensor Anda tidak terdaftar atau jika Anda perlu penyesuaian skala yang presisi. Masukkan data voltase dan AFR sensor di field yang disediakan +- Memilih tipe yang salah atau skala yang salah akan menghasilkan pembacaan AFR yang tidak akurat, yang dapat menyebabkan error tuning + +### Catatan + +- Skala yang tepat memastikan pembacaan AFR (Air-Fuel Ratio) yang akurat untuk sensor wideband dan narrowband +- Saat menggunakan wideband berbasis CAN, konfigurasi input analog di bagian bawah tidak diperlukan. Sebaliknya, untuk sensor analog, konfigurasi dan indikator CAN diabaikan + +## VR Sensor Threshold + +![VR Sensor Threshold](images/vr-sensor-threshold.png) + +Screen ini digunakan untuk mengkonfigurasi **VR (Voltage Reference) Sensor Thresholds** untuk input sensor VR diskrit, yang hanya tersedia di unit Mazduino wire-in. Sensor VR umumnya digunakan untuk sensing posisi crankshaft dan camshaft. + +### Konfigurasi + +- **VR 1 Threshold**: + - Mendefinisikan threshold voltase untuk sensor VR primer pada nilai RPM yang berbeda + - ECU menggunakan threshold ini untuk mendeteksi zero-crossing sinyal VR secara akurat, memastikan pengukuran timing yang presisi + - Tabel dan grafik memungkinkan penyesuaian untuk level voltase yang bervariasi pada RPM spesifik + +- **VR 2 Threshold**: + - Mengkonfigurasi threshold voltase untuk sensor VR sekunder (jika berlaku) + - Mirip dengan VR 1, penyesuaian memastikan deteksi akurat dan pemrosesan sinyal untuk input VR sekunder + +### Catatan Penting + +- **Wire-in Only**: Fitur ini eksklusif untuk ECU wire-in dan tidak tersedia di unit plug-and-play + +- **Kalibrasi**: Kalibrasi threshold yang tepat sangat penting untuk mencegah deteksi sinyal palsu atau pulse yang terlewat, terutama pada RPM tinggi + +- **Penyesuaian**: Pastikan output voltase sensor VR selaras dengan threshold yang diatur dalam tabel untuk operasi yang akurat. Gunakan scope jika diperlukan untuk mengamati waveform VR dan memverifikasi pengaturan + +Mengkonfigurasi threshold VR dengan benar memastikan operasi optimal sistem ignition dan timing, terutama dalam setup high-performance atau custom dimana sensor VR umumnya digunakan. + +## Konfigurasi Speed Sensor + +![Speed Sensor Configuration](images/speed-sensor-config.png) + +Screen ini digunakan untuk mengkonfigurasi pengaturan speed sensor dan menghitung kecepatan kendaraan atau mendeteksi gear berdasarkan sinyal input. + +### Pengaturan Speed Sensor + +1. **Input**: Pilih pin input untuk sinyal speed sensor. Dalam contoh, "3B/4B - VR2" digunakan, menunjukkan speed sensor berbasis VR. + +2. **Filter Parameter**: Menentukan filtering yang diterapkan pada sinyal speed sensor. Nilai yang lebih tinggi menghaluskan sinyal noise tetapi dapat mengurangi responsivitas. + +3. **Wheel Revolutions per Kilometer (revs/km)**: Menentukan jumlah rotasi roda yang diperlukan untuk menempuh satu kilometer. Nilai ini tergantung pada ukuran ban dan harus akurat untuk kalkulasi kecepatan yang benar. + +4. **Speed Sensor Gear Ratio**: Menentukan rasio gear dari speed sensor ke roda. Ini umumnya digunakan dalam kendaraan dimana speed sensor dipasang di gearbox. + +5. **Speed Sensor Tooth Count**: Jumlah gigi atau pulsa yang dihasilkan per revolusi oleh speed sensor. Nilai ini penting untuk komputasi kecepatan yang akurat. + +### CAN Vehicle Speed + +1. **Enable CAN VSS**: Mengaktifkan penggunaan CAN-based Vehicle Speed Sensor (VSS) alih-alih input speed sensor langsung. + +2. **CAN VSS Type**: Memilih tipe kendaraan untuk data kecepatan berbasis CAN (mis. BMW e46 dalam contoh). + +3. **CAN VSS Scaling (ratio)**: Menyesuaikan faktor skala untuk data CAN VSS agar sesuai dengan kecepatan aktual. + +### Pengaturan Gear Detection + +1. **Wheel Revolutions per Kilometer (revs/km)**: Digunakan lagi di sini untuk menghitung kecepatan untuk deteksi gear. + +2. **Final Drive Ratio**: Menentukan rasio antara driveshaft dan roda. Ini diperlukan untuk kalkulasi gear yang akurat. + +3. **Forward Gear Count**: Jumlah gear maju yang tersedia. Dalam contoh ini, enam gear dikonfigurasi. + +4. **Gear Ratios**: Mendefinisikan rasio gear untuk setiap gear. Rasio ini digunakan untuk menghitung dan mendeteksi gear mana yang terlibat berdasarkan kecepatan kendaraan dan RPM mesin. + +### Catatan Kunci + +- **Akurasi**: Konfigurasi yang tepat dari semua parameter sangat penting untuk deteksi kecepatan dan gear yang akurat + +- **Kalibrasi**: Pastikan ukuran ban dan rasio gear diukur atau diverifikasi untuk menghindari error dalam kalkulasi kecepatan dan gear + +- **CAN VSS**: Saat menggunakan CAN untuk kecepatan kendaraan, pastikan jaringan dikonfigurasi dan operasional untuk menghindari fallback ke pembacaan kecepatan yang salah + +## Konfigurasi Sensor Fuel Pressure + +![Fuel Pressure Sensor Configuration](images/fuel-pressure-sensor.png) + +Screen ini memungkinkan konfigurasi sensor fuel pressure untuk sistem low-pressure dan high-pressure. + +### Fuel Low Pressure Sensor + +1. **Fuel Low Pressure Input**: Memilih channel input analog yang terhubung ke sensor low-pressure fuel. Jika tidak ada sensor yang digunakan, biarkan diatur ke `NONE`. + +2. **Low Voltage (volts)**: Mendefinisikan voltase yang sesuai dengan tekanan terendah yang dapat diukur dari sensor. + +3. **Low Pressure**: Menentukan tekanan aktual (dalam kPa atau unit lain) yang sesuai dengan voltase terendah sensor. + +4. **High Voltage (volts)**: Mendefinisikan voltase yang sesuai dengan tekanan tertinggi yang dapat diukur dari sensor. + +5. **High Pressure**: Menentukan tekanan aktual (dalam kPa atau unit lain) yang sesuai dengan voltase tertinggi sensor. + +6. **Sensor Type**: Menunjukkan apakah sensor menyediakan pembacaan *Absolute* atau *Gauge*. Absolute termasuk tekanan atmosfer dalam pengukurannya, sedangkan Gauge hanya mengukur di atas tekanan atmosfer. + +### Fuel High Pressure Sensor (Spesifik GDI) + +1. **Fuel High Pressure Input**: Input ini khusus digunakan untuk sistem *Gasoline Direct Injection (GDI)*, yang memerlukan manajemen bahan bakar tekanan tinggi. Biarkan diatur ke `NONE` jika tidak berlaku. + +2. **Low Voltage (volts)**: Mendefinisikan voltase yang sesuai dengan tekanan terendah yang dapat diukur untuk sensor high-pressure. + +3. **Low Pressure**: Menentukan tekanan aktual (dalam bar atau unit lain) yang sesuai dengan voltase terendah. + +4. **High Voltage (volts)**: Mendefinisikan voltase yang sesuai dengan tekanan tertinggi yang dapat diukur untuk sensor high-pressure. + +5. **High Pressure**: Menentukan tekanan aktual (dalam bar atau unit lain) yang sesuai dengan voltase tertinggi. + +### Catatan Penting + +- **Kalibrasi**: Konfigurasi yang tepat dari voltase rendah dan tinggi dengan tekanan yang sesuai memastikan pembacaan sensor yang akurat + +- **Raw Voltage Readout**: Gauge di sebelah kanan menampilkan sinyal voltase raw real-time dari sensor yang terhubung + +- **Sensor Type**: Pastikan tipe sensor yang benar (Absolute atau Gauge) dipilih untuk menghindari misinterpretasi data + +- **High Pressure**: Bagian *High Pressure* **hanya berlaku untuk sistem GDI**. Sistem port-injected tradisional tidak menggunakan fitur ini diff --git a/docs/tunerstudio-troubleshooting.md b/docs/tunerstudio-troubleshooting.md new file mode 100644 index 0000000..c9692ca --- /dev/null +++ b/docs/tunerstudio-troubleshooting.md @@ -0,0 +1,354 @@ +# Troubleshooting TunerStudio Mazduino + +## Pengantar +Bagian ini menyediakan panduan komprehensif untuk mengidentifikasi dan mengatasi masalah umum yang ditemui selama operasi Mazduino. Setiap masalah mencakup gejala, penyebab potensial, dan solusi yang direkomendasikan untuk memastikan fungsionalitas yang tepat. + +## Masalah Umum dan Solusi + +### 1. Tidak Ada Sinyal RPM + +![No RPM Signal](images/no-rpm-signal.png) + +**Gejala**: + +- Engine tidak start +- RPM gauge tetap di nol selama cranking +- Tidak ada indikasi aktivitas ignition + +**Penyebab Potensial**: + +- Sensor crankshaft atau camshaft tidak terpasang dengan benar +- Wiring yang rusak atau terputus ke sensor +- Tipe sensor atau konfigurasi salah di software +- Gap sensor tidak sesuai spesifikasi + +**Solusi**: + +1. **Verifikasi Instalasi Sensor**: + - Pastikan instalasi sensor crank dan cam yang tepat + - Periksa alignment dan gap yang benar (biasanya 0.5-1.5mm untuk sensor Hall) + - Verifikasi mounting yang kuat tanpa getaran + +2. **Periksa Wiring**: + - Inspeksi wiring untuk kerusakan atau koneksi yang longgar + - Pastikan semua koneksi aman dan bersih + - Gunakan multimeter untuk test kontinuitas + +3. **Konfirmasi Konfigurasi**: + - Verifikasi tipe sensor yang benar (Hall atau VR) di software + - Periksa pengaturan trigger configuration + - Pastikan pin assignment sesuai dengan wiring + +4. **Test Sensor**: + - Gunakan oscilloscope untuk melihat sinyal sensor + - Verifikasi bentuk gelombang sesuai dengan tipe sensor + - Ganti sensor jika diperlukan + +### 2. Pembacaan Wideband O2 Sensor Tidak Benar + +![Wideband O2 Issues](images/wideband-o2-issues.png) + +**Gejala**: + +- Pembacaan AFR tidak akurat atau tidak ditampilkan +- Nilai AFR tidak masuk akal (terlalu rich atau lean) +- Pembacaan AFR tidak stabil + +**Penyebab Potensial**: + +- Scaling sensor salah dikonfigurasi di software +- Wiring atau grounding yang rusak untuk sensor wideband +- Konfigurasi sinyal CAN atau analog salah +- Sensor wideband tidak ter-heat dengan benar + +**Solusi**: + +1. **Verifikasi Konfigurasi Sensor**: + - Periksa tipe sensor dan input scaling di software Mazduino + - Pastikan setting sesuai dengan spesifikasi (AEM, PLX, atau Custom) + - Verifikasi kalibrasi voltage-to-AFR + +2. **Inspeksi Koneksi**: + - Periksa power dan ground connection ke wideband controller + - Pastikan wiring tidak terpapar panas berlebihan + - Verifikasi koneksi CAN High/Low jika menggunakan CAN + +3. **Konfirmasi Konfigurasi Komunikasi**: + - Pastikan CAN ID atau analog input channel yang benar + - Periksa baud rate CAN jika menggunakan komunikasi digital + - Test dengan multimeter untuk analog input + +4. **Sensor Health Check**: + - Verifikasi sensor heating berfungsi dengan baik + - Periksa kondisi sensor element dan housing + - Ganti sensor jika rusak atau terkontaminasi + +### 3. Engine Misfire atau Berjalan Kasar + +![Engine Misfire](images/engine-misfire.png) + +**Gejala**: + +- Idle kasar +- Hesitasi selama akselerasi +- Misfire di bawah load +- RPM tidak stabil + +**Penyebab Potensial**: + +- Setting ignition atau fuel timing salah +- Busi rusak atau gap tidak sesuai +- Kegagalan injector atau coil driver +- Masalah kompresi mekanis + +**Solusi**: + +1. **Verifikasi Timing**: + - Gunakan timing light untuk memverifikasi ignition timing selaras dengan base timing yang dikonfigurasi + - Periksa fuel timing dan injector sequence + - Verifikasi trigger timing dan offset + +2. **Inspeksi Komponen**: + - Periksa dan ganti busi jika aus atau gap salah + - Test resistansi coil ignition + - Periksa flow dan spray pattern injector + +3. **Test Output**: + - Lakukan bench test untuk memverifikasi output injector dan ignition + - Periksa driver circuit untuk proper operation + - Verifikasi ground connection yang baik + +4. **Mechanical Check**: + - Test kompresi untuk masalah mekanis + - Periksa timing belt/chain alignment + - Verifikasi valve clearance jika applicable + +### 4. Sensor Voltage Keluar dari Range + +![Sensor Voltage Out of Range](images/sensor-voltage-range.png) + +**Gejala**: + +- Warning error sensor dalam diagnostics +- Pembacaan sensor yang tidak menentu atau tidak ada +- Error code terkait sensor +- Pembacaan sensor yang tidak masuk akal + +**Penyebab Potensial**: + +- Wiring sensor rusak atau grounding buruk +- Ketidaksesuaian kalibrasi antara sensor dan ECU +- Sensor rusak atau tidak berfungsi +- Supply voltage tidak stabil + +**Solusi**: + +1. **Periksa Wiring Sensor**: + - Test kontinuitas wiring untuk semua koneksi sensor + - Verifikasi grounding yang proper dan bersih + - Periksa resistensi wiring dalam spesifikasi + +2. **Verifikasi Supply Voltage**: + - Periksa 5V reference voltage stabil + - Test supply voltage pada sensor + - Verifikasi tidak ada voltage drop signifikan + +3. **Gunakan Diagnostics**: + - Monitor raw sensor voltage signals di menu diagnostics + - Bandingkan dengan spesifikasi sensor + - Verifikasi range voltage sesuai dengan sensor + +4. **Ganti Sensor**: + - Ganti sensor jika terbukti defektif + - Verifikasi spesifikasi sensor sesuai aplikasi + - Kalibrasi ulang setelah penggantian + +### 5. Fuel Pressure atau Oil Pressure Alert + +![Pressure Alerts](images/pressure-alerts.png) + +**Gejala**: + +- Warning tekanan rendah +- Engine shutdown di bawah load +- Pressure gauge menunjukkan nilai abnormal +- Alarm tekanan aktif + +**Penyebab Potensial**: + +- Kegagalan mekanis dalam sistem fuel atau oil delivery +- Threshold pressure sensor salah dikonfigurasi +- Sensor pressure yang rusak +- Kebocoran dalam sistem + +**Solusi**: + +1. **Inspeksi Sistem Mekanis**: + - Periksa fuel pump, filter, dan oil pump untuk masalah mekanis + - Verifikasi tidak ada kebocoran dalam sistem + - Test mechanical pressure dengan gauge terpisah + +2. **Sesuaikan Threshold**: + - Adjust pressure threshold di software Mazduino sesuai spesifikasi sistem + - Verifikasi setting sesuai dengan karakteristik sistem + - Test threshold dengan kondisi operasi normal + +3. **Test Sensor**: + - Verifikasi kalibrasi sensor pressure + - Periksa wiring dan koneksi sensor + - Ganti sensor jika tidak berfungsi + +4. **System Pressure Test**: + - Lakukan pressure test komprehensif + - Bandingkan mechanical gauge dengan ECU reading + - Identifikasi dan perbaiki masalah sistem + +### 6. Throttle Calibration Error + +![Throttle Calibration Error](images/throttle-calibration.png) + +**Gejala**: + +- ETB (Electronic Throttle Body) gagal kalibrasi +- Response throttle tidak normal +- Error TPS atau PPS +- Engine tidak mau start dengan ETB error + +**Penyebab Potensial**: + +- Kalibrasi TPS dan PPS salah atau tidak lengkap +- Sensor posisi throttle atau pedal rusak +- Masalah wiring atau power supply +- Mechanical binding pada throttle body + +**Solusi**: + +1. **Lakukan Kalibrasi Ulang**: + - Ikuti prosedur kalibrasi TPS dan PPS seperti yang diuraikan dalam bagian setup + - Pastikan throttle body bebas bergerak secara mekanis + - Verifikasi tidak ada binding atau hambatan + +2. **Verifikasi Sensor**: + - Test sensor dengan multimeter untuk output yang konsisten + - Periksa redundant sensor functionality + - Ganti sensor jika kalibrasi gagal berulang kali + +3. **Periksa Power dan Wiring**: + - Pastikan wiring dan konektor utuh dan terpasang dengan benar + - Verifikasi power supply stabil ke throttle body + - Periksa ground connections + +4. **Mechanical Inspection**: + - Bersihkan throttle body dari carbon deposits + - Periksa throttle shaft untuk wear atau binding + - Lubricate moving parts jika diperlukan + +## Tool Diagnostics dan Fitur + +### 1. Raw Sensor Voltage Signals + +![Raw Sensor Signals](images/raw-sensor-signals.png) + +Gunakan menu diagnostics software Mazduino untuk monitor sinyal voltase real-time dari sensor. Pembacaan ini membantu memvalidasi fungsionalitas sensor dan mendeteksi masalah wiring atau konfigurasi. + +**Cara Menggunakan**: + +- Buka menu Diagnostics > Sensor Readings +- Monitor voltage readings untuk setiap sensor +- Bandingkan dengan spesifikasi sensor +- Identifikasi sensor yang memberikan reading abnormal + +### 2. Built-In Hardware LEDs + +![Hardware LEDs](images/hardware-leds.png) + +Unit Mazduino tertentu dilengkapi LED onboard yang memberikan feedback visual untuk sistem kritikal seperti power, komunikasi, dan aktivasi output, membantu troubleshooting cepat. + +**LED Indicators**: + +- **Power LED**: Menunjukkan ECU mendapat power yang tepat + +- **Communication LED**: Mengindikasikan komunikasi dengan TunerStudio + +- **Error LED**: Menunjukkan adanya error sistem + +- **Activity LED**: Mengindikasikan aktivitas processor + +### 3. Remote Assistance + +![Remote Assistance](images/remote-assistance.png) + +Jika usaha troubleshooting tidak berhasil, Mazduino mendukung remote assistance melalui tool seperti **AnyDesk**. Ini memungkinkan teknisi profesional untuk mendiagnosis dan mengatasi masalah kompleks secara remote. + +**Prosedur Remote Assistance**: + +1. Install AnyDesk pada komputer yang terhubung ke Mazduino +2. Hubungi support Mazduino untuk appointment +3. Share AnyDesk ID dengan teknisi +4. Izinkan akses remote untuk diagnosis dan perbaikan + +## Error Codes dan Diagnosis + +### Common Error Codes + +| Error Code | Deskripsi | Solusi | +|------------|-----------|---------| +| E001 | TPS Out of Range | Kalibrasi ulang TPS atau ganti sensor | +| E002 | CLT Sensor Fault | Periksa wiring CLT atau ganti sensor | +| E003 | MAP Sensor Error | Verifikasi koneksi MAP dan kalibrasi | +| E004 | RPM Signal Lost | Periksa crank/cam sensor dan wiring | +| E005 | O2 Sensor Timeout | Verifikasi wideband communication | +| E006 | Fuel Pressure Low | Periksa sistem fuel dan sensor pressure | +| E007 | Oil Pressure Low | Inspeksi sistem oli dan sensor | +| E008 | ETB Calibration Failed | Lakukan kalibrasi ETB dan periksa mechanical | + +### Error Code Reset Procedure + +1. **Identify Root Cause**: Pastikan masalah yang menyebabkan error sudah diperbaiki +2. **Clear Errors**: Gunakan menu diagnostics untuk clear error codes +3. **Verify Fix**: Test sistem untuk memastikan error tidak muncul lagi +4. **Document**: Catat masalah dan solusi untuk referensi masa depan + +## Preventive Maintenance + +### Regular Checks + +1. **Monthly**: + - Periksa semua koneksi wiring + - Monitor sensor readings untuk drift + - Backup konfigurasi ECU + +2. **Quarterly**: + - Inspeksi detail semua sensor + - Test bench semua outputs + - Update firmware jika tersedia + +3. **Annually**: + - Comprehensive system inspection + - Replace preventive maintenance items + - Complete system recalibration + +### Best Practices + +1. **Documentation**: Selalu dokumentasikan perubahan dan masalah +2. **Backup**: Regular backup konfigurasi dan tune files +3. **Version Control**: Track perubahan firmware dan configuration +4. **Environment**: Lindungi ECU dari moisture dan extreme temperature + +## Tips Umum + +### General Guidelines + +1. **Backup Konfigurasi**: Back up file konfigurasi secara berkala untuk menghindari kehilangan data +2. **Reset Error Codes**: Gunakan menu diagnostics built-in untuk reset error code setelah mengatasi masalah +3. **Kontakt Support**: Untuk masalah persistent, hubungi support Mazduino atau gunakan remote assistance untuk bantuan tambahan +4. **Systematic Approach**: Gunakan pendekatan sistematis untuk troubleshooting dengan available diagnostic tool + +### Safety Considerations + +1. **Electrical Safety**: Selalu disconnect power sebelum melakukan perbaikan electrical +2. **Engine Safety**: Jangan operate engine dengan masalah yang belum terselesaikan +3. **Data Safety**: Selalu backup data sebelum melakukan perubahan major +4. **Professional Help**: Jangan ragu untuk mencari bantuan profesional untuk masalah kompleks + +Panduan ini memastikan pendekatan metodis untuk troubleshooting sistem Mazduino, menggunakan tool diagnostics yang tersedia untuk performa yang reliable. diff --git a/mkdocs.yml b/mkdocs.yml index 7b9cbab..a92c420 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,9 +1,55 @@ site_name: Mazduino Documentation +site_url: https://wiki.mazduino.com nav: - - Downloads: downloads.md - - Quick Start: index.md - - Compact 4 Channel: mazduino-compact-4ch.md - - Mini 6 Channel: mazduino-mini-6ch.md - - About: about.md -theme: - name: readthedocs \ No newline at end of file + - Unduhan: downloads.md + - Panduan Cepat: index.md + - Mazduino LITE: + - v0.1: mazduino-lite-v0.1.md + - v0.2: mazduino-lite-v0.2.md + - Compact 4 Channel: + - v1: mazduino-compact-4ch-v1.md + - v2.1: mazduino-compact-4ch-v2.1.md + - v2.2: mazduino-compact-4ch-v2.2.md + - v2.3: mazduino-compact-4ch-v2.3.md + - v2.5: mazduino-compact-4ch-v2.5.md + - Mini 6 Channel: + - v1.0-v1.2: mazduino-mini-6ch-v1.0-v1.2.md + - v1.3: mazduino-mini-6ch-v1.3.md + - v1.3B: mazduino-mini-6ch-v1.3b.md + - v1.3C: mazduino-mini-6ch-v1.3c.md + - v1.4: mazduino-mini-6ch-v1.4.md + - Mazduino Core: + - rev0: mazduino-core-rev0.md + - Manual TunerStudio: + - Manual Lengkap: tunerstudio-manual.md + - Instalasi: tunerstudio-instalasi.md + - Konfigurasi Project: tunerstudio-konfigurasi.md + - Interface Pengguna: tunerstudio-interface.md + - Base Engine Settings: tunerstudio-base-engine.md + - Limits & Protection: tunerstudio-limits-protection.md + - Fuel System: tunerstudio-fuel-system.md + - Ignition System: tunerstudio-ignition.md + - Sensor Configuration: tunerstudio-sensors.md + - CAN Bus Configuration: tunerstudio-canbus.md + - Controller & Diagnostics: tunerstudio-controller.md + - Troubleshooting: tunerstudio-troubleshooting.md + - Examples & Map Switching: tunerstudio-examples.md + - Firmware: + - Overview: firmware/index.md + - CAN Input: + - CAN Sensor Input: firmware/can-sensor-input.md + - CAN Analog Input: firmware/can-analog-input.md + - CAN Virtual Input (Digital): firmware/can-virtual-input.md + - CAN Output: firmware/can-output.md + - Math Channels: firmware/math-channels.md + - User Tables: firmware/user-tables.md + - Logic Outputs: firmware/logic-outputs.md + - Spark Cut & Fuel Cut: firmware/fuel-spark-cut.md + - Ucapan Terima Kasih: acknowledgments.md + - Tentang: about.md +theme: + name: readthedocs +markdown_extensions: + - attr_list + - toc: + permalink: true \ No newline at end of file diff --git a/reference/MAZDUINO COMPACT 4CH v2.1 - MANUAL.md b/reference/MAZDUINO COMPACT 4CH v2.1 - MANUAL.md new file mode 100644 index 0000000..f912bb9 --- /dev/null +++ b/reference/MAZDUINO COMPACT 4CH v2.1 - MANUAL.md @@ -0,0 +1,115 @@ +# MAZDUINO COMPACT 4CH + +*(www.mazduino.com)* + +## MANUAL + +V2.1 + +# KONEKTOR + +![][image1] + +| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | +| ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | +| 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | +| 33 | 32 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | + +1. INJECTOR 1 +2. INJECTOR 2 +3. INJECTOR 3 +4. INJECTOR 4 +5. IDLE1 +6. TACH/RPM +7. FAN +8. \+5V +9. \+12V +10. Main +11. GND +12. IDLE2 +13. IGNITION 4 +14. IGNITION 3 +15. IGNITION 2 +16. IGNITION 1 +17. FUELPUMP +18. AC Compresor Relay +19. CKP/ Trigger 1 +20. GND +21. GND +22. GND +23. CLT +24. TPS +25. O2 +26. MAP +27. IAT +28. SPARE ANALOG INPUT +29. CMP / Trigger 2 +30. Knock Sensor +31. AC Switch Input (Aktif Ground) +32. CLUTCH / Switch Kopling +33. VSS + +Dibagian belakang PCB ada solder jumper untuk memilih input/output dan juga tegangan untuk trigger koil. + +# Pin MCU Mapping + +| Nama | Pin | +| :---- | :---- | +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Ignition Output 3 | PD13 | +| Ignition Output 4 | PE5 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA3 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Analog Spare Input 1 | PB1 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| Knock | PA6 | +| | | +| | | +| | | +| | | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) + +# Wiring Sensor + +![][image2] +Informasi wiring sama dengan Speeduino bisa cek di [https://wiki.speeduino.com/en/wiring/system](https://wiki.speeduino.com/en/wiring/system) + +[image1]: + +[image2]: \ No newline at end of file diff --git a/reference/MAZDUINO COMPACT 4CH v2.3 - MANUAL.md b/reference/MAZDUINO COMPACT 4CH v2.3 - MANUAL.md new file mode 100644 index 0000000..8170308 --- /dev/null +++ b/reference/MAZDUINO COMPACT 4CH v2.3 - MANUAL.md @@ -0,0 +1,119 @@ + + +# + +# + +# + +# + +# MAZDUINO COMPACT 4CH + +*(www.mazduino.com)* + +## MANUAL + +V2.3 + +# + +# KONEKTOR + +![][image1] + +| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | +| ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | +| 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | +| 33 | 32 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | + +| INJECTOR 1 INJECTOR 2 INJECTOR 3 INJECTOR 4 IDLE1 TACH/RPM FAN \+5V \+12V Main GND | IDLE2 IGNITION 4 IGNITION 3 IGNITION 2 IGNITION 1 FUELPUMP AC Compresor Relay CKP/ Trigger 1 GND GND HS1 | CLT TPS O2 MAP IAT SPARE ANALOG INPUT CMP / Trigger 2 Knock Sensor AC Switch Input (Aktif Ground) CLUTCH / Switch Kopling VSS | +| :---- | :---- | :---- | + +**Peringatan:** +*Jangan langsung hubungkan 12v sinyal ke ECU. Sinyal ECU hanya menerima 5V dan Ground.* + +*Dibagian belakang PCB ada solder jumper untuk memilih input/output dan juga tegangan untuk trigger koil.* + +# Pin MCU Mapping + +| Nama | Pin | +| :---- | :---- | +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Ignition Output 3 | PD13 | +| Ignition Output 4 | PE5 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA6 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Knock Input | PA3 | +| Analog Spare Input 1 | PB1 | +| Analog Spare Input 2 | PA7 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| **High Side Output** | PA8 | +| | | +| | | +| | | +| | | +| 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 Diagram + +## Wiring Sensor + +![][image2] + +## Injector Wiring + +![][image3] + +## Ignition Wiring + +![][image4] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + +[image1]: + +[image2]: + +[image3]: + +[image4]: \ No newline at end of file diff --git a/reference/MAZDUINO COMPACT 4CH v2.5 - MANUAL.md b/reference/MAZDUINO COMPACT 4CH v2.5 - MANUAL.md new file mode 100644 index 0000000..18630bc --- /dev/null +++ b/reference/MAZDUINO COMPACT 4CH v2.5 - MANUAL.md @@ -0,0 +1,120 @@ + + +# + +# + +# + +# + +# MAZDUINO COMPACT 4CH + +*(www.mazduino.com)* + +## MANUAL + +V2.5 + +# + +# KONEKTOR + +![][image1] + +| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | +| ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | +| 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | +| 33 | 32 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | + +| INJECTOR 1 INJECTOR 2 INJECTOR 3 INJECTOR 4 IDLE1 TACH/RPM FAN \+5V \+12V Main GND | IDLE2 IGNITION 4 IGNITION 3 IGNITION 2 IGNITION 1 FUELPUMP AC Compresor Relay CKP/ Trigger 1 GND GND / HS2 (Jumper) HS1 | CLT TPS O2 MAP IAT SPARE ANALOG INPUT CMP / Trigger 2 Knock Sensor AC Switch Input (Aktif Ground) CLUTCH / Switch Kopling VSS | +| :---- | :---- | :---- | + +**Peringatan:** +*Jangan langsung hubungkan 12v sinyal ke ECU. Sinyal ECU hanya menerima 5V dan Ground.* + +*Dibagian belakang PCB ada solder jumper untuk memilih input/output dan juga tegangan untuk trigger koil.* + +# Pin MCU Mapping + +| Nama | Pin | +| :---- | :---- | +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Ignition Output 3 | PD13 | +| Ignition Output 4 | PE5 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA6 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Knock Input | PA3 | +| Analog Spare Input 1 | PB1 | +| Analog Spare Input 2 | PA7 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| **High Side Output 1** | PD15 | +| **High Side Output 2** | PD14 | +| | | +| | | +| | | +| | | +| 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 Diagram + +## Wiring Sensor + +![][image2] + +## Injector Wiring + +![][image3] + +## Ignition Wiring + +![][image4] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + +[image1]: + +[image2]: + +[image3]: + +[image4]: \ No newline at end of file diff --git a/reference/MAZDUINO CORE - MANUAL.md b/reference/MAZDUINO CORE - MANUAL.md new file mode 100644 index 0000000..bf79526 --- /dev/null +++ b/reference/MAZDUINO CORE - MANUAL.md @@ -0,0 +1,254 @@ +# + +# + +# + +# + +# + +# + +# + +# + +# + +# + +# MAZDUINO CORE + +*([www.mazduino.com](http://www.mazduino.com))* + +## MANUAL + +rev 0 + +# + +# + +# + +# + +# KONEKTOR + +![][image1] + +| 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 | + +1. **12V ECU** +2. Ignition 1 +3. High Side 1 +4. OUT4 (Jumper pada **JP3** optional mau **AVS2 (Analog Volt 5\)** atau **Ignition 6**) +5. OUT5 (Jumper pada **JP5** optional mau **AVS3 (Analog Volt 6\)** atau **High Side 2**) +6. 5V Sensor Supply (khusus sensor 5V) +7. ETB1+ +8. ETB1- +9. ETB2+ +10. ETB2- +11. Lowside 10 +12. Lowside 9 +13. Lowside 8 +14. Lowside 7 +15. Lowside 6 +16. Lowside 5 +17. Ground +18. Ground +19. Ignition 2 +20. OUT20 (Jumper pada **JP4** optional mau **ATS2 (Analog Temp 4\)** atau **Ignition 5**) +21. Digital 1 +22. IN 22 (Jumper **Digital 3** atau **VR1+**) +23. Analog Temp 1 +24. Analog Temp 2 +25. Analog Volt 7 +26. Analog Temp 3 +27. Lowside Low Current 15 +28. Lowside Low Current 14 +29. Lowside Low Current 13 +30. Lowside Low Current 12 +31. Lowside Low Current 11 / RPM +32. Lowside 4 +33. IN 33 (Jumper **CANH1** atau **VR2+**) +34. IN 34 (Jumper **CANL1** atau **VR2-**) +35. Ignition 3 +36. Ignition 4 +37. Digital 2 +38. IN 38 ( Jumper **Digital 4** atau **VR1-**) +39. Ground +40. Ground +41. Analog Volt 8 +42. Analog Volt 1 +43. Analog Volt 2 +44. Analog Volt 3 +45. Analog Volt 4 +46. Lowside 3 +47. Lowside 2 +48. Lowside 1 + +# + +# + +# Pin MCU Mapping + +| Fungsi | Pin | +| :---- | :---- | +| Ignition Output 1 | Ign 1 | +| Ignition Output 2 | Ign 2 | +| Ignition Output 3 | Ign 3 | +| Ignition Output 4 | Ign 4 | +| Ignition Output 5 | ign 5 | +| Ignition Output 6 | ign 6 | +| Injection Out 1 | Lowside 1 | +| Injection Out 2 | Lowside 2 | +| Injection Out 3 | Lowside 3 | +| Injection Out 4 | Lowside 4 | +| Injection Out 5 | Lowside 5 | +| Injection Out 6 | Lowside 6 | +| Injection Out 7 / Idle1 | Lowside 7 | +| Injection Out 8 / Idle2 | Lowside 8 | +| Injection Out 9 / Boost | Lowside 9 | +| Injection Out 10 / VVT | Lowside 10 | +| RPM / Pullup 10k | Lowside 11 | +| Fuelpump | Lowside 12 | +| Radiator Fan | Lowside 10 | +| AC Kompresor / Fan 2 | Lowside 10 | +| Main / Relay lain | Lowside 10 | +| MAP Sensor | Analog Volt 1 | +| O2 Sensor | Analog Volt 2 | +| TPS 2 | Analog Volt 3 | +| TPS 1 | Analog volt 4 | +| Spare Analog | Analog volt 5 | +| PPS1 | Analog volt 6 | +| PPS2 | Analog Volt 7 | +| Spare Analog | Analog Volt 8 | +| CLT Sensor | Analog Temp 1 | +| IAT Sensor | Analog Temp 2 | +| | | +| CKP Hall | Digital 1 | +| CMP Hall | Digital 2 | +| VSS / Switch | Digital 3 | +| Clutch / Switch | Digital 4 | +| | | +| CKP VR | VR 1 | +| CMP VR | VR 2 | +| | | +| ETB1-DIR | PD10 | +| ETB1-DIS | PD11 | +| ETB1-PWM | PD12 | +| ETB2-DIR | PD9 | +| ETB2-DIS | PD8 | +| ETB2-PWM | PD13 | +| | | +| | | +| | | +| | | +| | | +| | | +| | | +| | | +| | | +| | | + +# + +# Informasi Hardware + +![][image2] + +Dibagian belakang board ada jumper yang bisa disesuaikan kebutuhan atau permintaan diawal pesanan. ingin digunakan untuk mobil dengan 6 silinder atau hanya 4 silinder. Atau butuh ekstra analog input atau high side output (12v switching). + +Solder Jumper 2 pin ke tengah untuk meneruskan ke konektor ECU pada JP3, JP4 dan JP5. + +![][image3] + +Ada pula quick jumper tanpa solder sesuai permintaan saat awal pesanan atau dapat dipindahkan sendiri sesuai kebutuhan. konektor ECU akan mengeluarkan CANL atau VR2-, Digital 4 atau VR1-, CANH atau VR2+, Digital 3 atau VR1+. + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) +![][image4] +Trigger Setting Digital 1 untuk CKP Hall Sensor atau VR 1 untuk CKP Variable Reluctor. + +![][image5] +Output Lowside low current untuk control relay. +![][image6] +Lowside control FAN relay. **Bukan langsung control motor FAN.** + +**![][image7]** +Konfigurasi mesin 4 silinder atau 6 silinder atau bahkan 8 silinder. +**![][image8]** +Injektor setting sesuaikan dengan kebutuhan. Lowside bebas antara lowside 1 hingga lowside10 dapat digunakan untuk injektor. +![][image9] +Ignition setting dapat menggunakan pin ign 1 hingga ign 6\. Output hanya bisa untuk smart coil/coil dengan igbt internal. **Jangan hubungkan ign out langsung ke coil dumb tanpa IGBT.** +**![][image10]** +Idle setting dapat menggunakan pin lowside yang belum digunakan. +![][image11] + +Konfigurasi Pin untuk ETB sudah dijelaskan pada table dan gambar diatas. +![][image12] +Konfigurasi Analog sensor dapat menggunakan Analog Volt dan Analog Temp untuk sensor temperatur (jumper pullup 5v) + +# Wiring Diagram + +## Wiring Sensor + +![][image13] + +## Injector Wiring + +![][image14] + +## Ignition Wiring + +![][image15] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: + +[image7]: + +[image8]: + +[image9]: + +[image10]: + +[image11]: + +[image12]: + +[image13]: + +[image14]: + +[image15]: \ No newline at end of file diff --git a/reference/MAZDUINO LITE v0.1 - MANUAL.md b/reference/MAZDUINO LITE v0.1 - MANUAL.md new file mode 100644 index 0000000..61a0c80 --- /dev/null +++ b/reference/MAZDUINO LITE v0.1 - MANUAL.md @@ -0,0 +1,175 @@ + + +# + +# + +# + +# + +# MAZDUINO LITE + +# 4Ch Fuel & Wasted Spark + +*(www.mazduino.com)* + +## MANUAL + +v0.1 \- 2025-12-02 + +# + +# KONEKTOR + +## Konektor Utama 33 Pin + +![][image1] + +| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | +| ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | ----: | +| 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | +| 33 | 32 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | + +| \`IDLE 1 IDLE 2 CKP/DIGITAL1 VR1- IGNITION 1 MAIN IGNITION 2 TACHO/RPM GROUND COIL \+5V \+12V | INJECTOR 3 INJECTOR 4 CMP/DIGITAL2 VR2- VR2+ AC RELAY FUELPUMP FAN IAT TPS GROUND SENSOR | INJECTOR 2 INJECTOR 1 GROUND SENSOR GROUND SENSOR VR1+ MAP CLUTCH/DIGITAL3 CLT AC Switch Input (Aktif Ground) VSS/DIGITAL4 O2 | +| :---- | :---- | :---- | + +**Peringatan:** +*Jangan langsung hubungkan 12v sinyal ke ECU. Sinyal ECU hanya menerima 5V dan Ground.* + +## Konektor CANbus + +| 1 | 2 | 3 | 4 | +| :---- | :---- | :---- | :---- | + +1. POWER \- Terdapat solder jumper pada bagian bawah board 12V atau 5V. +2. CANL +3. CANH +4. GROUND + +## USB Type C + +1. Digunakan untuk tunning menggunakan software Tunner Studio. +2. Flash firmware via DFU Mode. + +# Hardware + +Pada board ECU ada yang perlu diperhatikan bahwa ada konfigurasi yang harus dilakukan melalui jumper di board. Secara default sudah disesuaikan saat order kecuali tidak ada permintaan saat order. + +Bagian atas board terdapat beberapa pin header seperti berikut : + +1. **ST-Link** untuk program (Program bisa juga via usb type-c dengan masuk DFU Mode). +2. **Coil voltage drive** \- 12V atau 5V. Penting\! Jangan sampai salah karena dapat mengakibatkan kerusakan pada koil. Ketaui jenis pinout pada coil yang digunakan. Terutama untuk Smart Coil/Coil On Plug. Untuk IGBT jumper berada pada 12V. Coil on Plug kebanyakan di 5V. +3. **Resistor Terimator** \- Digunakan untuk komunikasi CANbus. Salah satu perangkat komunikasi CANbus membutuhkan resistor termintaor. Jika CANbus tidak berhasil lepas jumper resistor terminator. Karena kemungkinan pada device lain sudah memiliki resistor terminator. +4. **PE2 dan PE3 *(Optional)*** \- Pin ini terhubung langsung ke MCU tanpa resistor. Harap perhatikan jika ingin menggunakan Pin ini. +5. **RX0 dan TX0 *(Optional)*** \- Pin ini terhubung langsung ke MCU tanpa resistor. Harap perhatikan jika ingin menggunakan Pin ini. +6. **TX3 dan RX3 *(Optional)*** \- Pin ini terhubung langsung ke MCU tanpa resistor. Harap perhatikan jika ingin menggunakan Pin ini. +7. **8 Pin untuk VR Conditioner Module** \- Perhatikan pinout sudah diberi label agar tidak terbalik. + +Pada bagian bawah board terdapat beberapa bagian yang juga perlu diperhatikan. + +1. Baterai untuk RTC atau Real Time Clock. Digunakan untuk menyimpan waktu saat data logging onboard menggunakan Micro SDCard. +2. Micro SDCard digunakan untuk data logging onboard alias tanpa laptop. Maksimal yang bisa dibaca 32GB dan pastikan gunakan yang asli. +3. Solder Jumper ada beberapa bagian + 1. Tacho Sinyal/RPM 5V atau 12V. Default 12V. + 2. JP3 \- IGN1 menggunakan Smart Coil/COP tanpa IGBT + 3. JP4 \- IGN2 menggunakan Smart Coil/COP tanpa IGBT + 4. VR1/Hall dan VR2/Hall \- Pilih ingin menggunakan VR atau Hall. Jika hall bisa digunakan untuk input CKP/CMP atau untuk digital sinyal lainnya seperti tombol untuk launch control/antilag dan lain-lain. + 5. Pullup Jumper untuk pullup input pada point d. + 6. Canbus Pwr \- Power pada konektor canbus 12V atau 5V + +# Pin MCU Mapping + +| Nama | Pin | +| :---- | :---- | +| Ignition Output 1 | PE15 | +| Ignition Output 2 | PE14 | +| Injection Output 1 | PD8 | +| Injection Output 2 | PB15 | +| Injection Output 3 | PB14 | +| Injection Output 4 | PB13 | +| MAP Sensor | PA0 | +| TPS | PA3 | +| IAT Sensor | PA5 | +| CLT Sensor | PA4 | +| O2 Sensor | PA1 | +| Battery/Voltage Reff | PA2 | +| Analog Spare Input 1 | PB1 | +| AC Input | PB0 | +| Clutch Input | PE13 | +| VSS | PD7 | +| CKP | PC6 | +| CMP | PE11 | +| VR1 | PD3 | +| VR2 | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PE8 | +| Idle 1 | PD9 | +| Idle 2 | PD10 | +| | | +| | | +| | | +| | | +| 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 Diagram + +## Wiring Analog Sensor + +![][image2] + +## Injector Wiring + +### Sequential Mode + +![][image3] + +### Batch Mode + +![][image4] + +## Ignition Wiring + +### Individual Coil + +![][image5] + +### Wasted Spark + +![][image6] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: \ No newline at end of file diff --git a/reference/MAZDUINO MINI 6CH v1.3 - MANUAL.md b/reference/MAZDUINO MINI 6CH v1.3 - MANUAL.md new file mode 100644 index 0000000..9c14097 --- /dev/null +++ b/reference/MAZDUINO MINI 6CH v1.3 - MANUAL.md @@ -0,0 +1,154 @@ +# MAZDUINO MINI 6CH + +*(www.mazduino.com)* + +## MANUAL + +# KONEKTOR + +![][image1] + +| 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 | + +1. **12V ECU** +2. IDLE1 +3. IDLE2 +4. CANH +5. 5V +6. AC-OUT / AC COMPRESOR +7. FUEL PUMP +8. Knock/PC13 (Default solder Jumper untuk Knock Input) +9. VR1- +10. VR2- +11. Stepper B2 +12. Stepper B1 +13. Stepper A1 +14. Stepper A2 +15. Injector 5 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +16. Injector 6 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +17. Main Relay (low current low side) +18. Spare Analog Input 1 /PPS1 +19. VSS (Vehicle Speed Sensor) +20. AC-IN / AC Switch +21. CANL +22. **GND** +23. FAN +24. Ignition 6 +25. ignition 5 +26. Ignition 1 +27. Ignition 2 +28. Ignition 3 +29. Ignition 4 +30. TPS +31. MAP +32. Injector 4 +33. ETB- +34. ETB+ +35. Spare Analog Input 2 / PPS2 +36. Clutch +37. **GND Sensor** +38. **GND Sensor** +39. RPM / Tacho +40. Launch Control +41. VR1+ +42. VR2+ +43. O2 (analog 5v, dari wideband controller analog output 1\~5v) / TPS 2 (ETB dengan TP1 dan TP2) +44. IAT +45. CLT +46. Injector 2 +47. Injector 1 +48. Injector 3 + +# + +# + +# Pin MCU Mapping + +| Nama | 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 Reff | 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 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PC5 | +| Idle 1 | PD10 | +| Idle 2 | PE9 | +| Stepper DIR | PD12 | +| Stepper ENBL | PD14 | +| Stepper STEP | PD15 | +| Knock1 | PC0 | +| Knock2 | PC1 | +| ETB-DIR | PB8 | +| ETB-DIS | PB9 | +| ETB-PWM | PA8 | +| | | +| | | +| | | +| | | +| | | +| | | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads)![][image2]![][image3] + +# + +# Informasi & Dokumentasi Firmware + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) & [https://wiki.mazduino.com](https://wiki.mazduino.com) + +# Wiring Sensor + +![][image4] +Informasi wiring sama dengan Speeduino bisa cek di [https://wiki.speeduino.com/en/wiring/system](https://wiki.speeduino.com/en/wiring/system) + + +[image1]: + +[image2]: + +[image3]: + +[image4]: \ No newline at end of file diff --git a/reference/MAZDUINO MINI 6CH v1.3B - MANUAL.md b/reference/MAZDUINO MINI 6CH v1.3B - MANUAL.md new file mode 100644 index 0000000..7ec0584 --- /dev/null +++ b/reference/MAZDUINO MINI 6CH v1.3B - MANUAL.md @@ -0,0 +1,235 @@ +# + +# + +# + +# + +# + +# + +# + +# + +# + +# + +# MAZDUINO MINI 6CH + +*([www.mazduino.com](http://www.mazduino.com))* + +## MANUAL + +v1.3B + +# + +# + +# + +# + +# KONEKTOR + +![][image1] + +| 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 | + +1. **12V ECU** +2. IDLE1 +3. IDLE2 +4. CANH +5. 5V +6. AC-OUT / AC COMPRESOR +7. FUEL PUMP +8. Knock/PC13 (Default solder Jumper untuk Knock Input) +9. VR1- +10. VR2- +11. Stepper B2 +12. Stepper B1 +13. Stepper A1 +14. Stepper A2 +15. Injector 5 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +16. Injector 6 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +17. Main Relay (low current low side) +18. Spare Analog Input 1 / PPS1untuk ETB sensor Pedal 1 +19. VSS (Vehicle Speed Sensor) +20. AC-IN / AC Switch ( Hanya menerima **GROUND** sebagai sinyal ON. **Jangan langsung hubungkan 12V.**) +21. CANL +22. **GND** +23. FAN +24. Ignition 6 +25. ignition 5 +26. Ignition 1 +27. Ignition 2 +28. Ignition 3 +29. Ignition 4 +30. TPS +31. MAP +32. Injector 4 +33. ETB- +34. ETB+ +35. Spare Analog Input 2 / PPS2 untuk ETB sensor Pedal 2 +36. Clutch +37. **GND Sensor** +38. **GND Sensor** +39. RPM / Tacho +40. Spare Input 3 / TPS2 untuk ETB +41. VR1+ +42. VR2+ +43. O2 (analog 5v, dari wideband controller analog output 1\~5v) +44. IAT +45. CLT +46. Injector 2 +47. Injector 1 +48. Injector 3 + +# + +# + +# Pin MCU Mapping + +| Nama | 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 Reff | PA6 | +| Analog Spare Input 1 | PB0 | +| Analog Spare Input 2 | PB1 | +| Analog Spare Input 3 | PA2 | +| AC Input | PB5 | +| Clutch Input | PE12 | +| VSS | PD7 | +| CKP | PD3 | +| CMP | PD4 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PC5 | +| Idle 1 | PD10 | +| Idle 2 | PE9 | +| Stepper DIR | PD12 | +| Stepper ENBL | PD14 | +| Stepper STEP | PD15 | +| Knock1 | PC0 | +| Knock2 | PC1 | +| ETB-DIR | PB8 | +| ETB-DIS | PB9 | +| ETB-PWM | PA8 | +| | | +| | | +| | | +| | | +| | | +| | | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +# + +# Informasi Hardware + +Mazduino Mini 6ch didesain untuk mendukung beberapa module tambahan seperti VR Conditioner Module dan Idle Stepper Module. Jadi secara bawaan Mazduino Mini 6ch ini hanya mendukung sinyal CKP dan CMP dalam bentuk digital saja, seperti sensor hall dan optical. Untuk kendaraan yang masih menggunakan VR perlu menambahkan VR Module (atau bisa custom sensor ke hall). + +![][image2]![][image3] + +Kemudian untuk bagian Idle, Mazduino Mini 6ch sudah support Idle PWM, terdapat 2 output dari low side mosfet yang dapat digunakan untuk kontrol IDLE PWM. + +Untuk jenis Idle Sensor yang menggunakan motor diperlukan module tambahan ya itu Idle Stepper Motor Module. Disini bisa menggunakan DRV8825. +![][image4] +Selain itu terdapat solder jumper dibagian belakang seperti Tach Pullup, Ignition Vdrive, opsi knock / MCU PC13. Kemudian ada JP4, JP5, JP2, JP3, JP6, JP7 dan JP8 yang akan dijelaskan dibawah. + +**Tach Pullup:** Pullup untuk tachometer/RPM Speedometer menggunakan 12V atau 5V. +**Ignition Vdrive:** Berapa tegangan yang akan digunakan untuk mengirimkan sinyal ke Coil On plug? 12V atau 5V. +**Knock/MCU PC13 :** Opsi input Knock sensor atau langsung ke pin MCU PC13 (Untuk yang paham kegunaanya saja, jika tidak abaikan saja) +**JP4:** Pullup trigger CKP/Primary +**JP5:** Pullup trigger CMP/Secondary +**JP2:** Opsi VR atau Hall untuk CKP/Primary +**JP3:** Opsi VR atau Hall untuk CMP/Secondary +**JP6:** Bypass Idle Stepper +**JP7 & JP8:** Bypass filter knock. +Pullup Launch: Digunakan untuk pullup pada pin spare input 3 jika digunakan untuk tombol aktifasi launch control/input lainnya yang membutuhkan pullup pada pin spare input 3\. + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads)![][image5]![][image6] + +# + +# Wiring Diagram + +## Wiring Sensor + +![][image7] + +## Injector Wiring + +![][image8] + +## Ignition Wiring + +![][image9] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: + +[image7]: + +[image8]: + +[image9]: \ No newline at end of file diff --git a/reference/MAZDUINO MINI 6CH v1.4 - MANUAL.md b/reference/MAZDUINO MINI 6CH v1.4 - MANUAL.md new file mode 100644 index 0000000..ad44055 --- /dev/null +++ b/reference/MAZDUINO MINI 6CH v1.4 - MANUAL.md @@ -0,0 +1,204 @@ +# + +# + +# + +# + +# + +# + +# + +# + +# + +# + +# MAZDUINO MINI 6CH + +*([www.mazduino.com](http://www.mazduino.com))* + +## MANUAL + +v1.4 + +# + +# + +# + +# + +# KONEKTOR + +![][image1] + +| 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 | + +1. **12V ECU** +2. IDLE2 +3. IDLE1 +4. VVT +5. 5V +6. BOOST +7. FUEL PUMP +8. Knock/PC13 (Default solder Jumper untuk Knock Input) +9. VR1- +10. VR2- +11. ETB2- +12. ETB2+ +13. Spare Input 3 +14. High Side / 12V Switching / Alternator Control/ Vtec Control +15. Injector 5 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +16. Injector 6 *(Untuk mesin 4 silinder, bisa digunakan untuk boost/vvt/control pwm/high current low side lainnya)* +17. Main Relay (low current low side) +18. Spare Analog Input 1 /PPS1 +19. VSS (Vehicle Speed Sensor) +20. AC-IN / AC Switch +21. AC Relay +22. **GND** +23. FAN +24. Ignition 6 +25. ignition 5 +26. Ignition 1 +27. Ignition 2 +28. Ignition 3 +29. Ignition 4 +30. TPS +31. MAP +32. Injector 4 +33. ETB- +34. ETB+ +35. Spare Analog Input 2 / PPS2 +36. Clutch +37. **GND Sensor** +38. **GND Sensor** +39. RPM / Tacho +40. Launch Control +41. VR1+ +42. VR2+ +43. O2 (analog 5v, dari wideband controller analog output 1\~5v) / TPS 2 (ETB dengan TP1 dan TP2) +44. IAT +45. CLT +46. Injector 2 +47. Injector 1 +48. Injector 3 + +# + +# + +# Pin MCU Mapping + +| Nama | 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 Reff | 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 | +| Tacho | PC9 | +| Fuelpump Relay | PC8 | +| FAN Relay | PA15 | +| AC Compresor Relay | PC7 | +| Main Relay | PC5 | +| Idle 1 | PD10 | +| Idle 2 | PE9 | +| High Side | PD15 | +| ETB-DIR | PB8 | +| ETB-DIS | PB9 | +| ETB-PWM | PA8 | +| ETB2-DIR | PD12 | +| ETB2-DIS | PD11 | +| ETB2-PWM | PD14 | +| VVT | PB6 | +| BOOST | PB4 | +| | | +| Knock1 | PA3 | +| | | +| | | +| | | +| TXD1 | PA9 | +| RXD1 | PA10 | +| TXD3 | PB10 | +| RXD3 | PB11 | +| TXCAN | PD1 | +| RXCAN | PD0 | +| SD CS | PD2 | +| SPI3 CLK | PC10 | +| SPI3 MISO | PC11 | +| SPI3 MOSI | PC12 | + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads)![][image2]![][image3] + +# + +# Wiring Diagram + +## Wiring Sensor + +![][image4] + +## Injector Wiring + +![][image5] + +## Ignition Wiring + +![][image6] + +# + +# Software Tunning + +Download software Tunner Studio : [https://www.tunerstudio.com/index.php/downloads](https://www.tunerstudio.com/index.php/downloads) + +# Documentation + +Info Firmware rusEFI : [https://wiki.rusefi.com](https://wiki.rusefi.com) +Info lanjut mengenai Mazduino Ecu : [https://www.mazduino.com](https://www.mazduino.com) +Dokumentasi Mazduino : [https://wiki.mazduino.com](https://wiki.mazduino.com) + + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: \ No newline at end of file diff --git a/reference/manual/manual1.md b/reference/manual/manual1.md new file mode 100644 index 0000000..dc88f7d --- /dev/null +++ b/reference/manual/manual1.md @@ -0,0 +1,278 @@ +### 1\. Introduction to Mazduino and TunerStudio + +#### Welcome to Mazduino\! + +Congratulations on choosing Mazduino, a powerful and versatile Engine Control Module designed for high-performance tuning and customization. With the TunerStudio software, Mazduino provides you with advanced control, real-time monitoring, and precision tuning for a range of applications, from daily driving to competitive motorsports. + +#### Overview + +The Mazduino series integrates seamlessly with TunerStudio software, offering a comprehensive suite for engine management and data analysis. TunerStudio’s intuitive interface and robust features allow both novices and professionals to monitor, tune, and optimize engine parameters in real time. + +#### Key Features and Benefits + +- **Real-Time Engine Monitoring** + TunerStudio provides live data on critical engine parameters, including RPM, fuel pressure, air-fuel ratio, boost levels, and more, helping you monitor performance at a glance. + +- **Customized Tuning Options** + Tailor engine settings to specific performance goals. Adjust fuel maps, ignition timing, and boost levels to meet the demands of each driving condition. + +- **Advanced Data Logging and Analysis** + Record and review key performance data to gain insights into engine behavior. Analyze data logs to refine tuning parameters and improve overall efficiency. + +- **User-Friendly and Configurable Interface** + TunerStudio’s interface allows for a customizable dashboard where you can arrange critical readouts to suit your preferences, ensuring ease of access to essential data. + +#### System Requirements and Installation + +To use TunerStudio with Mazduino, ensure your setup meets the following minimum requirements: + +- **Operating System**: Windows 10 or higher, macOS (version), or Linux. +- **Hardware**: Minimum 4GB RAM, 2GHz processor, and 500MB available storage. +- **Connection**: USB port for direct communication with Mazduino. + +**Installation**: + +1. Download the latest TunerStudio version from the Mazduino official website. +2. Follow the on-screen instructions to install TunerStudio. +3. Connect your Mazduino via USB to establish a link for real-time data and tuning. + +#### Important Safety and Compliance Information + +- **Safety First**: Never make tuning adjustments while the vehicle is in motion. Ensure the engine is off before altering any engine settings. +- **Compliance and Updates**: Periodically check for software updates from Mazduino to ensure optimal performance and compliance with the latest standards. + +This section provides a foundation for understanding the functionality and scope of the Mazduino and TunerStudio system. Continue through this manual to explore detailed instructions on software features, diagnostics, and maintenance guidelines. + +--- + +### 2\. Installation and Wiring Information + +### **Why Outputs for Heavy Loads Need a Relay** + +ECUs, including Mazduinos, provide **low-current logic-level outputs** to control devices like fans, fuel pumps, or solenoids. These outputs are not designed to handle the high current that such devices draw. Using a relay allows the ECU to control high-power devices safely by: + +1. **Isolating High Current from the ECU**: + + - The ECU only needs to send a small signal to the relay, which handles the high-current flow to the device. + - This prevents damage to the ECU's output circuitry. + + + +2. **Preventing Overload**: + + - Connecting high-load devices directly to the ECU can cause overheating or permanent damage due to excessive current draw. + + + +3. **Providing Safe Operation**: + + - Relays protect the wiring and electrical components by acting as a switch, reducing the risk of shorts or overheating. + +--- + +### **Recommendations for Wiring: Crimping vs. Soldering** + +#### **Crimping Wires** + +Crimping is preferred for automotive wiring as it is faster, durable, and vibration-resistant when done correctly: + +1. **Tools**: + - Use a **ratcheting crimp tool** designed for automotive connectors. + - Match the crimping tool die to the terminal type (open barrel, insulated, etc.). +2. **Technique**: + - Strip the wire to the correct length (usually 4-6mm) without damaging the strands. + - Insert the wire into the terminal and crimp firmly. + - Inspect the crimp to ensure it is tight and secure, with no loose strands. +3. **Heat Shrink**: + - Use heat shrink tubing over the connection to seal and protect it from moisture and corrosion. + +#### **Soldering Wires** + +Soldering provides excellent electrical connectivity but is less vibration-resistant: + +1. **Tools**: + - Use a **high-quality soldering iron** and **automotive-grade solder** (rosin-core, leaded solder is ideal). +2. **Technique**: + - Strip the wire, twist the strands together, and apply flux. + - Heat the joint with the soldering iron and apply solder until it flows smoothly into the connection. + - Let it cool without disturbing the joint. +3. **Insulation**: + - Cover the soldered joint with heat shrink or electrical tape for protection. + +--- + +### **General Aftermarket ECU Installation Tips** + +#### **Preparation** + +1. **Plan the Wiring**: + - Use a wiring diagram specific to your ECU and vehicle. + - Label wires and plan routing to avoid confusion during installation. +2. **Test Sensors and Devices**: + - Verify the health and compatibility of sensors (e.g., TPS, MAP, IAT) before connecting them to the ECU. + +#### **Power and Grounding** + +1. **Dedicated Power Supply**: + - Connect the ECU to a clean, fused \+12V power source. + - Use a relay-controlled power circuit for the ECU to ensure it powers off when the ignition is off. +2. **Grounding**: + - Ensure all grounds (ECU, sensors, and engine) are connected to a **common ground point**. + - Use thick, high-quality ground wires to minimize voltage drops. + +#### **Sensor Connections** + +1. **Use Shielded Cables**: + - For critical signals like crankshaft and camshaft sensors, use shielded cables to reduce electrical noise. +2. **Secure Connectors**: + - Use OEM-style connectors with proper locking mechanisms to ensure secure connections. + +#### **Relay and Fuse Protection** + +1. **Install Relays for High-Load Devices**: + - Fans, fuel pumps, and ignition coils should use relays to protect the ECU and wiring. +2. **Fuse Each Circuit**: + - Place appropriately rated fuses in-line to protect individual circuits. + +#### **ECU Placement** + +1. **Protect from Heat and Moisture**: + - Mount the ECU away from heat sources like exhaust manifolds and ensure it’s protected from water ingress. +2. **Secure Mounting**: + - Use rubber mounts or vibration-resistant brackets to prevent damage from engine vibrations. + +#### **Post-Installation Checks** + +1. **Check Continuity**: + - Use a multimeter to verify proper continuity in all circuits before powering on the ECU. +2. **Initial Startup**: + - Power on the ECU and check for errors or fault codes before attempting to start the engine. +3. **Tune Safely**: + - Start with a safe base map and adjust tuning parameters gradually. + +### **The Importance of Proper Grounding in an ECU System** + +Grounding is a critical aspect of any electrical system, especially in automotive applications. For ECUs like the Mazduino, proper grounding ensures stable operation, reliable sensor readings, and prevents damage to sensitive components. + +#### **Why Proper Grounding Is Crucial** + +1. **Completing the Circuit**: + + - Ground is the return path for electrical currents, completing the circuit for all devices. + - A poor ground can cause intermittent electrical connections, resulting in unstable system behavior. + + + +2. **Preventing Electrical Noise**: + + - Good grounding minimizes electrical interference, or "noise," which can disrupt signals in sensitive circuits. + + + +3. **Ensuring Accurate Measurements**: + + - Many sensors rely on a consistent ground reference. Variations in ground potential can lead to inaccurate sensor readings. + + + +4. **Protecting Components**: + + - Proper grounding helps dissipate excess current safely, protecting the ECU and connected devices from damage. + +--- + +### **Why Separate Power and Sensor Grounds Exist** + +ECUs have dedicated **power grounds** and **sensor grounds** because these circuits serve different purposes and have unique requirements: + +#### **1\. Power Grounds** + +- **Purpose**: Handle the return current from high-power devices like injectors, ignition coils, fuel pumps, and relays. +- **Characteristics**: + - These currents are often large and can fluctuate rapidly as devices switch on and off. + - Directly connected to the chassis ground or battery negative terminal. +- **Impact of Improper Connection**: + - If power ground currents flow through sensor ground circuits, they can introduce noise and voltage fluctuations. + +#### **2\. Sensor Grounds** + +- **Purpose**: Provide a stable, noise-free reference point for low-power sensors like TPS, MAP, and IAT. +- **Characteristics**: + - These grounds carry very small currents, and any interference can significantly impact signal integrity. + - Isolated from power grounds to prevent contamination by high-current noise. +- **Impact of Improper Connection**: + - If sensor grounds are not isolated, high-current noise from power devices can cause erratic sensor readings or even ECU misinterpretations. + +--- + +### **How Grounding Issues Cause Problems** + +#### **1\. Ground Loops** + +- Occur when multiple ground paths exist, creating differences in voltage between those grounds. +- **Result**: Erratic sensor readings, unreliable ECU behavior, and increased electrical noise. + +#### **2\. Voltage Drops** + +- Insufficient ground wire size or poor connections can cause voltage drops along the ground path. +- **Result**: Sensors may read incorrect values due to fluctuating reference voltages. + +#### **3\. Noise Interference** + +- High-current devices like ignition coils and fuel pumps generate electrical noise. +- If noise enters the sensor ground path: + - **Impact**: Sensors misreport data, causing incorrect fuel and ignition calculations. + +#### **4\. Floating Grounds** + +- A poorly grounded sensor or device can develop a "floating" ground, where the reference voltage is unstable. +- **Impact**: The ECU receives inconsistent or invalid data. + +--- + +### **Best Practices for Grounding in Automotive Systems** + +1. **Use Common Ground Points**: + + - Connect all ECU power grounds to a single, clean ground point (e.g., battery negative terminal). + - Ensure sensor grounds return directly to the ECU without passing through the chassis. + + + +2. **Isolate Sensor Grounds**: + + - Never connect sensor grounds directly to the chassis. Use the ECU’s dedicated sensor ground pin for all sensors. + + + +3. **Ensure Secure Connections**: + + - Use proper crimping or soldering techniques and clean contact points to minimize resistance and prevent voltage drops. + + + +4. **Use Shielded Cables**: + + - For sensitive signals (e.g., crank and cam sensors), use shielded cables grounded at one end to reduce electromagnetic interference. + + + +5. **Check Grounding Integrity**: + + - Regularly inspect ground connections for corrosion, loose fittings, or damaged wires. + +### + +Grounding is not just about completing the circuit; it's about ensuring the circuit operates reliably and accurately. Separate power and sensor grounds are essential to isolate high-current noise from sensitive signal paths, maintaining the ECU’s ability to interpret sensor data correctly. Proper attention to grounding during installation can save countless hours of troubleshooting erratic behaviors and ensure optimal ECU performance. +The installation and wiring requirements for Mazduino can vary based on the specific ECU model. For detailed instructions on mounting, wiring, and connecting your Mazduino unit, please refer to the annexed documentation that corresponds to the ECU model you purchased. + +- **Safety Reminder**: Before installing or handling any wiring, disconnect the vehicle's battery to prevent accidental shorts or damage to components. + +- **Important Notes**: + + - Ensure all wiring connections follow the recommended specifications for the best performance and safety. + - Use only high-quality connectors and properly insulate all connections. + +For further assistance, consult our support team or an official Mazduino dealer specializing in Mazduino installations. + +--- diff --git a/reference/manual/manual2.md b/reference/manual/manual2.md new file mode 100644 index 0000000..4598890 --- /dev/null +++ b/reference/manual/manual2.md @@ -0,0 +1,3027 @@ + +### Step 1: Access the Mazduino Website + +1. **Go to the Mazduino Website**: Open your web browser and go to [mazduino.com](https://www.mazduino.com). +2. **Navigate to the Menu**: Click on the hamburger menu icon (three horizontal lines) located at the top right of the page. +3. **Go to the Downloads Section**: From the menu, select **Downloads** to access available software and resources for Mazduino. + +*Image Reference*: The image above shows the homepage of the Mazduino website. Follow the steps outlined to find the Downloads section. + +--- + +### + +### Step 2: Select the Downloads Option + +1. **Open the Menu**: After clicking the hamburger menu icon, a list of options will appear. +2. **Choose Downloads**: From the menu, click on **Downloads** to proceed to the page where you can download TunerStudio and other resources for Mazduino. + +*Image Reference*: In the screenshot above, you can see the Downloads option highlighted in the menu. + +### ![][image2] + +### Step 3: Download TunerStudio + +1. **Locate TunerStudio Link**: On the **Downloads** page, scroll down to the section labeled **Productos ECU**. +2. **Click on TunerStudio Tuning Software**: Find the **TunerStudio Tuning Software** link and click on it to download the latest version of the software. + +*Image Reference*: In the screenshot above, the TunerStudio download link is highlighted under the "Productos ECU" section. Click on this link to start the download. + +--- + +![][image3] + +### Step 4: Download the Latest Version of TunerStudio + +1. **Redirect to the TunerStudio Download Page**: After selecting TunerStudio from the Mazduino website, you’ll arrive at the official TunerStudio download page on the EFI Analytics site. +2. **Locate the Latest Version**: Look for the **TunerStudio MS version X.X.XX (Approximately XX MB)** link. This link provides the latest version, with the exact version number and file size displayed. +3. **Click to Download**: Click on the **download** link next to the latest TunerStudio MS version to start the download. + +*Image Reference*: In the screenshot above, the current version of TunerStudio is listed at the top, with the “download” link to the right. Click this link to get the latest version for your Mazduino. + +![][image4] + +### Step 5: Choose "Open" to Begin Installation + +1. **Download Options**: Once you click the **download** link for TunerStudio, a pop-up may appear, asking if you want to **Open** or **Save** the file. + + - **Open**: This option will directly open the installer after it finishes downloading, allowing you to begin the installation process immediately. + - **Save**: This option will save the installer file to your computer, letting you install it later by locating the file in your Downloads folder. + + + +2. **Recommended Choice**: Click **Open** to proceed directly to the installation process after the download completes. This option is ideal if you’re ready to install TunerStudio immediately. + +*Image Reference*: In the screenshot above, the **Open** option is highlighted. Select this to begin the installation right after downloading. + +--- + +### Step 6: Accept the User Account Control (UAC) Prompt + +1. **User Account Control Notification**: Once the download finishes, Windows may display a User Account Control (UAC) prompt asking for permission to proceed with the installation. + +2. **Grant Permission**: When this prompt appears, click **Yes** to allow the installation. This permission is needed for TunerStudio to make the necessary changes on your computer. + +*Note*: The UAC prompt is a standard Windows security measure. Accepting it ensures that TunerStudio installs correctly and can function with full permissions. + +### Step 7: Accept the License Agreement + +1. **License Agreement Screen**: The TunerStudio setup will display a License Agreement window. Carefully read the terms of the agreement. + +2. **Select "I accept the agreement"**: To proceed with the installation, click the option **I accept the agreement**. + +3. **Click Next**: Once you’ve accepted the agreement, click **Next** to continue with the setup. + +*Image Reference*: In the screenshot above, select the **I accept the agreement** option to enable the Next button. + +Step 8: Choose the Installation Path + +1. **Select Destination Location**: The setup will prompt you to choose the folder where TunerStudio will be installed. By default, it is set to `C:\Program Files (x86)\EFIAnalytics\TunerStudioMS`. + +2. **Keep or Change the Path**: + + - If you’re satisfied with the default location, simply click **Next** to proceed. + - To select a different location, click **Browse**, choose your preferred folder, and then click **Next**. + +*Note*: It’s recommended to use the default path unless you have a specific reason to change it. + +*Image Reference*: The screenshot above shows the default installation path. Click **Next** to proceed. + +![][image5] + +### Step 9: Select Start Menu Folder + +1. **Start Menu Folder Selection**: The setup will ask you to choose the Start Menu folder where TunerStudio shortcuts will be placed. By default, it is set to **EFI Analytics**. + +2. **Keep or Change the Folder**: + + - To proceed with the default folder, simply click **Next**. + - If you prefer to create the shortcut in a different folder, click **Browse**, choose your desired location, and then click **Next**. + +*Image Reference*: The screenshot above shows the default Start Menu folder. Click **Next** to continue. + +![][image6] + +### Step 10: Select Additional Tasks + +1. **Additional Shortcuts**: The setup will ask if you want to create a desktop shortcut for TunerStudio. + +2. **Create a Desktop Shortcut (Optional)**: + + - To add a shortcut to your desktop for easy access, check the box next to **Create a desktop shortcut**. + - If you don’t need a desktop shortcut, leave the box unchecked. + + + +3. **Click Next**: Once you’ve made your choice, click **Next** to proceed with the installation. + +*Image Reference*: In the screenshot above, you can see the option to create a desktop shortcut. Select this option if you’d like quick access to TunerStudio from your desktop. + +![][image7] + +### Step 11: Begin Installation + +1. **Review Settings**: The setup will show a summary of your selected installation settings, including the destination location and Start Menu folder. + +2. **Click Install**: If all settings are correct, click **Install** to start the installation process. If you need to change any settings, click **Back** to return to the previous steps. + +*Image Reference*: In the screenshot above, the **Install** button is highlighted. Click this button to proceed with installing TunerStudio. +![][image8] + +### Step 12: Complete the Installation and Launch TS + +1. **Finish Installation**: Once the setup is complete, you’ll see a confirmation screen that the installation has finished. + +2. **Launch TS**: + + - By default, the option **Launch TunerStudio MS** (TS) is selected. Leave this box checked to automatically open TS once you click **Finish**. + - If you don’t want to launch TS immediately, uncheck the box. + + + +3. **Click Finish**: Click **Finish** to exit the setup and complete the installation process. + +*Image Reference*: In the screenshot above, the option to launch TS is checked. Click **Finish** to close the setup and start using TS. +![][image9] + +**Step 13: Create a New Project in TS** +When TS opens, you’ll see several options for starting or continuing work with projects. Here’s what each one does: + +1. **Create New Project**: + + - This option lets you start a new project from scratch. + - Ideal for new setups, this option guides you through the steps of configuring your TS project for your Mazduino. + - Use this if you’re setting up TS for the first time or if you’re working with a new ECU. + + + +2. **Open Project**: + + - Selecting this option opens a dialog box where you can browse and choose an existing project file from your computer. + - Use this if you want to load a previously saved project that isn’t listed in the “recently used” section. + - This is helpful if you have multiple projects and need to select a specific one. + + + +3. **Open Last Project**: + + - This option opens the most recent project you worked on in TS. + - It’s a convenient shortcut if you’re resuming work on your latest project without needing to browse through your files. + - Use this for quick access to continue tuning or analyzing data from your last session. + + + +4. **Open Other Recently Used Projects**: + + - This section lists recently used projects, allowing you to quickly reopen any of your recent configurations. + - Click on any project name in the list to open it directly, saving time if you frequently switch between projects. + +*Image Reference*: In the screenshot, these options are shown on the welcome screen, allowing you to choose the most appropriate method to open or create a project in TS. + +![][image10] + +--- + +### Step 14: Configure Your New Project + +1. **Project Name**: In the **Project Name** field, type a custom name for your project. This name will help you identify the specific configuration for your Mazduino. + +2. **Project Directory**: The **Project Directory** field shows the folder where your project files will be saved. You can leave it as the default location or click **Browse** to choose a different folder if desired. + +3. **Detect Firmware**: + + - With your Mazduino connected, click the **Detect** button next to the **Firmware** section. + - TS will automatically detect the firmware version of your Mazduino, ensuring compatibility with your project setup. + + + +4. **Additional Options** (Optional): If you need advanced setup options, you can select **Show Advanced / Offline Setup** for further customization, although this is typically unnecessary for most users. + +5. **Click Next**: Once the project is named and the firmware is detected, click **Next** to continue configuring your new project. + +*Image Reference*: In the screenshot above, you can see the project configuration window where you enter the project name and detect the firmware. + ![][image11] + +### Step 15: Detect and Select the ECU + +1. **Device Detection Window**: After clicking **Detect**, TS will open a window that scans for connected devices. + +2. **Wait for Detection**: TS will automatically search through available ports to detect your connected Mazduino. You’ll see a progress bar as it scans. + +3. **Select the ECU**: + + - Once your Mazduino appears in the dialog box, click on it to highlight it. + - Then, click **Accept** to confirm the selection and proceed with the project setup. + +*Image Reference*: In the screenshot above, the detection window is shown scanning for devices. Once your Mazduino is listed, select it and click **Accept**. + +### Step 16: Confirm Project Details and Proceed + +1. **Return to Project Configuration**: After clicking **Accept** in the detection window, TS will return to the project configuration screen. This time, the **Firmware** section should be automatically filled in with the details of your Mazduino. + +2. **Review Configuration**: Ensure that all fields, including **Project Name**, **Project Directory**, and **Firmware**, are correctly filled. + +3. **Click Next**: Once everything is confirmed, click **Next** to continue with the setup process. + +*Image Reference*: The project configuration screen now displays all relevant information about your Mazduino. Click **Next** to proceed. + +![][image12] + +### Step 17: Choose Lambda Display + +1. **Configuration Settings**: This window allows you to choose how your air-fuel ratio (AFR) will be displayed. + +2. **Select AFR or Lambda**: + + - **AFR (Default)**: This is the most commonly used setting and shows the air-fuel ratio, which is familiar to most users. + - **Lambda**: Alternatively, you can choose Lambda, a different measurement for air-fuel ratio, which may be preferred by some users. + + + +3. **Click Next**: After selecting your preferred display option, click **Next** to continue. + +*Image Reference*: In the screenshot above, the AFR (Default) option is selected. Most users prefer this setting. +![][image13] + +### Step 18: Configure Communication Settings + +1. **Communication Settings Window**: In this window, TS will attempt to display the COM port to which your Mazduino is connected. + +2. **If the COM Port Is Automatically Detected**: + + - If the correct COM port is displayed, simply click **Next** to proceed. + + + +3. **If the COM Port Is Not Detected**: + + - Use the **COM Port** dropdown menu to manually select the correct port for your ECU connection. + - If no valid COM ports are listed, it may indicate a driver issue. + + + +4. **Driver Troubleshooting**: + - Windows 10 and newer generally have the necessary drivers pre-installed. + - For older versions of Windows or if other software has modified COM port drivers, you may need to install the **STMicroelectronics Virtual COM Port (VCP) drivers**. + - These drivers can be downloaded from the STMicroelectronics website. +5. **Testing the Connection (Optional)**: If you want to confirm the connection, click **Test Port**. This option verifies the connection before proceeding. + +*Image Reference*: In the screenshot above, the COM Port settings are displayed, with options to select the correct port if needed. Once the port is set, click **Next**. + +![][image14] + +### Step 19: Select Dashboard and Complete Setup + +1. **Select Dashboard**: This window allows you to choose a dashboard layout for your project. The dashboard displays various gauges and parameters for monitoring your Mazduino in real-time. + +2. **Choose Default Dashboard**: + + - For new users, it’s recommended to proceed with the **Default** dashboard selected. + - If you prefer, you can explore additional dashboard layouts from the dropdown menu for a customized setup. + + + +3. **Click Finish**: Once the default dashboard is selected, click **Finish** to complete the project setup and launch TS with your new configuration. + +*Image Reference*: In the screenshot above, the Default dashboard option is selected. Click **Finish** to start using TS. +![][image15] +![][image16] + +### Step 20: Verify Connection and Dashboard Status + +1. **Dashboard Display**: + + - Once the project setup is complete, the main dashboard window will open, showing various gauges for engine parameters. + + + +2. **Check Connection Status**: + + - **Not Connected**: If the gauges appear grayed out and display “Not Connected,” it means the ECU was not properly detected. Verify the USB connection and COM port settings, then try reconnecting. + - **Connected**: When the ECU is properly detected, the gauges will appear with white faces, and data will display in real time. The “Not Connected” message will disappear, indicating a successful connection. + + + +3. **Check Indicator Status**: + + - When connected, the lower indicator buttons will show various statuses in different colors (e.g., “Fuel pump on,” “Fan on,” “Brake down”). These indicators provide real-time feedback on system statuses and any potential issues. + +*Image Reference*: In the first screenshot, the dashboard shows as “Not Connected.” In the second screenshot, the gauges are active, and the indicators display various system statuses. + +### 4\. Software Setup and Usage + +![][image17] + +### File Menu Options in TS + +1. **New Project**: + + - Use this option to create a new project, which will guide you through setting up a fresh configuration for a new ECU. + + + +2. **Open Project**: + + - Allows you to open an existing project saved on your computer, letting you switch to different project setups as needed. + + + +3. **Close Project**: + + - Closes the currently open project, returning you to the main screen or allowing you to select another project. +4. **Load Tune (.msq)**: + This option allows you to load a saved tuning configuration (.msq file) from your computer directly to the ECU. It’s useful for applying previously saved settings or switching between different tunes. +5. **Save Tune**: + - This option saves the current tuning configuration by overwriting the saved tune on your computer. Use this to update the existing .msq file with any changes you’ve made. +6. **Save Tune As**: + - This allows you to create a new .msq file for storing the current tune, enabling you to save different configurations separately. It’s helpful for keeping a library of various tuning setups. + + + + *Note*: **Tune Restore Points** and **Compare Tune** are features available only in the paid versions of TS and are outside the scope of this manual. + + + +7. **Recent Vehicle Projects**: + + - Lists recently used projects, so you can quickly reopen any recent configurations without searching through files. This is handy for accessing frequently used setups. + + + +8. **Gauge Cluster**: + + - This option lets you customize the gauge layout on the dashboard. You can adjust the arrangement and type of gauges to display the information that matters most to you. + + + +9. **Work Offline**: + + - Allows you to switch to offline mode, which is useful if you want to access and modify settings without needing an active connection to the ECU. + + + +10. **Exit**: + + - Closes TS completely. + +![][image18] + +### Options Menu in TS + +1. **Language**: + - Allows you to change the display language for TS. Simply select your preferred language from the list. +2. **Look and Feel**: + - This option lets you customize the appearance of the TS interface, including button styles and layout. + - It also includes a **Dark Mode** option, which may be preferable for low-light environments or user preference. +3. **Navigation**: + - The Navigation setting enables you to modify the arrangement of buttons. You can consolidate them into a single row or convert them to a basic dropdown menu layout, allowing for a cleaner interface if desired. +4. **View, Advanced, Preferences, and Performance**: + - These contain various settings, most of which are less relevant to basic users, and can typically be left at their default values. +5. **Preferred Units**: + - Here, you can adjust units for certain parameters. For example, you can change the Y-axis **Manifold Absolute Pressure** units from **kPa** to **PSI** if that’s your preferred measurement. + +![][image19] + +### Data Logging Menu in TS + +1. **Start Logging**: + + - Begins recording data from the ECU. Data logging allows you to capture real-time performance metrics, which can later be analyzed for tuning or troubleshooting purposes. + + + +2. **Stop**: + + - Stops the active data logging session. Use this when you’ve captured enough data or wish to end the recording. + + + +3. **Logging Profiles**: + + - Allows you to select or create specific logging profiles. Profiles can be customized to capture particular parameters or configurations based on your tuning needs. + + + +4. **Triggered Logging**: + + - Enables data logging to begin automatically when specific conditions are met (e.g., a particular RPM or throttle position). This feature is useful for capturing data only when certain events occur. + + + +5. **Data Logging Preferences**: + + - Opens the preferences for data logging, where you can adjust settings related to how data is recorded and stored. These options can help you manage file sizes, data formats, and other logging details. + + + +6. **Import / Conversion**: + + - Provides options for importing or converting data logs, allowing you to work with logs from other sources or formats, if necessary. + + + +7. **View with MegaLogViewer**: + + - Opens the current data log in **MegaLogViewer**, a separate application designed for analyzing TS data logs. This tool allows for more detailed review and analysis of logged data (available if you have MegaLogViewer installed). + + + +8. **Show DataLog Folder**: + + - Opens the folder where TS stores all recorded data logs by default. This is useful for quickly accessing or organizing log files. + +![][image20] + +### Communications Menu in TS + +1. **Settings**: + - Opens the communication settings for TS. This option allows you to adjust parameters related to the connection between your computer and the ECU, such as baud rate or COM port if needed. +2. **Data Rate**: + - Adjusts the data rate for the connection, which can influence how quickly data is transmitted and received from the ECU. Higher data rates provide faster updates but may impact stability depending on connection quality. +3. **GPS Configuration**: + - Allows you to configure GPS settings if your setup includes GPS data. This can be useful for logging location-based data in addition to engine parameters, often used in performance or tracking applications. +4. **Mini Terminal**: + - Opens a terminal interface within TS, allowing for direct communication with the ECU via commands. This can be helpful for advanced users needing to troubleshoot or send specific instructions to the ECU. +5. **Comm Debug Log**: + - Enables the communication debug log, which records details of the ECU-to-TS communication. This is valuable for troubleshooting communication issues or understanding data transmission behaviors. + +![][image21] + +### Tools Menu in TS + +1. **Protocol Stats**: + + - Displays statistics related to the communication protocol between TS and the ECU. This information can be helpful for diagnosing communication issues or verifying data transfer quality. + + + +2. **Update / Install Firmware**: + + - This option allows firmware updates or new installations for compatible ECUs. **Note**: This function does **not** work with Mazduino, so you should avoid using it with Mazduino setups. + + + +3. **Add Custom Channel Wizard**: + + - Enables the addition of custom data channels. This feature is useful if you want to monitor additional parameters that aren’t included by default in TS, allowing for a more customized tuning experience. + + + +4. **Custom Channel Editor**: + + - Opens the editor for custom channels, where you can modify or manage any custom data channels you’ve set up. This is beneficial for advanced users looking to tailor their data tracking. + + + +5. **Action Management**: + + - Provides options for configuring actions in TS, allowing you to set up automated responses or alerts based on specific conditions. This feature enhances the monitoring experience with customizable actions. + + + +6. **Calculators**: + + - Offers various tools and calculators that assist with tuning calculations, such as air-fuel ratios, fuel injector sizes, or engine displacement. These calculators are helpful for making precise adjustments during tuning. + + + +7. **TunerStudio Plug-ins**: + + - Allows you to manage and install plugins for TS. Plugins extend the functionality of TS, adding new features or tools that can further enhance your tuning capabilities. + + + +8. **Calibrate TPS**: + + - Opens the Throttle Position Sensor (TPS) calibration tool, which is essential for ensuring that the ECU correctly interprets throttle position. **Note**: This function is only compatible with cable throttles. For electronic throttles, a specific calibration procedure is required, which will be covered when we discuss the **Advanced** button. + +![][image22] + +### Help Menu in TS + +1. **TunerStudio Help**: + + - Opens the main help documentation for TS. This is a valuable resource for users needing guidance on features, troubleshooting, or learning more about the software. + + + +2. **Check For Update**: + + - Allows you to manually check for software updates to ensure that TS is up-to-date with the latest features and improvements. + + + +3. **Automatic Update Check**: + + - Toggles the automatic update feature on or off. When enabled, TS will periodically check for updates and notify you when a new version is available. + + + +4. **Update Registration**: + + - Provides options to update or modify your software registration. Use this if you need to adjust registration details or upgrade your software license. + + + +5. **Remove Registration Information**: + + - Clears the stored registration details for TS. This is useful if you need to deregister the software or transfer the license to another user or device. + + + +6. **Create TunerStudio Debug Package**: + + - Generates a debug package that includes diagnostic information. This package can be sent to support for assistance with troubleshooting software or ECU-related issues. + + + +7. **About**: + + - Displays information about the current version of TS, including licensing details, credits, and other relevant information about the software. + + + +8. **rusEFI Info**: + + - Provides information specific to rusEFI configurations and features. This option may contain details on rusEFI’s capabilities or compatibility with TS. +1. **Base Engine Button in TS** + +### + +1. **Base Engine**: + + - This section contains essential settings related to the engine’s fundamental configurations, such as displacement, firing order, and other parameters crucial for proper ECU operation. + + + +2. **Limits and Protection**: + + - Allows you to set safety limits for engine parameters, such as RPM, coolant temperature, and oil pressure. This ensures the ECU can take protective actions if these values exceed safe thresholds, helping prevent engine damage. + + + +3. **Trigger**: + + - Contains settings for configuring the engine’s crankshaft or camshaft position sensor (also known as the trigger). These settings are essential for synchronizing the ECU with the engine’s rotation. + + + +4. **Advanced Trigger**: + + - This provides more detailed configurations for the trigger system, including settings for advanced triggering modes. This is usually required for engines with more complex timing needs or custom setups. + + + +5. **Trigger Gap Override**: + + - Allows you to manually set a gap override for the trigger signal. This option is useful if the standard trigger setup does not accurately detect gaps, which could affect engine timing. + + + +6. **Battery and Alternator**: + + - Manages settings related to battery charging and alternator functionality. This ensures the ECU monitors battery health and alternator performance, which is critical for overall vehicle electrical stability. + + + +7. **Outputs**: + + - Configures various ECU outputs that control engine components, such as fuel injectors, ignition coils, and auxiliary devices. These settings allow customization of how the ECU controls each output signal. + + + +8. **Air Conditioning**: + + - Controls settings for interfacing with the vehicle’s air conditioning system. This option allows the ECU to manage engine load adjustments when the AC is turned on, helping maintain stable performance. + + + +9. **Status LEDs**: + + - Allows configuration of the status LEDs on the ECU (if applicable), which can display various operational statuses or warnings directly on the ECU hardware. + +![][image23] + +### Base Engine Settings Window + +1. **Layout**: + + - This dropdown lets you choose the complexity of the settings display. For most users, especially those using the Mazduino Plug and Play lines, the **Tuning** layout is recommended as it hides some less commonly used buttons, creating a cleaner interface. However, we will explain everything using the **Full** layout in this manual to ensure clarity. + + + +2. **Engine Configuration**: + + - **Number of Cylinders**: Set the number of cylinders your engine has (e.g., 4, 6, 8). + - **Displacement (L)**: Enter the engine displacement in liters, an essential input for calculating air-fuel ratios and other tuning parameters. + - **Firing Order**: Specify the firing order of your engine. This assumes that the vehicle's wiring is directly mapped, meaning each cylinder is connected to the corresponding output number (e.g., Cylinder 1 is connected to Output 1, Cylinder 2 to Output 2, and so on). This ensures proper synchronization between the ECU and the engine. + + + +3. **Engine Metadata**: + + - These fields are primarily used by rusEFI Online and provide additional context, though they aren’t necessary for basic Mazduino functionality. + - **Engine Make**: Enter the manufacturer or brand of the engine (e.g., Toyota). + - **Manufacturer Engine Code**: Enter the engine code (e.g., 22R). + - **Vehicle Name**: A custom name for the vehicle (e.g., “DonMutado”), useful if managing multiple vehicles. + - **Forced Induction**: Toggle this option if the engine has forced induction (e.g., turbo or supercharger). + + + +4. **Fuel Strategy**: + + - Determines the method used for calculating fuel delivery. The following options are available: + - **Speed Density**: Uses intake manifold pressure (MAP) and intake air temperature (IAT) to calculate air density and fuel requirements. This is a common strategy, especially for naturally aspirated or turbocharged engines. + - **MAF Air Charge**: Relies on a Mass Air Flow (MAF) sensor to measure the amount of air entering the engine directly, making it effective for engines equipped with a MAF sensor. + - **Alpha-N**: Uses throttle position as the primary load input for fuel calculation. This strategy is generally used in engines with individual throttle bodies or those that lack a reliable MAP signal. + - **Lua**: Allows for custom fuel calculations using Lua scripting, enabling highly specific tuning applications where the other strategies don’t apply. + +![][image24] +--- + +## Limits and Protection (Base Engine Menu) + +The **Limits and Protection** submenu under **Base Engine** includes essential settings for protecting the engine by setting operational limits. This section is crucial for safeguarding the engine against conditions that could lead to damage. The available options are: + +### 1\. **Limits and Fallbacks** + +- This setting allows users to define maximum operational limits for various engine parameters, such as RPM, boost pressure, and temperature. +- When limits are reached, fallback strategies (like reducing power or triggering a safe mode) are activated to prevent damage. +- **Example**: Setting an RPM limit to ensure the engine doesn’t exceed a specified threshold, which can prevent mechanical failure. + +### 2\. **Oil Pressure Protection** + +- Monitors oil pressure levels to protect the engine from insufficient lubrication, which can cause severe damage. +- If the oil pressure falls below a safe level, this feature can activate warnings or even shut down the engine to prevent damage. +- **Note**: Ensure the oil pressure sensor is correctly calibrated within TunerStudio to ensure accurate monitoring. + +### 3\. **Lambda Protection** + +- This feature monitors air-fuel ratios (AFR) to ensure the engine operates within safe combustion parameters. +- If AFR deviates from the safe range (either too lean or too rich), it can trigger corrective actions. +- **Tip**: Lambda protection is essential for turbocharged or high-performance engines that require precise fuel control to avoid detonation or poor performance. + +![][image25] + +## Limits and Fallbacks + +### Main Options + +1. **Cut fuel on RPM limit**: When enabled, this option cuts the fuel supply when the RPM limit is reached. Cutting fuel provides a smoother limiting action; however, it may lead to slightly higher combustion chamber temperatures since unburned fuel is not present to cool the combustion process. +2. **Cut spark on RPM limit**: When selected, this option cuts the spark to limit RPM. Cutting spark can produce flames from the exhaust due to unburned fuel igniting in the exhaust system. Additionally, this unburned fuel can help cool the combustion chamber, which may be beneficial in high-performance applications. +3. **Use CLT-based RPM limit curve**: Setting this to "yes" enables the RPM limit to vary with coolant temperature (CLT), utilizing the control panel on the right. This feature allows you to set different RPM limits based on the engine’s coolant temperature, providing a temperature-dependent RPM control. + +### RPM Limits + +- **RPM hard limit (RPM)**: The maximum RPM before cut actions (fuel or spark) are triggered. +- **RPM limit hysteresis (RPM)**: Sets a buffer below the RPM hard limit, helping avoid rapid cycling of cut actions by defining a range within which RPM must drop before cut actions are re-enabled. + +### Boost Cut Limits + +- **Boost cut pressure (kPa absolute)**: Specifies the absolute maximum boost pressure allowed before triggering a cut. +- **Boost cut pressure hysteresis (kPa absolute)**: Defines a pressure range below the cut limit at which boost can resume, providing smoother control over boost cut actions. + +### Injector Duty Cycle Limiter + +- **Instantaneous injector duty cycle limit (%)**: This sets an immediate limit on injector duty cycle. If this threshold is reached, the system will immediately cut the injectors to prevent excessive fuel delivery. +- **Sustained injector duty cycle limit (%)** and **Sustained injector duty cycle delay (seconds)**: This limit allows injectors to operate up to the specified duty cycle percentage for a short period (as defined by the delay). After this delay, if the duty cycle remains above the limit, it will trigger a cut. This setting helps balance performance by allowing temporary high fuel demands while protecting the injectors from prolonged stress. + +### Soft RPM Limit + +- **Window size (RPM)**, **Timing retard (degrees)**, and **Fuel added (%)**: These options allow you to create a "soft" limiter that gradually engages, rather than abruptly cutting fuel or spark. This can help prevent sudden drops in power, making the limiter response smoother. + +### Electronic Throttle Limiting + +- **Soft limiter start RPM** and **Soft limiter range (RPM)**: Gradually closes the throttle as the RPM approaches the limit, helping to provide a smooth limiter response for electronically controlled throttles. + +This section provides fine-tuned control over RPM, pressure, and throttle limits, with options for different limiter styles that balance performance and protection. For instance, using spark cut can add a visual effect with exhaust flames, while fuel cut keeps the action smooth and consistent. +![][image26] + +The **Oil Pressure Protection** window allows you to set a minimum oil pressure threshold to protect the engine. This feature can automatically shut down the engine or activate an alert if the oil pressure drops below the set value after the engine has started. + +### Options: + +- **Minimum oil pressure after start (kPa)**: This field allows you to enter a minimum oil pressure value in kilopascals (kPa). If the oil pressure falls below this threshold during operation, the system will activate a protective measure (based on your ECU configuration) to prevent potential engine damage. + +This setting is crucial for engine longevity, especially in high-performance or heavily modified engines, where maintaining adequate oil pressure is essential. + +![][image27] +The **Lambda Protection** window enables protection based on the Lambda values, which help in monitoring air-fuel ratio (AFR) deviations and ensuring safe engine operation under specific conditions. Here's a breakdown of the options: + +### Settings: + +- **Enable lambda protection**: Allows you to toggle Lambda Protection on or off. + +- **Check above load (%)**: The system will check Lambda values only when the engine load exceeds this percentage threshold. + +- **and above TPS (%)**: Lambda values will only be monitored if the throttle position sensor (TPS) exceeds this percentage. + +- **and above RPM**: Lambda protection activates only when the RPM is above this specified threshold. + +- **and after delay (s)**: Sets a delay time (in seconds) before Lambda Protection engages after the above conditions are met. + +### Cut Fuel Until: + +This section determines the conditions under which fuel will be cut when Lambda Protection is active. + +- **Load less than (%)**: Fuel will be cut until engine load drops below this percentage. + +- **and TPS less than (%)**: Fuel cut will continue until the TPS is below this percentage. + +- **and RPM less than (RPM)**: Fuel cut remains active until the RPM falls below this threshold. + +### Lambda Difference Table: + +- The **Lambda Difference Table** (right side of the window) allows you to set a maximum allowable deviation in Lambda values. + - **Y-axis** represents **Load**. + - **X-axis** represents **RPM**. + - **Z-axis values** represent **Lambda** values (not AFR). + +This table helps define the Lambda deviation limits under various engine loads and RPMs, enabling finer control over protection levels based on actual engine performance conditions. +![][image28] + +Here’s an explanation of the **Trigger** configuration based on the provided example. This setup uses a **60-2** trigger wheel, a common crankshaft-based trigger system, but in some cases, the camshaft sensor might be used as the primary synchronization source. For such configurations, users should refer to the [rusEFI All Supported Triggers](https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers) page to confirm the correct setup for their specific engine. + +### Primary Trigger Section + +- **Strokes**: Set to **Four Stroke** for engines that operate on the standard four-stroke cycle. + +- **Trigger Type**: The example uses **60-2**, meaning a 60-tooth wheel with 2 missing teeth, which is often mounted on the crankshaft. + +- **Skipped Wheel Location**: Set to **On Crankshaft** to indicate that this trigger wheel is located on the crankshaft. + +- **Trigger Angle Advance (deg BTDC)**: Configured to **330** degrees in this setup. For known trigger types, a ‘0’ offset is typically used, but this setting depends on the engine's requirements. + +### Crank Sensor Section + +- **Crank Sensor (Primary Channel)**: In this example, **CKP** (Crankshaft Position) is selected as the primary channel. Note that some systems may use a camshaft sensor as the primary synchronization source, especially in certain cam-based patterns. + +- **Primary Edge**: Set to **Falling**, which defines the edge that the sensor should detect for synchronization. + +- **Secondary Channel**: Not used in this example, but if present, it would typically be the camshaft sensor (CMP) to provide additional synchronization details. + +### Cam Inputs Section + +- **Cam Mode (Intake & Exhaust)**: Set to **Single Tooth** for both intake and exhaust, a common configuration for single-tooth cam sensors that provide additional engine position information. + +- **Cam Sensors**: + + - **Cam Sensor Bank 1 Intake**: Assigned to **CMP**. + - **Cam Sensor Bank 1 Exhaust**: Assigned to **CAM2 (PD4)**. + - **Cam Sensor Bank 2 Intake/Exhaust**: Not used in this configuration, but available for engines with multiple cam sensors. + + +- **Cam Edge Selection**: Both intake and exhaust are set to **Falling** to determine which edge is detected for synchronization. + +### VVT Offset Section + +- **VVT Offsets**: Configured for intake and exhaust banks. These offsets (e.g., **\-82.0** for intake and **\-226.0** for exhaust) ensure proper timing alignment when VVT is active. The offsets should be set so that 0 degrees represents the default cam position. + +- **Cam for Engine Sync Resolution**: Set to **Intake First Bank** in this example, indicating which camshaft input is prioritized for engine synchronization. + +This setup allows for precise engine timing control, with detailed options for customizing trigger inputs and camshaft synchronization. + +![][image29] + +### Advanced Trigger Options + +1. **Require cam/VVT sync for ignition**: + + - Default: **False**. + - If set to **True**, the engine will require camshaft or variable valve timing (VVT) synchronization before ignition events are allowed. This is typically used in engines with more complex timing systems or dual VVT setups. + + + +2. **Maximum cam/VVT sync RPM (rpm)**: + + - Default: **0** (disabled). + - This option sets a maximum RPM limit for synchronization attempts. This is generally left as 0 unless a specific use case for a limit exists. + + + +3. **Print verbose VVT sync details to console**: + + - Default: **False**. + - This option enables detailed logging of VVT synchronization events in the **Console**, an advanced development application for diagnostics. Not typically needed for general users. + + + +4. **Print verbose trigger sync to console**: + + - Default: **False**. + - Similar to the above, this logs detailed trigger synchronization data in the **Console**. Again, this is intended for developers and advanced debugging. + + + +5. **Display logic signals**: + + - Default: **False**. + - If enabled, it shows internal logic signals in the **Console**, helpful for in-depth diagnostics and development. + + + +6. **Do not print messages in case of sync error**: + + - Default: **True**. + - If enabled, sync error messages will not appear in the **Console**, which can help reduce noise during development. + + + +7. **Focus on inputs in engine sniffer**: + + - Default: **False**. + - The **Engine Sniffer**, available in the **Console**, visualizes inputs and outputs for advanced tuning and diagnostics. Enabling this option focuses on inputs during sniffer sessions. + + + +8. **Enable noise filtering**: + + - Default: **False**. + - This option enables additional noise filtering on signal inputs to handle interference or signal degradation. Use this if signals are noisy and causing sync issues. + +### Notes + +- Any mention of "console" or "print" in these options refers to features within the **rusEFI Console**, a development tool separate from TunerStudio. These options are generally used by developers for diagnostics, debugging, and advanced configurations. +- For regular Mazduino users, most of these settings are not needed and can be left at their defaults unless directed otherwise for troubleshooting purposes. + +### Trigger Gap Override + +**Trigger Gap Override** settings are primarily intended for developers and are used to adjust trigger gap tolerances in unique setups or development scenarios. These settings are advanced and **out of the scope of this manual**, as they are not typically needed for standard Mazduino users. +![][image30] +In the **Battery and Alternator Settings** window, you’ll find settings to manage both battery input and alternator output. + +### Battery Settings + +- **vBatt ADC input**: This specifies the sensor input for monitoring battery voltage. +- **Battery Input Divider Coefficient**: A calibration value for accurately reading the battery voltage. + +### Alternator Settings + +The alternator settings allow you to control how the alternator manages electrical output based on engine demands and load. + +- **Enabled**: Toggles the alternator control function on or off. +- **Control output**: Specifies which output channel controls the alternator. +- **Control output mode**: Sets the control mode for the output channel. +- **PWM frequency (Hz)**: The frequency for the Pulse Width Modulation (PWM) signal controlling the alternator. +- **A/C duty adder (%)**: An additional duty cycle percentage for times when the air conditioning is active, increasing the electrical load. + +### PID Control + +The PID (Proportional, Integral, Derivative) control allows precise regulation of alternator output based on real-time conditions. Each component of the PID control has its own setting: + +- **P factor** (Proportional): Adjusts output in proportion to the difference from the target. +- **I factor** (Integral): Adjusts for accumulated past differences. +- **D factor** (Derivative): Adjusts based on the rate of change of the difference. +- **Offset** and other PID parameters refine the alternator response, with **Min** and **Max** setting bounds for output adjustments. + +### Alternator Voltage Target Table + +The **Alternator Voltage Target Table** on the right allows you to specify target voltages for different load conditions: + +- **Load** (Y-axis) and **RPM** (X-axis) define each cell’s conditions. +- The cell values represent the target voltage the alternator aims to maintain. + +For instance: + +- At **high load** (e.g., 120 load), a lower voltage target (13.2V) may be set to reduce alternator drag and allow more power for the engine. +- At **lower loads**, a higher voltage target (up to 14.0V) ensures the battery remains fully charged. + +This configuration allows the alternator to dynamically adjust output based on the electrical demands and engine conditions, optimizing power usage and battery health. + +![][image31] +--- + +In the **Outputs** settings window, you’ll find options for configuring various output controls for the ECU. For **Plug and Play units**, most of these settings are handled by the included basemap, so only specific adjustments (such as temperature, timing, and adders) should typically be modified. For **Metal-series Wire In units**, which do not come with a preconfigured basemap, each setting should be carefully reviewed and configured to ensure compatibility with the vehicle. + +### Output Controls Overview + +- **Main Relay Output**: Specifies the main relay control, including output channel and mode. This relay is generally used to power key components like the fuel system and ignition. + +- **Fuel Pump**: Configures the fuel pump control, with options for output channel, mode, and priming duration (in seconds). This controls how long the fuel pump primes during startup. + +- **Tachometer Output**: Manages the tachometer signal with options for pulse mode and duration. This setting is typically adjusted in Plug and Play basemaps for compatibility with the car's dashboard, but should be configured for Metal-series units. + +### Fan Settings + +- **Fan 1 and Fan 2**: Configure the control of two separate fans, including: + - **On/Off Temperature (°C)**: Sets the activation and deactivation temperatures for each fan. + - **Enable with AC**: Allows the fan to run when the air conditioning is on. + - **Disable When Engine Stopped**: Prevents fan operation when the engine is off. + - **Disable Above Vehicle Speed**: Prevents fan operation when the vehicle exceeds a specified speed. + - **Idle Adder (%)**: Adds a specified duty cycle at idle to assist with cooling at low RPMs. + +### Starter Controls + +- **Starter Control Output**: The **Starter Control** dropdown allows you to select a specific output pin to control the starter relay, enabling the ECU to manage starter engagement. Setting this to **NONE** disables ECU starter control, meaning the starter relay operates independently. +- **Require Foot on Brake to Crank**: If enabled, requires the brake pedal to be pressed for the starter to engage. +- **Start/Stop Button Input**: Specifies the input channel for a start/stop button if used, along with the mode (e.g., default or custom). +- **Start Cranking Maximum Time (Seconds)**: Sets the maximum duration for cranking, protecting the starter from overuse. +- **Suppress on Startup (ms)**: Adds a delay to avoid false starter signals during initialization. + +### Starter Disable + +- Configures an output channel to disable the starter under specific conditions. + +### Speedometer Output + +- Allows customization of the speedometer signal output, with settings for output mode and pulses per kilometer. + +### Check Engine Settings + +- **Check Engine Output**: Configures the check engine light output and sets a warning period (in seconds). + +![][image32] + +### Air Conditioning (A/C) Settings + +The **A/C Settings** section enables configuration of air conditioning controls within the ECU, covering features such as compressor delay, idle compensation, and pressure-based control to optimize performance and manage engine load. For **Plug and Play units**, A/C settings may be pre-configured in the basemap, though adjustments can still be made to suit specific needs. **Metal-series Wire In units** may require a full configuration of these settings based on the vehicle’s setup. + +#### Key A/C Settings: + +- **A/C Switch**: Selects the input source for activating the A/C system. Setting this to **NONE** disables ECU control over the A/C switch, as long as it is not being controlled by some other method, like Lua +- **A/C Switch Mode**: Specifies the mode of the A/C switch input, depending on installation and desired functionality. +- **A/C Relay**: Configures the output pin assigned to control the A/C relay. For example, selecting **Injector 8 (PD13)** enables A/C control through that specific pin. +- **A/C Relay Mode**: Defines the output mode of the A/C relay. This can be left as **default** for most applications or adjusted if needed. +- **A/C Compressor Delay (sec)**: Sets a delay before the A/C compressor engages, preventing a sudden load increase on the engine when A/C is turned on. +- **Max RPM (RPM)**: Sets the maximum allowable engine RPM for A/C operation. If RPM exceeds this limit, the A/C will disengage to protect the engine. +- **Max CLT (deg C)**: Configures the maximum coolant temperature for A/C operation. If exceeded, the A/C will automatically shut off to prevent overheating. +- **Max TPS (%)**: Defines the maximum throttle position for A/C operation. If throttle exceeds this percentage, the A/C will turn off to prioritize engine performance. +- **A/C Idle Adder (%)**: Sets a percentage increase in idle speed to compensate for the load caused by the A/C compressor. +- **A/C Idle RPM**: Specifies a target idle RPM when A/C is active, adjusting the engine’s idle speed to account for compressor load. +- **RPM Low Threshold (RPM)**: The minimum RPM threshold below which the A/C is automatically disabled to prevent engine stalling. +- **Pressure Low Disable (kPa)**: Sets the lower pressure limit; if pressure falls below this level, the A/C will be disabled to protect the compressor. +- **Pressure High Disable (kPa)**: Configures the upper pressure limit; if pressure exceeds this level, the A/C will disengage for system protection. +- **A/C Pressure Enable Hysteresis (kPa)**: Provides a buffer range around the pressure limits to prevent rapid cycling of the A/C system. + +The **white squares** on the right side of the window represent various checks and statuses related to the A/C system. These indicators turn **red** to show active conditions, such as the A/C button being pressed, pressure being within acceptable limits, and other safety or system checks. This visual feedback helps users quickly assess whether all conditions are met for A/C operation. + +These settings help the ECU manage the A/C system effectively under various operating conditions, contributing to stable engine performance. **Plug and Play units** may have these settings optimized in the basemap, but further adjustments can be made if necessary. For **Metal-series Wire In units**, ensure these settings are calibrated to the vehicle's specific requirements. +**II. Fuel Button in TS** +Under the **Fuel** button, users can access various settings that control fuel injection, enrichment, correction factors, and fuel-related compensations. Here’s a breakdown of each option shown: + +1. **Injection Configuration**: Allows for the setup of basic injection parameters, such as injection timing and fuel injector configuration. + +2. **Injection Hardware**: Configures the physical aspects of the fuel injectors, including flow rate and injector characterization. + +3. **Cylinder Bank Selection**: For engines with multiple injector banks, this setting lets you assign which cylinders belong to which bank for optimal fuel delivery. + +4. **Injector Small-Pulse Correction**: Adjusts for injector behavior at low pulse widths, ensuring smooth and consistent fuel delivery during light load or idle. + +5. **Staged Injection**: (Submenu options grayed out) Allows for secondary injectors in high-performance applications, where extra fuel is needed. Here, you can configure secondary injectors' output and staging. + +6. **Cylinder Fuel Trims**: Provides individual fuel trim adjustments per cylinder, useful for balancing fuel distribution among cylinders. + +7. **VE (Volumetric Efficiency) Table**: A primary fuel table where you adjust VE values for different RPM and load conditions to calibrate the engine’s air-fuel mixture. + +8. **VE 3D View**: A visual representation of the VE table in 3D, making it easier to spot irregularities or trends in fuel delivery. + +9. **VE Blend Tables**: Allows the setup of secondary VE tables for blending purposes, enabling smooth transitions between different fuel demands or operating modes. + +10. **Target AFR**: Defines the target air-fuel ratio (AFR) for various operating conditions, which the ECU uses to adjust fuel delivery. + +11. **Charge Temperature Estimation**: Compensates for changes in air density due to temperature, adjusting fuel accordingly. + + - **Barometric Pressure Correction**: Corrects fuel delivery based on ambient air pressure, useful for varying altitudes. + - **MAP Estimate Table**: Calculates estimated MAP (manifold absolute pressure) values based on RPM and load, aiding in fuel adjustment. + + + +12. **CLT (Coolant Temperature) Multiplier**: Adjusts fuel delivery based on coolant temperature, adding enrichment during warm-up or reducing it during high temperatures. + +13. **IAT (Intake Air Temperature) Multiplier**: Compensates for intake air temperature, which affects air density and, consequently, the air-fuel mixture. + +14. **Closed Loop Fuel Correction**: Enables closed-loop control using feedback from the oxygen sensor to maintain target AFR. + +15. **Deceleration Fuel Cutoff (DFCO)**: Cuts fuel during deceleration to save fuel and improve emissions, typically activated when throttle is closed and RPM is above a certain threshold. + +16. **Injection Phase**: Adjusts the timing of the injection event relative to the intake stroke, enhancing fuel atomization and engine efficiency. + +17. **Acceleration Enrichment**: Adds extra fuel when the throttle is opened quickly, compensating for the sudden influx of air. + +18. **TPS/TPS Acceleration Extra Fuel**: Provides additional fuel enrichment based on throttle position and speed, helping to maintain AFR during rapid throttle changes. + +19. **TPS/TPS Extra Fuel RPM Correction**: Further refines the amount of fuel added during acceleration based on RPM, providing smoother transitions. + +20. **Wall Wetting AE**: Compensates for fuel that sticks to the intake manifold walls during sudden changes in throttle, ensuring accurate fuel delivery. + +Under the **Fuel** button, users can access various settings that control fuel injection, enrichment, correction factors, and fuel-related compensations. Here’s a breakdown of each option shown: + +21. **Injection Configuration**: Allows for the setup of basic injection parameters, Configures the physical aspects of the fuel injectors, including flow rate and injector characterization.. + +22. **Injection Hardware**: Configures the physical aspects of the fuel injectors such as fuel injector configuration + +23. **Cylinder Bank Selection**: For engines with multiple injector banks, this setting lets you assign which cylinders belong to which bank for optimal fuel delivery. + +24. **Injector Small-Pulse Correction**: Adjusts for injector behavior at low pulse widths, ensuring smooth and consistent fuel delivery during light load or idle. + +25. **Staged Injection**: (Submenu options grayed out) Allows for secondary injectors in high-performance applications, where extra fuel is needed. Here, you can configure secondary injectors' output and staging. + +26. **Cylinder Fuel Trims**: Provides individual fuel trim adjustments per cylinder, useful for balancing fuel distribution among cylinders. + +27. **VE (Volumetric Efficiency) Table**: A primary fuel table where you adjust VE values for different RPM and load conditions to calibrate the engine’s air-fuel mixture. + +28. **VE 3D View**: A visual representation of the VE table in 3D, making it easier to spot irregularities or trends in fuel delivery. + +29. **VE Blend Tables**: Allows the setup of secondary VE tables for blending purposes, enabling smooth transitions between different fuel demands or operating modes. + +30. **Target AFR**: Defines the target air-fuel ratio (AFR) for various operating conditions, which the ECU uses to adjust fuel delivery. + +31. **Charge Temperature Estimation**: Compensates for changes in air density due to temperature, adjusting fuel accordingly. + + - **Barometric Pressure Correction**: Corrects fuel delivery based on ambient air pressure, useful for varying altitudes. + - **MAP Estimate Table**: Calculates estimated MAP (manifold absolute pressure) values based on RPM and load, aiding in fuel adjustment. + + + +32. **CLT (Coolant Temperature) Multiplier**: Adjusts fuel delivery based on coolant temperature, adding enrichment during warm-up or reducing it during high temperatures. + +33. **IAT (Intake Air Temperature) Multiplier**: Compensates for intake air temperature, which affects air density and, consequently, the air-fuel mixture. + +34. **Closed Loop Fuel Correction**: Enables closed-loop control using feedback from the oxygen sensor to maintain target AFR. + +35. **Deceleration Fuel Cutoff (DFCO)**: Cuts fuel during deceleration to save fuel and improve emissions, typically activated when throttle is closed and RPM is above a certain threshold. + +36. **Injection Phase**: Adjusts the timing of the injection event relative to the intake stroke, enhancing fuel atomization and engine efficiency. + +37. **Acceleration Enrichment**: Adds extra fuel when the throttle is opened quickly, compensating for the sudden influx of air. + +38. **TPS/TPS Acceleration Extra Fuel**: Provides additional fuel enrichment based on throttle position and speed, helping to maintain AFR during rapid throttle changes. + +39. **TPS/TPS Extra Fuel RPM Correction**: Further refines the amount of fuel added during acceleration based on RPM, providing smoother transitions. + +40. **Wall Wetting AE**: Compensates for fuel that sticks to the intake manifold walls during sudden changes in throttle, ensuring accurate fuel delivery. + +Each of these settings offers precise control over fuel delivery, allowing tuners to optimize engine performance, fuel economy, and emissions. For **Plug and Play units**, many of these settings are configured in the provided basemap, but adjustments can still be made as needed. In **Metal-series Wire In units**, a full calibration is required based on the vehicle’s setup. + +In the **Injector Configuration** dialog box, you can configure the settings that control fuel injector behavior and fuel delivery. Here are the key components: + +### Injection + +- **Enabled**: Set to `true` to enable fuel injection. +- **Mode**: Options include **Sequential** (individual injector timing) or **Batch** (all injectors fire simultaneously). +- **Batch Injection with Individual Wiring**: For applications where injectors are wired separately but operate in batch mode. +- **Alpha-N Uses IAT Density Correction**: When set to `true`, it enables intake air temperature-based corrections for Alpha-N tuning strategies. +- **Override VE Table Load Axis**: Allows you to change the default load axis used for the VE table, which is typically MAP (manifold absolute pressure). +- **Override AFR Table Load Axis**: Allows you to override the default load axis for the target AFR table. +- **Injection Phase Control Mode**: Defines when fuel is injected relative to the intake valve opening. Options include **End of Injection** or other timing references. + +### Injector Settings + +- **Injector Flow**: Specifies the flow rate of the injector, typically in cc/min or lbs/hr. +- **Injector Flow Units**: Choose between **Volumetric Flow** (e.g., cc/min) or other units. +- **Injector Flow Compensation Mode**: + - **None**: For setups with a MAP-referenced fuel pressure regulator. + - **Fixed Rail Pressure**: For systems with an atmosphere-referenced fuel pressure regulator, typically in returnless systems. + - **Sensed Rail Pressure**: For systems equipped with a fuel pressure sensor, which dynamically adjusts for pressure variations. +- **Fuel Rail Pressure Sensor**: Only used when "Sensed Rail Pressure" is selected. + +### Fuel Characteristics + +- **Stoichiometric Ratio**: Defines the stoichiometric air-fuel ratio (AFR) for the fuel type in use. +- **E100 Stoichiometric Ratio**: Defines the stoichiometric AFR for E100 (pure ethanol), useful for ethanol blends. + +### Injector Dead Time + +- Displays a graph showing injector dead time (in milliseconds) as a function of battery voltage. Dead time decreases as voltage increases, ensuring precise injector control under varying electrical conditions. + +The **VE (Volumetric Efficiency) Table** displays the engine's volumetric efficiency values as a function of **load (kPa)** and **RPM**. These values determine how much fuel is needed based on the engine’s airflow characteristics at different operating points. Here’s a breakdown of the table and typical values: + +### Typical VE Values + +- **Idle Conditions**: At idle, typically around 30-50 kPa and 500-1000 RPM, most engines have VE values in the range of **30-40%**. This represents the relatively low airflow when the engine is running at low RPM and without load. + +- **High Load Conditions**: At high loads (e.g., 100-250 kPa) and higher RPMs (e.g., 4000-7000 RPM), VE values can range from **80-100%** or even higher. Engines with forced induction may have values exceeding 100% due to the additional air being forced into the cylinders. + +If you see VE values that are significantly different from these ranges (e.g., extremely high at idle or unusually low at high load), it may indicate that the **injectors haven’t been correctly modeled**. This could be due to incorrect injector flow rates, dead time settings, or other calibration errors, leading to inconsistent fueling. + +The **Target AFR (Air-Fuel Ratio) Table** sets the desired air-fuel mixture for various **RPM** and **load (kPa)** conditions. The values in this table influence how rich or lean the mixture will be across different operating conditions. + +### Example Breakdown + +In this specific table example: + +This Target AFR Table is set up for a turbocharged, cammed engine, with idle AFR targeted at 14.0 AFR to provide a smoother idle, a common practice for cammed engines. The Y-axis values exceed 100 kPa to account for boost pressure, which is typical for turbocharged engines. At higher boost levels (150–250 kPa), the AFR targets are richer, around 10.7–11.0 AFR, to reduce the risk of detonation and keep combustion temperatures safe, ensuring reliable performance under high load. This setup balances smoother idle operation with enhanced protection and power during boosted conditions. + +This AFR table example is tuned for a cammed engine, but the ideal values vary based on modifications and performance goals. + +In the **Closed Loop Fuel Correction** settings: + +- **Enabled**: Activates the closed-loop correction system. +- **Startup delay**: Sets the delay (in seconds) after startup before the correction begins. +- **Minimum CLT for correction**: Sets the minimum coolant temperature (in °C) required to start corrections. +- **Minimum AFR for correction** and **Maximum AFR for correction**: Define the AFR range within which corrections will be applied. +- **Adjustment deadband**: Specifies a threshold within which no corrections will be made to avoid minor fluctuations. +- **Ignore error magnitude**: Accepts a numerical value, typically set to 0\. This value controls how much AFR error is ignored before corrections are applied, helping to smooth out minor fluctuations. + +**Region Configuration** allows customization of RPM and load thresholds for Idle, Overrun, and Power regions: + +- **Idle region RPM**: Defines the RPM considered as the idle threshold. +- **Overrun region load** and **Power region load**: Set load limits to differentiate between normal operation, deceleration (overrun), and high load (power) conditions. + +Each region (Main, Idle, Power, Overrun) has specific **time constants** and **maximum add/remove percentages**: + +- **Time constant**: Controls the responsiveness of corrections, with lower values resulting in faster adjustments. +- **Max add/remove**: Limits the maximum fuel adjustment in either direction (adding or removing fuel) to prevent excessive correction. + +These settings allow for tailored fuel correction, maintaining optimal AFR across different operating conditions. +In the **Coasting Fuel Cutoff Settings**: + +- **Enable Coasting Fuel Cutoff**: Activates fuel cutoff during coasting. +- **No cut below CLT(C)**: Sets a minimum coolant temperature below which fuel cutoff won’t occur, ensuring smoother engine operation when the engine is cold. +- **RPM cut fuel above**: Defines the RPM threshold above which fuel cutoff will engage during deceleration. +- **RPM restore fuel below**: Sets the RPM at which fuel is restored after cutoff, helping prevent stalling. +- **Vehicle speed cut above** and **Vehicle speed restore below**: Define speed thresholds for activating and deactivating fuel cutoff. This prevents cutoff at very low speeds where it may be unnecessary. +- **Cut fuel below TPS(%)**: Sets a throttle position threshold below which fuel cutoff will activate, typically when the throttle is fully closed during deceleration. +- **Cut fuel below MAP(kPa)**: Establishes a manifold pressure threshold to activate fuel cutoff. +- **Fuel cut delay**: Adds a delay (in seconds) before fuel cutoff is engaged after conditions are met, helping prevent premature cutoff. +- **Inhibit closed loop fuel after cut**: Temporarily disables closed-loop fuel correction after fuel is restored, providing a smoother transition. + +These settings help optimize fuel efficiency by cutting fuel during coasting while ensuring smooth re-engagement under specific conditions. + +In the **Accel/Decel Enrichment Settings**: + +- **TPS**: + + - **Length (sec)**: Defines the duration of the enrichment pulse when throttle movement is detected. + - **Accel Threshold (roc)**: Sets the rate of change (roc) threshold to trigger acceleration enrichment based on throttle position. + - **Decel Threshold (roc)**: Sets the roc threshold to trigger deceleration enrichment, helping prevent engine stalling or surging during throttle release. +- **Accelerator Pump Model**: + + - **Fraction Period (cycles)** and **Fraction Divisor (coef)**: Control how enrichment is delivered during rapid throttle changes, mimicking a carbureted engine’s accelerator pump action. +- **Wall Wetting**: + + - **Wall fueling model type**: Defines the model used for calculating wall wetting fuel adjustments. The "Basic (constants)" model assumes simpler evaporation dynamics. + - **Evaporation time constant / tau (Seconds)**: Sets the time constant for fuel evaporation from intake walls, impacting how long the added fuel remains available for combustion. + - **Added to wall coef / beta (Fraction)**: Controls the proportion of fuel adhering to the intake walls versus being drawn directly into the engine. + +These settings fine-tune fuel delivery during rapid throttle changes, enhancing responsiveness and stability by simulating fuel behavior dynamics in response to throttle input. + +### TPS/TPS Acceleration Extra Fuel + +The **TPS/TPS Acceleration Extra Fuel** table (shown on the left) provides additional fuel based on the rate of change in throttle position. Each cell specifies the amount of extra fuel (in milliseconds) added when moving from one throttle position (TPS from) to another (TPS to). + +**Note:** If you change your injector size, this table should be adjusted accordingly. For example, if you’re switching from 300cc injectors to 600cc injectors, you should halve the values in this table to maintain similar behavior with the larger injectors. + +### Transient RPM Correction + +The **Transient RPM Correction** chart (shown on the right) applies a multiplier to fuel delivery based on RPM. This adjustment accounts for varying transient conditions, with the multiplier decreasing as RPM increases. This configuration typically provides more enrichment at low RPMs, where transient fuel needs are higher. + +**III. Ignition Button in TS** +![][image33] + +### Ignition Dropdown Options + +The **Ignition** dropdown offers multiple configuration options for tuning various ignition-related settings in the ECU. Here’s a breakdown of each option: + +1. **Ignition Settings**: Primary configuration settings for ignition, including the type of ignition system and any specific settings related to timing control. + +2. **Ignition Advance**: Adjusts the ignition timing advance table based on engine load (measured in kPa or throttle position) and RPM. This table typically has values representing degrees of timing advance, which can vary across different load and RPM conditions. + +3. **Ign CLT Correction**: Allows timing adjustments based on Coolant Temperature (CLT). This correction is useful for optimizing ignition timing based on engine temperature, particularly to prevent detonation when the engine is running hot. + +4. **Ign IAT Correction**: Adjusts timing based on Intake Air Temperature (IAT), compensating for changes in air density that can affect combustion efficiency and engine safety. + +5. **Dwell**: Controls the dwell time, which is the amount of time the ignition coil is energized before firing. Proper dwell time can help optimize spark strength and protect the ignition coil from overheating. + +6. **Ignition Blend Tables**: Used to create custom tables that blend ignition timing values based on certain conditions or parameters, which can be useful for advanced tuning scenarios. + +7. **Cylinder Ign Trims**: Allows individual cylinder ignition timing adjustments. This feature is useful to fine-tune each cylinder independently for optimal performance and to account for any variances in cylinder behavior. + +8. **Multispark**: Enables multiple sparks per cycle at lower RPMs, improving combustion and idle stability, especially in performance applications. + +9. **Knock Control**: Configuration for knock detection and response. This setting allows you to adjust sensitivity and response to knock events, potentially adjusting timing to prevent engine damage. + +10. **Max Knock Retard**: Sets the maximum degree of timing retardation allowed in response to detected knock. This helps protect the engine by reducing timing aggressively if knock is detected within safe limits. + +Each of these options provides specific control over different aspects of the ignition system, allowing you to tailor the ignition timing and behavior to meet the performance, efficiency, and safety requirements of your setup. + +![][image34] + +### Ignition Settings + +The **Ignition Settings** window provides configuration for the type of ignition system, timing parameters, and output settings. Here’s a detailed explanation of each option: + +--- + +#### **Ignition Mode** + +Under the **Mode** dropdown, you can select the ignition configuration type. The available options are: + +- **Single Coil**: Suitable for distributor-based systems, where a single coil serves all cylinders. +- **Individual Coils**: One coil per cylinder (coil-on-plug or coil-near-plug setups). This mode requires sequential injection mode. +- **Wasted Spark**: Fires paired cylinders together, either using one coil per pair or one coil per cylinder. This is common in simpler ignition systems. +- **Two Distributors**: A pair of distributors, commonly found on certain BMW, Toyota, and other engines. + +--- + +#### **Timing Parameters** + +- **Maximum Timing Advance (deg BTDC)**: Limits the maximum timing advance to ensure safe ignition settings during tuning. +- **Minimum Timing Advance (deg BTDC)**: Prevents the timing from retarding too far, protecting the engine during operations like starting. +- **Use Fixed Timing While Validating**: Enables the use of fixed timing (set in the "Static Timing" mode) for validating timing with a timing gun. +- **Override Ignition Table Load Axis**: Allows the ignition table’s load axis to be overridden with a custom axis, which is useful for advanced tuning. + +--- + +#### **Timing Mode** + +The **Timing Mode** dropdown has two options: + +- **Dynamic**: Uses the ignition timing map to determine timing dynamically during engine operation. +- **Static**: Fixes the timing to the specified value (set in the "Fixed Timing" field). This mode is typically used for verifying static timing with a timing light during setup. + +--- + +#### **Ignition Outputs** + +- Each ignition output corresponds to a specific cylinder. **Wire each output to the cylinder number directly**, as the firmware (rusEFI) manages the firing order internally. +- **Ignition Output Mode**: Allows customization of how the outputs behave, which is useful for unique ignition configurations. + +--- + +#### **Important Notes** + +1. **Timing Validation**: Use a timing gun with static timing mode enabled to verify that the ignition system timing aligns with the engine’s physical timing marks. +2. **Sequential Ignition**: Ensure that the system is configured for sequential mode if using **Individual Coils**, as this is critical for proper operation. +3. **Wasted Spark Mode**: If using wasted spark, verify coil pairing and ensure firing order is correctly set in the ECU. + +This configuration allows for extensive flexibility in handling various ignition setups, from single-coil distributor systems to advanced sequential coil-on-plug setups. Always validate your settings with physical tools (timing light) before fully committing to the configuration. + +![][image35] + +### Ignition Table + +The **Ignition Table** configures the spark timing based on RPM (horizontal axis) and engine load (vertical axis). It is essential for fine-tuning engine performance, efficiency, and safety. + +#### Example Overview + +This specific example represents a **high-compression turbocharged engine**. The values in the table highlight several tuning strategies: + +1. **High Compression and Turbocharged Timing**: + + - In boosted regions (higher load values), the ignition timing is conservative (lower values) to avoid pre-ignition or detonation, which is critical for turbocharged engines. + - For example, at 200 kPa and 3000 RPM, the timing is set to around 7.6 degrees BTDC. + + + +2. **Deceleration Burble**: + + - The lower rows (lower load values) have negative or very low timing values during deceleration. This intentionally delayed ignition creates a burble or popping sound, often sought after for aesthetic or performance sound tuning. + + + +3. **Mid-Range Efficiency**: + + - In mid-load and mid-RPM regions (e.g., 75 kPa, 2500 RPM), timing values are optimized for fuel efficiency and smooth power delivery, typically between 25-35 degrees BTDC. + + + +4. **High RPMs**: + + - At higher RPMs and moderate loads, timing is slightly advanced (e.g., 37.5 degrees at 100 kPa and 7000 RPM) to maintain performance without causing knocking. + +--- + +#### Notes for Tuning + +- **Turbocharged Engines**: Timing must be carefully monitored and adjusted for safety in high-boost areas. Use knock sensors and data logging to detect potential detonation. +- **Deceleration Effects**: The burble effect should only be used in regions where fuel cut-off or overrun conditions are active to prevent excessive fuel waste. +- **Engine-Specific**: Timing values depend heavily on engine design, fuel type, and compression ratio. This table is a guideline and may not apply to naturally aspirated or lower-compression setups. + +#### Final Advice + +Before using this table, ensure your injectors, fuel map, and load axis are correctly configured. Fine-tune values with data logging and dynamometer testing to align with your specific engine's requirements and desired performance characteristics. + +### ![][image36]Dwell Settings + +The **Dwell Settings** section provides critical control over ignition coil charge time, which impacts spark energy and ignition system performance. These tables ensure proper ignition timing and spark strength across different RPM and voltage conditions. + +--- + +#### **Dwell Time Base (Top Graph)** + +- **Purpose**: Adjusts the base dwell time (in milliseconds) relative to engine RPM. +- **Explanation**: + - At lower RPMs, dwell time is higher (e.g., 3.60 ms at 0 RPM) to fully charge the ignition coil. + - As RPM increases, dwell time decreases (e.g., 2.60 ms at 7000 RPM) to ensure the coil can charge and discharge within the shorter cycle times. +- **Tuning Note**: + - Excessively high dwell times at higher RPMs can cause coil saturation and heat damage. + - Too low dwell times can lead to weak sparks or misfires. + +--- + +#### **Dwell Voltage Correction (Bottom Graph)** + +- **Purpose**: Modifies dwell time based on battery voltage to maintain consistent spark energy. +- **Explanation**: + - At lower battery voltages, dwell time is increased (multiplier \> 1.0) to compensate for reduced coil charging efficiency. + - At higher voltages, dwell time is reduced (multiplier \< 1.0) to prevent overheating or overcharging the coil. + - Example: At 8.0 volts, the multiplier is 1.40; at 16.0 volts, the multiplier drops to 0.80. + +--- + +#### **General Notes** + +- **RPM Table**: + - Values typically start around 2.0-4.0 ms at idle and reduce as RPM rises. +- **Battery Voltage Table**: + - Correct compensation is vital for engines with weak electrical systems or those running additional electrical loads. +- **Tuning Advice**: + - Always refer to the manufacturer’s specifications for your ignition coils to avoid damaging them. + +This configuration is particularly important for high-performance engines where reliable and precise ignition is critical to avoid misfires or detonation. + +**IV. Cranking Button in TS** + +### ![][image37] + +### Cranking Button Dropdown + +The **Cranking** dropdown provides a set of configuration options focused on engine startup conditions. Proper tuning of these settings ensures smooth and reliable engine starts across various conditions. + +--- + +#### **Options Overview** + +1. **Cranking Settings**: + + - Configures the parameters used during the cranking phase of engine startup, such as cranking RPM thresholds and duration. + + + +2. **After-Start Enrichment**: + + - Fine-tunes fuel delivery immediately after the engine starts to stabilize idle and warm-up conditions. + + + +3. **Priming Pulse**: + + - Controls the initial fuel injection pulse when the key is turned on, which helps to pressurize the fuel system and prepare for engine start. + + + +4. **Fuel CLT Multiplier**: + + - Adjusts fuel delivery based on coolant temperature (CLT) during cranking to account for cold or warm starts. + + + +5. **Fuel CLT Multiplier (Flex Fuel E85)**: + + - Provides additional adjustments for engines using E85 or other ethanol-based fuels, allowing for temperature-based enrichment. + + + +6. **Fuel TPS Multiplier**: + + - Alters fuel delivery during cranking based on throttle position (TPS), useful for adjusting startup enrichment during open-throttle starts. + + + +7. **Cranking Ignition Advance**: + + - Configures the ignition timing used during cranking. This is critical for achieving smooth engine starts without backfires or misfires. + + + +8. **Cranking Idle Air CLT Multiplier**: + + - Modifies idle air control settings during cranking based on coolant temperature, ensuring optimal airflow for various startup conditions. + +--- + +#### **Tuning Notes** + +- **Priming Pulse**: + + - Adjust for varying fuel injectors and fuel system dynamics. Higher capacity injectors may require shorter pulses. + + +- **Fuel CLT Multiplier**: + + - Higher enrichment (higher multiplier) is typically required for cold starts, while warm starts require lower enrichment. + + +- **Cranking Ignition Advance**: + + - Advance settings should be conservative to avoid kickback but optimized for smooth ignition. + + +- **Flex Fuel Adjustments**: + + - If using ethanol-based fuels, ensure the Flex Fuel CLT multiplier matches the fuel's temperature-dependent characteristics. + +--- + +#### **Mazduino Plug and Play Units** + +For **Mazduino Plug and Play** systems: + +- These settings are preconfigured for **stock vehicles** and provided as a **baseline starting point**. +- **Important Note**: These basemaps are not dyno-calibrated or intended as final, daily-use calibrations. Users are strongly encouraged to adjust and fine-tune these settings for their specific setup, especially when deviating from a stock configuration or for performance applications. + +For **Metal-series Wire-In** units, users must manually configure these settings to match their engine's requirements. + +### Cranking Settings + +This dialog box allows you to configure the parameters for the engine's cranking phase. Proper configuration ensures efficient starts under various operating conditions. + +--- + +#### **Cranking Settings** + +- **Cranking RPM Limit (RPM)**: + - Defines the RPM threshold below which the engine is considered to be in cranking mode. + - Default: 400 RPM. Adjust as needed for different starter speeds. + +--- + +#### **Fuel Settings** + +- **Injection Mode**: + + - Specifies how fuel is injected during cranking: + - **Simultaneous**: All injectors fire together. + - **Batch**: Injectors fire in pairs. + - **Sequential**: Injectors fire in sync with engine timing (requires crank/cam sync). + - Default is typically **Batch** for ease of configuration. + + +- **Fuel Source for Cranking**: + + - **Fixed**: Uses a predefined fuel mass for cranking. + - **Fuel Map**: Uses a fuel map to calculate fuel delivery. + - Note: The **Base Fuel Mass (mg)** setting is disabled when using the **Fuel Map** option. + + +- **Base Fuel Mass (mg)**: + + - Specifies the base amount of fuel injected during cranking when the **Fixed** fuel source is selected. + +--- + +#### **Ignition Settings** + +- **Timing Advance Mode**: + + - Controls how ignition timing is handled during cranking: + - **Fixed (auto taper)**: Starts with a fixed timing and transitions to dynamic timing as RPM increases. + - **Table**: Uses the **Cranking Ignition Advance Table** for ignition timing (accessible through the dropdown menu under the Cranking button). + + +- **Fixed Cranking Advance (deg)**: + + - The ignition timing in degrees before top dead center (BTDC) during cranking. This setting is only used in the **Fixed (auto taper)** mode. + - Example: A typical value is 6 degrees BTDC. + + +- **Fixed Cranking Dwell (ms)**: + + - The dwell time for ignition coils during cranking. + +--- + +#### **Idle Air Valve Settings** + +- **Cranking Base IAC Position (percent)**: + + - Sets the idle air control (IAC) valve position during cranking. Higher values allow more airflow to help the engine start. + + +- **After Cranking IAC Taper Duration (cycles)**: + + - Determines how long the IAC valve gradually returns to its normal position after the engine starts. + + +- **Override Cranking IAC CLT Multiplier**: + + - When enabled, uses the coolant temperature (CLT) multiplier to adjust the IAC position during cranking. + +--- + +#### **Advanced Settings** + +- **Enable Flood Clear**: + + - Allows the driver to clear a flooded engine by fully pressing the throttle during cranking. Fuel injection is cut off until the throttle is released. + + +- **Enable Faster Engine Spin-Up**: + + - Reduces cranking timing delay to help the engine spin up faster. + + +- **Use Advance Corrections for Cranking**: + + - Allows the application of timing advance corrections during cranking. + + +- **Use Flex Fuel Cranking Table**: + + - Enables specific cranking fuel adjustments for engines running on ethanol-based fuels (e.g., E85). + +--- + +![][image38] + +### Cranking Coolant Temperature Multiplier + +This table adjusts the amount of fuel delivered during cranking based on the engine's coolant temperature. The multiplier values ensure that the engine receives the appropriate amount of fuel for starting in different temperature conditions. + +--- + +#### **Understanding the Graph** + +- **X-Axis (Coolant Temperature)**: + - Ranges from \-20°C to 90°C in this example. + - Represents the engine's coolant temperature. +- **Y-Axis (Multiplier Ratio)**: + - Represents the scaling factor applied to the base fuel mass during cranking. + +--- + +#### **Typical Behavior** + +- **Cold Starts**: + - At lower temperatures (e.g., \-20°C), the multiplier is higher (e.g., 3.00). + - This delivers significantly more fuel to compensate for poor fuel atomization in cold conditions. +- **Warm Starts**: + - As the temperature increases, the multiplier gradually decreases. + - Around 50°C and above, the multiplier typically stabilizes at 1.00, indicating no additional fueling is required for starting. + +--- + +#### **Recommendations** + +- **Adjustments**: + - These values are preconfigured for most stock vehicles but may require fine-tuning for modified setups or extreme climates. + - For modified engines, particularly those with larger injectors, adjust the multiplier values proportionally to match the fuel system's characteristics. +- **Cold Start Enrichment**: + - Ensure higher multipliers at very low temperatures to facilitate reliable cold starts. +- **Warm Conditions**: + - Multipliers near or at 1.00 are suitable for warm engine starts to prevent over-fueling. + +This table, like others, is essential for achieving reliable starts and maintaining consistent cranking performance across a range of temperatures. + +![][image39] + +### Cranking Idle Air Multiplier + +This table controls the multiplier applied to the idle air control valve (IAC) during engine cranking, based on the coolant temperature. It ensures that the engine receives the appropriate amount of air for reliable starts in varying thermal conditions. + +--- + +#### **Understanding the Graph** + +- **X-Axis (Coolant Temperature)**: + - Ranges from \-40°C to 100°C in this example. + - Represents the engine's coolant temperature. +- **Y-Axis (Multiplier)**: + - Represents the scaling factor applied to the base IAC position during cranking. + +--- + +#### **Typical Behavior** + +- **Cold Starts**: + - At very low temperatures (e.g., \-40°C), the multiplier is highest (e.g., 2.00). + - This opens the idle air control valve more to provide additional airflow for starting in cold conditions. +- **Warm Starts**: + - As the temperature increases, the multiplier gradually decreases. + - Above 40°C, the multiplier stabilizes at lower values (e.g., 1.50 or less), indicating reduced airflow adjustment is required. + +--- + +#### **Recommendations** + +- **Adjustments**: + - These values are pre-tuned for stock vehicles in Mazduino Plug and Play units but may need tuning for modified setups or extreme temperature environments. + - Ensure higher multipliers for very cold starts to allow sufficient airflow for smooth ignition. + - For warm starts, adjust the table to avoid unnecessary over-compensation, which could lead to excessive RPM during cranking. +- **Cold Start Behavior**: + - Multipliers greater than 1.50 at very low temperatures help offset increased engine friction and reduced air density. + +--- + +### **Mazduino Plug and Play Notes** + +- **Preconfigured for Stock**: + - The Mazduino Plug and Play systems include baseline values tailored for stock vehicles. +- **Customization for Modified Engines**: + - Metal-series Wire-In ECUs require manual calibration of this table, especially for engines with modified air intake systems or differing idle valve characteristics. + +This table, alongside the coolant temperature multiplier, plays a crucial role in ensuring smooth and reliable engine cranking under all temperature conditions. + +**V. Idle Button in TS** +![][image40] + +### Idle Menu Dropdown Overview + +The **Idle** menu contains options that govern how the ECU manages idle speed and idle-related parameters. These settings allow fine-tuning of idle stability, responsiveness, and performance under various conditions. + +#### **Menu Options** + +1. **Idle Settings**: + General configuration for idle control, including modes of operation and idle valve control. + +2. **Idle Hardware**: + Defines the type of idle air control (IAC) hardware being used, such as stepper motor or PWM-controlled solenoid. + +3. **Target RPM**: + A table that specifies the desired idle RPM for various operating conditions (e.g., coolant temperature, load). + +4. **Idle CLT Multiplier**: + Adjusts idle air flow based on coolant temperature using a multiplier. + +5. **Closed-Loop Idle Timing**: + Enables closed-loop control for idle stabilization through ignition timing adjustments. + +6. **IAC PID Multiplier**: + Configures the proportional-integral-derivative (PID) controller for IAC valve operation. + +7. **Coasting IAC Position**: + Adjusts the IAC valve's behavior during deceleration to prevent engine stalling. + +8. **Idle VE**: + Refines the volumetric efficiency (VE) table for idle-specific regions. + +9. **Idle Ignition Advance**: + Fine-tunes ignition advance during idle to stabilize engine RPM and improve responsiveness. + +--- + +#### **Mazduino Plug and Play Notes** + +- **Preconfigured Values**: + Mazduino Plug and Play ECUs include pre-tuned idle settings optimized for stock vehicle configurations. These values aim for reliable daily operation but are not intended as a performance or dyno-tuned calibration. +- **Wire-In ECUs**: + Users with Metal-series Wire-In ECUs must manually configure these settings according to their hardware and vehicle requirements. + +### Idle Settings + +The **Idle Settings** section focuses on configuring the idle control system for stable engine operation. This excludes advanced options, such as **idleIncrementalPidCic**, **use Cic PID**, and **Use IAC PID Multiplier Table**, which will not be discussed as they are typically left at default settings. + +--- + +#### **Idle Control Mode** + +- **Options**: + - **Open Loop**: Sets a fixed idle position without sensor feedback. + - **Open Loop \+ Closed Loop**: Combines a fixed base position with real-time adjustments using sensor feedback. +- **Recommendation**: Use **Open Loop \+ Closed Loop** for optimal idle stability, especially for engines with varying loads. + +--- + +#### **Idle Detection Thresholds** + +These thresholds define when the ECU determines the engine is in an idle state: + +- **TPS Threshold (%):** Maximum throttle position to consider the engine idling. +- **RPM Upper/Lower Limits:** Define the RPM range for idle control activation. +- **Max Vehicle Speed (kph):** Sets a speed threshold below which idle control is active. + +--- + +#### **Open Loop Idle** + +- **Open Loop Base Position (%):** Controls the fixed airflow position for open-loop mode. +- **Fan Adders (%):** Compensate for additional electrical loads when fans are active. +- **A/C Adder and Target (RPM):** Adjusts idle control to maintain RPM when air conditioning is on. +- **Dashboard/Taper IAC Adder (%):** Adds airflow to stabilize transitions during open-loop operation. + +--- + +#### **Closed Loop Idle** + +- **PID Parameters:** These control how the ECU stabilizes idle RPM dynamically: + - **P-factor, I-factor, D-factor:** Parameters that tune proportional, integral, and derivative control. + - **Min/Max and I-Term Ranges:** Restrict corrections to prevent over- or under-compensation. + - **Anti-windup Frequency:** Prevents integral overshoot during large deviations. + +--- + +#### **Extra Idle Features** + +1. **Use Idle Ignition Table:** Uses a specific ignition map to improve idle stability. +2. **Use Idle VE Table:** Activates a separate VE table for idle conditions, offering precise control. +3. **Override Idle VE Table Load Axis:** Advanced option; typically left at default. +4. **Dashpot Settings:** + - **Dashpot Coasting-to-Idle Hold Time (seconds):** Controls how long the idle valve holds an elevated position during a transition from coasting to idle. This helps prevent a sharp RPM drop that could stall the engine. + - **Dashpot Coasting-to-Idle Decay Time (seconds):** Determines how quickly the idle valve returns to its normal position after coasting. + +--- + +Under the "Idle Target RPM" settings, the table shown allows for adjustment of the target idle RPM based on coolant temperature. In this example: + +- **Colder Temperatures**: Higher RPMs are set for colder temperatures to help the engine warm up more quickly. As coolant temperature rises, the target RPM gradually decreases. +- **Warmer Temperatures**: The target RPM lowers to a stable idle speed as the engine reaches normal operating temperature, typically around 800–900 RPM. +- **High Coolant Temperatures**: In this configuration, the idle RPM is set to increase slightly above 100°C as an extra precaution to cool the engine. + +This setup ensures that the engine operates smoothly across various temperature conditions and helps avoid stalling when the engine is cold. + +### Warmup Idle Multiplier Table + +This table adjusts the **open-loop idle position** based on coolant temperature, providing a multiplier to the base "Open Loop Value" set in the Idle Settings. + +- **Colder Temperatures**: The multiplier is higher (e.g., 1.40 in this example) to increase the idle position for cold starts, helping the engine warm up faster and maintain stability during initial operation. +- **Warmer Temperatures**: The multiplier decreases as the engine reaches operating temperature, typically leveling to 1.00 at normal operating conditions. +- **Hot Temperatures**: In this example, a slight reduction below 1.00 is applied when the engine is above 100°C to help reduce idle air and avoid excess load on the cooling system. + +This table allows fine-tuning for varying coolant temperatures to ensure smooth idle transitions during warmup and at different temperature ranges. + +### Closed-Loop Idle Timing + +This configuration adjusts ignition timing dynamically to help maintain a stable idle speed in closed-loop control mode. Timing adjustments are calculated based on the RPM deviation from the idle target. + +- **Enable Closed-Loop Idle Ignition Timing**: + - When set to `true`, the system dynamically adjusts ignition timing based on RPM deviations. +- **Proportional Gain**: + - Specifies how much timing will be adjusted per RPM away from the target. + - A suggested starting point is `0.1`, equating to 10° of adjustment for every 100 RPM of deviation. +- **Integral Gain**: + - Adjusts the timing over time to account for sustained errors. Typically left at `0.0000` unless advanced tuning is required. +- **Derivative Gain**: + - Helps to predict and counteract RPM changes based on the rate of change. The example value is `0.0050`. +- **Min Adjustment (Retard)** and **Max Adjustment (Advance)**: + - Defines the allowable timing range for adjustments. + - Example: + - **Retard**: \-10° (timing can retard by up to 10°) + - **Advance**: \+10° (timing can advance by up to 10°) +- **Soft Entry Time (sec)**: + + - Introduces a delay to smoothly enable timing adjustments when transitioning into closed-loop idle control. The example value is `2.0` seconds. + +**VI. Advanced Button** +**![][image41]** + +### Advanced Button Options \- Overview + +**Launch Control** +Configures the two-step launch control system, which holds the engine at a specific RPM for consistent launches. Parameters such as RPM limit and activation conditions can be adjusted. + +**Shift Torque Reduction (Flat Shift)** +Reduces torque during gear shifts by cutting ignition or retarding timing, designed for sequential or dog-box transmissions. This feature reduces stress and helps maintain boost during shifts. + +**Cylinder Offsets** +An advanced feature used for **oddfire engines**, allowing offsets for individual cylinders to fine-tune ignition timing and fuel delivery. Useful in non-standard firing order configurations or engines with inherent mechanical differences. + +**Boost Control** + +- **Open Loop**: Configures a fixed duty cycle for the boost control solenoid, operating without sensor feedback. +- **Open Loop Gear Adder**: Adjusts duty cycle based on the selected gear, enabling progressive boost control. +- **Duty Multiplier**: Dynamically scales the solenoid's duty cycle to modify boost behavior under various conditions. +- **Target**: Uses a closed-loop control system to achieve a specific boost pressure by monitoring the MAP sensor. + +**Boost Blend Tables** +Allows blending between multiple boost control maps, determined by conditions such as load or RPM. Ideal for applications requiring different boost settings, such as varying fuel types or driving conditions. + +**ETB-Style Wastegate Actuator** +Manages an electronic wastegate actuator, providing precise boost regulation beyond traditional vacuum-controlled wastegate systems. + +**General Purpose PWM 1-4** +Configures auxiliary PWM outputs for devices like fuel pumps, nitrous control, or additional fans. Each output can be individually customized for the intended purpose. + +**Electronic Throttle Body (ETB)** + +- **Bias Curve (Feed Forward)**: Defines how the throttle responds to pedal input, smoothing or sharpening throttle behavior. +- **Pedal Target**: Configures the relationship between pedal position and throttle plate movement. +- **ETB2 Trim**: Provides a trimming adjustment for the throttle target in systems equipped with **dual ETBs**, ensuring synchronization between the two throttle bodies. + +**VVT Outputs and PID** + +- **Intake Target**: Configures the target position for variable valve timing (VVT) on the intake camshaft. +- **Exhaust Target**: Configures the target position for VVT on the exhaust camshaft. These are managed through a PID control system to ensure precise camshaft operation. + +### Updated Launch Control Settings + +The **Launch Control** system ensures consistent and controlled launches by holding the engine at a specified RPM under specific conditions. Below is an updated explanation of the settings and functionalities: + +--- + +#### **Settings Overview** + +1. **Enable Launch Control**: + Toggles the activation of the launch control system. + + - Options: `true` (enabled) or `false` (disabled). + + + +2. **Activation Mode**: + Determines how launch control is activated. + + - Options: + - **Launch Button**: Activated by pressing a designated button. + - **Clutch Down**: Activated when the clutch is fully pressed. + - **Brake Pedal Activated**: Activated by pressing the brake pedal. + - **Speed Based**: Launch control is always active below the Speed Threshold, as long as other conditions (e.g., throttle position) are met. + + + +3. **Launch Button Settings**: + + - **Launch Button**: Assigns the input pin for the launch button. + - **Launch Button Inverted**: Inverts the button signal if necessary. + - **Launch Button Mode**: Configures signal behavior (e.g., `DEFAULT`, `PULLDOWN`). + + + +4. **Clutch Down Settings**: + + - **Clutch Down**: Assigns the clutch input pin if this activation mode is used. + - **Clutch Down Inverted**: Inverts the clutch signal if needed. + - **Clutch Down Mode**: Configures the clutch input behavior (`PULLDOWN`, `PULLUP`, etc.). + + + +5. **Speed Threshold (Kph)**: + Launch control is only active below this speed when using **Speed Based** or other activation modes. + +6. **Launch RPM (Rpm)**: + Sets the target RPM during launch control. For example, a value of `3000` will hold the engine at 3000 RPM. + +7. **Launch Control Window (Rpm)**: + Defines the range of RPM around the Launch RPM where the system engages corrections (e.g., ignition retard, fuel cut). + +8. **TPS Threshold**: + Specifies the minimum throttle position required to activate launch control. + +--- + +#### **Ignition Retard Options** + +- **Ignition Retard Enable**: + Toggles ignition retard during launch. + + - **Ignition Retard (Deg)**: Amount of ignition retard applied in degrees (BTDC). + - **Fuel Added (%)**: Adjusts additional fueling during ignition retard. + + +- **Smooth Retard Mode**: + Gradually applies ignition retard for smoother launches. + + - **Launch Corrections End RPM**: This defines the amount of RPM before the **Launch RPM** where corrections like ignition retard and the final ignition cut percentage complete their transition. After this point, these corrections reach their final values and remain constant until the hard cut at Launch RPM. + +--- + +#### **Hard Cut Mode** + +- **Ignition Cut**: Toggles ignition cut functionality during launch. + + - **Initial Ignition Cut (%)**: Percentage of ignition cut when launch begins. + - **Final Ignition Cut % Before Launch (%)**: Ignition cut applied just before the hard cut at Launch RPM. + + +- **Fuel Cut**: Toggles fuel cut functionality during launch control. + +--- + +#### **Launch Control States (Diagnostics)** + +The **white indicators** on the right turn red to show the current states of the launch control system, such as: + +- **isLaunchCondition**: Launch conditions are met. +- **isClutchActivated**: Clutch is engaged. +- **speedCondition**: Speed threshold is met. +- **tpsCondition**: Throttle position threshold is met. + +The **Boost Control** interface allows precise management of turbocharger or supercharger boost levels. Below is a breakdown of the settings: + +--- + +#### **Boost Control Settings Overview** + +**Enable**: +Toggles the boost control system. + +- Options: `true` (enabled) or `false` (disabled). + + +2. **Control Mode**: + Defines the method used to control boost levels. + + - Options: + - **Open Loop**: Boost is managed directly by the duty cycle specified in the boost tables or other settings without feedback. + - **Closed Loop**: Adjusts boost dynamically based on the desired target and sensor feedback + + + +3. **Output**: + Specifies the pin used to control the boost solenoid (e.g., `22C - Boost` in this example). + +4. **Output Mode**: + Configures the electrical behavior of the boost output. + +5. **Frequency (Hz)**: + The PWM frequency used to drive the boost solenoid. Typical values are between `15` and `30 Hz`. + +6. **Safe Duty Cycle (%)**: + The maximum duty cycle allowed in error conditions. This acts as a safety feature. + +#### **Boost Control Activation Thresholds** + +These thresholds define the conditions under which the boost control system becomes active. Boost control will not function until all conditions are met: + +- **No Boost Control Below RPM**: + Minimum engine speed for activating boost control. + + - Example: `2000 RPM`. + + +- **No Boost Control Below TPS (%)**: + Minimum throttle position for activating boost control. + + - Example: `30%`. + + +- **No Boost Control Below MAP (kPa)**: + Minimum manifold pressure required to activate boost control. + + - Example: `110 kPa`. + +--- + +### Boost Control Open Loop Table + +The **Boost Control Open Loop** table configures the PWM duty cycle for the boost solenoid based on engine RPM (X-axis) and a configurable secondary axis (Y-axis). In this example, the Y-axis is set to **MAP (Manifold Absolute Pressure)**, though by default, it is **TPS (Throttle Position Sensor)**. + +--- + +#### **Table Details** + +1. **Y-Axis (MAP in Example)**: + + - Represents the selected secondary parameter for tuning boost. Common options include: + - **MAP (Manifold Absolute Pressure):** Used for tuning based on engine load and boost levels. + - **TPS (Throttle Position Sensor):** Used for throttle-based boost control. + - In this example, MAP ranges from `60 kPa` (vacuum) to `220 kPa` (boost pressure). + + + +2. **X-Axis (RPM)**: + + - Represents engine RPM, ranging from idle (`1000 RPM`) to high engine speeds (`7000 RPM`). + + + +3. **Cell Values (Duty Cycle)**: + + - Each cell determines the duty cycle (%) applied to the boost solenoid. + - Higher duty cycle values increase boost pressure, while lower values decrease it. + +--- + +#### **Key Notes for Open Loop Tuning** + +1. **Axis Configuration**: + + - The Y-axis can be switched between MAP, TPS, or other parameters depending on your tuning needs. The flexibility of this configuration allows for different boost control strategies. + + + +2. **Boost Curve Adjustment**: + + - Lower RPMs or MAP/TPS values generally require lower duty cycles (e.g., `0%` to `30%`) to prevent over-boosting during turbo spool-up. + - At higher RPMs or MAP values, duty cycles typically increase (e.g., `40%` to `80%`) to sustain or achieve desired boost levels. + + + +3. **Safe Practices**: + + - Start with conservative duty cycles in all cells and gradually increase values during tuning to prevent excessive boost. + + + +4. **Closed Loop Transition**: + + - In systems that transition to closed-loop boost control, this table serves as the baseline. Closed-loop settings use feedback to refine control dynamically. + +![][image42] + +### General Purpose PWM Table + +The **General Purpose PWM Table** (GP PWM) allows configuring Pulse Width Modulation (PWM) outputs for custom control scenarios. This table is highly versatile and can be used for applications like reverse lockouts, cooling fans, or additional auxiliary systems. + +--- + +#### **Configuration Options** + +1. **Output**: + + - Specifies the output pin to control. Set to `NONE` if the PWM feature is not being used. + + + +2. **Frequency (Hz)**: + + - Sets the operating frequency of the PWM signal. + - Set to `0 Hz` if using the output in an on/off mode (not variable). + + + +3. **Duty Cycle Thresholds**: + + - **On Above Duty (%)**: The output is activated when the duty cycle exceeds this value. + - **Off Below Duty (%)**: The output is deactivated when the duty cycle drops below this value. + - **Duty if Error (%)**: Sets the fallback duty cycle in case of an error. + + + +4. **X and Y Axes**: + + - Define the parameters for the table axes, such as **RPM**, **MAP**, **TPS**, or custom inputs. + - In this example, the **X-axis** is set to **RPM**, and the **Y-axis** is set to **Zero**. + + + +5. **Duty Cycle Table**: + + - The table allows configuring duty cycle values based on the selected X and Y axes. + - Example: The highlighted `100%` duty cycle in the table could be used for specific conditions like engaging a reverse lockout mechanism. + +--- + +#### **Notes for Use** + +- This table can adapt to a wide range of applications: + - Control solenoids or actuators (e.g., boost solenoids, lockouts). + - Operate fans or auxiliary pumps based on environmental conditions. +- The example shows a **note** specifying "reverse lockout," indicating its use to manage the activation of a reverse gear safety mechanism. + +--- + +### Electronic Throttle Body (ETB) Settings + +The **Electronic Throttle Body (ETB)** configuration provides control over drive-by-wire throttle systems, enabling precise throttle control and customization for various applications. + +--- + +#### **Main ETB Configuration** + +1. **Disable ETB if Engine is Stopped**: + + - When enabled (`true`), the ETB is disabled when the engine is not running to conserve power and prevent unintentional movement. + + + +2. **Disable ETB Motor**: + + - When set to `true`, the throttle motor is disabled. Used for testing or diagnostics. + + + +3. **H-Bridge \#1 and \#2 Functions**: + + - Assigns control of **Throttle 1** and **Throttle 2** for dual ETB setups or single ETB management. + + + +4. **PWM Frequency (Hz)**: + + - Defines the frequency for throttle motor control. Commonly set to 1000 Hz for optimal response. + + + +5. **Minimum/Maximum ETB Position (%)**: + - Restricts the range of throttle plate movement. + - Example: Set **1% to 100%** to define the fully closed and open positions +6. **Jam Detection Error Max (%)** and **Timeout Period (sec)**: + - Sets thresholds for detecting and reacting to throttle plate jams. + - The "Temporarily Disable Jam Detection" button disables detection for testing purposes until the next power cycle. + +#### **ETB Idle** + +- **ETB Idle Maximum Angle (%)**: + - Defines the maximum throttle angle allowed during idle control. + +#### **PID Settings** + +- Proportional (`pFactor`), Integral (`iFactor`), and Derivative (`dFactor`) gains are adjustable for precise throttle control. +- **PID Min/Max**: + - Limits for PID output to avoid excessive or insufficient corrections. +- **iTerm Min/Max**: + - Boundaries for the integrative term to stabilize control without overshooting. + +#### **PID Autotune** + +1. **Step 1**: + - Auto-calibrate TPS to learn the fully open and closed positions. + - Hit `Burn` after calibration to save settings. +2. **Step 2**: + - Use `Start ETB PID Autotune` to let the system automatically fine-tune PID values based on throttle response. + - Stop the process when adjustments are complete, after about 30 seconds. + +--- + +This section allows tuning the ETB system for smooth and accurate throttle control. If you're running dual throttle bodies (e.g., twin ETBs), ensure both are configured correctly under H-Bridge functions. + +### ETB Pedal to TPS Table + +This table defines the relationship between **pedal position** (input) and **throttle position sensor (TPS)** output based on engine RPM. + +--- + +#### **Explanation** + +1. **Columns** (X-Axis): + Represent engine **RPM** values ranging from idle to the redline (e.g., 500 to 7000 RPM). + +2. **Rows** (Y-Axis): + Represent **pedal position** as a percentage from 0% (no pedal input) to 100% (full pedal input). + +3. **Cells**: + Define the throttle opening percentage for each combination of pedal position and engine RPM. + + - Example: At 50% pedal input and 1500 RPM, the throttle opens to **29%**. + +--- + +#### **Notable Features** + +- **Nonlinear Throttle Response**: + Allows for custom throttle response curves based on user preference or engine requirements. + + - Example: At lower pedal positions, throttle openings can be reduced for smoother driving. + + +- **High RPM Full Opening**: + At higher RPMs and full pedal input, throttle position is usually set to 100% for maximum engine output. + +--- + +#### **Tuning Notes** + +- **Smoothness**: Ensure gradual transitions between cells to prevent abrupt throttle behavior. +- **RPM Dependency**: Adjust the table for specific engine characteristics or driving scenarios. For example, turbocharged engines may benefit from limiting throttle opening at lower RPMs to manage boost. + +![][image43] + +### VVT Configuration & PID + +This menu configures **Variable Valve Timing (VVT)** settings for intake and exhaust camshafts. + +--- + +#### **Configuration Section** + +1. **Activation Delay (ms)**: + Sets the delay before VVT activation after the engine meets the specified conditions. In this example, it’s set to **6000 milliseconds (6 seconds)**. + +2. **Do Not Control Below RPM**: + Prevents VVT control below a specific RPM. + + - Example: **550 RPM** ensures no VVT engagement during cranking or idle. + + + +3. **VVT Solenoid Assignments**: + Assigns control pins for the following solenoids: + + - **Bank 1 Intake/Exhaust** + - **Bank 2 Intake/Exhaust** + + + +4. **Cam Control Directions**: + Specifies the camshaft adjustment direction (e.g., advance or retard) for both **intake** and **exhaust** cams. + +--- + +#### **Intake and Exhaust PID Settings** + +These parameters fine-tune the control of the VVT solenoids: + +1. **Offset**: + Compensates for mechanical inaccuracies in camshaft positioning. + +2. **PID Values**: + + - **P (Proportional)**: Adjusts the solenoid duty cycle based on the magnitude of the error. + - **I (Integral)**: Addresses accumulated error over time for smoother adjustments. + - **D (Derivative)**: Reacts to the rate of error change, reducing overshooting. + + + +3. **Min/Max**: + Defines the **maximum and minimum solenoid duty cycle** limits. + + - Example: **10 to 90%** ensures the solenoids operate within safe ranges to avoid overloading or insufficient movement. + + + +4. **Bench Testing Options**: + Manual testing allows direct control of the solenoids for: + + - **Bank 1** + - **Bank 2** + +--- + +#### **Tuning Notes** + +- Proper **RPM thresholds** prevent VVT interference with idle or cranking operations. +- Carefully adjust **PID values** to match the specific solenoid and camshaft behavior for optimal performance. +- Use **bench testing** to verify solenoid connections and camshaft movement before engine operation. + +**VII. Sensors Button in TS** +![][image44] + +### Sensors Configuration + +The **Sensors** dropdown menu provides access to configure specific sensors for your ECU setup. Each option is dedicated to a particular sensor or type of measurement and allows fine-tuning of sensor parameters. + +--- + +#### **Available Configuration Options** + +1. **Misc Sensors**: + Configure various non-standard sensors or general-purpose inputs. + +2. **Analog Input Settings**: + Define settings for auxiliary analog inputs connected to the ECU. + +3. **CLT Sensor (Coolant Temperature)**: + Set calibration for the coolant temperature sensor, crucial for cold start enrichment and fan control. + +4. **IAT Sensor (Intake Air Temperature)**: + Configure intake air temperature sensor parameters, which help in calculating air density for fueling. + +5. **Auxiliary Temperature Sensors (1 & 2\)**: + Assign and calibrate extra temperature sensors for monitoring additional components. + +6. **TPS (Throttle Position Sensor)**: + Adjust settings for the throttle position sensor, vital for acceleration enrichment and idle control. + +7. **Accelerator Pedal Sensor**: + Set calibration for drive-by-wire systems where the pedal position is electronically monitored. + +8. **MAP Sensor (Manifold Absolute Pressure)**: + Configure the MAP sensor for load calculation, turbo boost management, or barometric correction. + +9. **MAP Sampling**: + Refine MAP sensor sampling intervals for consistent and accurate readings. + +10. **Barometric Pressure Sensor**: + Configure a barometric sensor for altitude-based fueling adjustments. + +11. **MAF Sensor (Mass Airflow)**: + Set up the mass airflow sensor to measure incoming air for fueling calculations. + +12. **MAF Transfer Function**: + Define the MAF sensor's calibration curve for converting voltage to airflow. + +13. **O2 Sensor**: + Configure oxygen sensors for monitoring air-fuel ratios. + +14. **rusEFI Wideband Controller**: + Calibrate and integrate a wideband O2 controller for precise AFR tuning. + +15. **VR Sensor Threshold**: + Adjust parameters for VR (Variable Reluctance) sensors, typically used for crankshaft and camshaft position detection. + +16. **Vehicle Speed Sensor**: + Set up the speed sensor for determining vehicle speed, used in advanced control features like launch control or boost management. + +17. **Oil Pressure Sensor**: + Configure settings for monitoring engine oil pressure to prevent damage. + +18. **Oil Temperature Sensor**: + Set calibration for tracking oil temperature for safety and performance monitoring. + +19. **Fuel Pressure Sensor**: + Configure the sensor to ensure consistent fuel delivery under different loads. + +20. **Fuel Temperature Sensor**: + Set up the sensor for monitoring fuel temperature, which can affect density and flow. + +21. **Fuel Level Sensor**: + Adjust calibration for the fuel level sensor to display accurate readings. + +22. **Ambient Temperature Sensor**: + Configure the sensor for environmental temperature monitoring. + +23. **Compressor Discharge Temp**: + Set up this sensor to monitor turbocharger/intercooler output temperatures. + +24. **Wastegate and Idle Position Sensors**: + Calibrate wastegate or bypass valve position sensors for boost management. + +25. **A/C Pressure Sensor**: + Configure the sensor for air conditioning system monitoring. + +26. **Aux Sensors**: + Additional customizable sensor inputs for monitoring various components or systems. + +--- + +### **Usage Notes** + +- Each sensor dialog provides detailed configuration options for **calibration curves**, **thresholds**, and **functional assignments**. +- Ensure proper calibration using the manufacturer's specifications to avoid inaccurate readings or performance issues. + +### Other Sensor Inputs + +The **Other Sensor Inputs** dialog allows configuring additional sensors that play a role in specialized engine control or advanced features. These include inputs for clutch, brake, throttle, turbo, and various pressure-related sensors. Below is a breakdown of the available configurations: + +--- + +#### **Sensor Input Options** + +1. **Clutch Down** + + - **Signal**: Assign the pin and input type for detecting when the clutch is fully depressed. + - **Mode**: Options include **Pull-up** or **Pull-down** to configure the signal polarity. + - **Signal Polarity**: Can be set to **Normal** or **Inverted**, depending on how the sensor operates. + + + +2. **Clutch Up** + + - **Signal**: Configure the pin for detecting when the clutch is fully released. + - **Mode**: Similar to clutch down, this can be set to **Pull-up** or **Pull-down**. + - **Signal Polarity**: Choose between **Normal** and **Inverted**. + + + +3. **Throttle Up Switch** + + - Assigns a signal for throttle actuation when a secondary input is needed. + + + +4. **Brake Pedal** + + - **Signal**: Detects brake pedal activation. + - **Mode**: Configures signal polarity for brake inputs (e.g., Pull-up or Pull-down). + - **Signal Polarity**: Options include **Normal** or **Inverted**. + + + +5. **Flex Fuel Sensor** + + - Assigns the signal for ethanol content monitoring to enable dynamic fuel adjustments. + - **Signal Type**: Configures the expected input format (e.g., Pull-up or Pull-down). + + + +6. **Turbo Speed Sensor** + + - Assigns the sensor input for turbocharger RPM monitoring. + - **Turbo Speed Multiplier**: Allows calibration based on the specific turbocharger setup. + + + +7. **Throttle Inlet Pressure Sensor** + + - Configures a dedicated pressure sensor for measuring manifold pressure before the throttle body. + + + +8. **Compressor Discharge Pressure Sensor** + + - Calibrates a sensor for monitoring the output pressure from the turbocharger or supercharger. + +--- + +### **Usage Notes** + +- **Signal Polarity (Normal/Inverted)**: When configuring inputs with a **Normal/Inverted** option, ensure the setting matches the expected behavior of your sensor. For example, an inverted signal flips the logic of the input to match the hardware wiring. +- **Flex Fuel and Turbo Sensors**: These are optional but recommended for setups requiring precise ethanol or turbocharger management. +- Proper calibration is crucial for sensors like **turbo speed** and **pressure sensors** to ensure accuracy and avoid performance issues. + +![][image45] + +### TPS and Accelerator Pedal Setup + +The **TPS (Throttle Position Sensor)** and **Accelerator Pedal Sensor (PPS)** windows are used for calibrating and configuring sensors required when using **electronic throttle bodies (ETB)**. Proper calibration in these sections is essential for the engine's functionality, as incorrect or incomplete setups can result in the ECU throwing errors and refusing to run until the issue is resolved. + +#### **TPS Setup** + +- **Ford/Toyota Redundant TPS Mode**: + + - This mode is designed specifically for certain **TPS/PPS sensors made by Ford and Toyota**, which have a different scaling compared to ordinary TPS/PPS setups. + - All TPS/PPS use redundant sensors, but this mode is required only when the second sensor exhibits an odd scaling unique to these manufacturers. Ensure this mode is enabled if such sensors are in use. + + +- **TPS/PPS Limits**: + + - **Minimum Valid Value (%)**: The lowest acceptable sensor value. + - **Maximum Valid Value (%)**: The highest acceptable sensor value. + - **Error Detection Threshold (%)**: Determines when the ECU flags a fault based on the deviation from the expected values. + + +- **Throttle Body \#1 and \#2 Sensors**: + + - Calibration involves setting the **minimum (ADC)** and **maximum (ADC)** values using the **Auto Calibrate** buttons. + - Ensure the sensor inputs are assigned correctly (e.g., TPS1 Primary, TPS1 Secondary). + - **Note**: If the calibration is incomplete or incorrect, the ECU will flag an error and refuse to function until it is cleared. + +#### **Accelerator Pedal Setup** + +- **Accelerator Position Sensor**: + - Assign inputs for the **primary** and **secondary** pedal sensors. + - Use the **Grab Up** button to record the voltage when the pedal is **not depressed**. + - Use the **Grab Down** button to record the voltage when the pedal is **fully depressed**. + - Ensure the calibration is precise; deviations can trigger ECU errors. + +#### **Important Notes** + +- **Calibration Requirement**: Both the TPS and PPS calibrations must be completed successfully for the ECU to function properly with an ETB. +- **Error Handling**: If the calibration fails or settings are incorrect, the ECU will display an error and prevent the engine from running until the issue is resolved and the error is cleared. +- These settings are **only required for ETB setups**. For traditional cable-driven throttle setups, these configurations are not applicable. + +### O2 Sensor Configuration + +The **O2 Sensor** window allows the configuration of **CAN wideband units** or **analog-input-based sensors**, providing flexibility for a variety of setups. + +#### **CAN Wideband Configuration** + +- **Enable CAN Wideband**: + + - Works with **AEM** or **Mazduino wideband units** wired through CAN. + - Select the **CAN bus channel** the wideband is connected to. + - If channels are swapped, enable **Swap Channels 1 and 2**. + - The **Force O2 sensor heating** option can override automatic heating control, though it is typically set to "No." + + +- **CAN Indicators**: + + - Display the operational status of the wideband system. + - Green indicators signify proper operation (e.g., Heating Allowed, Communication OK). + - Red indicators highlight issues, such as heating failures or sensor underheating/overheating. + +#### **Analog Input Configuration** + +- **O2 Sensor I/O**: + + - **Input Channel**: Select the analog input connected to the sensor. + - **Heater Output**: Specify the output channel for the heater control. + +### O2 Type Options + +The **O2 Type** dropdown allows you to configure the type of O2 sensor used for analog inputs. Below is a breakdown of the options available: + +- **Custom**: Enables manual configuration of the sensor's voltage-to-AFR scaling. You can define: + - **Low Voltage (Volts)**: The minimum voltage the sensor outputs. + - **Low Value (AFR)**: The AFR corresponding to the low voltage. + - **High Voltage (Volts)**: The maximum voltage the sensor outputs. + - **High Value (AFR)**: The AFR corresponding to the high voltage. + + +- **BP SX**: Predefined scaling for BP SX wideband sensors. +- **Innovate**: Predefined scaling for Innovate wideband controllers. +- **14Point7**: Predefined scaling for 14Point7 wideband sensors. +- **PLX**: Predefined scaling for PLX wideband controllers. +- **Narrow Band**: For traditional narrowband O2 sensors. Limited to stoichiometric switching behavior. +- **AEM**: Predefined scaling for AEM wideband controllers. + +### Setting the Correct Option + +- Select the **appropriate predefined type** if using a common wideband unit for automatic scaling. +- Use **Custom** only if your sensor type isn't listed or if you need precise scaling adjustments. Enter the sensor’s voltage and AFR data in the fields provided. +- Choosing the wrong type or incorrect scaling will result in inaccurate AFR readings, which can lead to tuning errors. + +#### **Notes** + +- Proper scaling ensures accurate AFR (Air-Fuel Ratio) readings for both wideband and narrowband sensors. +- When using a CAN-based wideband, the analog input configurations in the lower sections are not needed. Conversely, for analog sensors, the CAN configurations and indicators are ignored. + +### VR Sensor Threshold + +This screen is used to configure **Voltage Reference (VR) Sensor Thresholds** for discrete VR sensor inputs, which are available only in wire-in Mazduino units. VR sensors are commonly used for crankshaft and camshaft position sensing. + +#### Configuration + +- **VR 1 Threshold**: + + - Defines the voltage threshold for the primary VR sensor at different RPM values. + - The ECU uses these thresholds to accurately detect zero-crossings of the VR signal, ensuring precise timing measurements. + - The table and graph allow adjustment for varying voltage levels at specific RPMs. + + +- **VR 2 Threshold**: + + - Configures the voltage threshold for the secondary VR sensor (if applicable). + - Similar to VR 1, adjustments ensure accurate detection and signal processing for the secondary VR input. + +#### Important Notes + +- **Wire-in Only**: This feature is exclusive to wire-in ECUs and is not available in plug-and-play units. +- **Calibration**: Proper calibration of these thresholds is critical to prevent false signal detection or missed pulses, especially at high RPMs. +- **Adjustments**: Ensure the VR sensor's output voltage aligns with the thresholds set in the table for accurate operation. Use a scope if necessary to observe the VR waveform and verify the settings. + +Correctly configuring VR thresholds ensures optimal operation of the ignition and timing systems, especially in high-performance or custom setups where VR sensors are commonly used. + +![][image46] + +### Speed Sensor Configuration + +This screen is used to configure the speed sensor settings and calculate vehicle speed or detect gears based on input signals. + +#### Speed Sensor Settings + +1. **Input**: + + - Select the input pin for the speed sensor signal. In the example, "3B/4B \- VR2" is used, indicating a VR-based speed sensor. + + + +2. **Filter Parameter**: + + - Specifies the filtering applied to the speed sensor signal. A higher value smooths out noisy signals but may reduce responsiveness. + + + +3. **Wheel Revolutions per Kilometer (revs/km)**: + + - Determines the number of wheel rotations required to travel one kilometer. This value depends on the tire size and must be accurate for correct speed calculation. + + + +4. **Speed Sensor Gear Ratio**: + + - Specifies the gear ratio of the speed sensor to the wheels. This is commonly used in vehicles where the speed sensor is mounted on the gearbox. + + + +5. **Speed Sensor Tooth Count**: + + - The number of teeth or pulses generated per revolution by the speed sensor. This value is critical for accurate speed computation. + +#### CAN Vehicle Speed + +1. **Enable CAN VSS**: + - Enables the use of a CAN-based Vehicle Speed Sensor (VSS) instead of a direct speed sensor input. + + + +2. **CAN VSS Type**: + - Selects the vehicle type for CAN-based speed data (e.g., BMW e46 in the example). + + + +3. **CAN VSS Scaling (ratio)**: + - Adjusts the scaling factor for the CAN VSS data to match the actual speed. + +#### Gear Detection Settings + +1. **Wheel Revolutions per Kilometer (revs/km)**: + - Used again here to calculate speed for gear detection. + + + +2. **Final Drive Ratio**: + - Specifies the ratio between the driveshaft and the wheels. This is required for accurate gear calculation. + + + +3. **Forward Gear Count**: + - The number of forward gears available. In this example, six gears are configured. + + + +4. **Gear Ratios**: + - Defines the gear ratios for each gear. These ratios are used to calculate and detect which gear is engaged based on the vehicle speed and engine RPM. + +#### Key Notes + +- **Accuracy**: Proper configuration of all parameters is essential for accurate speed and gear detection. +- **Calibration**: Ensure tire size and gear ratios are measured or verified to avoid errors in speed and gear calculations. +- **CAN VSS**: When using CAN for vehicle speed, ensure the network is configured and operational to avoid fallback to incorrect speed readings. + +### Fuel Pressure Sensor Configuration + +This screen allows you to configure fuel pressure sensors for both low-pressure and high-pressure systems.Fuel Low Pressure Sensor + +1. **Fuel Low Pressure Input**: + - Selects the analog input channel connected to the low-pressure fuel sensor. If no sensor is used, leave it set to `NONE`. + + + +2. **Low Voltage (volts)**: + - Defines the voltage corresponding to the lowest measurable pressure from the sensor. + + + +3. **Low Pressure**: + - Specifies the actual pressure (in kPa or another unit) corresponding to the sensor’s lowest voltage. + +4. **High Voltage (volts)**: + - Defines the voltage corresponding to the highest measurable pressure from the sensor. + + + +5. **High Pressure**: + - Specifies the actual pressure (in kPa or another unit) corresponding to the sensor’s highest voltage. + + + +6. **Sensor Type**: + - Indicates whether the sensor provides an *Absolute* or *Gauge* reading. Absolute includes atmospheric pressure in its measurement, while Gauge measures only above atmospheric pressure. + +#### Fuel High Pressure Sensor (GDI Specific) + +1. **Fuel High Pressure Input**: + - This input is specifically used for *Gasoline Direct Injection (GDI)* systems, which require high-pressure fuel management. Leave it set to `NONE` if not applicable. + + + +2. **Low Voltage (volts)**: + - Defines the voltage corresponding to the lowest measurable pressure for the high-pressure sensor. + + + +3. **Low Pressure**: + - Specifies the actual pressure (in bar or another unit) corresponding to the lowest voltage. + + + +4. **High Voltage (volts)**: + - Defines the voltage corresponding to the highest measurable pressure for the high-pressure sensor. + + + +5. **High Pressure**: + - Specifies the actual pressure (in bar or another unit) corresponding to the highest voltage. + +#### Important Notes + +- **Calibration**: Proper configuration of low and high voltages with their corresponding pressures ensures accurate sensor readings. +- **Raw Voltage Readout**: The gauges on the right display real-time raw voltage signals from the connected sensors. +- **Sensor Type**: Ensure the correct sensor type (Absolute or Gauge) is selected to avoid misinterpretation of data. +- **High Pressure**: The *High Pressure* section is **only applicable to GDI systems**. Traditional port-injected systems do not utilize this feature. + +**IIX. CANBUS Button in TS** + +- ![][image47] + +### CAN Bus Menu Overview + +- **CAN Bus Settings** \- Configure the CAN network's baud rate, IDs, and message priorities for communication with external devices. +- **CAN Vehicle Speed Sensor** \- Set up vehicle speed data received through a CAN-based speed sensor. +- **CAN O2 Sensors** \- Enable and configure wideband oxygen sensors communicating over the CAN network. +- **CAN EGT Sensors** \- Assign and scale CAN-based exhaust gas temperature (EGT) sensors. +- **CAN MS IO-Box Settings** \- Configure external IO boxes to expand inputs and outputs via the CAN network. + +### CAN Bus Communication Settings + +1. **CAN Dash Type** \- Choose the type of dashboard connected via CAN. Options include None, custom dashboards, or predefined dashboards like those used in motorsports, enabling compatibility with external displays. +2. **Inertia Measurement Unit** \- Select an external IMU device if one is used. This setting allows integration of accelerometers and gyroscopes for advanced vehicle motion sensing, commonly used in race cars. +3. **CAN Read Enabled** \- Enables the ECU to receive and process data from devices on the CAN bus, such as dash displays or external sensors. +4. **CAN Write Enabled** \- Allows the ECU to transmit data, enabling interaction with dashboards, logging devices, or other control systems. +5. **Enable rusEFI CAN Broadcast** \- Sends standard-format data periodically over the CAN bus for connected devices. +6. **Enable Extended rusEFI CAN Broadcast** \- Broadcasts additional rusEFI-specific data for expanded integration options, useful for advanced setups like custom CAN integrations. +7. **rusEFI CAN Data Bus** \- Defines whether the data broadcast occurs on the first or second CAN bus, accommodating dual-bus systems. +8. **rusEFI CAN Base Address** \- The starting memory address for transmitted data on the CAN network. Adjust if conflicts occur with other devices. +9. **rusEFI CAN Data Address Type** \- Choose between 11-bit (standard) or 29-bit (extended) CAN address formats based on network requirements. Extended addressing is used in systems with more devices. +10. **rusEFI CAN Data Period (ms)** \- Determines the frequency of rusEFI data broadcasting. For instance, a setting of 50 ms results in data transmission every 50 milliseconds. +11. **Primary CAN Verbose** \- Configure the level of debugging messages for the Primary CAN bus. Useful for diagnosing communication issues. +12. **Primary CAN Bitrate** \- Set the communication speed of the Primary CAN bus. Default is 500 kbps, but lower or higher rates might be required for specific setups. +13. **Primary CAN Allow OpenBLT** \- Enables compatibility with OpenBLT bootloader, allowing firmware updates over the Primary CAN bus. +14. **Secondary CAN Verbose** \- Same as the Primary CAN Verbose but applies to the Secondary CAN bus. +15. **Secondary CAN Bitrate** \- Adjusts the speed of the Secondary CAN bus, matching it to connected devices’ requirements. +16. **Secondary CAN Allow OpenBLT** \- Allows firmware updates over the Secondary CAN bus using OpenBLT, useful for setups with multiple networks. + +**IX. Controller Button in TS** + +Here is the revised explanation of each option in the **Controller** dropdown: + +1. **ECU Stimulator**: Simulates various inputs to test ECU functionality without a running engine. +2. **Bench Test**: Allows testing of outputs, such as injectors and ignition coils, for troubleshooting or setup. +3. **Injector Test**: Provides a controlled way to test injector performance and flow rates. +4. **Popular Vehicles**: Predefined configurations for common vehicles, simplifying initial setup. +5. **rusEFI Console**: A terminal interface for detailed debugging and advanced configuration. +6. **SD Card Logger**: Manages onboard logging settings for data storage and retrieval. +7. **Connection**: Configures connection parameters between the ECU and software, such as baud rate. +8. **Full Pinout (1/3, 2/3, 3/3)**: Displays complete pinout details for wire-in ECUs for hardware reference. +9. **Fancy Board**: Available on wire-in ECUs, this is used to configure flexible I/O settings. +10. **Traction Control ETB Drop**: Reduces throttle position to manage wheel slip during traction control events. +11. **Traction Control Timing Adjustment**: Adjusts ignition timing dynamically for wheel slip control. +12. **Traction Control Skip Ignition**: Skips ignition events to reduce engine power and manage traction. +13. **Experimental 1, 2, 3**: Advanced testing features for developers and experimental setups. +14. **Anti-Lag ALS**: Configures anti-lag systems for turbocharged engines to maintain boost pressure. +15. **Rotary**: Enables rotary-specific engine control configurations. +16. **Throttle Effective Area**: Calibrates the effective area of the throttle body for airflow modeling. + +We will focus on **Bench Test**, **Fancy Board**, and **Traction Control**, as they are relevant to most users, while the remaining options are advanced or specialized. + +The **Bench Test & Commands** dialog contains multiple groups of buttons, each allowing you to test specific outputs by pulsing them according to the configured settings: + +1. **Spark Test**: Pulses ignition outputs. +2. **Injector Test**: Pulses injector outputs. +3. **TCU Solenoid Test**: Pulses transmission control solenoids (if available). +4. **Lua Out Test**: Pulses Lua-configured outputs. +5. **Miscellaneous Commands**: Activates specific functions like testing A/C relays, idle air valves, stopping the engine, rebooting the ECU, or resetting configurations. + +The configurable settings allow precise control over these tests: + +- **Count**: Specifies how many pulses will be generated. For example, setting this to 3 will result in 3 pulses. +- **On Time (ms)**: Determines how long each output stays active per pulse. For instance, a setting of 4 ms will activate the output for 4 milliseconds. +- **Off Time (ms)**: Specifies the duration of inactivity between pulses. For example, setting this to 500 ms will create a 500-millisecond delay before the next pulse. + +These controls ensure consistent and repeatable testing of outputs for diagnostic and validation purposes. + +**Fancy Board:** + +- **With Pull-Up**: Adds an internal pull-up resistor to the circuit, pulling the signal line to a high voltage (typically 5V) when no active signal is present. This is suitable for sensors or switches that pull the signal low when triggered. + +- **With Pull-Down**: Adds an internal pull-down resistor, pulling the signal line to ground when no active signal is present. This is ideal for sensors or switches that drive the signal high when activated. + +- **VR**: Allows switching an input between two-wire VR (Variable Reluctance) sensor mode and Hall input mode. VR sensors generate an AC signal and require specialized processing, while Hall sensors generate a digital on/off signal. Selecting the correct mode ensures the input processes the signal type accurately. + +**Traction Control Tables Overview:** + +1. **Y-Axis (Slip Ratio)**: Represents the detected amount of wheel slip. A value of `1.0` indicates no slip, while values above `1.0` (e.g., `1.1`) indicate slip (e.g., `1.1` represents 10% slip). +2. **X-Axis (Vehicle Speed)**: Represents the vehicle's speed in kilometers per hour. +3. **Timing Drop Table**: Removes ignition timing by the positive value specified in the table when slip is detected. The larger the value, the more timing is reduced. +4. **ETB Drop Table**: Commands a throttle reduction (ETB \= Electronic Throttle Body) by the negative values specified. Higher negative numbers mean a greater throttle reduction. +5. **Ignition Skip Table**: Skips ignition events by the percentage specified in the table (e.g., `50%` skips half of the ignition events). +6. **Consecutive Ignition Skips (Dropdown)**: Allows control over skipping consecutive ignition events. When set to `true`, two or more ignition events can be skipped in succession, which is recommended in most cases for effective traction control. When set to `false`, consecutive skips are disallowed. + +**X. Troubleshooting** + +### Troubleshooting and Diagnostics for Mazduino + +This section provides a comprehensive guide to identifying and resolving common issues encountered during the operation of the Mazduino. Each issue includes symptoms, potential causes, and recommended solutions to ensure proper functionality. + +--- + +### **Common Issues and Resolutions** + +#### **1\. No RPM Signal** + +- **Symptoms**: Engine does not start; RPM gauge remains at zero during cranking. +- **Possible Causes**: + - Crankshaft or camshaft sensors improperly positioned. + - Faulty or disconnected wiring to the sensors. + - Incorrect sensor type or configuration in the software. +- **Solutions**: + - Verify proper installation of crank and cam sensors, ensuring correct alignment and gap. + - Check for damaged or loose wiring and secure all connections. + - Confirm the correct sensor type (Hall or VR) and configuration in the Mazduino software. + +--- + +#### **2\. Wideband O2 Sensor Reading Incorrect** + +- **Symptoms**: AFR readings are inaccurate or not displayed. +- **Possible Causes**: + - Incorrect sensor scaling configured in the software. + - Faulty wiring or grounding for the wideband sensor. + - CAN or analog signal misconfiguration. +- **Solutions**: + - Verify the sensor type and input scaling in the Mazduino software (e.g., AEM, PLX, or Custom). + - Inspect power and ground connections to the wideband controller. + - Confirm the correct CAN ID or analog input channel configuration. + +--- + +#### **3\. Engine Misfires or Runs Rough** + +- **Symptoms**: Rough idle, hesitation during acceleration, or misfiring under load. +- **Possible Causes**: + - Incorrect ignition or fuel timing settings. + - Faulty or incorrectly gapped spark plugs. + - Injector or coil driver failure. +- **Solutions**: + - Use a timing light to verify ignition timing aligns with the configured base timing. + - Inspect and replace spark plugs if worn or improperly gapped. + - Perform a bench test to verify injector and ignition outputs. + +--- + +#### **4\. Sensor Voltage Out of Range** + +- **Symptoms**: Sensor error warnings in diagnostics; erratic or no sensor readings. +- **Possible Causes**: + - Faulty sensor wiring or grounding. + - Calibration mismatch between the sensor and ECU. + - Sensor malfunction or damage. +- **Solutions**: + - Check sensor wiring for continuity and proper grounding. + - Use the raw sensor voltage signals in the diagnostics menu to confirm readings. + - Replace the sensor if defective. + +--- + +#### **5\. Fuel Pressure or Oil Pressure Alerts** + +- **Symptoms**: Low-pressure warnings or engine shutdown under load. +- **Possible Causes**: + - Mechanical failure in fuel or oil delivery systems. + - Misconfigured pressure sensor thresholds. + - Faulty pressure sensors. +- **Solutions**: + - Inspect fuel pumps, filters, and oil pumps for mechanical issues. + - Adjust pressure thresholds in the Mazduino software to match system specifications. + - Replace malfunctioning sensors. + +--- + +#### **6\. Throttle Calibration Errors** + +- **Symptoms**: ETB (Electronic Throttle Body) fails to calibrate; throttle response issues. +- **Possible Causes**: + - Incorrect or incomplete TPS and PPS calibration. + - Faulty throttle or pedal position sensors. + - Wiring or power supply issues. +- **Solutions**: + - Perform TPS and PPS calibration as outlined in the setup section. + - Replace faulty sensors if calibration fails. + - Ensure wiring and connectors are intact and properly powered. + +--- + +### **Diagnostic Tools and Features** + +1. **Raw Sensor Voltage Signals**: + Use the Mazduino software's diagnostics menu to monitor real-time voltage signals from sensors. These readings help validate sensor functionality and detect wiring or configuration issues. + +2. **Built-In Hardware LEDs**: + Certain Mazduino units feature onboard LEDs that provide visual feedback for critical systems like power, communication, and output activation, aiding in quick troubleshooting. + +3. **Remote Assistance**: + If troubleshooting efforts are unsuccessful, Mazduino supports remote assistance through tools like **AnyDesk**. This allows a professional technician to remotely diagnose and resolve complex issues. + +--- + +### **General Tips** + +- Back up your configuration files regularly to avoid data loss. +- Use the built-in diagnostics menu to reset error codes after resolving issues. +- For persistent problems, contact Mazduino support or use remote assistance for additional help. + +This guide ensures a methodical approach to troubleshooting your Mazduino system, using available diagnostic tools for reliable performance. + +**XI. Warranty** +**Warranty Terms for Mazduino** + +**Limited Warranty** + +Mazduino warrants to the original purchaser that its Mazduino products are free from defects in material and workmanship for a period of one year from the date of original purchase. This warranty applies only to products manufactured by Mazduino and excludes sensors or other products distributed but not manufactured by Mazduino. To make a warranty claim, the original purchaser must provide proof of purchase from an authorized reseller. + +**What Is Covered** + +If a product is found to be defective within the warranty period, Mazduino will, at its discretion, repair or replace the product at no cost to the purchaser. All products alleged to be defective must be returned to Mazduino, postage prepaid, within the one-year warranty period. If a replacement is provided, it may be a new or refurbished unit of the same or similar design. The repaired or replaced product will be warranted for the remainder of the original warranty period. + +**What Is Not Covered** + +This warranty does not cover: + +- Sensors or other products not manufactured by Mazduino. +- Damage resulting from shipping, accidents, installation errors, unauthorized adjustments or repairs, unauthorized third-party service, failure to follow instructions, misuse, fire, flood, acts beyond our control, or acts of God. +- Labor or other costs incidental to the repair and/or replacement of products or parts. + +**Customer Responsibilities** + +To obtain warranty service, the customer must: + +1. Contact Mazduino's service department to obtain warranty service instructions. +2. Obtain a Return Merchandise Authorization (RMA) number by emailing [support@mazduino.com](mailto:support@mazduino.com). +3. Return the product, freight prepaid, to the warranty department with a completed warranty request form. + +The customer is responsible for the shipping cost to return the unit if it does not qualify as a warranty claim. It is also the customer's responsibility to save any maps or log files, as Mazduino is not responsible for lost or erased data. + +**Limitation of Liability** + +This warranty is limited to defects in material or workmanship of the product. It does not cover loss of time, inconvenience, property damage, or any consequential damages. Repair or replacement of the unit is the sole remedy. No refunds will be provided by Mazduino for the price of the equipment. By sending the unit to us, you agree to the terms of this limited warranty. + +**Additional Information** + +Mazduino reserves the right to request additional information, such as tune-up and log files, to evaluate a claim. Violation of the product seal voids the warranty and results in the loss of access to upgrade releases. + +For detailed warranty information and to download the warranty request form, please visit our Warranty/Repair page. + +**XII. Examples** + **Map Switching** + +### **Map Switching Overview** + +1. **Wiring the Switch** + To enable map switching, you need to connect a physical switch between the ECU's \+5V pin and an available analog input pin (e.g., one of the Aux Linear Sensors shown in the image). + + * When the switch is **off**, the analog input reads 0V. + * When the switch is **on**, the analog input reads \+5V. + * Calibrate it as the following image, which means that anything under 3v is regarded as 0, and anything over 3.5v is regarded as 1\. + + + + + +2. Choose the blend table you desire to use +3. Set the blend bias as in the following image + + **Blend Parameter Source** + The **Blend Parameter** is set to the analog input (e.g., **Aux Linear 1**) where the switch is wired. This input determines how much of the blend table is mixed into the base table. + + * When the switch is **off** (0V), the parameter value is at the minimum (0), and the ECU uses the "Bias" value defined in the table (e.g., 0% blend). + * When the switch is **on** (5V), the parameter value reaches its maximum (e.g., 1.0 in this configuration), and the ECU uses **100% of the blend table**. + +**How the Bias Table Works** + +* The **Bias Table** defines the percentage of the blend table to be applied. + * At **Param \= 0**, the bias value is **0%**, meaning no blend is applied, and the base table remains active. + * At **Param \=1.0**, the bias value is **100%**, meaning the ECU fully uses the blend table. + +**Practical Example** + +* **Switch Off (0V):** The blend table is ignored (0% bias). + * **Switch On (5V):** The blend table is fully applied (100% bias). + * In this VE blend, when the switch is not activated, the table is ignored. Once the switch is activated, this table directly adds to the base VE table, meaning that if the switch is activated and we’re at 4000RPM with 80% load, we will add 10% VE to the main fueling calculation. + + + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: + +[image7]: + +[image8]: + +[image9]: + +[image10]: + +[image11]: + +[image12]: + +[image13]: + +[image14]: + +[image15]: + +[image16]: + +[image17]: + +[image18]: + +[image19]: + +[image20]: + +[image21]: + +[image22]: + +[image23]: + +[image24]: + +[image25]: + +[image26]: + +[image27]: + +[image28]: + +[image29]: + +[image30]: + +[image31]: + +[image32]: + +[image33]: + +[image34]: + +[image35]: + +[image36]: + +[image37]: + +[image38]: + +[image39]: + +[image40]: + +[image41]: + +[image42]: + +[image43]: + +[image44]: + +[image45]: + +[image46]: + +[image47]: \ No newline at end of file diff --git a/reference/manual/manual3.md b/reference/manual/manual3.md new file mode 100644 index 0000000..9fc534c --- /dev/null +++ b/reference/manual/manual3.md @@ -0,0 +1,2528 @@ +### Help Menu in TS + +1. **TunerStudio Help**: + + - Opens the main help documentation for TS. This is a valuable resource for users needing guidance on features, troubleshooting, or learning more about the software. + + + +2. **Check For Update**: + + - Allows you to manually check for software updates to ensure that TS is up-to-date with the latest features and improvements. + + + +3. **Automatic Update Check**: + + - Toggles the automatic update feature on or off. When enabled, TS will periodically check for updates and notify you when a new version is available. + + + +4. **Update Registration**: + + - Provides options to update or modify your software registration. Use this if you need to adjust registration details or upgrade your software license. + + + +5. **Remove Registration Information**: + + - Clears the stored registration details for TS. This is useful if you need to deregister the software or transfer the license to another user or device. + + + +6. **Create TunerStudio Debug Package**: + + - Generates a debug package that includes diagnostic information. This package can be sent to support for assistance with troubleshooting software or ECU-related issues. + + + +7. **About**: + + - Displays information about the current version of TS, including licensing details, credits, and other relevant information about the software. + + + +8. **rusEFI Info**: + + - Provides information specific to rusEFI configurations and features. This option may contain details on rusEFI’s capabilities or compatibility with TS. +1. **Base Engine Button in TS** + +### + +1. **Base Engine**: + + - This section contains essential settings related to the engine’s fundamental configurations, such as displacement, firing order, and other parameters crucial for proper ECU operation. + + + +2. **Limits and Protection**: + + - Allows you to set safety limits for engine parameters, such as RPM, coolant temperature, and oil pressure. This ensures the ECU can take protective actions if these values exceed safe thresholds, helping prevent engine damage. + + + +3. **Trigger**: + + - Contains settings for configuring the engine’s crankshaft or camshaft position sensor (also known as the trigger). These settings are essential for synchronizing the ECU with the engine’s rotation. + + + +4. **Advanced Trigger**: + + - This provides more detailed configurations for the trigger system, including settings for advanced triggering modes. This is usually required for engines with more complex timing needs or custom setups. + + + +5. **Trigger Gap Override**: + + - Allows you to manually set a gap override for the trigger signal. This option is useful if the standard trigger setup does not accurately detect gaps, which could affect engine timing. + + + +6. **Battery and Alternator**: + + - Manages settings related to battery charging and alternator functionality. This ensures the ECU monitors battery health and alternator performance, which is critical for overall vehicle electrical stability. + + + +7. **Outputs**: + + - Configures various ECU outputs that control engine components, such as fuel injectors, ignition coils, and auxiliary devices. These settings allow customization of how the ECU controls each output signal. + + + +8. **Air Conditioning**: + + - Controls settings for interfacing with the vehicle’s air conditioning system. This option allows the ECU to manage engine load adjustments when the AC is turned on, helping maintain stable performance. + + + +9. **Status LEDs**: + + - Allows configuration of the status LEDs on the ECU (if applicable), which can display various operational statuses or warnings directly on the ECU hardware. + +![][image23] + +### Base Engine Settings Window + +1. **Layout**: + + - This dropdown lets you choose the complexity of the settings display. For most users, especially those using the Mazduino Plug and Play lines, the **Tuning** layout is recommended as it hides some less commonly used buttons, creating a cleaner interface. However, we will explain everything using the **Full** layout in this manual to ensure clarity. + + + +2. **Engine Configuration**: + + - **Number of Cylinders**: Set the number of cylinders your engine has (e.g., 4, 6, 8). + - **Displacement (L)**: Enter the engine displacement in liters, an essential input for calculating air-fuel ratios and other tuning parameters. + - **Firing Order**: Specify the firing order of your engine. This assumes that the vehicle's wiring is directly mapped, meaning each cylinder is connected to the corresponding output number (e.g., Cylinder 1 is connected to Output 1, Cylinder 2 to Output 2, and so on). This ensures proper synchronization between the ECU and the engine. + + + +3. **Engine Metadata**: + + - These fields are primarily used by rusEFI Online and provide additional context, though they aren’t necessary for basic Mazduino functionality. + - **Engine Make**: Enter the manufacturer or brand of the engine (e.g., Toyota). + - **Manufacturer Engine Code**: Enter the engine code (e.g., 22R). + - **Vehicle Name**: A custom name for the vehicle (e.g., “DonMutado”), useful if managing multiple vehicles. + - **Forced Induction**: Toggle this option if the engine has forced induction (e.g., turbo or supercharger). + + + +4. **Fuel Strategy**: + + - Determines the method used for calculating fuel delivery. The following options are available: + - **Speed Density**: Uses intake manifold pressure (MAP) and intake air temperature (IAT) to calculate air density and fuel requirements. This is a common strategy, especially for naturally aspirated or turbocharged engines. + - **MAF Air Charge**: Relies on a Mass Air Flow (MAF) sensor to measure the amount of air entering the engine directly, making it effective for engines equipped with a MAF sensor. + - **Alpha-N**: Uses throttle position as the primary load input for fuel calculation. This strategy is generally used in engines with individual throttle bodies or those that lack a reliable MAP signal. + - **Lua**: Allows for custom fuel calculations using Lua scripting, enabling highly specific tuning applications where the other strategies don’t apply. + +![][image24] +--- + +## Limits and Protection (Base Engine Menu) + +The **Limits and Protection** submenu under **Base Engine** includes essential settings for protecting the engine by setting operational limits. This section is crucial for safeguarding the engine against conditions that could lead to damage. The available options are: + +### 1\. **Limits and Fallbacks** + +- This setting allows users to define maximum operational limits for various engine parameters, such as RPM, boost pressure, and temperature. +- When limits are reached, fallback strategies (like reducing power or triggering a safe mode) are activated to prevent damage. +- **Example**: Setting an RPM limit to ensure the engine doesn’t exceed a specified threshold, which can prevent mechanical failure. + +### 2\. **Oil Pressure Protection** + +- Monitors oil pressure levels to protect the engine from insufficient lubrication, which can cause severe damage. +- If the oil pressure falls below a safe level, this feature can activate warnings or even shut down the engine to prevent damage. +- **Note**: Ensure the oil pressure sensor is correctly calibrated within TunerStudio to ensure accurate monitoring. + +### 3\. **Lambda Protection** + +- This feature monitors air-fuel ratios (AFR) to ensure the engine operates within safe combustion parameters. +- If AFR deviates from the safe range (either too lean or too rich), it can trigger corrective actions. +- **Tip**: Lambda protection is essential for turbocharged or high-performance engines that require precise fuel control to avoid detonation or poor performance. + +![][image25] + +## Limits and Fallbacks + +### Main Options + +1. **Cut fuel on RPM limit**: When enabled, this option cuts the fuel supply when the RPM limit is reached. Cutting fuel provides a smoother limiting action; however, it may lead to slightly higher combustion chamber temperatures since unburned fuel is not present to cool the combustion process. +2. **Cut spark on RPM limit**: When selected, this option cuts the spark to limit RPM. Cutting spark can produce flames from the exhaust due to unburned fuel igniting in the exhaust system. Additionally, this unburned fuel can help cool the combustion chamber, which may be beneficial in high-performance applications. +3. **Use CLT-based RPM limit curve**: Setting this to "yes" enables the RPM limit to vary with coolant temperature (CLT), utilizing the control panel on the right. This feature allows you to set different RPM limits based on the engine’s coolant temperature, providing a temperature-dependent RPM control. + +### RPM Limits + +- **RPM hard limit (RPM)**: The maximum RPM before cut actions (fuel or spark) are triggered. +- **RPM limit hysteresis (RPM)**: Sets a buffer below the RPM hard limit, helping avoid rapid cycling of cut actions by defining a range within which RPM must drop before cut actions are re-enabled. + +### Boost Cut Limits + +- **Boost cut pressure (kPa absolute)**: Specifies the absolute maximum boost pressure allowed before triggering a cut. +- **Boost cut pressure hysteresis (kPa absolute)**: Defines a pressure range below the cut limit at which boost can resume, providing smoother control over boost cut actions. + +### Injector Duty Cycle Limiter + +- **Instantaneous injector duty cycle limit (%)**: This sets an immediate limit on injector duty cycle. If this threshold is reached, the system will immediately cut the injectors to prevent excessive fuel delivery. +- **Sustained injector duty cycle limit (%)** and **Sustained injector duty cycle delay (seconds)**: This limit allows injectors to operate up to the specified duty cycle percentage for a short period (as defined by the delay). After this delay, if the duty cycle remains above the limit, it will trigger a cut. This setting helps balance performance by allowing temporary high fuel demands while protecting the injectors from prolonged stress. + +### Soft RPM Limit + +- **Window size (RPM)**, **Timing retard (degrees)**, and **Fuel added (%)**: These options allow you to create a "soft" limiter that gradually engages, rather than abruptly cutting fuel or spark. This can help prevent sudden drops in power, making the limiter response smoother. + +### Electronic Throttle Limiting + +- **Soft limiter start RPM** and **Soft limiter range (RPM)**: Gradually closes the throttle as the RPM approaches the limit, helping to provide a smooth limiter response for electronically controlled throttles. + +This section provides fine-tuned control over RPM, pressure, and throttle limits, with options for different limiter styles that balance performance and protection. For instance, using spark cut can add a visual effect with exhaust flames, while fuel cut keeps the action smooth and consistent. +![][image26] + +The **Oil Pressure Protection** window allows you to set a minimum oil pressure threshold to protect the engine. This feature can automatically shut down the engine or activate an alert if the oil pressure drops below the set value after the engine has started. + +### Options: + +- **Minimum oil pressure after start (kPa)**: This field allows you to enter a minimum oil pressure value in kilopascals (kPa). If the oil pressure falls below this threshold during operation, the system will activate a protective measure (based on your ECU configuration) to prevent potential engine damage. + +This setting is crucial for engine longevity, especially in high-performance or heavily modified engines, where maintaining adequate oil pressure is essential. + +![][image27] +The **Lambda Protection** window enables protection based on the Lambda values, which help in monitoring air-fuel ratio (AFR) deviations and ensuring safe engine operation under specific conditions. Here's a breakdown of the options: + +### Settings: + +- **Enable lambda protection**: Allows you to toggle Lambda Protection on or off. + +- **Check above load (%)**: The system will check Lambda values only when the engine load exceeds this percentage threshold. + +- **and above TPS (%)**: Lambda values will only be monitored if the throttle position sensor (TPS) exceeds this percentage. + +- **and above RPM**: Lambda protection activates only when the RPM is above this specified threshold. + +- **and after delay (s)**: Sets a delay time (in seconds) before Lambda Protection engages after the above conditions are met. + +### Cut Fuel Until: + +This section determines the conditions under which fuel will be cut when Lambda Protection is active. + +- **Load less than (%)**: Fuel will be cut until engine load drops below this percentage. + +- **and TPS less than (%)**: Fuel cut will continue until the TPS is below this percentage. + +- **and RPM less than (RPM)**: Fuel cut remains active until the RPM falls below this threshold. + +### Lambda Difference Table: + +- The **Lambda Difference Table** (right side of the window) allows you to set a maximum allowable deviation in Lambda values. + - **Y-axis** represents **Load**. + - **X-axis** represents **RPM**. + - **Z-axis values** represent **Lambda** values (not AFR). + +This table helps define the Lambda deviation limits under various engine loads and RPMs, enabling finer control over protection levels based on actual engine performance conditions. +![][image28] + +Here’s an explanation of the **Trigger** configuration based on the provided example. This setup uses a **60-2** trigger wheel, a common crankshaft-based trigger system, but in some cases, the camshaft sensor might be used as the primary synchronization source. For such configurations, users should refer to the [rusEFI All Supported Triggers](https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers) page to confirm the correct setup for their specific engine. + +### Primary Trigger Section + +- **Strokes**: Set to **Four Stroke** for engines that operate on the standard four-stroke cycle. + +- **Trigger Type**: The example uses **60-2**, meaning a 60-tooth wheel with 2 missing teeth, which is often mounted on the crankshaft. + +- **Skipped Wheel Location**: Set to **On Crankshaft** to indicate that this trigger wheel is located on the crankshaft. + +- **Trigger Angle Advance (deg BTDC)**: Configured to **330** degrees in this setup. For known trigger types, a ‘0’ offset is typically used, but this setting depends on the engine's requirements. + +### Crank Sensor Section + +- **Crank Sensor (Primary Channel)**: In this example, **CKP** (Crankshaft Position) is selected as the primary channel. Note that some systems may use a camshaft sensor as the primary synchronization source, especially in certain cam-based patterns. + +- **Primary Edge**: Set to **Falling**, which defines the edge that the sensor should detect for synchronization. + +- **Secondary Channel**: Not used in this example, but if present, it would typically be the camshaft sensor (CMP) to provide additional synchronization details. + +### Cam Inputs Section + +- **Cam Mode (Intake & Exhaust)**: Set to **Single Tooth** for both intake and exhaust, a common configuration for single-tooth cam sensors that provide additional engine position information. + +- **Cam Sensors**: + + - **Cam Sensor Bank 1 Intake**: Assigned to **CMP**. + - **Cam Sensor Bank 1 Exhaust**: Assigned to **CAM2 (PD4)**. + - **Cam Sensor Bank 2 Intake/Exhaust**: Not used in this configuration, but available for engines with multiple cam sensors. + + +- **Cam Edge Selection**: Both intake and exhaust are set to **Falling** to determine which edge is detected for synchronization. + +### VVT Offset Section + +- **VVT Offsets**: Configured for intake and exhaust banks. These offsets (e.g., **\-82.0** for intake and **\-226.0** for exhaust) ensure proper timing alignment when VVT is active. The offsets should be set so that 0 degrees represents the default cam position. + +- **Cam for Engine Sync Resolution**: Set to **Intake First Bank** in this example, indicating which camshaft input is prioritized for engine synchronization. + +This setup allows for precise engine timing control, with detailed options for customizing trigger inputs and camshaft synchronization. + +![][image29] + +### Advanced Trigger Options + +1. **Require cam/VVT sync for ignition**: + + - Default: **False**. + - If set to **True**, the engine will require camshaft or variable valve timing (VVT) synchronization before ignition events are allowed. This is typically used in engines with more complex timing systems or dual VVT setups. + + + +2. **Maximum cam/VVT sync RPM (rpm)**: + + - Default: **0** (disabled). + - This option sets a maximum RPM limit for synchronization attempts. This is generally left as 0 unless a specific use case for a limit exists. + + + +3. **Print verbose VVT sync details to console**: + + - Default: **False**. + - This option enables detailed logging of VVT synchronization events in the **Console**, an advanced development application for diagnostics. Not typically needed for general users. + + + +4. **Print verbose trigger sync to console**: + + - Default: **False**. + - Similar to the above, this logs detailed trigger synchronization data in the **Console**. Again, this is intended for developers and advanced debugging. + + + +5. **Display logic signals**: + + - Default: **False**. + - If enabled, it shows internal logic signals in the **Console**, helpful for in-depth diagnostics and development. + + + +6. **Do not print messages in case of sync error**: + + - Default: **True**. + - If enabled, sync error messages will not appear in the **Console**, which can help reduce noise during development. + + + +7. **Focus on inputs in engine sniffer**: + + - Default: **False**. + - The **Engine Sniffer**, available in the **Console**, visualizes inputs and outputs for advanced tuning and diagnostics. Enabling this option focuses on inputs during sniffer sessions. + + + +8. **Enable noise filtering**: + + - Default: **False**. + - This option enables additional noise filtering on signal inputs to handle interference or signal degradation. Use this if signals are noisy and causing sync issues. + +### Notes + +- Any mention of "console" or "print" in these options refers to features within the **rusEFI Console**, a development tool separate from TunerStudio. These options are generally used by developers for diagnostics, debugging, and advanced configurations. +- For regular Mazduino users, most of these settings are not needed and can be left at their defaults unless directed otherwise for troubleshooting purposes. + +### Trigger Gap Override + +**Trigger Gap Override** settings are primarily intended for developers and are used to adjust trigger gap tolerances in unique setups or development scenarios. These settings are advanced and **out of the scope of this manual**, as they are not typically needed for standard Mazduino users. +![][image30] +In the **Battery and Alternator Settings** window, you’ll find settings to manage both battery input and alternator output. + +### Battery Settings + +- **vBatt ADC input**: This specifies the sensor input for monitoring battery voltage. +- **Battery Input Divider Coefficient**: A calibration value for accurately reading the battery voltage. + +### Alternator Settings + +The alternator settings allow you to control how the alternator manages electrical output based on engine demands and load. + +- **Enabled**: Toggles the alternator control function on or off. +- **Control output**: Specifies which output channel controls the alternator. +- **Control output mode**: Sets the control mode for the output channel. +- **PWM frequency (Hz)**: The frequency for the Pulse Width Modulation (PWM) signal controlling the alternator. +- **A/C duty adder (%)**: An additional duty cycle percentage for times when the air conditioning is active, increasing the electrical load. + +### PID Control + +The PID (Proportional, Integral, Derivative) control allows precise regulation of alternator output based on real-time conditions. Each component of the PID control has its own setting: + +- **P factor** (Proportional): Adjusts output in proportion to the difference from the target. +- **I factor** (Integral): Adjusts for accumulated past differences. +- **D factor** (Derivative): Adjusts based on the rate of change of the difference. +- **Offset** and other PID parameters refine the alternator response, with **Min** and **Max** setting bounds for output adjustments. + +### Alternator Voltage Target Table + +The **Alternator Voltage Target Table** on the right allows you to specify target voltages for different load conditions: + +- **Load** (Y-axis) and **RPM** (X-axis) define each cell’s conditions. +- The cell values represent the target voltage the alternator aims to maintain. + +For instance: + +- At **high load** (e.g., 120 load), a lower voltage target (13.2V) may be set to reduce alternator drag and allow more power for the engine. +- At **lower loads**, a higher voltage target (up to 14.0V) ensures the battery remains fully charged. + +This configuration allows the alternator to dynamically adjust output based on the electrical demands and engine conditions, optimizing power usage and battery health. + +![][image31] +--- + +In the **Outputs** settings window, you’ll find options for configuring various output controls for the ECU. For **Plug and Play units**, most of these settings are handled by the included basemap, so only specific adjustments (such as temperature, timing, and adders) should typically be modified. For **Metal-series Wire In units**, which do not come with a preconfigured basemap, each setting should be carefully reviewed and configured to ensure compatibility with the vehicle. + +### Output Controls Overview + +- **Main Relay Output**: Specifies the main relay control, including output channel and mode. This relay is generally used to power key components like the fuel system and ignition. + +- **Fuel Pump**: Configures the fuel pump control, with options for output channel, mode, and priming duration (in seconds). This controls how long the fuel pump primes during startup. + +- **Tachometer Output**: Manages the tachometer signal with options for pulse mode and duration. This setting is typically adjusted in Plug and Play basemaps for compatibility with the car's dashboard, but should be configured for Metal-series units. + +### Fan Settings + +- **Fan 1 and Fan 2**: Configure the control of two separate fans, including: + - **On/Off Temperature (°C)**: Sets the activation and deactivation temperatures for each fan. + - **Enable with AC**: Allows the fan to run when the air conditioning is on. + - **Disable When Engine Stopped**: Prevents fan operation when the engine is off. + - **Disable Above Vehicle Speed**: Prevents fan operation when the vehicle exceeds a specified speed. + - **Idle Adder (%)**: Adds a specified duty cycle at idle to assist with cooling at low RPMs. + +### Starter Controls + +- **Starter Control Output**: The **Starter Control** dropdown allows you to select a specific output pin to control the starter relay, enabling the ECU to manage starter engagement. Setting this to **NONE** disables ECU starter control, meaning the starter relay operates independently. +- **Require Foot on Brake to Crank**: If enabled, requires the brake pedal to be pressed for the starter to engage. +- **Start/Stop Button Input**: Specifies the input channel for a start/stop button if used, along with the mode (e.g., default or custom). +- **Start Cranking Maximum Time (Seconds)**: Sets the maximum duration for cranking, protecting the starter from overuse. +- **Suppress on Startup (ms)**: Adds a delay to avoid false starter signals during initialization. + +### Starter Disable + +- Configures an output channel to disable the starter under specific conditions. + +### Speedometer Output + +- Allows customization of the speedometer signal output, with settings for output mode and pulses per kilometer. + +### Check Engine Settings + +- **Check Engine Output**: Configures the check engine light output and sets a warning period (in seconds). + +![][image32] + +### Air Conditioning (A/C) Settings + +The **A/C Settings** section enables configuration of air conditioning controls within the ECU, covering features such as compressor delay, idle compensation, and pressure-based control to optimize performance and manage engine load. For **Plug and Play units**, A/C settings may be pre-configured in the basemap, though adjustments can still be made to suit specific needs. **Metal-series Wire In units** may require a full configuration of these settings based on the vehicle’s setup. + +#### Key A/C Settings: + +- **A/C Switch**: Selects the input source for activating the A/C system. Setting this to **NONE** disables ECU control over the A/C switch, as long as it is not being controlled by some other method, like Lua +- **A/C Switch Mode**: Specifies the mode of the A/C switch input, depending on installation and desired functionality. +- **A/C Relay**: Configures the output pin assigned to control the A/C relay. For example, selecting **Injector 8 (PD13)** enables A/C control through that specific pin. +- **A/C Relay Mode**: Defines the output mode of the A/C relay. This can be left as **default** for most applications or adjusted if needed. +- **A/C Compressor Delay (sec)**: Sets a delay before the A/C compressor engages, preventing a sudden load increase on the engine when A/C is turned on. +- **Max RPM (RPM)**: Sets the maximum allowable engine RPM for A/C operation. If RPM exceeds this limit, the A/C will disengage to protect the engine. +- **Max CLT (deg C)**: Configures the maximum coolant temperature for A/C operation. If exceeded, the A/C will automatically shut off to prevent overheating. +- **Max TPS (%)**: Defines the maximum throttle position for A/C operation. If throttle exceeds this percentage, the A/C will turn off to prioritize engine performance. +- **A/C Idle Adder (%)**: Sets a percentage increase in idle speed to compensate for the load caused by the A/C compressor. +- **A/C Idle RPM**: Specifies a target idle RPM when A/C is active, adjusting the engine’s idle speed to account for compressor load. +- **RPM Low Threshold (RPM)**: The minimum RPM threshold below which the A/C is automatically disabled to prevent engine stalling. +- **Pressure Low Disable (kPa)**: Sets the lower pressure limit; if pressure falls below this level, the A/C will be disabled to protect the compressor. +- **Pressure High Disable (kPa)**: Configures the upper pressure limit; if pressure exceeds this level, the A/C will disengage for system protection. +- **A/C Pressure Enable Hysteresis (kPa)**: Provides a buffer range around the pressure limits to prevent rapid cycling of the A/C system. + +The **white squares** on the right side of the window represent various checks and statuses related to the A/C system. These indicators turn **red** to show active conditions, such as the A/C button being pressed, pressure being within acceptable limits, and other safety or system checks. This visual feedback helps users quickly assess whether all conditions are met for A/C operation. + +These settings help the ECU manage the A/C system effectively under various operating conditions, contributing to stable engine performance. **Plug and Play units** may have these settings optimized in the basemap, but further adjustments can be made if necessary. For **Metal-series Wire In units**, ensure these settings are calibrated to the vehicle's specific requirements. +**II. Fuel Button in TS** +Under the **Fuel** button, users can access various settings that control fuel injection, enrichment, correction factors, and fuel-related compensations. Here’s a breakdown of each option shown: + +1. **Injection Configuration**: Allows for the setup of basic injection parameters, such as injection timing and fuel injector configuration. + +2. **Injection Hardware**: Configures the physical aspects of the fuel injectors, including flow rate and injector characterization. + +3. **Cylinder Bank Selection**: For engines with multiple injector banks, this setting lets you assign which cylinders belong to which bank for optimal fuel delivery. + +4. **Injector Small-Pulse Correction**: Adjusts for injector behavior at low pulse widths, ensuring smooth and consistent fuel delivery during light load or idle. + +5. **Staged Injection**: (Submenu options grayed out) Allows for secondary injectors in high-performance applications, where extra fuel is needed. Here, you can configure secondary injectors' output and staging. + +6. **Cylinder Fuel Trims**: Provides individual fuel trim adjustments per cylinder, useful for balancing fuel distribution among cylinders. + +7. **VE (Volumetric Efficiency) Table**: A primary fuel table where you adjust VE values for different RPM and load conditions to calibrate the engine’s air-fuel mixture. + +8. **VE 3D View**: A visual representation of the VE table in 3D, making it easier to spot irregularities or trends in fuel delivery. + +9. **VE Blend Tables**: Allows the setup of secondary VE tables for blending purposes, enabling smooth transitions between different fuel demands or operating modes. + +10. **Target AFR**: Defines the target air-fuel ratio (AFR) for various operating conditions, which the ECU uses to adjust fuel delivery. + +11. **Charge Temperature Estimation**: Compensates for changes in air density due to temperature, adjusting fuel accordingly. + + - **Barometric Pressure Correction**: Corrects fuel delivery based on ambient air pressure, useful for varying altitudes. + - **MAP Estimate Table**: Calculates estimated MAP (manifold absolute pressure) values based on RPM and load, aiding in fuel adjustment. + + + +12. **CLT (Coolant Temperature) Multiplier**: Adjusts fuel delivery based on coolant temperature, adding enrichment during warm-up or reducing it during high temperatures. + +13. **IAT (Intake Air Temperature) Multiplier**: Compensates for intake air temperature, which affects air density and, consequently, the air-fuel mixture. + +14. **Closed Loop Fuel Correction**: Enables closed-loop control using feedback from the oxygen sensor to maintain target AFR. + +15. **Deceleration Fuel Cutoff (DFCO)**: Cuts fuel during deceleration to save fuel and improve emissions, typically activated when throttle is closed and RPM is above a certain threshold. + +16. **Injection Phase**: Adjusts the timing of the injection event relative to the intake stroke, enhancing fuel atomization and engine efficiency. + +17. **Acceleration Enrichment**: Adds extra fuel when the throttle is opened quickly, compensating for the sudden influx of air. + +18. **TPS/TPS Acceleration Extra Fuel**: Provides additional fuel enrichment based on throttle position and speed, helping to maintain AFR during rapid throttle changes. + +19. **TPS/TPS Extra Fuel RPM Correction**: Further refines the amount of fuel added during acceleration based on RPM, providing smoother transitions. + +20. **Wall Wetting AE**: Compensates for fuel that sticks to the intake manifold walls during sudden changes in throttle, ensuring accurate fuel delivery. + +Under the **Fuel** button, users can access various settings that control fuel injection, enrichment, correction factors, and fuel-related compensations. Here’s a breakdown of each option shown: + +21. **Injection Configuration**: Allows for the setup of basic injection parameters, Configures the physical aspects of the fuel injectors, including flow rate and injector characterization.. + +22. **Injection Hardware**: Configures the physical aspects of the fuel injectors such as fuel injector configuration + +23. **Cylinder Bank Selection**: For engines with multiple injector banks, this setting lets you assign which cylinders belong to which bank for optimal fuel delivery. + +24. **Injector Small-Pulse Correction**: Adjusts for injector behavior at low pulse widths, ensuring smooth and consistent fuel delivery during light load or idle. + +25. **Staged Injection**: (Submenu options grayed out) Allows for secondary injectors in high-performance applications, where extra fuel is needed. Here, you can configure secondary injectors' output and staging. + +26. **Cylinder Fuel Trims**: Provides individual fuel trim adjustments per cylinder, useful for balancing fuel distribution among cylinders. + +27. **VE (Volumetric Efficiency) Table**: A primary fuel table where you adjust VE values for different RPM and load conditions to calibrate the engine’s air-fuel mixture. + +28. **VE 3D View**: A visual representation of the VE table in 3D, making it easier to spot irregularities or trends in fuel delivery. + +29. **VE Blend Tables**: Allows the setup of secondary VE tables for blending purposes, enabling smooth transitions between different fuel demands or operating modes. + +30. **Target AFR**: Defines the target air-fuel ratio (AFR) for various operating conditions, which the ECU uses to adjust fuel delivery. + +31. **Charge Temperature Estimation**: Compensates for changes in air density due to temperature, adjusting fuel accordingly. + + - **Barometric Pressure Correction**: Corrects fuel delivery based on ambient air pressure, useful for varying altitudes. + - **MAP Estimate Table**: Calculates estimated MAP (manifold absolute pressure) values based on RPM and load, aiding in fuel adjustment. + + + +32. **CLT (Coolant Temperature) Multiplier**: Adjusts fuel delivery based on coolant temperature, adding enrichment during warm-up or reducing it during high temperatures. + +33. **IAT (Intake Air Temperature) Multiplier**: Compensates for intake air temperature, which affects air density and, consequently, the air-fuel mixture. + +34. **Closed Loop Fuel Correction**: Enables closed-loop control using feedback from the oxygen sensor to maintain target AFR. + +35. **Deceleration Fuel Cutoff (DFCO)**: Cuts fuel during deceleration to save fuel and improve emissions, typically activated when throttle is closed and RPM is above a certain threshold. + +36. **Injection Phase**: Adjusts the timing of the injection event relative to the intake stroke, enhancing fuel atomization and engine efficiency. + +37. **Acceleration Enrichment**: Adds extra fuel when the throttle is opened quickly, compensating for the sudden influx of air. + +38. **TPS/TPS Acceleration Extra Fuel**: Provides additional fuel enrichment based on throttle position and speed, helping to maintain AFR during rapid throttle changes. + +39. **TPS/TPS Extra Fuel RPM Correction**: Further refines the amount of fuel added during acceleration based on RPM, providing smoother transitions. + +40. **Wall Wetting AE**: Compensates for fuel that sticks to the intake manifold walls during sudden changes in throttle, ensuring accurate fuel delivery. + +Each of these settings offers precise control over fuel delivery, allowing tuners to optimize engine performance, fuel economy, and emissions. For **Plug and Play units**, many of these settings are configured in the provided basemap, but adjustments can still be made as needed. In **Metal-series Wire In units**, a full calibration is required based on the vehicle’s setup. + +In the **Injector Configuration** dialog box, you can configure the settings that control fuel injector behavior and fuel delivery. Here are the key components: + +### Injection + +- **Enabled**: Set to `true` to enable fuel injection. +- **Mode**: Options include **Sequential** (individual injector timing) or **Batch** (all injectors fire simultaneously). +- **Batch Injection with Individual Wiring**: For applications where injectors are wired separately but operate in batch mode. +- **Alpha-N Uses IAT Density Correction**: When set to `true`, it enables intake air temperature-based corrections for Alpha-N tuning strategies. +- **Override VE Table Load Axis**: Allows you to change the default load axis used for the VE table, which is typically MAP (manifold absolute pressure). +- **Override AFR Table Load Axis**: Allows you to override the default load axis for the target AFR table. +- **Injection Phase Control Mode**: Defines when fuel is injected relative to the intake valve opening. Options include **End of Injection** or other timing references. + +### Injector Settings + +- **Injector Flow**: Specifies the flow rate of the injector, typically in cc/min or lbs/hr. +- **Injector Flow Units**: Choose between **Volumetric Flow** (e.g., cc/min) or other units. +- **Injector Flow Compensation Mode**: + - **None**: For setups with a MAP-referenced fuel pressure regulator. + - **Fixed Rail Pressure**: For systems with an atmosphere-referenced fuel pressure regulator, typically in returnless systems. + - **Sensed Rail Pressure**: For systems equipped with a fuel pressure sensor, which dynamically adjusts for pressure variations. +- **Fuel Rail Pressure Sensor**: Only used when "Sensed Rail Pressure" is selected. + +### Fuel Characteristics + +- **Stoichiometric Ratio**: Defines the stoichiometric air-fuel ratio (AFR) for the fuel type in use. +- **E100 Stoichiometric Ratio**: Defines the stoichiometric AFR for E100 (pure ethanol), useful for ethanol blends. + +### Injector Dead Time + +- Displays a graph showing injector dead time (in milliseconds) as a function of battery voltage. Dead time decreases as voltage increases, ensuring precise injector control under varying electrical conditions. + +The **VE (Volumetric Efficiency) Table** displays the engine's volumetric efficiency values as a function of **load (kPa)** and **RPM**. These values determine how much fuel is needed based on the engine’s airflow characteristics at different operating points. Here’s a breakdown of the table and typical values: + +### Typical VE Values + +- **Idle Conditions**: At idle, typically around 30-50 kPa and 500-1000 RPM, most engines have VE values in the range of **30-40%**. This represents the relatively low airflow when the engine is running at low RPM and without load. + +- **High Load Conditions**: At high loads (e.g., 100-250 kPa) and higher RPMs (e.g., 4000-7000 RPM), VE values can range from **80-100%** or even higher. Engines with forced induction may have values exceeding 100% due to the additional air being forced into the cylinders. + +If you see VE values that are significantly different from these ranges (e.g., extremely high at idle or unusually low at high load), it may indicate that the **injectors haven’t been correctly modeled**. This could be due to incorrect injector flow rates, dead time settings, or other calibration errors, leading to inconsistent fueling. + +The **Target AFR (Air-Fuel Ratio) Table** sets the desired air-fuel mixture for various **RPM** and **load (kPa)** conditions. The values in this table influence how rich or lean the mixture will be across different operating conditions. + +### Example Breakdown + +In this specific table example: + +This Target AFR Table is set up for a turbocharged, cammed engine, with idle AFR targeted at 14.0 AFR to provide a smoother idle, a common practice for cammed engines. The Y-axis values exceed 100 kPa to account for boost pressure, which is typical for turbocharged engines. At higher boost levels (150–250 kPa), the AFR targets are richer, around 10.7–11.0 AFR, to reduce the risk of detonation and keep combustion temperatures safe, ensuring reliable performance under high load. This setup balances smoother idle operation with enhanced protection and power during boosted conditions. + +This AFR table example is tuned for a cammed engine, but the ideal values vary based on modifications and performance goals. + +In the **Closed Loop Fuel Correction** settings: + +- **Enabled**: Activates the closed-loop correction system. +- **Startup delay**: Sets the delay (in seconds) after startup before the correction begins. +- **Minimum CLT for correction**: Sets the minimum coolant temperature (in °C) required to start corrections. +- **Minimum AFR for correction** and **Maximum AFR for correction**: Define the AFR range within which corrections will be applied. +- **Adjustment deadband**: Specifies a threshold within which no corrections will be made to avoid minor fluctuations. +- **Ignore error magnitude**: Accepts a numerical value, typically set to 0\. This value controls how much AFR error is ignored before corrections are applied, helping to smooth out minor fluctuations. + +**Region Configuration** allows customization of RPM and load thresholds for Idle, Overrun, and Power regions: + +- **Idle region RPM**: Defines the RPM considered as the idle threshold. +- **Overrun region load** and **Power region load**: Set load limits to differentiate between normal operation, deceleration (overrun), and high load (power) conditions. + +Each region (Main, Idle, Power, Overrun) has specific **time constants** and **maximum add/remove percentages**: + +- **Time constant**: Controls the responsiveness of corrections, with lower values resulting in faster adjustments. +- **Max add/remove**: Limits the maximum fuel adjustment in either direction (adding or removing fuel) to prevent excessive correction. + +These settings allow for tailored fuel correction, maintaining optimal AFR across different operating conditions. +In the **Coasting Fuel Cutoff Settings**: + +- **Enable Coasting Fuel Cutoff**: Activates fuel cutoff during coasting. +- **No cut below CLT(C)**: Sets a minimum coolant temperature below which fuel cutoff won’t occur, ensuring smoother engine operation when the engine is cold. +- **RPM cut fuel above**: Defines the RPM threshold above which fuel cutoff will engage during deceleration. +- **RPM restore fuel below**: Sets the RPM at which fuel is restored after cutoff, helping prevent stalling. +- **Vehicle speed cut above** and **Vehicle speed restore below**: Define speed thresholds for activating and deactivating fuel cutoff. This prevents cutoff at very low speeds where it may be unnecessary. +- **Cut fuel below TPS(%)**: Sets a throttle position threshold below which fuel cutoff will activate, typically when the throttle is fully closed during deceleration. +- **Cut fuel below MAP(kPa)**: Establishes a manifold pressure threshold to activate fuel cutoff. +- **Fuel cut delay**: Adds a delay (in seconds) before fuel cutoff is engaged after conditions are met, helping prevent premature cutoff. +- **Inhibit closed loop fuel after cut**: Temporarily disables closed-loop fuel correction after fuel is restored, providing a smoother transition. + +These settings help optimize fuel efficiency by cutting fuel during coasting while ensuring smooth re-engagement under specific conditions. + +In the **Accel/Decel Enrichment Settings**: + +- **TPS**: + + - **Length (sec)**: Defines the duration of the enrichment pulse when throttle movement is detected. + - **Accel Threshold (roc)**: Sets the rate of change (roc) threshold to trigger acceleration enrichment based on throttle position. + - **Decel Threshold (roc)**: Sets the roc threshold to trigger deceleration enrichment, helping prevent engine stalling or surging during throttle release. +- **Accelerator Pump Model**: + + - **Fraction Period (cycles)** and **Fraction Divisor (coef)**: Control how enrichment is delivered during rapid throttle changes, mimicking a carbureted engine’s accelerator pump action. +- **Wall Wetting**: + + - **Wall fueling model type**: Defines the model used for calculating wall wetting fuel adjustments. The "Basic (constants)" model assumes simpler evaporation dynamics. + - **Evaporation time constant / tau (Seconds)**: Sets the time constant for fuel evaporation from intake walls, impacting how long the added fuel remains available for combustion. + - **Added to wall coef / beta (Fraction)**: Controls the proportion of fuel adhering to the intake walls versus being drawn directly into the engine. + +These settings fine-tune fuel delivery during rapid throttle changes, enhancing responsiveness and stability by simulating fuel behavior dynamics in response to throttle input. + +### TPS/TPS Acceleration Extra Fuel + +The **TPS/TPS Acceleration Extra Fuel** table (shown on the left) provides additional fuel based on the rate of change in throttle position. Each cell specifies the amount of extra fuel (in milliseconds) added when moving from one throttle position (TPS from) to another (TPS to). + +**Note:** If you change your injector size, this table should be adjusted accordingly. For example, if you’re switching from 300cc injectors to 600cc injectors, you should halve the values in this table to maintain similar behavior with the larger injectors. + +### Transient RPM Correction + +The **Transient RPM Correction** chart (shown on the right) applies a multiplier to fuel delivery based on RPM. This adjustment accounts for varying transient conditions, with the multiplier decreasing as RPM increases. This configuration typically provides more enrichment at low RPMs, where transient fuel needs are higher. + +**III. Ignition Button in TS** +![][image33] + +### Ignition Dropdown Options + +The **Ignition** dropdown offers multiple configuration options for tuning various ignition-related settings in the ECU. Here’s a breakdown of each option: + +1. **Ignition Settings**: Primary configuration settings for ignition, including the type of ignition system and any specific settings related to timing control. + +2. **Ignition Advance**: Adjusts the ignition timing advance table based on engine load (measured in kPa or throttle position) and RPM. This table typically has values representing degrees of timing advance, which can vary across different load and RPM conditions. + +3. **Ign CLT Correction**: Allows timing adjustments based on Coolant Temperature (CLT). This correction is useful for optimizing ignition timing based on engine temperature, particularly to prevent detonation when the engine is running hot. + +4. **Ign IAT Correction**: Adjusts timing based on Intake Air Temperature (IAT), compensating for changes in air density that can affect combustion efficiency and engine safety. + +5. **Dwell**: Controls the dwell time, which is the amount of time the ignition coil is energized before firing. Proper dwell time can help optimize spark strength and protect the ignition coil from overheating. + +6. **Ignition Blend Tables**: Used to create custom tables that blend ignition timing values based on certain conditions or parameters, which can be useful for advanced tuning scenarios. + +7. **Cylinder Ign Trims**: Allows individual cylinder ignition timing adjustments. This feature is useful to fine-tune each cylinder independently for optimal performance and to account for any variances in cylinder behavior. + +8. **Multispark**: Enables multiple sparks per cycle at lower RPMs, improving combustion and idle stability, especially in performance applications. + +9. **Knock Control**: Configuration for knock detection and response. This setting allows you to adjust sensitivity and response to knock events, potentially adjusting timing to prevent engine damage. + +10. **Max Knock Retard**: Sets the maximum degree of timing retardation allowed in response to detected knock. This helps protect the engine by reducing timing aggressively if knock is detected within safe limits. + +Each of these options provides specific control over different aspects of the ignition system, allowing you to tailor the ignition timing and behavior to meet the performance, efficiency, and safety requirements of your setup. + +![][image34] + +### Ignition Settings + +The **Ignition Settings** window provides configuration for the type of ignition system, timing parameters, and output settings. Here’s a detailed explanation of each option: + +--- + +#### **Ignition Mode** + +Under the **Mode** dropdown, you can select the ignition configuration type. The available options are: + +- **Single Coil**: Suitable for distributor-based systems, where a single coil serves all cylinders. +- **Individual Coils**: One coil per cylinder (coil-on-plug or coil-near-plug setups). This mode requires sequential injection mode. +- **Wasted Spark**: Fires paired cylinders together, either using one coil per pair or one coil per cylinder. This is common in simpler ignition systems. +- **Two Distributors**: A pair of distributors, commonly found on certain BMW, Toyota, and other engines. + +--- + +#### **Timing Parameters** + +- **Maximum Timing Advance (deg BTDC)**: Limits the maximum timing advance to ensure safe ignition settings during tuning. +- **Minimum Timing Advance (deg BTDC)**: Prevents the timing from retarding too far, protecting the engine during operations like starting. +- **Use Fixed Timing While Validating**: Enables the use of fixed timing (set in the "Static Timing" mode) for validating timing with a timing gun. +- **Override Ignition Table Load Axis**: Allows the ignition table’s load axis to be overridden with a custom axis, which is useful for advanced tuning. + +--- + +#### **Timing Mode** + +The **Timing Mode** dropdown has two options: + +- **Dynamic**: Uses the ignition timing map to determine timing dynamically during engine operation. +- **Static**: Fixes the timing to the specified value (set in the "Fixed Timing" field). This mode is typically used for verifying static timing with a timing light during setup. + +--- + +#### **Ignition Outputs** + +- Each ignition output corresponds to a specific cylinder. **Wire each output to the cylinder number directly**, as the firmware (rusEFI) manages the firing order internally. +- **Ignition Output Mode**: Allows customization of how the outputs behave, which is useful for unique ignition configurations. + +--- + +#### **Important Notes** + +1. **Timing Validation**: Use a timing gun with static timing mode enabled to verify that the ignition system timing aligns with the engine’s physical timing marks. +2. **Sequential Ignition**: Ensure that the system is configured for sequential mode if using **Individual Coils**, as this is critical for proper operation. +3. **Wasted Spark Mode**: If using wasted spark, verify coil pairing and ensure firing order is correctly set in the ECU. + +This configuration allows for extensive flexibility in handling various ignition setups, from single-coil distributor systems to advanced sequential coil-on-plug setups. Always validate your settings with physical tools (timing light) before fully committing to the configuration. + +![][image35] + +### Ignition Table + +The **Ignition Table** configures the spark timing based on RPM (horizontal axis) and engine load (vertical axis). It is essential for fine-tuning engine performance, efficiency, and safety. + +#### Example Overview + +This specific example represents a **high-compression turbocharged engine**. The values in the table highlight several tuning strategies: + +1. **High Compression and Turbocharged Timing**: + + - In boosted regions (higher load values), the ignition timing is conservative (lower values) to avoid pre-ignition or detonation, which is critical for turbocharged engines. + - For example, at 200 kPa and 3000 RPM, the timing is set to around 7.6 degrees BTDC. + + + +2. **Deceleration Burble**: + + - The lower rows (lower load values) have negative or very low timing values during deceleration. This intentionally delayed ignition creates a burble or popping sound, often sought after for aesthetic or performance sound tuning. + + + +3. **Mid-Range Efficiency**: + + - In mid-load and mid-RPM regions (e.g., 75 kPa, 2500 RPM), timing values are optimized for fuel efficiency and smooth power delivery, typically between 25-35 degrees BTDC. + + + +4. **High RPMs**: + + - At higher RPMs and moderate loads, timing is slightly advanced (e.g., 37.5 degrees at 100 kPa and 7000 RPM) to maintain performance without causing knocking. + +--- + +#### Notes for Tuning + +- **Turbocharged Engines**: Timing must be carefully monitored and adjusted for safety in high-boost areas. Use knock sensors and data logging to detect potential detonation. +- **Deceleration Effects**: The burble effect should only be used in regions where fuel cut-off or overrun conditions are active to prevent excessive fuel waste. +- **Engine-Specific**: Timing values depend heavily on engine design, fuel type, and compression ratio. This table is a guideline and may not apply to naturally aspirated or lower-compression setups. + +#### Final Advice + +Before using this table, ensure your injectors, fuel map, and load axis are correctly configured. Fine-tune values with data logging and dynamometer testing to align with your specific engine's requirements and desired performance characteristics. + +### ![][image36]Dwell Settings + +The **Dwell Settings** section provides critical control over ignition coil charge time, which impacts spark energy and ignition system performance. These tables ensure proper ignition timing and spark strength across different RPM and voltage conditions. + +--- + +#### **Dwell Time Base (Top Graph)** + +- **Purpose**: Adjusts the base dwell time (in milliseconds) relative to engine RPM. +- **Explanation**: + - At lower RPMs, dwell time is higher (e.g., 3.60 ms at 0 RPM) to fully charge the ignition coil. + - As RPM increases, dwell time decreases (e.g., 2.60 ms at 7000 RPM) to ensure the coil can charge and discharge within the shorter cycle times. +- **Tuning Note**: + - Excessively high dwell times at higher RPMs can cause coil saturation and heat damage. + - Too low dwell times can lead to weak sparks or misfires. + +--- + +#### **Dwell Voltage Correction (Bottom Graph)** + +- **Purpose**: Modifies dwell time based on battery voltage to maintain consistent spark energy. +- **Explanation**: + - At lower battery voltages, dwell time is increased (multiplier \> 1.0) to compensate for reduced coil charging efficiency. + - At higher voltages, dwell time is reduced (multiplier \< 1.0) to prevent overheating or overcharging the coil. + - Example: At 8.0 volts, the multiplier is 1.40; at 16.0 volts, the multiplier drops to 0.80. + +--- + +#### **General Notes** + +- **RPM Table**: + - Values typically start around 2.0-4.0 ms at idle and reduce as RPM rises. +- **Battery Voltage Table**: + - Correct compensation is vital for engines with weak electrical systems or those running additional electrical loads. +- **Tuning Advice**: + - Always refer to the manufacturer’s specifications for your ignition coils to avoid damaging them. + +This configuration is particularly important for high-performance engines where reliable and precise ignition is critical to avoid misfires or detonation. + +**IV. Cranking Button in TS** + +### ![][image37] + +### Cranking Button Dropdown + +The **Cranking** dropdown provides a set of configuration options focused on engine startup conditions. Proper tuning of these settings ensures smooth and reliable engine starts across various conditions. + +--- + +#### **Options Overview** + +1. **Cranking Settings**: + + - Configures the parameters used during the cranking phase of engine startup, such as cranking RPM thresholds and duration. + + + +2. **After-Start Enrichment**: + + - Fine-tunes fuel delivery immediately after the engine starts to stabilize idle and warm-up conditions. + + + +3. **Priming Pulse**: + + - Controls the initial fuel injection pulse when the key is turned on, which helps to pressurize the fuel system and prepare for engine start. + + + +4. **Fuel CLT Multiplier**: + + - Adjusts fuel delivery based on coolant temperature (CLT) during cranking to account for cold or warm starts. + + + +5. **Fuel CLT Multiplier (Flex Fuel E85)**: + + - Provides additional adjustments for engines using E85 or other ethanol-based fuels, allowing for temperature-based enrichment. + + + +6. **Fuel TPS Multiplier**: + + - Alters fuel delivery during cranking based on throttle position (TPS), useful for adjusting startup enrichment during open-throttle starts. + + + +7. **Cranking Ignition Advance**: + + - Configures the ignition timing used during cranking. This is critical for achieving smooth engine starts without backfires or misfires. + + + +8. **Cranking Idle Air CLT Multiplier**: + + - Modifies idle air control settings during cranking based on coolant temperature, ensuring optimal airflow for various startup conditions. + +--- + +#### **Tuning Notes** + +- **Priming Pulse**: + + - Adjust for varying fuel injectors and fuel system dynamics. Higher capacity injectors may require shorter pulses. + + +- **Fuel CLT Multiplier**: + + - Higher enrichment (higher multiplier) is typically required for cold starts, while warm starts require lower enrichment. + + +- **Cranking Ignition Advance**: + + - Advance settings should be conservative to avoid kickback but optimized for smooth ignition. + + +- **Flex Fuel Adjustments**: + + - If using ethanol-based fuels, ensure the Flex Fuel CLT multiplier matches the fuel's temperature-dependent characteristics. + +--- + +#### **Mazduino Plug and Play Units** + +For **Mazduino Plug and Play** systems: + +- These settings are preconfigured for **stock vehicles** and provided as a **baseline starting point**. +- **Important Note**: These basemaps are not dyno-calibrated or intended as final, daily-use calibrations. Users are strongly encouraged to adjust and fine-tune these settings for their specific setup, especially when deviating from a stock configuration or for performance applications. + +For **Metal-series Wire-In** units, users must manually configure these settings to match their engine's requirements. + +### Cranking Settings + +This dialog box allows you to configure the parameters for the engine's cranking phase. Proper configuration ensures efficient starts under various operating conditions. + +--- + +#### **Cranking Settings** + +- **Cranking RPM Limit (RPM)**: + - Defines the RPM threshold below which the engine is considered to be in cranking mode. + - Default: 400 RPM. Adjust as needed for different starter speeds. + +--- + +#### **Fuel Settings** + +- **Injection Mode**: + + - Specifies how fuel is injected during cranking: + - **Simultaneous**: All injectors fire together. + - **Batch**: Injectors fire in pairs. + - **Sequential**: Injectors fire in sync with engine timing (requires crank/cam sync). + - Default is typically **Batch** for ease of configuration. + + +- **Fuel Source for Cranking**: + + - **Fixed**: Uses a predefined fuel mass for cranking. + - **Fuel Map**: Uses a fuel map to calculate fuel delivery. + - Note: The **Base Fuel Mass (mg)** setting is disabled when using the **Fuel Map** option. + + +- **Base Fuel Mass (mg)**: + + - Specifies the base amount of fuel injected during cranking when the **Fixed** fuel source is selected. + +--- + +#### **Ignition Settings** + +- **Timing Advance Mode**: + + - Controls how ignition timing is handled during cranking: + - **Fixed (auto taper)**: Starts with a fixed timing and transitions to dynamic timing as RPM increases. + - **Table**: Uses the **Cranking Ignition Advance Table** for ignition timing (accessible through the dropdown menu under the Cranking button). + + +- **Fixed Cranking Advance (deg)**: + + - The ignition timing in degrees before top dead center (BTDC) during cranking. This setting is only used in the **Fixed (auto taper)** mode. + - Example: A typical value is 6 degrees BTDC. + + +- **Fixed Cranking Dwell (ms)**: + + - The dwell time for ignition coils during cranking. + +--- + +#### **Idle Air Valve Settings** + +- **Cranking Base IAC Position (percent)**: + + - Sets the idle air control (IAC) valve position during cranking. Higher values allow more airflow to help the engine start. + + +- **After Cranking IAC Taper Duration (cycles)**: + + - Determines how long the IAC valve gradually returns to its normal position after the engine starts. + + +- **Override Cranking IAC CLT Multiplier**: + + - When enabled, uses the coolant temperature (CLT) multiplier to adjust the IAC position during cranking. + +--- + +#### **Advanced Settings** + +- **Enable Flood Clear**: + + - Allows the driver to clear a flooded engine by fully pressing the throttle during cranking. Fuel injection is cut off until the throttle is released. + + +- **Enable Faster Engine Spin-Up**: + + - Reduces cranking timing delay to help the engine spin up faster. + + +- **Use Advance Corrections for Cranking**: + + - Allows the application of timing advance corrections during cranking. + + +- **Use Flex Fuel Cranking Table**: + + - Enables specific cranking fuel adjustments for engines running on ethanol-based fuels (e.g., E85). + +--- + +![][image38] + +### Cranking Coolant Temperature Multiplier + +This table adjusts the amount of fuel delivered during cranking based on the engine's coolant temperature. The multiplier values ensure that the engine receives the appropriate amount of fuel for starting in different temperature conditions. + +--- + +#### **Understanding the Graph** + +- **X-Axis (Coolant Temperature)**: + - Ranges from \-20°C to 90°C in this example. + - Represents the engine's coolant temperature. +- **Y-Axis (Multiplier Ratio)**: + - Represents the scaling factor applied to the base fuel mass during cranking. + +--- + +#### **Typical Behavior** + +- **Cold Starts**: + - At lower temperatures (e.g., \-20°C), the multiplier is higher (e.g., 3.00). + - This delivers significantly more fuel to compensate for poor fuel atomization in cold conditions. +- **Warm Starts**: + - As the temperature increases, the multiplier gradually decreases. + - Around 50°C and above, the multiplier typically stabilizes at 1.00, indicating no additional fueling is required for starting. + +--- + +#### **Recommendations** + +- **Adjustments**: + - These values are preconfigured for most stock vehicles but may require fine-tuning for modified setups or extreme climates. + - For modified engines, particularly those with larger injectors, adjust the multiplier values proportionally to match the fuel system's characteristics. +- **Cold Start Enrichment**: + - Ensure higher multipliers at very low temperatures to facilitate reliable cold starts. +- **Warm Conditions**: + - Multipliers near or at 1.00 are suitable for warm engine starts to prevent over-fueling. + +This table, like others, is essential for achieving reliable starts and maintaining consistent cranking performance across a range of temperatures. + +![][image39] + +### Cranking Idle Air Multiplier + +This table controls the multiplier applied to the idle air control valve (IAC) during engine cranking, based on the coolant temperature. It ensures that the engine receives the appropriate amount of air for reliable starts in varying thermal conditions. + +--- + +#### **Understanding the Graph** + +- **X-Axis (Coolant Temperature)**: + - Ranges from \-40°C to 100°C in this example. + - Represents the engine's coolant temperature. +- **Y-Axis (Multiplier)**: + - Represents the scaling factor applied to the base IAC position during cranking. + +--- + +#### **Typical Behavior** + +- **Cold Starts**: + - At very low temperatures (e.g., \-40°C), the multiplier is highest (e.g., 2.00). + - This opens the idle air control valve more to provide additional airflow for starting in cold conditions. +- **Warm Starts**: + - As the temperature increases, the multiplier gradually decreases. + - Above 40°C, the multiplier stabilizes at lower values (e.g., 1.50 or less), indicating reduced airflow adjustment is required. + +--- + +#### **Recommendations** + +- **Adjustments**: + - These values are pre-tuned for stock vehicles in Mazduino Plug and Play units but may need tuning for modified setups or extreme temperature environments. + - Ensure higher multipliers for very cold starts to allow sufficient airflow for smooth ignition. + - For warm starts, adjust the table to avoid unnecessary over-compensation, which could lead to excessive RPM during cranking. +- **Cold Start Behavior**: + - Multipliers greater than 1.50 at very low temperatures help offset increased engine friction and reduced air density. + +--- + +### **Mazduino Plug and Play Notes** + +- **Preconfigured for Stock**: + - The Mazduino Plug and Play systems include baseline values tailored for stock vehicles. +- **Customization for Modified Engines**: + - Metal-series Wire-In ECUs require manual calibration of this table, especially for engines with modified air intake systems or differing idle valve characteristics. + +This table, alongside the coolant temperature multiplier, plays a crucial role in ensuring smooth and reliable engine cranking under all temperature conditions. + +**V. Idle Button in TS** +![][image40] + +### Idle Menu Dropdown Overview + +The **Idle** menu contains options that govern how the ECU manages idle speed and idle-related parameters. These settings allow fine-tuning of idle stability, responsiveness, and performance under various conditions. + +#### **Menu Options** + +1. **Idle Settings**: + General configuration for idle control, including modes of operation and idle valve control. + +2. **Idle Hardware**: + Defines the type of idle air control (IAC) hardware being used, such as stepper motor or PWM-controlled solenoid. + +3. **Target RPM**: + A table that specifies the desired idle RPM for various operating conditions (e.g., coolant temperature, load). + +4. **Idle CLT Multiplier**: + Adjusts idle air flow based on coolant temperature using a multiplier. + +5. **Closed-Loop Idle Timing**: + Enables closed-loop control for idle stabilization through ignition timing adjustments. + +6. **IAC PID Multiplier**: + Configures the proportional-integral-derivative (PID) controller for IAC valve operation. + +7. **Coasting IAC Position**: + Adjusts the IAC valve's behavior during deceleration to prevent engine stalling. + +8. **Idle VE**: + Refines the volumetric efficiency (VE) table for idle-specific regions. + +9. **Idle Ignition Advance**: + Fine-tunes ignition advance during idle to stabilize engine RPM and improve responsiveness. + +--- + +#### **Mazduino Plug and Play Notes** + +- **Preconfigured Values**: + Mazduino Plug and Play ECUs include pre-tuned idle settings optimized for stock vehicle configurations. These values aim for reliable daily operation but are not intended as a performance or dyno-tuned calibration. +- **Wire-In ECUs**: + Users with Metal-series Wire-In ECUs must manually configure these settings according to their hardware and vehicle requirements. + +### Idle Settings + +The **Idle Settings** section focuses on configuring the idle control system for stable engine operation. This excludes advanced options, such as **idleIncrementalPidCic**, **use Cic PID**, and **Use IAC PID Multiplier Table**, which will not be discussed as they are typically left at default settings. + +--- + +#### **Idle Control Mode** + +- **Options**: + - **Open Loop**: Sets a fixed idle position without sensor feedback. + - **Open Loop \+ Closed Loop**: Combines a fixed base position with real-time adjustments using sensor feedback. +- **Recommendation**: Use **Open Loop \+ Closed Loop** for optimal idle stability, especially for engines with varying loads. + +--- + +#### **Idle Detection Thresholds** + +These thresholds define when the ECU determines the engine is in an idle state: + +- **TPS Threshold (%):** Maximum throttle position to consider the engine idling. +- **RPM Upper/Lower Limits:** Define the RPM range for idle control activation. +- **Max Vehicle Speed (kph):** Sets a speed threshold below which idle control is active. + +--- + +#### **Open Loop Idle** + +- **Open Loop Base Position (%):** Controls the fixed airflow position for open-loop mode. +- **Fan Adders (%):** Compensate for additional electrical loads when fans are active. +- **A/C Adder and Target (RPM):** Adjusts idle control to maintain RPM when air conditioning is on. +- **Dashboard/Taper IAC Adder (%):** Adds airflow to stabilize transitions during open-loop operation. + +--- + +#### **Closed Loop Idle** + +- **PID Parameters:** These control how the ECU stabilizes idle RPM dynamically: + - **P-factor, I-factor, D-factor:** Parameters that tune proportional, integral, and derivative control. + - **Min/Max and I-Term Ranges:** Restrict corrections to prevent over- or under-compensation. + - **Anti-windup Frequency:** Prevents integral overshoot during large deviations. + +--- + +#### **Extra Idle Features** + +1. **Use Idle Ignition Table:** Uses a specific ignition map to improve idle stability. +2. **Use Idle VE Table:** Activates a separate VE table for idle conditions, offering precise control. +3. **Override Idle VE Table Load Axis:** Advanced option; typically left at default. +4. **Dashpot Settings:** + - **Dashpot Coasting-to-Idle Hold Time (seconds):** Controls how long the idle valve holds an elevated position during a transition from coasting to idle. This helps prevent a sharp RPM drop that could stall the engine. + - **Dashpot Coasting-to-Idle Decay Time (seconds):** Determines how quickly the idle valve returns to its normal position after coasting. + +--- + +Under the "Idle Target RPM" settings, the table shown allows for adjustment of the target idle RPM based on coolant temperature. In this example: + +- **Colder Temperatures**: Higher RPMs are set for colder temperatures to help the engine warm up more quickly. As coolant temperature rises, the target RPM gradually decreases. +- **Warmer Temperatures**: The target RPM lowers to a stable idle speed as the engine reaches normal operating temperature, typically around 800–900 RPM. +- **High Coolant Temperatures**: In this configuration, the idle RPM is set to increase slightly above 100°C as an extra precaution to cool the engine. + +This setup ensures that the engine operates smoothly across various temperature conditions and helps avoid stalling when the engine is cold. + +### Warmup Idle Multiplier Table + +This table adjusts the **open-loop idle position** based on coolant temperature, providing a multiplier to the base "Open Loop Value" set in the Idle Settings. + +- **Colder Temperatures**: The multiplier is higher (e.g., 1.40 in this example) to increase the idle position for cold starts, helping the engine warm up faster and maintain stability during initial operation. +- **Warmer Temperatures**: The multiplier decreases as the engine reaches operating temperature, typically leveling to 1.00 at normal operating conditions. +- **Hot Temperatures**: In this example, a slight reduction below 1.00 is applied when the engine is above 100°C to help reduce idle air and avoid excess load on the cooling system. + +This table allows fine-tuning for varying coolant temperatures to ensure smooth idle transitions during warmup and at different temperature ranges. + +### Closed-Loop Idle Timing + +This configuration adjusts ignition timing dynamically to help maintain a stable idle speed in closed-loop control mode. Timing adjustments are calculated based on the RPM deviation from the idle target. + +- **Enable Closed-Loop Idle Ignition Timing**: + - When set to `true`, the system dynamically adjusts ignition timing based on RPM deviations. +- **Proportional Gain**: + - Specifies how much timing will be adjusted per RPM away from the target. + - A suggested starting point is `0.1`, equating to 10° of adjustment for every 100 RPM of deviation. +- **Integral Gain**: + - Adjusts the timing over time to account for sustained errors. Typically left at `0.0000` unless advanced tuning is required. +- **Derivative Gain**: + - Helps to predict and counteract RPM changes based on the rate of change. The example value is `0.0050`. +- **Min Adjustment (Retard)** and **Max Adjustment (Advance)**: + - Defines the allowable timing range for adjustments. + - Example: + - **Retard**: \-10° (timing can retard by up to 10°) + - **Advance**: \+10° (timing can advance by up to 10°) +- **Soft Entry Time (sec)**: + + - Introduces a delay to smoothly enable timing adjustments when transitioning into closed-loop idle control. The example value is `2.0` seconds. + +**VI. Advanced Button** +**![][image41]** + +### Advanced Button Options \- Overview + +**Launch Control** +Configures the two-step launch control system, which holds the engine at a specific RPM for consistent launches. Parameters such as RPM limit and activation conditions can be adjusted. + +**Shift Torque Reduction (Flat Shift)** +Reduces torque during gear shifts by cutting ignition or retarding timing, designed for sequential or dog-box transmissions. This feature reduces stress and helps maintain boost during shifts. + +**Cylinder Offsets** +An advanced feature used for **oddfire engines**, allowing offsets for individual cylinders to fine-tune ignition timing and fuel delivery. Useful in non-standard firing order configurations or engines with inherent mechanical differences. + +**Boost Control** + +- **Open Loop**: Configures a fixed duty cycle for the boost control solenoid, operating without sensor feedback. +- **Open Loop Gear Adder**: Adjusts duty cycle based on the selected gear, enabling progressive boost control. +- **Duty Multiplier**: Dynamically scales the solenoid's duty cycle to modify boost behavior under various conditions. +- **Target**: Uses a closed-loop control system to achieve a specific boost pressure by monitoring the MAP sensor. + +**Boost Blend Tables** +Allows blending between multiple boost control maps, determined by conditions such as load or RPM. Ideal for applications requiring different boost settings, such as varying fuel types or driving conditions. + +**ETB-Style Wastegate Actuator** +Manages an electronic wastegate actuator, providing precise boost regulation beyond traditional vacuum-controlled wastegate systems. + +**General Purpose PWM 1-4** +Configures auxiliary PWM outputs for devices like fuel pumps, nitrous control, or additional fans. Each output can be individually customized for the intended purpose. + +**Electronic Throttle Body (ETB)** + +- **Bias Curve (Feed Forward)**: Defines how the throttle responds to pedal input, smoothing or sharpening throttle behavior. +- **Pedal Target**: Configures the relationship between pedal position and throttle plate movement. +- **ETB2 Trim**: Provides a trimming adjustment for the throttle target in systems equipped with **dual ETBs**, ensuring synchronization between the two throttle bodies. + +**VVT Outputs and PID** + +- **Intake Target**: Configures the target position for variable valve timing (VVT) on the intake camshaft. +- **Exhaust Target**: Configures the target position for VVT on the exhaust camshaft. These are managed through a PID control system to ensure precise camshaft operation. + +### Updated Launch Control Settings + +The **Launch Control** system ensures consistent and controlled launches by holding the engine at a specified RPM under specific conditions. Below is an updated explanation of the settings and functionalities: + +--- + +#### **Settings Overview** + +1. **Enable Launch Control**: + Toggles the activation of the launch control system. + + - Options: `true` (enabled) or `false` (disabled). + + + +2. **Activation Mode**: + Determines how launch control is activated. + + - Options: + - **Launch Button**: Activated by pressing a designated button. + - **Clutch Down**: Activated when the clutch is fully pressed. + - **Brake Pedal Activated**: Activated by pressing the brake pedal. + - **Speed Based**: Launch control is always active below the Speed Threshold, as long as other conditions (e.g., throttle position) are met. + + + +3. **Launch Button Settings**: + + - **Launch Button**: Assigns the input pin for the launch button. + - **Launch Button Inverted**: Inverts the button signal if necessary. + - **Launch Button Mode**: Configures signal behavior (e.g., `DEFAULT`, `PULLDOWN`). + + + +4. **Clutch Down Settings**: + + - **Clutch Down**: Assigns the clutch input pin if this activation mode is used. + - **Clutch Down Inverted**: Inverts the clutch signal if needed. + - **Clutch Down Mode**: Configures the clutch input behavior (`PULLDOWN`, `PULLUP`, etc.). + + + +5. **Speed Threshold (Kph)**: + Launch control is only active below this speed when using **Speed Based** or other activation modes. + +6. **Launch RPM (Rpm)**: + Sets the target RPM during launch control. For example, a value of `3000` will hold the engine at 3000 RPM. + +7. **Launch Control Window (Rpm)**: + Defines the range of RPM around the Launch RPM where the system engages corrections (e.g., ignition retard, fuel cut). + +8. **TPS Threshold**: + Specifies the minimum throttle position required to activate launch control. + +--- + +#### **Ignition Retard Options** + +- **Ignition Retard Enable**: + Toggles ignition retard during launch. + + - **Ignition Retard (Deg)**: Amount of ignition retard applied in degrees (BTDC). + - **Fuel Added (%)**: Adjusts additional fueling during ignition retard. + + +- **Smooth Retard Mode**: + Gradually applies ignition retard for smoother launches. + + - **Launch Corrections End RPM**: This defines the amount of RPM before the **Launch RPM** where corrections like ignition retard and the final ignition cut percentage complete their transition. After this point, these corrections reach their final values and remain constant until the hard cut at Launch RPM. + +--- + +#### **Hard Cut Mode** + +- **Ignition Cut**: Toggles ignition cut functionality during launch. + + - **Initial Ignition Cut (%)**: Percentage of ignition cut when launch begins. + - **Final Ignition Cut % Before Launch (%)**: Ignition cut applied just before the hard cut at Launch RPM. + + +- **Fuel Cut**: Toggles fuel cut functionality during launch control. + +--- + +#### **Launch Control States (Diagnostics)** + +The **white indicators** on the right turn red to show the current states of the launch control system, such as: + +- **isLaunchCondition**: Launch conditions are met. +- **isClutchActivated**: Clutch is engaged. +- **speedCondition**: Speed threshold is met. +- **tpsCondition**: Throttle position threshold is met. + +The **Boost Control** interface allows precise management of turbocharger or supercharger boost levels. Below is a breakdown of the settings: + +--- + +#### **Boost Control Settings Overview** + +**Enable**: +Toggles the boost control system. + +- Options: `true` (enabled) or `false` (disabled). + + +2. **Control Mode**: + Defines the method used to control boost levels. + + - Options: + - **Open Loop**: Boost is managed directly by the duty cycle specified in the boost tables or other settings without feedback. + - **Closed Loop**: Adjusts boost dynamically based on the desired target and sensor feedback + + + +3. **Output**: + Specifies the pin used to control the boost solenoid (e.g., `22C - Boost` in this example). + +4. **Output Mode**: + Configures the electrical behavior of the boost output. + +5. **Frequency (Hz)**: + The PWM frequency used to drive the boost solenoid. Typical values are between `15` and `30 Hz`. + +6. **Safe Duty Cycle (%)**: + The maximum duty cycle allowed in error conditions. This acts as a safety feature. + +#### **Boost Control Activation Thresholds** + +These thresholds define the conditions under which the boost control system becomes active. Boost control will not function until all conditions are met: + +- **No Boost Control Below RPM**: + Minimum engine speed for activating boost control. + + - Example: `2000 RPM`. + + +- **No Boost Control Below TPS (%)**: + Minimum throttle position for activating boost control. + + - Example: `30%`. + + +- **No Boost Control Below MAP (kPa)**: + Minimum manifold pressure required to activate boost control. + + - Example: `110 kPa`. + +--- + +### Boost Control Open Loop Table + +The **Boost Control Open Loop** table configures the PWM duty cycle for the boost solenoid based on engine RPM (X-axis) and a configurable secondary axis (Y-axis). In this example, the Y-axis is set to **MAP (Manifold Absolute Pressure)**, though by default, it is **TPS (Throttle Position Sensor)**. + +--- + +#### **Table Details** + +1. **Y-Axis (MAP in Example)**: + + - Represents the selected secondary parameter for tuning boost. Common options include: + - **MAP (Manifold Absolute Pressure):** Used for tuning based on engine load and boost levels. + - **TPS (Throttle Position Sensor):** Used for throttle-based boost control. + - In this example, MAP ranges from `60 kPa` (vacuum) to `220 kPa` (boost pressure). + + + +2. **X-Axis (RPM)**: + + - Represents engine RPM, ranging from idle (`1000 RPM`) to high engine speeds (`7000 RPM`). + + + +3. **Cell Values (Duty Cycle)**: + + - Each cell determines the duty cycle (%) applied to the boost solenoid. + - Higher duty cycle values increase boost pressure, while lower values decrease it. + +--- + +#### **Key Notes for Open Loop Tuning** + +1. **Axis Configuration**: + + - The Y-axis can be switched between MAP, TPS, or other parameters depending on your tuning needs. The flexibility of this configuration allows for different boost control strategies. + + + +2. **Boost Curve Adjustment**: + + - Lower RPMs or MAP/TPS values generally require lower duty cycles (e.g., `0%` to `30%`) to prevent over-boosting during turbo spool-up. + - At higher RPMs or MAP values, duty cycles typically increase (e.g., `40%` to `80%`) to sustain or achieve desired boost levels. + + + +3. **Safe Practices**: + + - Start with conservative duty cycles in all cells and gradually increase values during tuning to prevent excessive boost. + + + +4. **Closed Loop Transition**: + + - In systems that transition to closed-loop boost control, this table serves as the baseline. Closed-loop settings use feedback to refine control dynamically. + +![][image42] + +### General Purpose PWM Table + +The **General Purpose PWM Table** (GP PWM) allows configuring Pulse Width Modulation (PWM) outputs for custom control scenarios. This table is highly versatile and can be used for applications like reverse lockouts, cooling fans, or additional auxiliary systems. + +--- + +#### **Configuration Options** + +1. **Output**: + + - Specifies the output pin to control. Set to `NONE` if the PWM feature is not being used. + + + +2. **Frequency (Hz)**: + + - Sets the operating frequency of the PWM signal. + - Set to `0 Hz` if using the output in an on/off mode (not variable). + + + +3. **Duty Cycle Thresholds**: + + - **On Above Duty (%)**: The output is activated when the duty cycle exceeds this value. + - **Off Below Duty (%)**: The output is deactivated when the duty cycle drops below this value. + - **Duty if Error (%)**: Sets the fallback duty cycle in case of an error. + + + +4. **X and Y Axes**: + + - Define the parameters for the table axes, such as **RPM**, **MAP**, **TPS**, or custom inputs. + - In this example, the **X-axis** is set to **RPM**, and the **Y-axis** is set to **Zero**. + + + +5. **Duty Cycle Table**: + + - The table allows configuring duty cycle values based on the selected X and Y axes. + - Example: The highlighted `100%` duty cycle in the table could be used for specific conditions like engaging a reverse lockout mechanism. + +--- + +#### **Notes for Use** + +- This table can adapt to a wide range of applications: + - Control solenoids or actuators (e.g., boost solenoids, lockouts). + - Operate fans or auxiliary pumps based on environmental conditions. +- The example shows a **note** specifying "reverse lockout," indicating its use to manage the activation of a reverse gear safety mechanism. + +--- + +### Electronic Throttle Body (ETB) Settings + +The **Electronic Throttle Body (ETB)** configuration provides control over drive-by-wire throttle systems, enabling precise throttle control and customization for various applications. + +--- + +#### **Main ETB Configuration** + +1. **Disable ETB if Engine is Stopped**: + + - When enabled (`true`), the ETB is disabled when the engine is not running to conserve power and prevent unintentional movement. + + + +2. **Disable ETB Motor**: + + - When set to `true`, the throttle motor is disabled. Used for testing or diagnostics. + + + +3. **H-Bridge \#1 and \#2 Functions**: + + - Assigns control of **Throttle 1** and **Throttle 2** for dual ETB setups or single ETB management. + + + +4. **PWM Frequency (Hz)**: + + - Defines the frequency for throttle motor control. Commonly set to 1000 Hz for optimal response. + + + +5. **Minimum/Maximum ETB Position (%)**: + - Restricts the range of throttle plate movement. + - Example: Set **1% to 100%** to define the fully closed and open positions +6. **Jam Detection Error Max (%)** and **Timeout Period (sec)**: + - Sets thresholds for detecting and reacting to throttle plate jams. + - The "Temporarily Disable Jam Detection" button disables detection for testing purposes until the next power cycle. + +#### **ETB Idle** + +- **ETB Idle Maximum Angle (%)**: + - Defines the maximum throttle angle allowed during idle control. + +#### **PID Settings** + +- Proportional (`pFactor`), Integral (`iFactor`), and Derivative (`dFactor`) gains are adjustable for precise throttle control. +- **PID Min/Max**: + - Limits for PID output to avoid excessive or insufficient corrections. +- **iTerm Min/Max**: + - Boundaries for the integrative term to stabilize control without overshooting. + +#### **PID Autotune** + +1. **Step 1**: + - Auto-calibrate TPS to learn the fully open and closed positions. + - Hit `Burn` after calibration to save settings. +2. **Step 2**: + - Use `Start ETB PID Autotune` to let the system automatically fine-tune PID values based on throttle response. + - Stop the process when adjustments are complete, after about 30 seconds. + +--- + +This section allows tuning the ETB system for smooth and accurate throttle control. If you're running dual throttle bodies (e.g., twin ETBs), ensure both are configured correctly under H-Bridge functions. + +### ETB Pedal to TPS Table + +This table defines the relationship between **pedal position** (input) and **throttle position sensor (TPS)** output based on engine RPM. + +--- + +#### **Explanation** + +1. **Columns** (X-Axis): + Represent engine **RPM** values ranging from idle to the redline (e.g., 500 to 7000 RPM). + +2. **Rows** (Y-Axis): + Represent **pedal position** as a percentage from 0% (no pedal input) to 100% (full pedal input). + +3. **Cells**: + Define the throttle opening percentage for each combination of pedal position and engine RPM. + + - Example: At 50% pedal input and 1500 RPM, the throttle opens to **29%**. + +--- + +#### **Notable Features** + +- **Nonlinear Throttle Response**: + Allows for custom throttle response curves based on user preference or engine requirements. + + - Example: At lower pedal positions, throttle openings can be reduced for smoother driving. + + +- **High RPM Full Opening**: + At higher RPMs and full pedal input, throttle position is usually set to 100% for maximum engine output. + +--- + +#### **Tuning Notes** + +- **Smoothness**: Ensure gradual transitions between cells to prevent abrupt throttle behavior. +- **RPM Dependency**: Adjust the table for specific engine characteristics or driving scenarios. For example, turbocharged engines may benefit from limiting throttle opening at lower RPMs to manage boost. + +![][image43] + +### VVT Configuration & PID + +This menu configures **Variable Valve Timing (VVT)** settings for intake and exhaust camshafts. + +--- + +#### **Configuration Section** + +1. **Activation Delay (ms)**: + Sets the delay before VVT activation after the engine meets the specified conditions. In this example, it’s set to **6000 milliseconds (6 seconds)**. + +2. **Do Not Control Below RPM**: + Prevents VVT control below a specific RPM. + + - Example: **550 RPM** ensures no VVT engagement during cranking or idle. + + + +3. **VVT Solenoid Assignments**: + Assigns control pins for the following solenoids: + + - **Bank 1 Intake/Exhaust** + - **Bank 2 Intake/Exhaust** + + + +4. **Cam Control Directions**: + Specifies the camshaft adjustment direction (e.g., advance or retard) for both **intake** and **exhaust** cams. + +--- + +#### **Intake and Exhaust PID Settings** + +These parameters fine-tune the control of the VVT solenoids: + +1. **Offset**: + Compensates for mechanical inaccuracies in camshaft positioning. + +2. **PID Values**: + + - **P (Proportional)**: Adjusts the solenoid duty cycle based on the magnitude of the error. + - **I (Integral)**: Addresses accumulated error over time for smoother adjustments. + - **D (Derivative)**: Reacts to the rate of error change, reducing overshooting. + + + +3. **Min/Max**: + Defines the **maximum and minimum solenoid duty cycle** limits. + + - Example: **10 to 90%** ensures the solenoids operate within safe ranges to avoid overloading or insufficient movement. + + + +4. **Bench Testing Options**: + Manual testing allows direct control of the solenoids for: + + - **Bank 1** + - **Bank 2** + +--- + +#### **Tuning Notes** + +- Proper **RPM thresholds** prevent VVT interference with idle or cranking operations. +- Carefully adjust **PID values** to match the specific solenoid and camshaft behavior for optimal performance. +- Use **bench testing** to verify solenoid connections and camshaft movement before engine operation. + +**VII. Sensors Button in TS** +![][image44] + +### Sensors Configuration + +The **Sensors** dropdown menu provides access to configure specific sensors for your ECU setup. Each option is dedicated to a particular sensor or type of measurement and allows fine-tuning of sensor parameters. + +--- + +#### **Available Configuration Options** + +1. **Misc Sensors**: + Configure various non-standard sensors or general-purpose inputs. + +2. **Analog Input Settings**: + Define settings for auxiliary analog inputs connected to the ECU. + +3. **CLT Sensor (Coolant Temperature)**: + Set calibration for the coolant temperature sensor, crucial for cold start enrichment and fan control. + +4. **IAT Sensor (Intake Air Temperature)**: + Configure intake air temperature sensor parameters, which help in calculating air density for fueling. + +5. **Auxiliary Temperature Sensors (1 & 2\)**: + Assign and calibrate extra temperature sensors for monitoring additional components. + +6. **TPS (Throttle Position Sensor)**: + Adjust settings for the throttle position sensor, vital for acceleration enrichment and idle control. + +7. **Accelerator Pedal Sensor**: + Set calibration for drive-by-wire systems where the pedal position is electronically monitored. + +8. **MAP Sensor (Manifold Absolute Pressure)**: + Configure the MAP sensor for load calculation, turbo boost management, or barometric correction. + +9. **MAP Sampling**: + Refine MAP sensor sampling intervals for consistent and accurate readings. + +10. **Barometric Pressure Sensor**: + Configure a barometric sensor for altitude-based fueling adjustments. + +11. **MAF Sensor (Mass Airflow)**: + Set up the mass airflow sensor to measure incoming air for fueling calculations. + +12. **MAF Transfer Function**: + Define the MAF sensor's calibration curve for converting voltage to airflow. + +13. **O2 Sensor**: + Configure oxygen sensors for monitoring air-fuel ratios. + +14. **rusEFI Wideband Controller**: + Calibrate and integrate a wideband O2 controller for precise AFR tuning. + +15. **VR Sensor Threshold**: + Adjust parameters for VR (Variable Reluctance) sensors, typically used for crankshaft and camshaft position detection. + +16. **Vehicle Speed Sensor**: + Set up the speed sensor for determining vehicle speed, used in advanced control features like launch control or boost management. + +17. **Oil Pressure Sensor**: + Configure settings for monitoring engine oil pressure to prevent damage. + +18. **Oil Temperature Sensor**: + Set calibration for tracking oil temperature for safety and performance monitoring. + +19. **Fuel Pressure Sensor**: + Configure the sensor to ensure consistent fuel delivery under different loads. + +20. **Fuel Temperature Sensor**: + Set up the sensor for monitoring fuel temperature, which can affect density and flow. + +21. **Fuel Level Sensor**: + Adjust calibration for the fuel level sensor to display accurate readings. + +22. **Ambient Temperature Sensor**: + Configure the sensor for environmental temperature monitoring. + +23. **Compressor Discharge Temp**: + Set up this sensor to monitor turbocharger/intercooler output temperatures. + +24. **Wastegate and Idle Position Sensors**: + Calibrate wastegate or bypass valve position sensors for boost management. + +25. **A/C Pressure Sensor**: + Configure the sensor for air conditioning system monitoring. + +26. **Aux Sensors**: + Additional customizable sensor inputs for monitoring various components or systems. + +--- + +### **Usage Notes** + +- Each sensor dialog provides detailed configuration options for **calibration curves**, **thresholds**, and **functional assignments**. +- Ensure proper calibration using the manufacturer's specifications to avoid inaccurate readings or performance issues. + +### Other Sensor Inputs + +The **Other Sensor Inputs** dialog allows configuring additional sensors that play a role in specialized engine control or advanced features. These include inputs for clutch, brake, throttle, turbo, and various pressure-related sensors. Below is a breakdown of the available configurations: + +--- + +#### **Sensor Input Options** + +1. **Clutch Down** + + - **Signal**: Assign the pin and input type for detecting when the clutch is fully depressed. + - **Mode**: Options include **Pull-up** or **Pull-down** to configure the signal polarity. + - **Signal Polarity**: Can be set to **Normal** or **Inverted**, depending on how the sensor operates. + + + +2. **Clutch Up** + + - **Signal**: Configure the pin for detecting when the clutch is fully released. + - **Mode**: Similar to clutch down, this can be set to **Pull-up** or **Pull-down**. + - **Signal Polarity**: Choose between **Normal** and **Inverted**. + + + +3. **Throttle Up Switch** + + - Assigns a signal for throttle actuation when a secondary input is needed. + + + +4. **Brake Pedal** + + - **Signal**: Detects brake pedal activation. + - **Mode**: Configures signal polarity for brake inputs (e.g., Pull-up or Pull-down). + - **Signal Polarity**: Options include **Normal** or **Inverted**. + + + +5. **Flex Fuel Sensor** + + - Assigns the signal for ethanol content monitoring to enable dynamic fuel adjustments. + - **Signal Type**: Configures the expected input format (e.g., Pull-up or Pull-down). + + + +6. **Turbo Speed Sensor** + + - Assigns the sensor input for turbocharger RPM monitoring. + - **Turbo Speed Multiplier**: Allows calibration based on the specific turbocharger setup. + + + +7. **Throttle Inlet Pressure Sensor** + + - Configures a dedicated pressure sensor for measuring manifold pressure before the throttle body. + + + +8. **Compressor Discharge Pressure Sensor** + + - Calibrates a sensor for monitoring the output pressure from the turbocharger or supercharger. + +--- + +### **Usage Notes** + +- **Signal Polarity (Normal/Inverted)**: When configuring inputs with a **Normal/Inverted** option, ensure the setting matches the expected behavior of your sensor. For example, an inverted signal flips the logic of the input to match the hardware wiring. +- **Flex Fuel and Turbo Sensors**: These are optional but recommended for setups requiring precise ethanol or turbocharger management. +- Proper calibration is crucial for sensors like **turbo speed** and **pressure sensors** to ensure accuracy and avoid performance issues. + +![][image45] + +### TPS and Accelerator Pedal Setup + +The **TPS (Throttle Position Sensor)** and **Accelerator Pedal Sensor (PPS)** windows are used for calibrating and configuring sensors required when using **electronic throttle bodies (ETB)**. Proper calibration in these sections is essential for the engine's functionality, as incorrect or incomplete setups can result in the ECU throwing errors and refusing to run until the issue is resolved. + +#### **TPS Setup** + +- **Ford/Toyota Redundant TPS Mode**: + + - This mode is designed specifically for certain **TPS/PPS sensors made by Ford and Toyota**, which have a different scaling compared to ordinary TPS/PPS setups. + - All TPS/PPS use redundant sensors, but this mode is required only when the second sensor exhibits an odd scaling unique to these manufacturers. Ensure this mode is enabled if such sensors are in use. + + +- **TPS/PPS Limits**: + + - **Minimum Valid Value (%)**: The lowest acceptable sensor value. + - **Maximum Valid Value (%)**: The highest acceptable sensor value. + - **Error Detection Threshold (%)**: Determines when the ECU flags a fault based on the deviation from the expected values. + + +- **Throttle Body \#1 and \#2 Sensors**: + + - Calibration involves setting the **minimum (ADC)** and **maximum (ADC)** values using the **Auto Calibrate** buttons. + - Ensure the sensor inputs are assigned correctly (e.g., TPS1 Primary, TPS1 Secondary). + - **Note**: If the calibration is incomplete or incorrect, the ECU will flag an error and refuse to function until it is cleared. + +#### **Accelerator Pedal Setup** + +- **Accelerator Position Sensor**: + - Assign inputs for the **primary** and **secondary** pedal sensors. + - Use the **Grab Up** button to record the voltage when the pedal is **not depressed**. + - Use the **Grab Down** button to record the voltage when the pedal is **fully depressed**. + - Ensure the calibration is precise; deviations can trigger ECU errors. + +#### **Important Notes** + +- **Calibration Requirement**: Both the TPS and PPS calibrations must be completed successfully for the ECU to function properly with an ETB. +- **Error Handling**: If the calibration fails or settings are incorrect, the ECU will display an error and prevent the engine from running until the issue is resolved and the error is cleared. +- These settings are **only required for ETB setups**. For traditional cable-driven throttle setups, these configurations are not applicable. + +### O2 Sensor Configuration + +The **O2 Sensor** window allows the configuration of **CAN wideband units** or **analog-input-based sensors**, providing flexibility for a variety of setups. + +#### **CAN Wideband Configuration** + +- **Enable CAN Wideband**: + + - Works with **AEM** or **Mazduino wideband units** wired through CAN. + - Select the **CAN bus channel** the wideband is connected to. + - If channels are swapped, enable **Swap Channels 1 and 2**. + - The **Force O2 sensor heating** option can override automatic heating control, though it is typically set to "No." + + +- **CAN Indicators**: + + - Display the operational status of the wideband system. + - Green indicators signify proper operation (e.g., Heating Allowed, Communication OK). + - Red indicators highlight issues, such as heating failures or sensor underheating/overheating. + +#### **Analog Input Configuration** + +- **O2 Sensor I/O**: + + - **Input Channel**: Select the analog input connected to the sensor. + - **Heater Output**: Specify the output channel for the heater control. + +### O2 Type Options + +The **O2 Type** dropdown allows you to configure the type of O2 sensor used for analog inputs. Below is a breakdown of the options available: + +- **Custom**: Enables manual configuration of the sensor's voltage-to-AFR scaling. You can define: + - **Low Voltage (Volts)**: The minimum voltage the sensor outputs. + - **Low Value (AFR)**: The AFR corresponding to the low voltage. + - **High Voltage (Volts)**: The maximum voltage the sensor outputs. + - **High Value (AFR)**: The AFR corresponding to the high voltage. + + +- **BP SX**: Predefined scaling for BP SX wideband sensors. +- **Innovate**: Predefined scaling for Innovate wideband controllers. +- **14Point7**: Predefined scaling for 14Point7 wideband sensors. +- **PLX**: Predefined scaling for PLX wideband controllers. +- **Narrow Band**: For traditional narrowband O2 sensors. Limited to stoichiometric switching behavior. +- **AEM**: Predefined scaling for AEM wideband controllers. + +### Setting the Correct Option + +- Select the **appropriate predefined type** if using a common wideband unit for automatic scaling. +- Use **Custom** only if your sensor type isn't listed or if you need precise scaling adjustments. Enter the sensor’s voltage and AFR data in the fields provided. +- Choosing the wrong type or incorrect scaling will result in inaccurate AFR readings, which can lead to tuning errors. + +#### **Notes** + +- Proper scaling ensures accurate AFR (Air-Fuel Ratio) readings for both wideband and narrowband sensors. +- When using a CAN-based wideband, the analog input configurations in the lower sections are not needed. Conversely, for analog sensors, the CAN configurations and indicators are ignored. + +### VR Sensor Threshold + +This screen is used to configure **Voltage Reference (VR) Sensor Thresholds** for discrete VR sensor inputs, which are available only in wire-in Mazduino units. VR sensors are commonly used for crankshaft and camshaft position sensing. + +#### Configuration + +- **VR 1 Threshold**: + + - Defines the voltage threshold for the primary VR sensor at different RPM values. + - The ECU uses these thresholds to accurately detect zero-crossings of the VR signal, ensuring precise timing measurements. + - The table and graph allow adjustment for varying voltage levels at specific RPMs. + + +- **VR 2 Threshold**: + + - Configures the voltage threshold for the secondary VR sensor (if applicable). + - Similar to VR 1, adjustments ensure accurate detection and signal processing for the secondary VR input. + +#### Important Notes + +- **Wire-in Only**: This feature is exclusive to wire-in ECUs and is not available in plug-and-play units. +- **Calibration**: Proper calibration of these thresholds is critical to prevent false signal detection or missed pulses, especially at high RPMs. +- **Adjustments**: Ensure the VR sensor's output voltage aligns with the thresholds set in the table for accurate operation. Use a scope if necessary to observe the VR waveform and verify the settings. + +Correctly configuring VR thresholds ensures optimal operation of the ignition and timing systems, especially in high-performance or custom setups where VR sensors are commonly used. + +![][image46] + +### Speed Sensor Configuration + +This screen is used to configure the speed sensor settings and calculate vehicle speed or detect gears based on input signals. + +#### Speed Sensor Settings + +1. **Input**: + + - Select the input pin for the speed sensor signal. In the example, "3B/4B \- VR2" is used, indicating a VR-based speed sensor. + + + +2. **Filter Parameter**: + + - Specifies the filtering applied to the speed sensor signal. A higher value smooths out noisy signals but may reduce responsiveness. + + + +3. **Wheel Revolutions per Kilometer (revs/km)**: + + - Determines the number of wheel rotations required to travel one kilometer. This value depends on the tire size and must be accurate for correct speed calculation. + + + +4. **Speed Sensor Gear Ratio**: + + - Specifies the gear ratio of the speed sensor to the wheels. This is commonly used in vehicles where the speed sensor is mounted on the gearbox. + + + +5. **Speed Sensor Tooth Count**: + + - The number of teeth or pulses generated per revolution by the speed sensor. This value is critical for accurate speed computation. + +#### CAN Vehicle Speed + +1. **Enable CAN VSS**: + - Enables the use of a CAN-based Vehicle Speed Sensor (VSS) instead of a direct speed sensor input. + + + +2. **CAN VSS Type**: + - Selects the vehicle type for CAN-based speed data (e.g., BMW e46 in the example). + + + +3. **CAN VSS Scaling (ratio)**: + - Adjusts the scaling factor for the CAN VSS data to match the actual speed. + +#### Gear Detection Settings + +1. **Wheel Revolutions per Kilometer (revs/km)**: + - Used again here to calculate speed for gear detection. + + + +2. **Final Drive Ratio**: + - Specifies the ratio between the driveshaft and the wheels. This is required for accurate gear calculation. + + + +3. **Forward Gear Count**: + - The number of forward gears available. In this example, six gears are configured. + + + +4. **Gear Ratios**: + - Defines the gear ratios for each gear. These ratios are used to calculate and detect which gear is engaged based on the vehicle speed and engine RPM. + +#### Key Notes + +- **Accuracy**: Proper configuration of all parameters is essential for accurate speed and gear detection. +- **Calibration**: Ensure tire size and gear ratios are measured or verified to avoid errors in speed and gear calculations. +- **CAN VSS**: When using CAN for vehicle speed, ensure the network is configured and operational to avoid fallback to incorrect speed readings. + +### Fuel Pressure Sensor Configuration + +This screen allows you to configure fuel pressure sensors for both low-pressure and high-pressure systems.Fuel Low Pressure Sensor + +1. **Fuel Low Pressure Input**: + - Selects the analog input channel connected to the low-pressure fuel sensor. If no sensor is used, leave it set to `NONE`. + + + +2. **Low Voltage (volts)**: + - Defines the voltage corresponding to the lowest measurable pressure from the sensor. + + + +3. **Low Pressure**: + - Specifies the actual pressure (in kPa or another unit) corresponding to the sensor’s lowest voltage. + +4. **High Voltage (volts)**: + - Defines the voltage corresponding to the highest measurable pressure from the sensor. + + + +5. **High Pressure**: + - Specifies the actual pressure (in kPa or another unit) corresponding to the sensor’s highest voltage. + + + +6. **Sensor Type**: + - Indicates whether the sensor provides an *Absolute* or *Gauge* reading. Absolute includes atmospheric pressure in its measurement, while Gauge measures only above atmospheric pressure. + +#### Fuel High Pressure Sensor (GDI Specific) + +1. **Fuel High Pressure Input**: + - This input is specifically used for *Gasoline Direct Injection (GDI)* systems, which require high-pressure fuel management. Leave it set to `NONE` if not applicable. + + + +2. **Low Voltage (volts)**: + - Defines the voltage corresponding to the lowest measurable pressure for the high-pressure sensor. + + + +3. **Low Pressure**: + - Specifies the actual pressure (in bar or another unit) corresponding to the lowest voltage. + + + +4. **High Voltage (volts)**: + - Defines the voltage corresponding to the highest measurable pressure for the high-pressure sensor. + + + +5. **High Pressure**: + - Specifies the actual pressure (in bar or another unit) corresponding to the highest voltage. + +#### Important Notes + +- **Calibration**: Proper configuration of low and high voltages with their corresponding pressures ensures accurate sensor readings. +- **Raw Voltage Readout**: The gauges on the right display real-time raw voltage signals from the connected sensors. +- **Sensor Type**: Ensure the correct sensor type (Absolute or Gauge) is selected to avoid misinterpretation of data. +- **High Pressure**: The *High Pressure* section is **only applicable to GDI systems**. Traditional port-injected systems do not utilize this feature. + +**IIX. CANBUS Button in TS** + +- ![][image47] + +### CAN Bus Menu Overview + +- **CAN Bus Settings** \- Configure the CAN network's baud rate, IDs, and message priorities for communication with external devices. +- **CAN Vehicle Speed Sensor** \- Set up vehicle speed data received through a CAN-based speed sensor. +- **CAN O2 Sensors** \- Enable and configure wideband oxygen sensors communicating over the CAN network. +- **CAN EGT Sensors** \- Assign and scale CAN-based exhaust gas temperature (EGT) sensors. +- **CAN MS IO-Box Settings** \- Configure external IO boxes to expand inputs and outputs via the CAN network. + +### CAN Bus Communication Settings + +1. **CAN Dash Type** \- Choose the type of dashboard connected via CAN. Options include None, custom dashboards, or predefined dashboards like those used in motorsports, enabling compatibility with external displays. +2. **Inertia Measurement Unit** \- Select an external IMU device if one is used. This setting allows integration of accelerometers and gyroscopes for advanced vehicle motion sensing, commonly used in race cars. +3. **CAN Read Enabled** \- Enables the ECU to receive and process data from devices on the CAN bus, such as dash displays or external sensors. +4. **CAN Write Enabled** \- Allows the ECU to transmit data, enabling interaction with dashboards, logging devices, or other control systems. +5. **Enable rusEFI CAN Broadcast** \- Sends standard-format data periodically over the CAN bus for connected devices. +6. **Enable Extended rusEFI CAN Broadcast** \- Broadcasts additional rusEFI-specific data for expanded integration options, useful for advanced setups like custom CAN integrations. +7. **rusEFI CAN Data Bus** \- Defines whether the data broadcast occurs on the first or second CAN bus, accommodating dual-bus systems. +8. **rusEFI CAN Base Address** \- The starting memory address for transmitted data on the CAN network. Adjust if conflicts occur with other devices. +9. **rusEFI CAN Data Address Type** \- Choose between 11-bit (standard) or 29-bit (extended) CAN address formats based on network requirements. Extended addressing is used in systems with more devices. +10. **rusEFI CAN Data Period (ms)** \- Determines the frequency of rusEFI data broadcasting. For instance, a setting of 50 ms results in data transmission every 50 milliseconds. +11. **Primary CAN Verbose** \- Configure the level of debugging messages for the Primary CAN bus. Useful for diagnosing communication issues. +12. **Primary CAN Bitrate** \- Set the communication speed of the Primary CAN bus. Default is 500 kbps, but lower or higher rates might be required for specific setups. +13. **Primary CAN Allow OpenBLT** \- Enables compatibility with OpenBLT bootloader, allowing firmware updates over the Primary CAN bus. +14. **Secondary CAN Verbose** \- Same as the Primary CAN Verbose but applies to the Secondary CAN bus. +15. **Secondary CAN Bitrate** \- Adjusts the speed of the Secondary CAN bus, matching it to connected devices’ requirements. +16. **Secondary CAN Allow OpenBLT** \- Allows firmware updates over the Secondary CAN bus using OpenBLT, useful for setups with multiple networks. + +**IX. Controller Button in TS** + +Here is the revised explanation of each option in the **Controller** dropdown: + +1. **ECU Stimulator**: Simulates various inputs to test ECU functionality without a running engine. +2. **Bench Test**: Allows testing of outputs, such as injectors and ignition coils, for troubleshooting or setup. +3. **Injector Test**: Provides a controlled way to test injector performance and flow rates. +4. **Popular Vehicles**: Predefined configurations for common vehicles, simplifying initial setup. +5. **rusEFI Console**: A terminal interface for detailed debugging and advanced configuration. +6. **SD Card Logger**: Manages onboard logging settings for data storage and retrieval. +7. **Connection**: Configures connection parameters between the ECU and software, such as baud rate. +8. **Full Pinout (1/3, 2/3, 3/3)**: Displays complete pinout details for wire-in ECUs for hardware reference. +9. **Fancy Board**: Available on wire-in ECUs, this is used to configure flexible I/O settings. +10. **Traction Control ETB Drop**: Reduces throttle position to manage wheel slip during traction control events. +11. **Traction Control Timing Adjustment**: Adjusts ignition timing dynamically for wheel slip control. +12. **Traction Control Skip Ignition**: Skips ignition events to reduce engine power and manage traction. +13. **Experimental 1, 2, 3**: Advanced testing features for developers and experimental setups. +14. **Anti-Lag ALS**: Configures anti-lag systems for turbocharged engines to maintain boost pressure. +15. **Rotary**: Enables rotary-specific engine control configurations. +16. **Throttle Effective Area**: Calibrates the effective area of the throttle body for airflow modeling. + +We will focus on **Bench Test**, **Fancy Board**, and **Traction Control**, as they are relevant to most users, while the remaining options are advanced or specialized. + +The **Bench Test & Commands** dialog contains multiple groups of buttons, each allowing you to test specific outputs by pulsing them according to the configured settings: + +1. **Spark Test**: Pulses ignition outputs. +2. **Injector Test**: Pulses injector outputs. +3. **TCU Solenoid Test**: Pulses transmission control solenoids (if available). +4. **Lua Out Test**: Pulses Lua-configured outputs. +5. **Miscellaneous Commands**: Activates specific functions like testing A/C relays, idle air valves, stopping the engine, rebooting the ECU, or resetting configurations. + +The configurable settings allow precise control over these tests: + +- **Count**: Specifies how many pulses will be generated. For example, setting this to 3 will result in 3 pulses. +- **On Time (ms)**: Determines how long each output stays active per pulse. For instance, a setting of 4 ms will activate the output for 4 milliseconds. +- **Off Time (ms)**: Specifies the duration of inactivity between pulses. For example, setting this to 500 ms will create a 500-millisecond delay before the next pulse. + +These controls ensure consistent and repeatable testing of outputs for diagnostic and validation purposes. + +**Fancy Board:** + +- **With Pull-Up**: Adds an internal pull-up resistor to the circuit, pulling the signal line to a high voltage (typically 5V) when no active signal is present. This is suitable for sensors or switches that pull the signal low when triggered. + +- **With Pull-Down**: Adds an internal pull-down resistor, pulling the signal line to ground when no active signal is present. This is ideal for sensors or switches that drive the signal high when activated. + +- **VR**: Allows switching an input between two-wire VR (Variable Reluctance) sensor mode and Hall input mode. VR sensors generate an AC signal and require specialized processing, while Hall sensors generate a digital on/off signal. Selecting the correct mode ensures the input processes the signal type accurately. + +**Traction Control Tables Overview:** + +1. **Y-Axis (Slip Ratio)**: Represents the detected amount of wheel slip. A value of `1.0` indicates no slip, while values above `1.0` (e.g., `1.1`) indicate slip (e.g., `1.1` represents 10% slip). +2. **X-Axis (Vehicle Speed)**: Represents the vehicle's speed in kilometers per hour. +3. **Timing Drop Table**: Removes ignition timing by the positive value specified in the table when slip is detected. The larger the value, the more timing is reduced. +4. **ETB Drop Table**: Commands a throttle reduction (ETB \= Electronic Throttle Body) by the negative values specified. Higher negative numbers mean a greater throttle reduction. +5. **Ignition Skip Table**: Skips ignition events by the percentage specified in the table (e.g., `50%` skips half of the ignition events). +6. **Consecutive Ignition Skips (Dropdown)**: Allows control over skipping consecutive ignition events. When set to `true`, two or more ignition events can be skipped in succession, which is recommended in most cases for effective traction control. When set to `false`, consecutive skips are disallowed. + +**X. Troubleshooting** + +### Troubleshooting and Diagnostics for Mazduino + +This section provides a comprehensive guide to identifying and resolving common issues encountered during the operation of the Mazduino. Each issue includes symptoms, potential causes, and recommended solutions to ensure proper functionality. + +--- + +### **Common Issues and Resolutions** + +#### **1\. No RPM Signal** + +- **Symptoms**: Engine does not start; RPM gauge remains at zero during cranking. +- **Possible Causes**: + - Crankshaft or camshaft sensors improperly positioned. + - Faulty or disconnected wiring to the sensors. + - Incorrect sensor type or configuration in the software. +- **Solutions**: + - Verify proper installation of crank and cam sensors, ensuring correct alignment and gap. + - Check for damaged or loose wiring and secure all connections. + - Confirm the correct sensor type (Hall or VR) and configuration in the Mazduino software. + +--- + +#### **2\. Wideband O2 Sensor Reading Incorrect** + +- **Symptoms**: AFR readings are inaccurate or not displayed. +- **Possible Causes**: + - Incorrect sensor scaling configured in the software. + - Faulty wiring or grounding for the wideband sensor. + - CAN or analog signal misconfiguration. +- **Solutions**: + - Verify the sensor type and input scaling in the Mazduino software (e.g., AEM, PLX, or Custom). + - Inspect power and ground connections to the wideband controller. + - Confirm the correct CAN ID or analog input channel configuration. + +--- + +#### **3\. Engine Misfires or Runs Rough** + +- **Symptoms**: Rough idle, hesitation during acceleration, or misfiring under load. +- **Possible Causes**: + - Incorrect ignition or fuel timing settings. + - Faulty or incorrectly gapped spark plugs. + - Injector or coil driver failure. +- **Solutions**: + - Use a timing light to verify ignition timing aligns with the configured base timing. + - Inspect and replace spark plugs if worn or improperly gapped. + - Perform a bench test to verify injector and ignition outputs. + +--- + +#### **4\. Sensor Voltage Out of Range** + +- **Symptoms**: Sensor error warnings in diagnostics; erratic or no sensor readings. +- **Possible Causes**: + - Faulty sensor wiring or grounding. + - Calibration mismatch between the sensor and ECU. + - Sensor malfunction or damage. +- **Solutions**: + - Check sensor wiring for continuity and proper grounding. + - Use the raw sensor voltage signals in the diagnostics menu to confirm readings. + - Replace the sensor if defective. + +--- + +#### **5\. Fuel Pressure or Oil Pressure Alerts** + +- **Symptoms**: Low-pressure warnings or engine shutdown under load. +- **Possible Causes**: + - Mechanical failure in fuel or oil delivery systems. + - Misconfigured pressure sensor thresholds. + - Faulty pressure sensors. +- **Solutions**: + - Inspect fuel pumps, filters, and oil pumps for mechanical issues. + - Adjust pressure thresholds in the Mazduino software to match system specifications. + - Replace malfunctioning sensors. + +--- + +#### **6\. Throttle Calibration Errors** + +- **Symptoms**: ETB (Electronic Throttle Body) fails to calibrate; throttle response issues. +- **Possible Causes**: + - Incorrect or incomplete TPS and PPS calibration. + - Faulty throttle or pedal position sensors. + - Wiring or power supply issues. +- **Solutions**: + - Perform TPS and PPS calibration as outlined in the setup section. + - Replace faulty sensors if calibration fails. + - Ensure wiring and connectors are intact and properly powered. + +--- + +### **Diagnostic Tools and Features** + +1. **Raw Sensor Voltage Signals**: + Use the Mazduino software's diagnostics menu to monitor real-time voltage signals from sensors. These readings help validate sensor functionality and detect wiring or configuration issues. + +2. **Built-In Hardware LEDs**: + Certain Mazduino units feature onboard LEDs that provide visual feedback for critical systems like power, communication, and output activation, aiding in quick troubleshooting. + +3. **Remote Assistance**: + If troubleshooting efforts are unsuccessful, Mazduino supports remote assistance through tools like **AnyDesk**. This allows a professional technician to remotely diagnose and resolve complex issues. + +--- + +### **General Tips** + +- Back up your configuration files regularly to avoid data loss. +- Use the built-in diagnostics menu to reset error codes after resolving issues. +- For persistent problems, contact Mazduino support or use remote assistance for additional help. + +This guide ensures a methodical approach to troubleshooting your Mazduino system, using available diagnostic tools for reliable performance. + +**XI. Warranty** +**Warranty Terms for Mazduino** + +**Limited Warranty** + +Mazduino warrants to the original purchaser that its Mazduino products are free from defects in material and workmanship for a period of one year from the date of original purchase. This warranty applies only to products manufactured by Mazduino and excludes sensors or other products distributed but not manufactured by Mazduino. To make a warranty claim, the original purchaser must provide proof of purchase from an authorized reseller. + +**What Is Covered** + +If a product is found to be defective within the warranty period, Mazduino will, at its discretion, repair or replace the product at no cost to the purchaser. All products alleged to be defective must be returned to Mazduino, postage prepaid, within the one-year warranty period. If a replacement is provided, it may be a new or refurbished unit of the same or similar design. The repaired or replaced product will be warranted for the remainder of the original warranty period. + +**What Is Not Covered** + +This warranty does not cover: + +- Sensors or other products not manufactured by Mazduino. +- Damage resulting from shipping, accidents, installation errors, unauthorized adjustments or repairs, unauthorized third-party service, failure to follow instructions, misuse, fire, flood, acts beyond our control, or acts of God. +- Labor or other costs incidental to the repair and/or replacement of products or parts. + +**Customer Responsibilities** + +To obtain warranty service, the customer must: + +1. Contact Mazduino's service department to obtain warranty service instructions. +2. Obtain a Return Merchandise Authorization (RMA) number by emailing [support@mazduino.com](mailto:support@mazduino.com). +3. Return the product, freight prepaid, to the warranty department with a completed warranty request form. + +The customer is responsible for the shipping cost to return the unit if it does not qualify as a warranty claim. It is also the customer's responsibility to save any maps or log files, as Mazduino is not responsible for lost or erased data. + +**Limitation of Liability** + +This warranty is limited to defects in material or workmanship of the product. It does not cover loss of time, inconvenience, property damage, or any consequential damages. Repair or replacement of the unit is the sole remedy. No refunds will be provided by Mazduino for the price of the equipment. By sending the unit to us, you agree to the terms of this limited warranty. + +**Additional Information** + +Mazduino reserves the right to request additional information, such as tune-up and log files, to evaluate a claim. Violation of the product seal voids the warranty and results in the loss of access to upgrade releases. + +For detailed warranty information and to download the warranty request form, please visit our Warranty/Repair page. + +**XII. Examples** + **Map Switching** + +### **Map Switching Overview** + +1. **Wiring the Switch** + To enable map switching, you need to connect a physical switch between the ECU's \+5V pin and an available analog input pin (e.g., one of the Aux Linear Sensors shown in the image). + + * When the switch is **off**, the analog input reads 0V. + * When the switch is **on**, the analog input reads \+5V. + * Calibrate it as the following image, which means that anything under 3v is regarded as 0, and anything over 3.5v is regarded as 1\. + + + + + +2. Choose the blend table you desire to use +3. Set the blend bias as in the following image + + **Blend Parameter Source** + The **Blend Parameter** is set to the analog input (e.g., **Aux Linear 1**) where the switch is wired. This input determines how much of the blend table is mixed into the base table. + + * When the switch is **off** (0V), the parameter value is at the minimum (0), and the ECU uses the "Bias" value defined in the table (e.g., 0% blend). + * When the switch is **on** (5V), the parameter value reaches its maximum (e.g., 1.0 in this configuration), and the ECU uses **100% of the blend table**. + +**How the Bias Table Works** + +* The **Bias Table** defines the percentage of the blend table to be applied. + * At **Param \= 0**, the bias value is **0%**, meaning no blend is applied, and the base table remains active. + * At **Param \=1.0**, the bias value is **100%**, meaning the ECU fully uses the blend table. + +**Practical Example** + +* **Switch Off (0V):** The blend table is ignored (0% bias). + * **Switch On (5V):** The blend table is fully applied (100% bias). + * In this VE blend, when the switch is not activated, the table is ignored. Once the switch is activated, this table directly adds to the base VE table, meaning that if the switch is activated and we’re at 4000RPM with 80% load, we will add 10% VE to the main fueling calculation. + + + +[image1]: + +[image2]: + +[image3]: + +[image4]: + +[image5]: + +[image6]: + +[image7]: + +[image8]: + +[image9]: + +[image10]: + +[image11]: + +[image12]: + +[image13]: + +[image14]: + +[image15]: + +[image16]: + +[image17]: + +[image18]: + +[image19]: + +[image20]: + +[image21]: + +[image22]: + +[image23]: + +[image24]: + +[image25]: + +[image26]: + +[image27]: + +[image28]: + +[image29]: + +[image30]: + +[image31]: + +[image32]: + +[image33]: + +[image34]: + +[image35]: + +[image36]: + +[image37]: + +[image38]: + +[image39]: + +[image40]: + +[image41]: + +[image42]: + +[image43]: + +[image44]: + +[image45]: + +[image46]: + +[image47]: \ No newline at end of file