Go Down

Topic: 2.4 inch LCD TFT Display Shield only shows white! (Read 64927 times) previous topic - next topic

andersmmg

OK, now I get a white screen and this in serial:
Code: [Select]

TFT LCD test
Using Adafruit 2.8" TFT Breakout Board Pinout
TFT size is 240x320
Added delay to the reset method
Unknown LCD driver chip: 4040
If using the Adafruit 2.8" TFT Arduino shield, the line:
  #define USE_ADAFRUIT_SHIELD_PINOUT
should appear in the library header (Adafruit_TFT.h).
If using the breakout board, it should NOT be #defined!
Also if using the breakout, double-check that all wiring
matches the tutorial.

I noticed that is said my driver was 4040.

Patrickl69

I have the same issue. The shield I'm using looks like this:
http://www.mcufriend.com/pic/unolcd/28-2.jpg

The screen just stays white and the ID returned is C0C0.

The touchscreen does work apparently, because I got values from it with one of the demo's and touching the srceen.

I've seen customer support from Adafruit say that the C0C0 ID indicates a dataline problem:
http://forums.adafruit.com/viewtopic.php?f=47&t=32807&p=162517&hilit=C0C0#p1


Patrickl69

So I decided to measure all the pin connections with a multi meter and indeed one connection was bad. Fixed a wire over the break and immediately everything worked.

Now the example AdaFruit app states it has an ILI9341 LCD Driver.

bobbel

Try this

I've attached my modified AdaTFTLCD arduino library as a zip file.

Unzip this in your arduino libraries directory (There is probably already an AdaTFTLCD directory there rename it before you unzip the one I am providing)

Restart the arduino IDE (or it will not be using the new library)

Open File->Examples->AdaTFT->graphicstest build that and see if it works.

Let me know how it goes


Thank you! I almost gave up on this chinese 2.4tft that came without any library or documentation, but this worked like a charm, finally! :)

The graphicstest example works perfectly. But what is the simplest sketch I can make to just print a plain old "Hello world" on the display? I've been deleting lots of code from graphicstest but I *always* get a compile code. I just want a real basic hello world, then start expanding on that...could anyone help?? I'm completely noob btw.

xpress_embedo

Hi!!
I too had purchased the similar LCD from this website
http://www.banggood.com/UNO-R3-ATmega328P-Board-2_4-Inch-TFT-LCD-Screen-Module-For-Arduino-p-945755.html

And i am using the Adafruit library, everything works fine, but the color on my LCD is blue.
Every color whether white, red, magenta everything looks blue.
Please suggest what i can do in this case.



I am attaching the images.

b8el018

If you are using an 'mcu friend display' then here's the link that solved the problem for me :)

http://forum.arduino.cc/index.php?topic=292777.0

xpress_embedo

Thanks for suggestion.
But that library is also from adafruit, and i am having just the blue color problem on my screen.
I had asked the same question in that topic also.

JoaoLopesF

Please try: https://github.com/JoaoLopesF/SPFD5408

Regards

Joao

rmetzner49

If you're using the Adafruit 2.4" display with the SD socket and Touch Pins, there are three JUMPERS that need to be set on that board by bridging with solder.  Depending on whether you're using SPI mode or 8-bit Parallel.

Not configuring those jumpers will not allow the display to "listen" on the right pins!

bratwurst

Oops forgot to attach the zip


You are just bloody BRILLIANT goltermc! I've been beating my head on my desk trying to get this display to do anything more than "light up," and with your zipped &  modified drivers and code, it worked first time!

Well done my friend.  :)

Grishko

Please try: https://github.com/JoaoLopesF/SPFD5408

Regards

Joao
Thank you! That's link solves problem with my 2.4" tft shield!

Andfj

Same problem with "C0C0" driver fail. Sometimes it says 7777.

I have this screen
http://elektronik-lavpris.dk/p137600/1651-28-tft-lcd-touchskaem-shield-til-arduino-uno-r3/

I have tried everything mentioned in this thread. Including the zip provided. Still get the C0C0.

Any other solutions that can be tried ?

zoomx

I've seen customer support from Adafruit say that the C0C0 ID indicates a dataline problem:
http://forums.adafruit.com/viewtopic.php?f=47&t=32807&p=162517&hilit=C0C0#p1

So I decided to measure all the pin connections with a multi meter and indeed one connection was bad. Fixed a wire over the break and immediately everything worked.
Not sure but seems that C0C0 is a dataline problem.

zoomx

Just yesterday this issue appeared  in the github Adafruit library repository
https://github.com/adafruit/TFTLCD-Library/issues/18
Quote
If readID() is called directly after reset() ( as the graphicstest sketch does )
the ILI9341 does not have enough time to properly reset before readID() is called.
In my case this caused an erroneous id of: 0xC0C0 to be reported.
Adding a delay of 2 ms. between readID() and reset() resolves this issue.

Andfj

If you see the link to my screen, the driver should be IL9325 or IL9328. I have tried the delay as well, with no success. Found another thread that I'm going through at the moment. Will post if I make progress.

Go Up