Dear all,
Figure 1: Just before Christmas my new mcu_friend 3.95 inch 320x480 TFT UNO-shield/screen arrived, bought via Aliexpress. The Aliexpress website claims that an ILI 9488 is on board. Figure 1 shows the back of the shield.
The new 3.95 TFT shield replaces a similar shield that I bought one year ago that had a cracked screen upon arrival. The cracked TFT works properly although it has a large defect in the screen; graphicstest-kbv reports ID=0x84880. The cracked 3.95 TFT has no problems at all with tests in landscape and portrait mode operation. I want to use the TFT specifically in portrait orientation to monitor temperatures in my central heating system. I even constructed a complete display board equipped with a 3.5 inch 320x480 shield (see http://www.zonnepanelen.wouterlood.com/index.php/hobby-elektronica)
After placing the new shield/screen on an Uno and running the graphicstest_kbv script (from mcu_friend.kbv 2.9), I noted that the test reports an ID = 0x9486
Running next the graphicstest_kbv script with the ID hard coded to 0x9486 produces color inverted screens, with text normally oriented in landscape mode (tft.setRotation(0) but with mirrored text in portrait mode.
Figures 2 and 3: Running the same test with a hard coded ID=0x9488 produces the normal test results of graded colors, graphics, et cetera in landscape mode, but also mirrored text in portrait mode.
Other IDs, e.g. 0x9481, 0x6814, 0x9341, 0x9327 produced with this test either nothing or something with inverted colors and in portrait mode an additional mirrored screen.
Figures 4 and 5: Apparently the controller is not a 0x9486 nor a 0x9488 but something else (newer? counterfeit?) that accepts instructions as 0x9488 and then works fine ---- only in landscape but not in my favorite portrait orientation: everything is then mirrored.
I wrote a test sketch in which I force an ID=0x9488 in line 60 and then run this test in landscape orientation (see line 67). The graphics and colors are OK and I can use the TFT for my thermal sensor readouts, however only in portrait orientation ( :o ). The script attisched is "text_mcu_friend_3_95_tft.ino"
On the forum I noted a long and intense discussion on the topic "ili9488 with tuoch screen". Mentioning in the post of July 23 of was made of
" In the archives of the Library folder are supported ili9341 240x320, ili9488 480x320, for quite uncomment the desired resolution and compile the sketch. http://178.130.34.198/adafruit/adafruit.rar
However, this url is not available any more. Does one of the forum readers have this rar available?
The post of July 26, 2015 has an attachment 'tftpaint2_9327.ino. When that script is run, and iD=0x9341 is reported plus on screen a primary color bar appears correct (full width in landscape) white on tft.setRotation (0) the text is mirrored in this portratit mode and no color bar is seen.
As I am out of possibilities, hence, please help me with suggestions that might lead to a solution.
report LCD_ID_reader .txt (1.61 KB)
test_mcu_friend_3_95_tft.ino (13.7 KB)
3_95_inch_tft_mcu_friend_files.zip (413 KB)