Touch LCD 3.5" shield for arduino mega 2560 not working only white screen

Status
Not open for further replies.

trm33

Junior Member level 1
Joined
Jan 29, 2009
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,391
Anyone knows which library is used for this LCD on arduino mega 2560. i have tried almost all (HCTFT & UTFT) but none of these is working. In the backside of LCD no controller is mentioned.
 

Attachments

  • IMG20180212194914.jpg
    449.3 KB · Views: 112
  • IMG20180212194946.jpg
    467.1 KB · Views: 85

You can utilize/modify the following code to find the driver chip of the shield. You might want to add identifiers for 9327, 9488, 9168 may be. This is a nice bit of code and can be utilized to build as an all in one tft chip identifier.

Code:
//https://hackaday.io/project/12984-tftlcd24-lcd-touch-screen-driver-experience
if(identifier == 0x9325) {
Serial.println(F(“Found ILI9325 LCD driver”));
} else if(identifier == 0x9328) {
Serial.println(F(“Found ILI9328 LCD driver”));
} else if(identifier == 0x7575) {
Serial.println(F(“Found HX8347G LCD driver”));
} else if(identifier == 0x9341) {
Serial.println(F(“Found ILI9341 LCD driver”));
} else if(identifier == 0x8357) {
Serial.println(F(“Found HX8357D LCD driver”));
} else {
Serial.print(F(“Unknown LCD driver chip: “));
Serial.println(identifier, HEX);
Serial.println(F(“If using the Adafruit 2.8\” TFT Arduino shield, the line:”));
Serial.println(F(” #define USE_ADAFRUIT_SHIELD_PINOUT”));
Serial.println(F(“should appear in the library header (Adafruit_TFT.h).”));
Serial.println(F(“If using the breakout board, it should NOT be #defined!”));
Serial.println(F(“Also if using the breakout, double-check that all wiring”));
Serial.println(F(“matches the tutorial.”));
//return;
identifier = 0x9325;
}
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…