ChipLogic
10 µW
Hello guys , great to be part of this great comunity. Not too long ago (6 months - ish) i`ve finally managed to build my e-bike and since then i was craving for a display to have proper readings of speed, temps , etc as using the phone was not really a good option for me. After many nights of trying to make davega and roxie work on the hardware that i already had laying around ( esp32 + ili9341) i decided its better to do my own so... i present you SVD - Simple Vesc Display.
Please do keep in mind that i`m not a programmer by any units of measurments and code was inspired from davega/roxie.
Code and libraries that i used can be found here : GitHub - Gh0513d/SVD: Simple Vesc Display based on esp32
I choose tft_eSPI library as it supports alot of display models.
Connections between display and ESP32 are:
DISPLAY -------- ESP32
MISO -------------D19
MOSI ------------ D23
SCLK ------------ D18
CS --------------- D5
DC --------------- D2
RST --------------- D4
ESP32 ------------ VESC
3.3 ------------- 3.3
GND ---------- GND
TX2 ----------- RX
RX2 ---------- TX
As im based in Europe all units are in metric but i guess someone could fork it and do a Imperial version.
Functions :
1. Speed ---- Also has a limit warning implemented where it will change color
2. Vesc temperature ---- Also has a limit warning implemented where it will change color
3. Motor temperature(if no sensor connected it will show N.A) ---- Also has a limit warning implemented where it will change color
4. Battery ---- Also has a high/low limit warning implemented where it will change color
Battery section can be configured to display avg cell voltage or total voltage.
5. Motor current
6. Battery current
7. Trip
8. Odometer
For now has no buttons or any other functions but i do plan when i get the time to implement OTA and a simple webbased feature to be able to edit all the warning limit values and odometer without the need to recompile and flash it.
If anyone plans to use it please take the time to look into the tft_espi library and SVD.ino to configure it properly for your hardware.
Please do keep in mind that i`m not a programmer by any units of measurments and code was inspired from davega/roxie.
Code and libraries that i used can be found here : GitHub - Gh0513d/SVD: Simple Vesc Display based on esp32
I choose tft_eSPI library as it supports alot of display models.
Connections between display and ESP32 are:
DISPLAY -------- ESP32
MISO -------------D19
MOSI ------------ D23
SCLK ------------ D18
CS --------------- D5
DC --------------- D2
RST --------------- D4
ESP32 ------------ VESC
3.3 ------------- 3.3
GND ---------- GND
TX2 ----------- RX
RX2 ---------- TX
As im based in Europe all units are in metric but i guess someone could fork it and do a Imperial version.
Functions :
1. Speed ---- Also has a limit warning implemented where it will change color
2. Vesc temperature ---- Also has a limit warning implemented where it will change color
3. Motor temperature(if no sensor connected it will show N.A) ---- Also has a limit warning implemented where it will change color
4. Battery ---- Also has a high/low limit warning implemented where it will change color
Battery section can be configured to display avg cell voltage or total voltage.
5. Motor current
6. Battery current
7. Trip
8. Odometer
For now has no buttons or any other functions but i do plan when i get the time to implement OTA and a simple webbased feature to be able to edit all the warning limit values and odometer without the need to recompile and flash it.
If anyone plans to use it please take the time to look into the tft_espi library and SVD.ino to configure it properly for your hardware.