Go Down

Topic: Unable to get 2.4" TFT display to work (Read 95 times) previous topic - next topic

rrrocketman

I have one of these:

240x320 2.4" SPI TFT LCD Panel Serial Port Module with PBC ILI9341 3.3V

from Ebay.  This is the second attempt to do so.  The first time, it was only slightly different in size and vintage and I couldn't get it to work.  This time it was a newer revision and 2.4", which I believe is a more common form factor and as you can see, it uses a widely used library.  I went and downloaded every conceivable library I could find with that ILI9341 in it and not a single 1 worked.  The best I ever got was a blinking white screen that randomly changed brightness.  I also tried every conceivable pin combination, although hardware SPI doesn't leave a lot of guesswork in terms of pinout.  The ICSP header spells out what pins go where.  Anyway, I believe these displays are common but I can't get it to work so I asked the seller to give me the drivers and what I got was this:

https://1drv.ms/u/s!AsmWSeuRv0TTghIe8WEEjdwUD8Nf

I can't read chinese, nor can I decipher the folder structure of files that are inside and how to make them plaly nice with the Arduino IDE. 

Please help me get this to work.  I have been waiting 5 months in total for the 2 units to ship to me and after all that waiting it's just a paperweight.  Please let me know what I could be doing wrong.  Thank you.

ieee488

What made you think this item would be compatible with the Arduino?????

Many people nowadays are going to be very reluctant to go to the unknown site that you listed.
Foolishly for me, I am on Linux so I took the risk.

It looks like they gave you C code to use for STM32 microcontoller and 8051 microcontroller.

rrrocketman

I found thousands of ads on Ebay for essentially exactly the same device, several articles on the internet showing said device and how to get it working and all had the same library listed so I figured this was a very typical aftermarket product that runs off that library.  I didn't expect it to be un-usable.

Sorry for the download but hopefully now you see I had no ill intent with it.  Is there any way to use that code to make this work on Arduino?  Is there any indication that this product is compatible with an existing Arduino library?

ieee488

That code in the ZIP requires some sort of C compiler. It isn't meant for the Arduino IDE.

You'll just have to keep trying.

Or buy a module that you know comes with working code. https://www.adafruit.com/product/1480

rrrocketman

I suppose that's my last resort although it seems I'm missing a big piece of the puzzle.  I mean...

http://www.instructables.com/id/Cheap-TFT-22-inch-Display-on-Arduino-ILI9340C-or-I/


http://embedded-lab.com/blog/tutorial-7-esp8266-ili9341-tft-lcd/


https://www.hackster.io/ArduPic/how-to-use-the-tft-display-2-2-qvga-with-arduino-32da04


You'd think that with so many people using these displays, there'd be low risk in one not working for me.  Also, if the chip itself is indeed the same architecture as what Adafruit uses, then the same libraries should work because they employ the same instruction set, etc. right?

ieee488

Either you are doing something wrong or those displays are not the same.

No clue at this point.


Go Up