UniControl
ESP32-S3 tabanlı gelişmiş araç güvenlik ve kontrol sistemi. Ağır vasıtalar ve endüstriyel sahalar için Brigade Radar destekli bütünleşik donanım mimarisi.
Core Processing
ESP32-S3 mimarisi üzerinde C/C++ (ESP-IDF) ile yazılmış yüksek performanslı RTOS (Real-Time Operating System) çekirdeği.
Radar Integration
Brigade Radar üzerinden gelen verilerin CAN Bus iletişim protokolü ile milisaniyeler içerisinde işlenmesi ve çarpışma önleme algoritmaları.
HMI Display
Nextion akıllı ekran üzerinden operatöre gerçek zamanlı araç durumu, sensör verileri ve kritik uyarı bildirimlerinin sunulması.
Donanım Maliyet & BOM
Tüm proje, tedarik zinciri kesintilerine karşı optimize edilmiş BOM (Bill of Materials) listesiyle yönetilmektedir. Direnc.net entegrasyonuyla canlı maliyet takibi (sensörler hariç ~5.900 TL) Excel mimarisinde hesaplanır.
Stack & Protocols
Overview
UniControl is an embedded system installed in an Opel Astra J. It extends the factory ECU with custom safety features, real-time diagnostics, and an aftermarket HMI — all running on a single ESP32-S3 module with FreeRTOS.
Hardware Stack
- MCU — ESP32-S3 (dual-core Xtensa LX7, 240 MHz)
- CAN Interface — SN65HVD230 transceiver for OBD-II / UDS communication
- HMI — Nextion 5" touch display for status and controls
- Radar — Brigade BSD-400 blind-spot detection system
- Power — 12V automotive supply with buck converter and reverse polarity protection
Software Architecture
The firmware follows a strict task-based architecture using FreeRTOS:
- CAN_RX_Task (Priority 5) — Reads raw CAN frames from the hardware FIFO and pushes them to a queue.
- UDS_Task (Priority 4) — Handles OBD-II session management (ISO 14229), reads fault codes, and live data PIDs.
- Radar_Task (Priority 3) — Processes Brigade radar distance packets and triggers alert logic.
- HMI_Task (Priority 2) — Updates the Nextion display with current state over UART.
- Log_Task (Priority 1) — Buffers and writes diagnostic logs to internal flash.
All inter-task communication uses xQueue and xSemaphore. No blocking calls inside ISRs.
Safety Rules
- ECU connection is read-only by default. Write operations require explicit confirmation.
- UDS sessions open with
0x10 01(Default Session) and close cleanly on exit. - Watchdog timer is always enabled. No
vTaskDelay(0)busy-wait loops.
Status
Active. Core CAN reading and radar integration are running on vehicle hardware. HMI module in development.