TFT01-2.8 V1.2 LCD Display connection issue

Hello! So I bought this LCD TFT module from local electronics shop and unfortunately I haven't found any pin connections to my arduino duemilanove or any arduino at all.

Many other TFT LCD modules have really clear explanations and usages of shields, but I believe there is a way to connect one without a shield, just using correct pins.

The one I got is from Elecfreaks but there is not much information given about the product, as how I should connect it, it only suggest buying the shield.

Please, can somebody help me find the correct pin connection for this display?

Here you can find a zip file containing documentation.

Did you notice they also have shields for this display? And there is a link to their wiki page on the product page:

http://www.elecfreaks.com/wiki/index.php?title=2.8"_TFT_LCD:_TFT01-2.8

found on this page:

http://www.elecfreaks.com/store/28-tft-lcd-tft0128-p-670.html

You may notice that links are always helpful to get answers.

Jean-Marc Zingg

Hello again.

I just clicked the wiki link once more, and looked at the schematics, and read your post again.

The pinout on the schematic looks familiar, it is same or near same as one of my 7" displays.
And you want to connect it to a Arduino Due, so signal voltage is not an issue.

I originally had no shield to connect mine to my Due, so I wired it directly, with parallel DuPont wires as far as possible, and with a sw mapping in my io class.

I do not recommend this approach, but you can take a look at the io class in "GxIO_DUE_P16_WIRED" of my GxTFT library. The mapping is somehow described in the source. I refrain from posting a picture of my wiring harness for now, unless you ask me for it.

The link to my library class is in this topic:

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

Jean-Marc

ZinggJM:
Hello again.

I just clicked the wiki link once more, and looked at the schematics, and read your post again.

The pinout on the schematic looks familiar, it is same or near same as one of my 7" displays.
And you want to connect it to a Arduino Due, so signal voltage is not an issue.

I originally had no shield to connect mine to my Due, so I wired it directly, with parallel DuPont wires as far as possible, and with a sw mapping in my io class.

I do not recommend this approach, but you can take a look at the io class in "GxIO_DUE_P16_WIRED" of my GxTFT library. The mapping is somehow described in the source. I refrain from posting a picture of my wiring harness for now, unless you ask me for it.

The link to my library class is in this topic:

GxTFT : TFT Display Library Framework for Arduino - Displays - Arduino Forum

Jean-Marc

Hi, thanks for your response! I'd really like to see the wiring you did, every bit of information may help me, also I'll check out your library! But I'm using Arduino Duemilanove which isn't the same as Arduino Due, Duemilanove is similar to Arduino Uno, but it's just old (manufactured in 2009). It doesn't have that many pins, so I'm not quite sure what to do.

I followed the Lennyz1988 link and downloaded a some sort of TFT guide (schematics and pin connections included) but the example code differs from the actual pinouts (also has some strange mistakes), so at this point I have connected the LCD screen as it is written in the example PDF file, but I can't find a proper example code.

Gedas__:
Hi, thanks for your response! I'd really like to see the wiring you did, every bit of information may help me, also I'll check out your library! But I'm using Arduino Duemilanove which isn't the same as Arduino Due, Duemilanove is similar to Arduino Uno, but it's just old (manufactured in 2009). It doesn't have that many pins, so I'm not quite sure what to do.

I followed the Lennyz1988 link and downloaded a some sort of TFT guide (schematics and pin connections included) but the example code differs from the actual pinouts (also has some strange mistakes), so at this point I have connected the LCD screen as it is written in the example PDF file, but I can't find a proper example code.

The code does not differ from the pinouts as far as I can see.

You can either write A0 or 14. It's the same pin.

Pin A0 = 14
Pin A1 = 15
Pin A2 = 16
Pin A3 = 17
Pin A4 = 18
Pin A5 = 19

I have not tested the code itself, because I do not own the LCD.

You should also be able to use this library.

Be carefull that the lcd is probably 3.3v.

Lennyz1988:
The code does not differ from the pinouts as far as I can see.

You can either write A0 or 14. It's the same pin.

Pin A0 = 14
Pin A1 = 15
Pin A2 = 16
Pin A3 = 17
Pin A4 = 18
Pin A5 = 19

I have not tested the code itself, because I do not own the LCD.

You should also be able to use this library.

GitHub - adafruit/TFTLCD-Library: Arduino library for 8-bit TFT LCDs such as ILI9325, ILI9328, etc

Be carefull that the lcd is probably 3.3v.

Hey thanks, I am really grateful for your response! I came across this weird thing.

My main pins (as I understand) are REST, CS, RD, WR, RS

But in the example it is said to connect:

LCD_CS to A3
LCD_CD to A2
LCD_WR to A1
LCD_RD to A0
RST to A4

It seems that RS pin on my LCD screen is the same as CD, just translated the definition (which is found in specs PDF) of RS from Chinese and its "Data / command switch". But when I upload the sketch, the screen is just blank white, instead of doing its thing.. I think I'm missing something

I do not have your display. It is your job to study the documentation.

As far as I can see:

  1. the 40-pin display is 3.3V only. You must convert ALL 5V logic to 3.3V.

  2. the display defaults to 8080-16 bit parallel interface.

  3. there is probably a 0R resistor / solder-bridge to select 8080-8 bit or 8080-16 bit.

  4. the Uno has 5V GPIO. It only has enough GPIO for 8080-8 and 5 control bits.

  5. third party 40-pin Adapter shields are available for a Mega2560. They have level shifters

  6. it looks as if ElecFreaks have some form of Uno Adapter. I guess that it contains a Latch and level shifters.

  7. if you want to wire without level shifters, buy a 3.3V Pro Mini, Zero or Due.

  8. oh, if you get the correct 3.3V logic, UTFT, Adafruit_TFTLCD, MCUFRIEND_kbv, ... should all work with 8080-8 interface. UTFT will work with 8080-16

David.

Sorry for bringing up this old thread...

I purchased one of those elecfreaks TFT01-2.4 back in 2012 (!!) and was left in the parts bin for years.

Recently I want to use it, but elecfreaks seems to remove the support, however, I can still get bits and pieces from internet (and using the wayback mechine to retrieve old pages)

I have it hooked up w/ Uno (and I am almost for sure the LCD is in 8-bit mode) Followed the connection in http://www.rinkydinkelectronics.com/files/UTFT_Requirements.pdf I even tied the LCD DB0-DB7 to ground.

I have tested UTFT examples and tried ILI9325C, ILI9325D_8, S6D1121_8 during init.
For example:-

UTFT myGLCD(S6D1121_8,A5,A4,A3,A2);

(and yes, I checked RS, WR, CS & RST connected to A5,A4,A3 & A2)

All I have is a white screen, sometimes I see it dimed a bit as the sketch is running (power is stable)

I didn't use any shield, and my UNO is a SainSmart board which I can switch the AVR runs at 3.3V. (Also tested and confirm)

One of the questions I have is the Vcc on LCD board itself. Some said it is 3.3V and some said it is 5V. At first I tried 3.3V but there is a 3.3V LDO connected to the Vcc pin, and that doesn't make sense. So I took the leap of faith connected Vcc to 5V (and checked the LDO again, sure enough, it gives a 3.3V output) Or did I just fried the board? :slight_smile:

I have tested UTFT_Demo_320x240.ino and the code from Elecfreaks, same results.

Google found this photo

It is clearly a 3.3V 40-pin display. Almost certainly 16-bit parallel

I suggest that you buy a 40-pin Adapter Shield and MEGA2560 to go with it.

Then you can try different controller models from that era. e.g. ILI9325 and SSD1289

Only you can read anything printed on the pcb. Perhaps you could post a human-readable photo.

Since you have 3.3V GPIO on your Uno-clone, you could run LCD_ID_readreg.ino.
Connect DB8..DB15 to the pins expected by a Mcufriend Uno shield. i.e. DB8-DB9 to 8-9 and DB10-DB15 to 2-7

David.