• 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

ILI9341 on ESP32 DOIT V1 board

Q&A Forum › Category: ESP32 › ILI9341 on ESP32 DOIT V1 board
0 Vote Up Vote Down
LoetLuemmel asked 8 months ago

Dear readers,
Finally I received my ILI9341 display and I wanted to use this rainy morning to get it up and running…but looking at the wiring, T_OUT should be on GPIO 39?
Here I am scratching my head, as I can’t find that GPIO 36 and GPIO 39 in my data sheet.
There are VN, VP and EN left on the higher side of GPIO pins, I’ll give it a try.
The picture ‘Wiring the TFT Touchscreen Display to the ESP32’ shows the wiring, but I can’t clearly identify the pins.
Yours,
Loetluemmel

Question Tags: ILI 9341 ili9341
6 Answers
0 Vote Up Vote Down
LoetLuemmel answered 8 months ago

Dear all,

Stupid me! – I started wiring as described starting on page 36 of ‘Learn LVGL Build GUIs…’ and that was wrong.
Later on the file ‘user_setup.h’ holds applied pins. Here I changed as necessary for my joyit ESP32.
The sample code did have several inconsistencies with file locations. But this was a good training for trouble shooting.
My display did stay dark. Here I simply added LED to VCC and was happy to ready the famous ‘Hello Horld!” string on my display.

My thanks to Rui and Sara for this great book!
Loetluemmel 

0 Vote Up Vote Down
Sara Santos Staff answered 8 months ago

Hi.
Can you tell me which version of the eBook you’re following
We updated the eBook a few days ago and everything was working properly… maybe I forgot to update something…
 
Regards,
Sara

0 Vote Up Vote Down
LoetLuemmel answered 8 months ago

Sure Sara,

I am on V1.3 . I didn’t check; Is there already a more recent one?
JO! – We are already on 1.4, so this is really my bad. – Sorry, I’ll download the new and will continue from there.

For all looking around to get the Joy-it ESP running with the ILI9341, here is a working config for the touch screen part:

// Touchscreen pins
#define XPT2046_IRQ 35 // T_IRQ.
#define XPT2046_MOSI 23 // T_DIN.
#define XPT2046_MISO 19 // T_OUT.
#define XPT2046_CLK 25 // T_CLK.
#define XPT2046_CS 33 // T_CS.

In addition, I need to specify a different board: ‘ESP32 Dev Module’ was required as board type.

Best,
Loetluemmel

0 Vote Up Vote Down
Sara Santos Staff answered 8 months ago

Is everything working as expected now?
Regards,
Sara

0 Vote Up Vote Down
LoetLuemmel answered 2 months ago

Uoopsi, I didn’t confirm.
Thank you, yes it did work.

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.