ILI9341 + ESP32 Add...
 
Notifications
Clear all

ILI9341 + ESP32 Added to SimHub support.

7 Posts
6 Users
3 Likes
1,662 Views
SirAlucard
(@siralucard)
New Member
Joined: 1 year ago
Posts: 2
Topic starter  

So I searched around and the only response I saw to anyone asking for general TFT support was Wotever sayingΒ 

"Unfortunately such screens coupled with Arduino were too slow for my taste that's why I won't add them in the future for official simhub support"

While arduino's are slow, I don't feel this is accurate at all. I don't know if you've taken a look at TFT_eSPI library at all, but it runs very quickly and very well. To top that off you can use the arduino API with an ESP32 which is leaps and bounds faster than a ATMEGA328P, with it also being able to communicate over Bluetooth/Wifi. I could easily foresee devices that would be able to connect wirelessly to the PC and communicate with SimHub for telemetry.Β 

These screens are a lot faster than you might think over SPI and are completely doable. So I would love to see them being added as support. As well as the ability to compile for the ESP32 board within SimHubArduinoSetup.exe

Personally I'm working on coding for it, it's just not really my area of expertise. I'm scrounging code from here and there to put something together and I'm making some headway, but it just shows that it's completely possible to do and shouldn't be that difficult to implement for someone that knows what they're doing.

[img] [/img]

Β 


Mcfly2211 reacted
Quote
Topic Tags
SirAlucard
(@siralucard)
New Member
Joined: 1 year ago
Posts: 2
Topic starter  

@admin5435 - I would love to hear your thoughts.


Mcfly2211 reacted
ReplyQuote
Wotever
(@admin5435)
Illustrious Member Admin
Joined: 5 years ago
Posts: 678
 

Hi ! I did experiment with esp32 indeed, it's fast with no doubt πŸ˜‰ But it's a really different platform (compilation, upload etc ...) even if the language used is the same. That's something which will take some time before I will reach something mature for this platform;)Β 

a few experiments I did :Β 


Mcfly2211 reacted
ReplyQuote
Mcfly2211
(@mcfly2211)
New Member
Joined: 10 months ago
Posts: 1
 

@admin5435 hi 🙂 im totaly new ob simhub.

Im searching a while for a solution how i can get an arduino mega and ili 9341 to Work. I also have an esp32. It would be a Dreams If i can get one of These combination to Work.Β 

Do you know how i have to Edit the Sketchfile?Β 

Best regards

This post was modified 10 months ago by Mcfly2211

ReplyQuote
flexgrip
(@flexgrip)
New Member
Joined: 9 months ago
Posts: 1
 

Yeah can we have even a rough example sketch that you used with the esp32?

A rough outline of just getting basic communication between an esp32 and simhub would open up a world of fun work πŸ™‚


ReplyQuote
mbohben
(@mbohben)
Active Member
Joined: 1 year ago
Posts: 7
 

@admin5435 any clue to the code that used on the esp32 would helpfull


ReplyQuote
zcorneli
(@zcorneli)
New Member
Joined: 3 weeks ago
Posts: 2
 

@admin5435,

Β 

I've been doing some work with the ESP32 and ILI9341 display on a TTGO T4 module (2.4" 320x240 screen, ESP32, IP5306 battery manager chip), and have something that works pretty well over wifi, using a com port to TCP redirector (and a TCP socket on the ESP32).

Β 

Is there somewhere I can submit pull requests or similar for the changes to get things working well on the ESP8266 and ESP32s? I've got patches to use NeoPixelBus (ESP32/ESP8266 WS2812 driver utilizing DMA for speed), ILI9341 SPI display (This one requires some memory hacks to get DMA working to drive the display reasonably - Probably ESP32 only?), and some changes to arqserial to handle swapping in a new Stream, to allow using a TCP socket.

Β 

https://imgur.com/a/814zNj6

- Here's it's reporting as a Nokia GLCD, using the Adafruit GFX library to draw tire and brake temps, ERS charge percentage, lap number, position, gap ahead, gap behind. I've got a separate screen for NewLap, which shows the laptime, delta, and colored sector time bars.

This post was modified 3 weeks ago by zcorneli

ReplyQuote
Share: