You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sebuah alat tester dan simulator koil pengapian (Ignition Coil), injektor bahan bakar, aktuator PWM, katup ISC, motor stepper IACV, dan simulator sensor Hall / DAC yang presisi, modular, dan aman. Proyek ini dibangun di atas SoC ESP32-S3-WROOM-1-N16R8 (16 MB Flash, 8 MB Octal PSRAM) menggunakan arsitektur mutakhir (FreeRTOS Dual-Core & Plugin Pattern).
✨ Fitur Unggulan
🧠 Arsitektur Dual-Core (FreeRTOS): Core 0 murni digunakan untuk merender antarmuka OLED (400kHz Fast I2C), Rotary Encoder, dan WebSocket server. Core 1 secara eksklusif mengeksekusi kalkulasi hardware timer mikrodetik dan pembacaan sensor.
Stepper IACV Valve (PULSE_STEPPER_IACV): Motor Stepper bipolar (GPIO 38, 39, 40, 41) dengan kendali step dan kalibrasi home.
Stepper Kontinu (PULSE_STEPPER_UNI): Motor Stepper unipolar continuous spinning.
Hall Sensor & MCP4725 DAC (PULSE_HALL_DAC): Generator pulsa CKP/CMP (GPIO 42, 48) dan output tegangan analog 0–5V / 0–12V.
🔗 Skema Wiring (Pinout ESP32-S3 N16R8)
Catatan: GPIO 35, 36, 37 digunakan internal oleh Octal PSRAM. GPIO 19 & 20 digunakan oleh Native USB.
1. Antarmuka Layar & Kendali (Core 0)
Modul
Pin Modul
Pin ESP32-S3
Keterangan
OLED (I2C)
SDA
GPIO 8
Fast I2C 400kHz
SCL
GPIO 9
Fast I2C 400kHz
Rotary Encoder
CLK
GPIO 10
Quadrature Input
DT
GPIO 11
Quadrature Input
SW
GPIO 12
Tombol Encoder (Internal Pull-Up)
2. Output Driver & Pemicu (Core 1)
Fitur / Modul
Pin ESP32-S3
Keterangan
Ignition Coil Pasif
GPIO 14
Ke Gate IGBT / Optocoupler TLP250
Ignition Coil Aktif (IGT)
GPIO 21
Logic Level Trigger 5V/3.3V
Injektor / Solenoid / RSC
GPIO 47
Output MOSFET Driver
ISC RSO
GPIO 14
Rotary Solenoid Open
Buzzer Alarm
GPIO 18
Active / Passive Buzzer
Stepper IACV (A+/A-/B+/B-)
GPIO 38, 39, 40, 41
Ke Driver Stepper (ULN2003 / L298N)
Hall Output (CKP / CMP)
GPIO 42, 48
Output Pulsa Crank & Cam
3. Sensor & Diagnostik Input
Sensor
Pin ESP32-S3
Keterangan
IGF Smart Coil Input
GPIO 1
Feedback Pulsa Koil Pintar 4-Pin
Sensor Arus Primer
GPIO 4
ADC1_CH3 (ACS712-30A)
Sensor Kebocoran Bodi
GPIO 5
ADC1_CH4 (Probe Tegangan Tinggi)
Sensor Energi Spark (Analog)
GPIO 6
ADC1_CH5 (LM358 Pin 1)
Sensor Pulsa Spark (Digital)
GPIO 7
Interrupt Digital (LM358 Pin 7)
Sensor Suhu 1-Wire
GPIO 13
Dallas DS18B20 Dual Temp
I2C ADC (ADS1115)
GPIO 8 (SDA), 9 (SCL)
ADC 16-bit untuk Voltase Aki & Arus DC
I2C DAC (MCP4725)
GPIO 8 (SDA), 9 (SCL)
Output Analog 0–5V / 0–12V (Addr 0x60)
🚀 Kompilasi & Upload (PlatformIO)
# Kompilasi dan Upload Firmware
pio run -e esp32-s3-devkitc-1 -t upload
# Upload Web UI Filesystem (LittleFS)
pio run -e esp32-s3-devkitc-1 -t uploadfs