• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

IL9341 TFT for ESP32

Q&A Forum › Category: ESP32 › IL9341 TFT for ESP32
0 Vote Up Vote Down
Stephen Howells asked 5 years ago

I am enjoying the ESP32 course (mainly revision but that never hurts). I was hoping to see a page on connecting a TFT and preferably with touch functionality as I have failed to find a library that works for the ESP32 that works as yet. Does anybody know a link to a resource? I have got it displaying all the usual test graphics- its the touch response I cannot get working. Thanks in advance

Question Tags: IL9341
8 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hello Stephen,

Have you considered using the Nextion display with the ESP32? It works with simple serial commands, so you can always use the ESP32 or any microcontroller…

Some of those TFT libraries aren’t compatible with the ESP32, so that’s why you can’t find tutorials on that subject…

0 Vote Up Vote Down
Stephen Howells answered 5 years ago

Many thanks for the heads up on the state of play with the TFT libraries. I had more or less guessed the libraries were not there yet. I was hoping theywere and I had missed them. I have taken your advice and ordered (a much more expensive) Nextion UART HMI display. Now I want a tutorial on that 🙂

0 Vote Up Vote Down
Stephen Howells answered 5 years ago

I have found your tutorial for the Uno

Nextion Display with Arduino – Getting Started


which is great. Do you have the adjustments to the NexConfig.h file to suit the ESP32 to hand?
I am sure I could work it out but it would be a good update of the tutorial anyway…
Thanks in advance, Steve

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

At the moment I don’t have any tutorials on that subject (ESP32 with Nextion), but I’ll definitely write a tutorial about it in the upcoming weeks. In the meanwhile, I recommend watching this YouTube video: https://www.youtube.com/watch?v=FSRx8h8iBnk

  • At 5:48, you can find the NextConfig.h file that he uses;
  • At 11:46, you can find how to connect it GPIO 17 <-> RX and GPIO 16 <-> TX.

If you have any problems just let me know. Which Nextion display did you order and what’s the size? 
Thanks!
 

0 Vote Up Vote Down
Stephen Howells answered 5 years ago

Rui, I will watch those videos for sure, thanks for the info.
I ordered a 2.4″ model from eBay (its not enhanced although actually a RTC would be nice as it would save a module…I might buy another later but they are not cheap!)
https://www.ebay.co.uk/itm/2-4-320×240-UART-HMI-Touch-Screen-Resistant-Module-LCD-Display-For-Arduino-TFT/263304611238?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
I am building a bicycle power meter (also speed, cadence, distance, temperature,altitude, heartrate) so this is the ideal size. Paired with one ESP32 at the monitor and another down on the cranks where the strain gauges *wheatstone bridge + amplifier) sit- they can communicate via BlueTooth LE. I am struggling to communicate with a cheap wireless 4.0GHZ heartrate belt but I haven’t read your bluetooth pages yet 🙂

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Yes, the video that I’ve mentioned should work with that display and I’ll definitely try to write a tutorial about the ESP32 with Nextion in a few weeks, but right now I already have other projects lined up. Let me know if you have more questions about BLE in the future. 
Regards,
Rui

0 Vote Up Vote Down
Nor Azura Zakaria answered 3 years ago

Dear Rui,

Please help me on how to make the touch function is successfully implemented. I am right now try out to integrate IL9341 TFT for ESP32 but is seems fail. The display and printing function is work but not touch function. It works but at half of the LCD screen. Half of it if we touch them they are not working.

Please share if you are able to run it successfully.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I’ve never experimented with those displays.
However, for what we heard from our readers those displays are very sensitive, specially if they are chinese. They come broken many times, that can be the issue. 
It can also be a calibration problem.
I don’t have any experience with those displays. Do you get any errors on the serial monitor?
Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.