Hi, I bought a lcd touch display. It is a MCUFRIEND display (picture attached)
I wanted to connect it to the Arduino Uno or Arduino Mega for some NeoPixel projects.
The problem is a can't seem to find the correct libraries to run this display and at first to display something...
But when I connect it to the board I just get a white screen and uploading a graphictest example the screen doesn't change at all and stays white. I got the touch screen to work and display the X and Y positions but nothing else.
I suspect that your Red 2.4" Mcufriend Shield is 240x320 with a Himax HX8367-A controller.
I do not know of any existing Arduino library. I have never heard of this controller on a shield.
Please run the LCD_ID_readreg.ino sketch and post the output from the Serial Terminal.
If you are willing to do the testing, I will add conditional support to the MCUFRIEND_kbv library.
Re 20 20 20 20 20 20 20 20 20 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control
24 24 24 ILI9327
reg(0x00F2) 20 20 20 20 20 20 20 20 20 20 20 20 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control
Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)
Download and install a current Release of the MCUFRIEND_kbv library v2.9.3
You will need to enable the HX8347-I controller. I suggest that you disable SUPPORT_B509_7793 and SUPPORT_4535 if you are using a Uno.
...
if (g_identifier == 0x00D3 || g_identifier == 0xD3D3) g_identifier = 0x9481; // write-only shield
if (g_identifier == 0x6767) g_identifier = 0x9595; // force the HX8367-A to use HX8347-I ID
tft.begin(g_identifier);
Run the graphictest_kbv sketch. The HX8367-A datasheet is very similar to the HX8347-I
If you are lucky, you might get a display.
Please make notes of anything that looks wrong. e.g. colours, directions, mirroring, ...
Then make a report back to the Forum.
Hi David,
what if my Serial output from LCD_ID_readreg.ino are
" Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)
*i have used a few id identifier code ino, all display that my reg is 0x0000, so which driver i am using actually? i am stuck on this issue for long time TT
Good day
I have one of the same MCUFRIEND 2.4 TFT LCD SHILED screens, I had the same partner problem that I could not make it work, but I already downloaded the MCUFRIEND_kbv v2.9.3 library and made the changes to enable the HX8347 driver and disable the other drivers and make the modifications in the code of the graphictest_kbv.ino and I made it work in the image viewing part.
The drawback is that now I can not operate the touch, I charge the three examples of the library of MCUFRIEND and none works, the screen is blank.
What could be the solution for the screen to work well the touch ?????
Thank you.
Good day
Working a little more on the screens I have other screens with the 1580 driver, I have researched a lot and I have tried several drivers in the arduino codes to make them work but no driver manages to turn it completely blank.
What other driver can I use to replace the 1580 and that I managed to turn on the 2.4 TFT LCD screen with the MCUFRIEND 2.9.3 library?
Thank you
My lcd touch display with red color pcb is similar with tunstsk's display.
I test graphictest.ino from Adafruit_GFX library with tft.begin(0x9341), it works but backlight noisy with some vertical lines, cannot full black color.
Try with other drivers cannot work at all.
Then I test LCD_ID_readreg.ino from MCUFRIEND 2.9.7 library, and output are:
Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)
tuntsk had a HX8367-A controller.
You have a "0x1602" display. I have never seen this display. I do not know the Manufacturer.
I do not have a datasheet.
Have you asked the Vendor for help? Have you asked for a refund or replacement?
Yes, your photos look exactly the same. The Power and VCOM settings need tweaking.
I am from Indonesia.
I bought it long time ago from local store so I forget which store, just today I tested it after I found this thread.
If this cannot be solved, maybe I need to buy new one.
These attachments are for the detail pictures.