Any luck getting WBYJB02 3.2" Color TFT Touch LCD to work?

Hi

I recently purchased Recommendations For You - DealeXtreme TFT LCD (WBYJB02 3.2" Color TFT Touch LCD). It was one of those sleep deprived impulsive purchases. I now find that it arrived that there is little/no information on the driver and no sample code available anywhere. I tried connecting it up, as the pins are marked, looked through some TFT libraries (henningkarlsen) and still no luck.

The purpose of the TFT LCD is to get JOS (Jeremys Operating System) up and running, link JOS – Updated!!! | The Custom Geek if anyones interested.

Has anyone purchased one of these screens and managed to get some basic tests working?

Regards,
Damian

Maybe someone has done that exact screen, but in the meantime, what Arduino model are you trying to connect up (Uno, Due, Mega, ...)?

Also, it would be good if you can find and post a link to the datasheet for your TFT. With that, you may get some help here even if no-one's used that exact TFT.

arduinodlb:
Maybe someone has done that exact screen, but in the meantime, what Arduino model are you trying to connect up (Uno, Due, Mega, ...)?

Also, it would be good if you can find and post a link to the datasheet for your TFT. With that, you may get some help here even if no-one's used that exact TFT.

I'm using a mega 2560 to run this LCD. There may be a datasheet for this TFT but I can not find anything. I've searched for hours and no luck, only link to sites which sell the screen, all having the same generic description with no datasheets, etc.

I think the chipset is a 74HC573D, well at least thats what it says on the main chip. But no further luck :~

The 74HC573D is just an 8-way latch.

http://www.nxp.com/products/logic/latches_registered_drivers/74HC573D.html

There's not too much on that board, but hopefully the other chip is the driver chip. Can you make out what the model number is on the smaller chip?

Also, can you post the 32-way interface connection pin labels? The graphic on the web is too small to read.

OK, I believe this should help a lot.

According to the website,

http://dx.com/p/wbyjb02-3-2-color-tft-touch-lcd-screen-module-for-arduino-mcu-learning-development-225939

the interface is an i8080 interface.

With touch screen and touch control chipset; 240 x 320 Pixels, 260K colors, default i8080 16-bit parallel interface, 8-bit parallel interface way optional; easy to drive by many MCU like AVR, PIC, C51, ARM, STM32, etc.

Here's a good document about that.

Hopefully your controller is SSD1289 compatible. I see you tried using UTFT by Henning Karlsen. That's what I used on my SSD1289 compatible 320 x 240 TFT/Touch screen. My TFT came with a connection shield however, which was necessary to hook it up to my Mega, so you'll have to check your pin connections against what UTFT is expecting them to be.

arduinodlb:
OK, I believe this should help a lot.

According to the website,

http://dx.com/p/wbyjb02-3-2-color-tft-touch-lcd-screen-module-for-arduino-mcu-learning-development-225939

the interface is an i8080 interface.

But they're all i8080 interfaces! (well, unless SPI) You need to know which chip,
the pixel resolution is a good clue to this, but you should ask dx.com to provide this
information (but first have a good look at board for part numbers, things like ILI9xxx
SSDxxxx and other part numbers mentioned in the UTFT docs are what you need to find.

The way to buy a TFT modules is
a) find out which display COG (chip-on-glass) it uses
b) find a datasheet for that chip
c) check the pinout to see whether the module is using SPI or parallel
and if parallel whether its 8,9,16 or 18 bits (all the chips support all
the modes, but the modules usually hard-wire the mode select bits to the
COG).
d) look to see if there are already drivers for that chip (to save you having to
work out an init routine for the COG, these are no fun to do yourself, usually
a few dozen registers have to be setup and the documentation will be mediocre
at best.

e) only then part with your cash.

MarkT:

arduinodlb:
OK, I believe this should help a lot.

According to the website,

http://dx.com/p/wbyjb02-3-2-color-tft-touch-lcd-screen-module-for-arduino-mcu-learning-development-225939

the interface is an i8080 interface.

But they're all i8080 interfaces! (well, unless SPI) You need to know which chip,
the pixel resolution is a good clue to this, but you should ask dx.com to provide this
information (but first have a good look at board for part numbers, things like ILI9xxx
SSDxxxx and other part numbers mentioned in the UTFT docs are what you need to find.

The way to buy a TFT modules is
a) find out which display COG (chip-on-glass) it uses
b) find a datasheet for that chip
c) check the pinout to see whether the module is using SPI or parallel
and if parallel whether its 8,9,16 or 18 bits (all the chips support all
the modes, but the modules usually hard-wire the mode select bits to the
COG).
d) look to see if there are already drivers for that chip (to save you having to
work out an init routine for the COG, these are no fun to do yourself, usually
a few dozen registers have to be setup and the documentation will be mediocre
at best.

e) only then part with your cash.

Thanks Arduindlb for the feedback, I tried connecting it all up again with no further progress.The second, smaller chip is a "xpt2046" which controls the touchscreen as I understand. There is no mention of SSD or ILI9 on either of the chips.

MarkT thanks for the advice, I very rarely make impulsive purchases and now have learnt my lesson.... I hope. I have since ordered a "more common" TFT LCD including a mega shield from sainsmart. There is plenty of support for this particular screen on the web. It's just a pitty I cant do anything with the WBYJB02 screen. Until I can find a driver which supports the screen I'm afraid its going to gather dust.

Thanks anyway, I learnt a valuable lesson: Do your research and don't believe "For Arduino experiment and DIY projects" until you see one in action with spec sheets, drivers and preferably sample code.

Hi!

I have also bought that same module from DX and last Sunday I tried to get it to work using information from this page: http://www.geeetech.com/2012/04/interface-3-2tft-lcd-module-to-arduino/

Like yourself, I had no success at all. All I got was a blank screen. Now, searching a little more, I found this module: http://www.wvshare.com/product/3.2inch-320x240-Touch-LCD-A.htm , wich seems very similar to ours. The page has a lot of information. Up to now I had no time to study that info and try to apply it, but I thought it could be usefull for you guys too.

As soon as I get some time to spend I'll try to make it work and will come back to you.

Best of luck!

Emerson

It works!

It really does! I've used the instructions and examples from UTFT library, by Henning Karlsen, wich you can find here: Electronics - Henning Karlsen

In the downloaded zip, you will find the file "UTFT_Requirements.pdf" wich shows an pinnout example for an hypotetic TFT module. Based on that example, I used the following schemme to connect WBYJB02 to an Arduino Mega 1280 equivalent board:

TFT Arduino
DB0 D37
DB1 D36
DB2 D35
DB3 D34
DB4 D33
DB5 D32
DB6 D31
DB7 D30
DB8 D22
DB9 D23
DB10 D23
DB11 D24
DB12 D25
DB13 D26
DB14 D27
DB15 D28
RS D39
WR D40
RD VCC (3.3V)
CS D38
RESET D41

Then, I installed the UTFT library on my Arduino software and chose the demo for 320X240 TFT (AVR). Here you will have to comment out the line "UTFT myGLCD(ITDB32S,19,18,17,16);" and uncomment the corresponding line for the Arduino Mega (in case you're using it like me).

This is probably the most important part: you will have to change that line to reflect the pinnout you've chosen for RS,WR,CS and RESET. You will also need to identify the model of the model you're using. In my case, "GEEE32" worked perfectly.

The general form of that line is:
UTFT myGLCD(MODEL,RS,WR,CS,RST;

And, in my case:
UTFT myGLCD(GEEE32,39,40,38,41);

Then, you just load the example to your Arduino and it just works!

Hope this is usefull for someone.

Good luck!

Emerson

Thanks Emerson!

With your advice I managed to get the demo loading. I used some of your wiring with the same 4 pins(RS, WR, CS, RST) on the last page of the pdf. This way I used (model, 38, 39, 40, 41).

Unfortunately it doesnt work perfectly, everything is a bit fuzzy no matter what driver I use.

I have not tried the touchscreen wiring yet.

Damo

Damo,

I'm happy to know that my post was useful for you.

I also haven't tried the touch or the SD card wiring still, but I believe those will be simpler than the LCD. More on that after the weekend :wink:

I don't get exactly what you mean with "fuzzy". If you mean that the image is blurred or that some pixels are missing, maybe the problem is some of the many connections of the data lines (DB0 to DB15). I would bet that you have a wrong connection or that some of the wires are not properly soldered.

I think you should check all of the connections and try again.

I can tell you that it's Worth the effort!

Best Regards,

Emerson

Damo1984:
Thanks Arduindlb for the feedback, I tried connecting it all up again with no further progress.The second, smaller chip is a "xpt2046" which controls the touchscreen as I understand. There is no mention of SSD or ILI9 on either of the chips.

The reason you won't see those chip markings is that the controller chip is a COG
(chip on glass), a silicon chip directly bonded onto the back glass of the display
itself along the edge - these typically have no markings (sometimes you can see them
as a rectangle, but here the resistive touchscreen will have hidden it). The chip is
mounted on the glass because it has a very large number of pads, for 320x240 there
are 960 source lines and 240 gate lines plus some for the flex pcb connector to
bond to.

Glad you got it working in the end.

epolinda:
It works!

Thanks for info!
unfortunately i was not successful using your pinout (i mean your DB9 and DB10 have the same connection) and the one from doc inside library =(
tryed to use other types (not GEEE32) also no luck

only backlight

Mine worked OK using the GEEE32.
I used level converters from 5V to 3.3V and, to simplify the board, used the latches included included. Instead of using 16 bits I use 8 + latch enable.
The only problem I found is that the display order of the fields is inverted and I think it is a hardware configuration only (pin GD in the SSD1289) so I modified the library.

HELP !!! UK
Hi guys, complete newbie to Arduino but want to get into it, i recently bought an Arduino Mega 2560 and a 3.2 inch TFT LCD touch screen which is the WBYJB02, i can`t find any data sheets, info, pin diagrams or anything for this LCD.

I downloaded the UTFT Zip (UTFT - Rinky-Dink Electronics) which showed me a pin placement for the Arduino Mega and followed it to the letter and then ran the Arduino software, the backlight comes and the screen flickers every now and then but that`s all.

I tried to change the model parameters in the (Remember to change the model parameter to suit your display module!UTFT myGLCD(ITDB32S,38,39,40,41):wink: with every single one listed in the Keywords folder one by one, i let each one upload and waited to see if any of them would work, but non did, the LCD i have doesn`t appear to be in the list anywhere which is very frustrating.

Can anyone offer some help or advice please, i didnt get ashield` because i wanted to hard wire it myself to better understand how these things work.

Iv`e scoured the internet looking for the WBYJB02 LCD but apart from links to websites where you can buy one there are no actual data sheets or spec out there.
Thanks for your time.