Loading...
Pages: [1]   Go Down
Author Topic: Womart TFT LCD Shield + Touch Panel Display  (Read 985 times)
0 Members and 1 Guest are viewing this topic.
Santa Cruz de Tenerife
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently purchased in womarts a two-boards "TFT LCD Shield + Touch Panel Display"

http://www.ebay.com/itm/3-2-TFT-LCD-Shield-Touch-Panel-Display-w-SD-Reader-for-Arduino-Mega-2560-A080-/261037203378?pt=LH_DefaultDomain_0&hash=item3cc7079fb2

and not get it to work, I have only a black screen. I'm using the sketch demo UTFT_Demo_320x240 from library UTFT.
Has anyone managed to run this?
Logged

Washington
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is another thread here that has a video linked that shows the solution.  You simply need to change the line:

UTFT myGLCD(ITDB24E_16,38,39,40,41);   // Remember to change the model parameter to suit your display module!

to :UTFT myGLCD(ITDB32S,38,39,40,41);   // Remember to change the model parameter to suit your display module!

Notice the difference in the areas I have colored in?  I have the sainsmart version of this screen and this fixed it for me.

Hope this helps

Massey

Logged

A Veteran, whether active duty, retired, national guard, or reserve, is someone who, at one point in his or her life, wrote a blank check made payable to their Governmen for an amount of "up to and including my life."

Santa Cruz de Tenerife
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.
For a moment I thought I had found the solution in this forum and on the website of Henning Karlsen, but still does not work.
I even followed the instructions of Womarts and tried with the ITDB02_Graph16 reccomended. This library and examples are and obsolete and outdated, but also recommended by Womarts.

Still not working. I even downloaded the data sheets of the HY-TFT320 tft screen to follow the signals from the Arduino Mega 2560. First thing is to choose the type "2" in UTFT header "# define ITDB32S", choosing library SSD1289 16 bits.
See attached image.

However, could you tell me where I can see the video explaining? It came not attached.

I'm starting to doubt that this device has a manufacturing fault.
Logged

Washington
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got the same files as you did with my SainSmart version of this LCD.  I didnt link the video and the author does not speak durring the video he just deleted some characters and retyped them.  THe lines I listed in my last post here will fix your issue.  This line is in the beginning of the program.  Just make the changes I have listed and try it again.  The guy that developed the  ITDB02_Graph16 software told me that he no longer supports this as it is over a year old.  I can understan no longer developing on the old tech but making the old files still available would be nice. 

Massey
Logged

A Veteran, whether active duty, retired, national guard, or reserve, is someone who, at one point in his or her life, wrote a blank check made payable to their Governmen for an amount of "up to and including my life."

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi alfelipe,
did you manage to run your device ?
because I've just received mine from womarts and I have the same problem  smiley-confuse
Logged

Santa Cruz de Tenerife
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

HI. Just I solved my problem and just access the forum to communicate it. If the TFT device is in black absolute and there is not even a gray image background, you should adjust the potentiometer in the adapter shield. I recommend you check this: just in the pin opposite to the pin marked as "JP2" on the TFT shield, if there is no a voltage slightly above 2.5 volts no light whatsoever, you will get a black screen. You must adjust the potentiometer even without running softare, until the TFT reach a light gray background. Turns clockwise increase the voltage. The reference is about 2.6 volts in the pin marked in the photograpy. Try it and see how it works. The potentiometer is like a brightness control but with a very critical threshold. I was tracing signals with oscilloscope this afternoon looking for the failure. I bought a second pair of TFT and ADAPTER shields in Womarts and for this reason I knows the problem was located in the adapter shield.  Very simple? I must be an idiot for not having tried to adjust the potentiometer first before buying another pair of shields. :-)
More simple: if you get a blank (no gray) screen, turn clockwise the potentiometer, without running software, until you reach a light gray background. ;-)
Sorry, but I don'n know how upload the photo in this post. You can see it in http://www.sepca-sctfe.org/downloads/arduino.jpg
« Last Edit: March 09, 2013, 05:44:57 pm by alfelipe » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Thanks for your reply. In fact, I had a totally black screen so I asked to Womarts and they told me to adjust the potentiometer 15 rounds counterclockwise. I already tried it and I checked with my multimeter but there was nothing on the pin 19. I checked on the arduino and there was 0 volt on the pin 3.3 volts. So I have a problem with the arduino smiley-sad I explained the problem to Womarts and they send me another one :p
I borrowed another mega to a friend and all works fine with the UTFT and Utouch librairies...
Logged

Pages: [1]   Go Up
Print
 
Jump to: