TFT LSD 3.2 " 16bit chip ili9341.

It requires a MEGA2560 Adapter shield from ColdTears, ElecFreaks, Sainsmart, ...
Then I am sure that UTFT examples will work fine.

I can't read Russian.

David.

barth_bh:
You right, in my code was mistake, on the example UTFT by Henning work fine on DUE

I buy 5pcs TFT_320QVT on aliexpress but I got of course TFT_320QVT_9341. Just necessary update 399 for 319 in UTFT.cpp section dsy and use ILI9327 controller

Only coordinate change, is other like SSD1289

Thank David

Regards

Dear frend! I am also try to connect TFT_320QVT_9341. Using ILI9327 controller. In examples write
""UTFT myGLCD(ITDB32WC,38,39,40,41);"". Screen is working buy Image shifted to the left. I tried to find
"Just necessary update 399 for 319 in UTFT.cpp section dsy and use ILI9327 controller" but can not find this parameter in UTFT.cpp. Please send your version of this libraries. See image:

Yurii

I have exactly the same thing. Is colleague has already solved this problem .

Hey, I just follow the hint

  1. Use ITB32WC for mode "UTFT myGLCD(ITDB32WC,38,39,40,41); "

  2. Modified UTFT.cpp section in dsy[] in the second element of the array from "399" to "319"
    (the second element is the parameter for ILI9327, in this case you want to use it to alias as ILI9341)

word dsy[] = {319, 319, 319, 319, 319, 319, 219, 219, 399, 159, 127, 319, 479, 799, 319, 319, 319, 0, 0, 319, 799, 479, 319, 219, 159, 319, 319, 479, 479, 479, 159, 159}; // 9341

  1. Re-compile the code, and it will run fine!

Thanks all for the contribution!!

Akira

I am gobsmacked.

Surely you would identify the model number of your display and then specify the correct controller / model in the UTFT constructor().

This may not be easy. e.g. displays with no writing or printed legends. Or Ebay vendors that lie about the items that they are selling.

Please post a link to the Shop / Ebay / AliExpress / ... and item that you bought.
If you can't find a link, find a photo on Ebay that matches your item.

David.

Hey,

I bought the TFT-LCD from our local store with "ILI9341" marked on it. I bought 3 of them. But 2 are ILI9341 and one SD1289. And the wired part is when I look for the lib on the web is always say this LCD is equipped with SD1289 controller.

http://us.100y.com.tw/searchdata.asp?searchType=PNoName&w=3.2TFT-ILI9341&m=any

The different between SD1289 and ILI9341 can be seen both front and back side
ILI9341 with 3231-SZ and SD1289 only with 3231 on the left-down corner.(only show ILI9341)

Front side of ILI9341
Imgur

ILI9341 with TFT-320QVT_9341 and SD1289 only with TFT-320QVT on the right-down corner.

Back side:
Imgur

Before modified UTFT lib
Imgur

After modified
Imgur

The part code I modified with red mark
Imgur

BTW, the LCD with ILI9341 is better than the one with SD1289. I think the back-light source,white LED, they used for the one with ILI9341 is much better than the one with SD1289. The screen with SD1289 has much more intensity at left hand side. The screen with ILI9341 has uniform intensity over all. Well, it is tested under the TFT LCD Mege Shield V2.2.

Akira

Your TFT-320QVT should work fine with

UTFT  myGLCD(SSD1289,38,39,40,41);     //16-bit SSD1289

Sure enough, UTFT v2.81 does not support a 16-bit ILI9341. It does have some "empty" slots at 17, 18 e.g.

//#define NOT_IN_USE 17
//#define NOT_IN_USE 18

So you could make an entry for ILI9341 there. Add another subdirectory in the ili9341 folder for its initlcd.h and setxy.h

Your kludge of amending the ILI9327 entry is not a bad idea if you are never going to use an ILI9327. However, it would be wise to change the "ili9327" folder name and correct the initlcd.h and setxy.h files to suit an ILI9341.

I would guess / hope that the next UTFT release will have an official entry for an ILI9341_16
This would mean that everyone could discard their nasty hacks.

Note that there are quite a lot of differences between the ILI9327 and the ILI9341. The ILI9486 is a better match for registers. You need to alter the size to 240x320.

David.

akiracc:
.....

BTW, the LCD with ILI9341 is better than the one with SD1289. I think the back-light source,white LED, they used for the one with ILI9341 is much better than the one with SD1289. The screen with SD1289 has much more intensity at left hand side. The screen with ILI9341 has uniform intensity over all. Well, it is tested under the TFT LCD Mege Shield V2.2.

Akira

Yes it's true - in my opinion LCD with ILI are better brightness & equability, and also how David said before ILI is beter controller like SSD1289

I tried what is suggested in #23 and it works but it's not optimal. Colors looks washed out and pretty distinctive vertical line pattern is visible on the screen. I tried to capture that with my photo camera with limited success:

Fortunately ITEAD put on GitHub a week ago a new library that seems to works directly (and correctly) with ILI9341. Screen colors looks way better (possibly the best that this display can provide) and vertical line pattern disappeared completely (the background color is smooth and even):

Hi,
i have found this thread and - thanks for your solution!
Now i tried to run the touch-function.

Does anybody know a library that runs?

Hi friends.
How can we resolve the adafruitGFX tft.setcursor(x,y) function in UTFT_Pro lib?

UTFT_pro appears to be a modified UTFT library.
UTFT has just released v2.8.2 which officially supports a 16bit ILI9341.

UTFT uses a completely different set of methods to Adafruit_GFX.
I suggest that you use UTFT methods with a UTFT style library.

Or alternatively use an Adafruit-style hardware library with the Adafruit_GFX graphics library.
My personal opinion is that the Adafruit methods are more intuitive and easier to use.

Do not try to mix libraries or methods.

I do not own a 16bit ILI9341.

David.

Dear David

i can't find a working adufruit library for my ILI9341 16 bit TFT LCD. If anyone knows better, please inform me.
TIA

Hello

I purchased a 3.2 TFT but when it arrived the model number on the board was different TFT_320QVT_9341.
I am using a Mega2560 with TFT LCD Mega Shield v2.2 with the aforementioned 3.2 TFT LCD.

I have been trying all of the UTFT_Demo_320x240 examples (both ARM & AVR, Serial and Non-Serial) because I'm not sure which one to use, without success.

I would like to mention that I am new to the Arduino IDE coding and would like detailed information when replying to my post, PLEASE.

Links:
3.2 TFT - https://www.amazon.com/gp/product/B00NHG8MXG/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

TFT LCD - http://www.ebay.com/itm/3-2-TFT-LCD-Shield-Touch-Panel-Expansion-Board-for-Arduino-Mega2560-UNO-R3-/121114423145?hash=item1c32fb6f69:g:wKQAAOSwDNdVtvI8

Arduino Mega - http://www.ebay.com/itm/2016-New-MEGA2560-R3-Board-ATmega2560-16AU-CH340G-Free-USB-Cable-for-Arduino-/261901186104?hash=item3cfa86f438:g:zcQAAOSwkNZUqluP

@ Retribution, I have one TFT_320QVT_9341 and I guess that the SPI won't work because this card lack the IC1 SPI chip SST25VF016B (in the backside) as indicated in the manuals ILITEC ILI9341.

This SST25VF016B supposedly connects also to the SD card, so again no serial support for SD I think.

Question: Where is the MCU 8080 chip ? i took out the lcd and i couldn't find it...

BR

Please help
I have a some cheap tft lcd screens from banggood.com
The first is a 2.4 ili 9340 this one works fine on Uno but I can't get it to work on a mega.
I tried mcufriend 2.90 but still nothing.
The other one is a 2.8 mcufriend with futher no information on it without buttons or icons blue print .
The 2.4 is a red print with one button and icons.

Why can't I get it to work on a mega 2560

You are on the wrong Topic. You should ask your question with a "Mcufriend" title.

The first step is always to run the LCD_ID_readreg.ino sketch.
Most 2.4" and 2.8" shields will work with v2.9.0

It may work with the v2.9.1 Beta version or it may be an unknown controller.

David.

Thanks for your comment .
I going to try it.

I have a touch TFT 3.2 model TFT_320QVT_9341. I use the UTHT 2.82 library which supports the 9341_16 controller, but I have problem with the screen. The screen doesn’t show anything, any suggestions how can I use it? The screen is pinned in this shield http://picclick.co.uk/New-32-TFT-LCD-Shield-Touch-Panel-221776995181.html#&gid=1&pid=1 and also I use an arduino MEGA 2560R2.
Thanks

Many people have the TFT_320QVT_9341. UTFT v2.82 supports it.
Many people have your Adapter Shield. I am sure that it will work 100%.

There might even be owners of the same display and Adapter.
They could confirm that the combination works (or not)

I have neither item. So I can only advise that you check that everything plugs together nicely.

David.