Skip to content

mazduino/mazduino-round-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mazduino DASH CANBus

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.

Key Features:

  • 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.

Hardware Requirements

1.28inch Round LCD Module GC9A01 240x240

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

Pin Mapping (ESP32 to GC9A01 LCD)

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)

⚠️ Important Notes:

  • 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

CAN Module

  • MCP2515 CAN Module or compatible
  • Connected via SPI interface

Photo

Showcasing the hardware used.

Image Description

Video

Demonstrating the device in real-world applications.

How to Buy a PCB?

Software Setup

PlatformIO Configuration

This project uses PlatformIO for building and uploading. The platformio.ini file is already configured for ESP32.

TFT_eSPI Library Configuration

The project uses TFT_eSPI library with custom configuration for GC9A01. Make sure the library is configured correctly in your PlatformIO environment.

Web Interface

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.

Dashboard Features

  • 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

References:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors