version 1.1 - new screens - blank/lcd off, speed+kwh/100km, battery cells, charging graph

This commit is contained in:
Lubos Petrovic
2020-04-12 21:30:26 +02:00
parent 15656ec7c3
commit c1d8cc8885
2 changed files with 605 additions and 143 deletions

View File

@@ -1,6 +1,6 @@
# KIA ENIRO DASHBOARD v1.0
# KIA ENIRO DASHBOARD
OBDII dashboard for TTGO-T4 module (ESP32) + OBD BLE4.0 adapter. Programmed for KIA ENIRO 2020, but could work on Hyundai Kona EV. Contact me if not.
OBDII dashboard for TTGO-T4 module (ESP32) + OBD BLE4.0 adapter. Developed for my KIA ENIRO 2020, but could work on Hyundai Kona EV. Contact me if not.
Author: nick.n17@gmail.com (Lubos Petrovic)
@@ -17,18 +17,26 @@ Author: nick.n17@gmail.com (Lubos Petrovic)
Thank you for supporting me.
![image](https://github.com/nickn17/enirodashboard/blob/master/screenshots/v1.jpg)
[![Watch the video](https://github.com/nickn17/enirodashboard/blob/master/screenshots/v0.9.jpg)](https://www.youtube.com/watch?v=shpCb4CsNHg)
## Roadmap
- connect to BLE function and deploy HEX file for common users (easy installation)
- 2.screen with eNiro battery cells and temperature sensors
- 3.screen with charging graph
- ext.relay control to power on dashboard, sleep CPU to save AUX during parking
- etc.
[![Watch the video](https://github.com/nickn17/enirodashboard/blob/master/screenshots/v0.9.jpg)](https://www.youtube.com/watch?v=Jg5VP2P58Yg&)
## Hardware and software
- TTGO-T4. I used this from banggood (T4 v1.3) ~ USD $30 https://www.banggood.com/LILYGO-TTGO-T-Watcher-BTC-Ticker-ESP32-For-Bitcoin-Price-Program-4M-SPI-Flash-Psram-LCD-Display-Module-p-1345292.html
- OBD BLE4.0 adapter. Ex. Vgate iCar Pro Bluetooth 4.0 (BLE) OBD2 ~ USD $30
- Software is written for Arduino IDE (ESP32).
## Release notes
### v1.0
### v1.1 2020-04-12
- added new screens (switch via left button)
- screen 0. (blank screen, lcd off)
- screen 1. (default) summary info
- screen 2. speed kmh + kwh/100km (or kw for discharge)
- screen 3. battery cells + battery module temperatures
- screen 4. charging graph
- added low batery temperature detection for slow charging on 50kW DC (15°C) and UFC >70kW (25°C).
### v1.0 2020-03-23
- first release
- basic dashboard
@@ -40,11 +48,12 @@ https://github.com/fdufnews/ESP32-TTGO-T4
- install arduino IDE + ESP32 support
- https://github.com/Bodmer/TFT_eSPI - display library
- Configure TFT eSPI
You need to do some user setup in library folder (Adruino/library/tft/espi/userSetup..) - see TFT eSPI readme or google it. Settings for TFT_eSPI library - userSetup required for T4 v1.3
W:\Documents\Arduino\libraries\TFT_eSP\User_Setup_Select.h
```
#define TFT_DC 32 // v1.3 has DC on 32 port
#define TFT_BL 4 // Backlight port - required (otherwise you obtain black screen)
#define TFT_BACKLIGHT_ON HIGH // Backlight ON - required
// Comment
//#include <User_Setup.h> // Default setup is root library folder
// And uncomment
#include <User_Setups/Setup22_TTGO_T4_v1.3.h> // Setup file for ESP32 and TTGO T4 version 1.3
```
My configuration
@@ -57,6 +66,3 @@ My configuration
- Partion scheme: default 4MB with spiffs
- Core debug level: none
- PSRAM: disable

File diff suppressed because it is too large Load Diff