Mazduino DASH CANBus is an ESP32-based project that enables communication using the CAN (Controller Area Network) protocol. This project is designed to read and display data from a vehicle's ECU using a CANBUS module with a 1.28inch round LCD display.
- Communication with ECU using the CAN protocol.
- Real-time data display on 1.28" Round LCD GC9A01 240x240
- Configurable dashboard panels via web interface
- RPM circular graph visualization
- Support for multiple ECU parameters (RPM, MAP, TPS, etc.)
- Easy integration with other hardware.
This project uses a 1.28inch round LCD display with GC9A01 driver chip. The display provides 240x240 pixel resolution perfect for automotive dashboard applications.
Display Specifications:
- Size: 1.28 inch diagonal
- Resolution: 240 × 240 pixels
- Driver: GC9A01A
- Interface: SPI
- Colors: 65K RGB
- Viewing Angle: Full angle
The LCD module may have pin labels like SDA/SCL, but this display uses SPI interface, not I2C. Here's the correct pin mapping:
| LCD Pin Label | LCD Function | ESP32 Pin | Description |
|---|---|---|---|
| VCC | Power | 3.3V | Power supply (3.3V) |
| GND | Ground | GND | Ground connection |
| SCL | SPI Clock | GPIO 18 | SPI Clock (SCLK) - Not I2C SCL |
| SDA | SPI Data | GPIO 23 | SPI MOSI (Data) - Not I2C SDA |
| RES | Reset | GPIO 4 | Display Reset |
| DC | Data/Command | GPIO 2 | Data/Command selection |
| CS | Chip Select | GPIO 15 | SPI Chip Select |
| BLK | Backlight | GPIO 21 | Backlight control (optional) |
- Although labeled as SDA/SCL on the LCD, this display uses SPI communication, not I2C
- SDA = SPI MOSI (Master Out Slave In)
- SCL = SPI SCLK (Serial Clock)
- Make sure to connect 3.3V power, not 5V
- CS pin can be tied to GND if you're only using one SPI device
- MCP2515 CAN Module or compatible
- Connected via SPI interface
Showcasing the hardware used.
Demonstrating the device in real-world applications.
This project uses PlatformIO for building and uploading. The platformio.ini file is already configured for ESP32.
The project uses TFT_eSPI library with custom configuration for GC9A01. Make sure the library is configured correctly in your PlatformIO environment.
The device creates a WiFi access point for configuration:
- SSID: ESP32-Access-Point
- Password: 123456789
- IP: 192.168.4.1
Access the web interface to configure dashboard panels and view real-time data.
- RPM Circular Graph: Large central RPM display with customizable color zones
- Configurable Panels: Up to 8 data panels showing various ECU parameters
- Vertical Indicators: 3 configurable indicators in vertical layout
- Splash Screen: Custom mazduino logo on startup
- Real-time Updates: Live data from CAN bus
