I am trying to get my new display going, but without success. The only thing i see is a white screen.
Hardware:
Arduino Mega
TFT Mega Shield V1.1 from Lseestudio.
TFT screen type TFT_320QVT_9341.
I bought the display and shield as a package.
See the pictures attached.
From the type number it looks the controller type is ILI9341.
I am using UTFT and UTouch libraries from Henning Karlsen, downloaded recently, version 2.81.
In the sketch from howtomechantronics i included the line
UTFT myGLCD(ILI9341_S4P,38,39,40,41)
Also tried S5P instead of S4P.
Sketch compiles and uploads without problems.
I read a few things on this forum about changing UTFT library UTFT.h and UTFT.cpp, which may be required for this controller, but it is not fully clear to me what i should change.
I have built a few arduino projects, but never changed a library.
questions:
how can i be sure i have ILI9341 controller? The controller cannot be seen on the display.
By connecting it to the mega through the shield, does it use serial communication?
I think that, adding some delays in initlcd of the library (UTFT/tft_drivers/ili9341/16B/) which I attach, it may work.
If you have any success let me know, please!
I have do not have either shield. However they both seem to use the same pinout and headers. I would think that both should work. The resistors do look rather high (10k). The TFT should work ok but the SD will probably be unreliable.
I presume that you have found the modified UTFT library from TFTLCDCyg that he has adapted for these ILI9341 displays.
I have the exact same setup, in fact the "how to mechatronics" video is what made me get started on this.
My problem is the touch screen is nor giving me a Y axis.
Did you get yours running. I can help if you stI'll have issues with the image and screen setup but I couldn't get the touch to work properly. I am still working on this.
I have a TFT_320QVT_9341
& TFT_320QVT that both get great images with a little change in the .h file. But both have touch screens that only show data movment on the X axis.
The TFT LCD Mega Sheild v1.0 (the one with the potentiometer for the backlight)worked the best. I also tried the white one v2.2, it didn't work that well.
Note: the 10K resistance is kinda high, I bought an extra v1.0 sheld and removed the 10K for 1k resistors. It worked alot better but still no y axis.
My post is
3.2" LCD only one axis" if you want to read and reply.
I know this is an old post but someone else pointed me to it so I thought I would give it a shot.