Cheap 2.4 TFT display for UNO not working regardless of the library

Hi,

I've got one of this:

http://www.aliexpress.com/item/2-4-inch-TFT-touch-LCD-Screen-Module-For-Arduino-UNO-Free-Shipping/1418497586.html

The difference between other modules seems that the input signals are translated in the connector to have the serial pins free.

Does anyone has eve used this ? Any suggestion/example ?

Thanks !

You need to start by telling us what uController you have (UNO, MEGA etc...).
It looks like a shield for UNO & MEGA, so do you have one of those ?
What else do you need to know ?

Read Reply #14 in this post:
http://forum.arduino.cc/index.php?topic=200403.msg1479067#msg1479067

Sorry, my fault... is an UNO. I supposed that in the link there was the reference as well.

What I did check was the following, in all the libraries I was capable of doing so: the RSt, CS, W etc. signals did look correctly connected. The main difference that I can spot is that usually the data bit on the display are mapped as follows:

Arduino display
D0 -> D0
D1 -> D1
D2 -> D2
.
.
D7 -> D7

Here I have (I suppose because it was needed to keep serial free)

Arduino display
D0 -> free
D1 -> free
D2 -> D2
.
.
D8 -> D2
D9 -> D1

Also I'm unaware of the controller used... I did suppose that the libary would be provided but was not the case.

Thanks for your help.

Let's start at the beginning.
What is your native language ?
Are you in Spain ?
What do you know about libraries and how to install them ? ( have you done this before alot ?)
What experience do you have using SPI protocol ? (ie: do you know the wiring requirements ?)
There is a good chance your display uses SPI. We don't know yet but it's possible.

he RSt, CS, W etc. signals did look correctly connected.

Based on what ?
I thought you did not have any documentation for the display .
How are you making a statement that something is connected correctly if you have no reference info ?
At this point we really don't know if the display is using any of the digital pins because it might be
using the SPI connections. Have you located any libraries yet ?

If it can be of any use...

What is your native language ?
Italian
Are you in Spain ?
No
What do you know about libraries and how to install them ? ( have you done this before alot ?)
I follow standard procedure: copy library in lib. folder and restart
What experience do you have using SPI protocol ? (ie: do you know the wiring requirements ?)
None, albeit this Display does not appear to be SPI: on the back of the PCB no pin is marked as "spi"
There is a good chance your display uses SPI. We don't know yet but it's possible.
That's unlikely: SPIs are usually more expensive, looks like 8 bit since there are LCD_D0 up to LCD_D7 engraved on PCB
Pin assignements for control signals looks correct because in the configuration of the sketch, using UTFT lib I've used (in my attempts as for example:
myGLCD(GEEE28,LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
I've changed almost all the types of controllers provided by UTFT

However, if you follow the link:

http://www.aliexpress.com/item/2-4-inch-TFT-touch-LCD-Screen-Module-For-Arduino-UNO-Free-Shipping/1418497586.html

The picture is indeed explanatory, nevertheless it does not work. The seller was not able to provide not even a reference to the chipset.

Tnx,

Alex.

SPI uses the following signals on the following pins on an UNO.
looking at your signals , it I were going to try to match them up this is what I would choose.:
All of the signals are outputs from the UNO EXCEPT the MISO , which is why I matched that up with RD.
This is just a guess but maybe it's worth a try.
Does you display run on 5V or 3.3V ?
UNO
-D13 - SCK (clock) =>LCD_WR
-D12 - MISO (Master IN, Slave OUT)=> LCD_RD
-D11 - MOSI (Master OUT, Slave IN) => LCD_CD
-D10 - SS (Chip select) => LCD_CS

LCD_RESET (I think this one is obvious)

I'll try but since there are two HC245 on the board and a voltage regulator I suppose that the LCD is @3.3V and the HC245 does the level translation.

Also, the pins you've suggested my be for SPI but there is a SD reader on the board, and those pins are labeled "SX_SS, SD_D0 ..." so I suppose they're there for the sd card reader.

el_sandrito:
Hi,

I've got one of this:

http://www.aliexpress.com/item/2-4-inch-TFT-touch-LCD-Screen-Module-For-Arduino-UNO-Free-Shipping/1418497586.html

The difference between other modules seems that the input signals are translated in the connector to have the serial pins free.

Does anyone has eve used this ? Any suggestion/example ?

Thanks !

This was posted in the 'reviews' section of the seller's website:

Test working, no complaints except for the lack of documentation. I've found that it works with the adafruit TFT libraries once the pins are configured. Overview | 2.8" TFT Touch Shield | Adafruit Learning System

Hopefully this will help you get the display working.

Regards,
-__-

Hi, the ADAFRUIT was the first that I've tried: I tought it was a straigtrough clone, in fact in the ADAfruit example

// The control pins for the LCD can be assigned to any digital or
// analog pins...but we'll use the analog pins as this allows us to
// double up the pins with the touch screen (see the TFT paint example).
#define LCD_CS A3 // Chip Select goes to Analog 3
#define LCD_CD A2 // Command/Data goes to Analog 2
#define LCD_WR A1 // LCD Write goes to Analog 1
#define LCD_RD A0 // LCD Read goes to Analog 0

#define LCD_RESET A4 // Can alternately just connect to Arduino's reset pin

// When using the BREAKOUT BOARD only, use these 8 data lines to the LCD:
// For the Arduino Uno, Duemilanove, Diecimila, etc.:
// D0 connects to digital pin 8 (Notice these are
// D1 connects to digital pin 9 NOT in order!)
// D2 connects to digital pin 2
// D3 connects to digital pin 3
// D4 connects to digital pin 4
// D5 connects to digital pin 5
// D6 connects to digital pin 6
// D7 connects to digital pin 7
// For the Arduino Mega, use digital pins 22 through 29
// (on the 2-row header at the end of the board).

The pins do exactly match, also the picture from adafruit seems very similar (I mean the pin connections).
Anyhow thanks for the help: I suppose that I've to find someone that did use this exactly shield, perhaps they are so cheap that they are broken ?

Thanks !

That shield was made to be plug & play compatible with an UNO.
There should be no wiring issues.
The only thing you should need is the right library installed correctly.

Yes,

in fact I did want to have it plug & play, unfortunately it only plugs.

I do suppose I need the right library, the very issue here is... what is the library ???

That's why I' m looking for someone that already used it and that can provide help & tips !

I have the same, it is working wery well. Another topic has some infos:
2.4 inch TFT touch LCD Screen Module For Arduino UNO R3 SD low price jocks - Displays - Arduino Forum.
Pay attention, when you plug the display on Arduino, there is solders on the display that can touch the USB connector. I had to put some adhesive tape to avoid any problem.
Adafruit library is working well, but touch screen is mirrored.

hello seniors .. i am the begnier in Arduino. I purchase the tft 2.4" screen of mcufriend.com and the model number is LD079 write on top of tft . i use all the library of adafruit but tft is not working . kindly help me out for this esue thanks .......

I know it's been a while since you asked these questions, but I think I can help.
The cheap TFT screen you posted is (I'm pretty sure) the same one I have.
You can find the instructions for the hardware specific library here:

Basically...
Download the TFT_Shield.zip from:
http://forum.arduino.cc/index.php?action=dlattach;topic=314613.0;attach=121865

Good luck!