I DID NOT bought a sheild, I tried to connect it , how I found on forum ; directly WIRES with Arduino Mega 2560 and I tried a couple of times, each time tft display is white and nothing happens.
Last time I connected only wire screen without touch and sd card .. as attached.
Do I have to bou8ght a shield for this TFT?
I do not know where I am making a mistake? I have put UTFT library through the program and let more demo codes and notthing happens...
I could use a little help? Am I supposed to put a jumper somewhere? Or am making a mistake when connecting? Forgetting something???
If one is willing to explain the steps that I've already done, I may have something anticipated or I did. Power is supplied via USB if it's important.
While waiting for an answer I'm going to once again connect all over again
tnx
You should have received the adapter too. You should have the LCD module, touch panel, and PCB adapter. If you did not get the adapter, contact your seller.
Maybe you misunderstood me, I bought the same as in the link. The adapter is part of the blue tiles below LCDs or I should get something separate? If you can picture how pcb adapter looks?
I have import UTFT library...
This is a program code (arduino examples code):
#include <UTFT.h>
// Declare which fonts we will be using
extern uint8_t SmallFont[];
// Uncomment the next line for Arduino 2009/Uno
//UTFT myGLCD(ITDB32S,19,18,17,16); // Remember to change the model parameter to suit your display module!
// Uncomment the next line for Arduino Mega
UTFT myGLCD(ITDB32S,38,39,40,41); // Remember to change the model parameter to suit your display module!
void setup()
{
randomSeed(analogRead(0));
// Setup the LCD
myGLCD.InitLCD();
myGLCD.setFont(SmallFont);
}
void loop()
{
int buf[318];
int x, x2;
int y, y2;
int r;
// Clear the screen and draw the frame
myGLCD.clrScr();
myGLCD.setColor(255, 255, 255);
myGLCD.setBackColor(255, 0, 0);
myGLCD.print("That's it!", CENTER, 93);
myGLCD.print("Restarting in a", CENTER, 119);
myGLCD.print("few seconds...", CENTER, 132);
myGLCD.setColor(0, 255, 0);
myGLCD.setBackColor(0, 0, 255);
myGLCD.print("Runtime: (msecs)", CENTER, 210);
myGLCD.printNumI(millis(), CENTER, 225);
Hi, i have the same tft from the same vendor. I have the same problem, White screen. Sometimes i can see the demo in loop,,, but if i reset or i load again the sketch,, white screen appears again..
so try it -> load sketch and put SSD1289 as driver,,, -> white screen -> disconnect arduino for 1 minute -> connect again -> then sometimes i can see the demo, sometimes no...
if u know how to fix this white screen problems pls contact me, thanks
The TFT requires 3V3 and the Arduino supplies 5V. This is the basis of your issues.. I would not connect the TFT to 5V it WILL DAMAGE IT, PERMANENTLY. A common method of interfacing TFT devices is a series 20K resistor in each signal line and you might need a better 3V3 source than the Arduino is capable of. The best method is an active shield with semiconductors for level shifting.
hi Doc, thanks for your fast reply.
I put all on 3v with 20k resistor,,, it works fine, but after a 20-25seconds the screen go white... you think my lcd is damaged?? im using the utft demo with ssd driver (UTFT myGLCD(SSD1289,38,39,40,41))