Credits: Based on the original project by Gh0513d/SVD π
This is a modified version of the VESC display project, optimized for the ESP32-2432S028R display. The goal is to enhance functionality and add new features while keeping it simple and efficient.
β
Real-time speed, RPM, and power display
β
Optimized data calculations similar to VESC Tool
β
Trip and total distance tracking
β
EEPROM storage for trip data
β
Automatic brightness control using LDR sensor
β
High-speed UART communication with VESC
β
Overheating and battery warnings
β
PNG image support for custom UI background and startup logo
Follow these steps to set up the project on your ESP32-2432S028:
- Download and install the latest Arduino IDE.
- Open Arduino IDE and go to File > Preferences.
- In the "Additional Board Manager URLs" field, add:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- Go to Tools > Board > Boards Manager, search for "ESP32," and install the latest ESP32 board package.
- Extract the
libraries.zip
file into your Arduino libraries folder (Documents/Arduino/libraries/
). - If you prefer manual installation, ensure you have the following libraries installed:
- TFT_eSPI (for display control)
- FlickerFreePrint (for flicker-free text rendering)
- ComEVesc (for VESC communication)
- PNGdec (for PNG image decoding)
- EEPROMAnything (for EEPROM read/write support)
- Open the
vesc_display.ino
file in Arduino IDE. - Select the correct board: ESP32 Dev Module.
- Set the correct COM Port.
- Click Upload and wait for the process to complete.
Before compiling, you may need to tweak some settings (if you install tft_espi byself):
User_Setup.h
in theTFT_eSPI
library to match your display pinout.- Adjust motor and wheel parameters in the
main.ino
file.
πΉ More UI customization options (with new library instead as tft_espi :D) π¨
πΉ BLE and WiFi bridge π
πΉ Improved data logging & visualization π
πΉ Add CANBUS support for better and reliable communication
Feel free to fork the project and submit pull requests. Suggestions and improvements are always welcome! π
This project is open-source and licensed under the MIT License.
Happy coding! π