2.8 TFT touch screen wont work

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
djbennyj
 
Posts: 5
Joined: Fri Apr 26, 2013 4:31 am

2.8 TFT touch screen wont work

Post by djbennyj »

Hello there.
I bought from adafruit this touh screen : http://www.adafruit.com/products/335
I followed each and every step of this wonderfull tutorial ( http://www.ladyada.net/products/tfttouchbreakout/ ), but i cant get the touch screen to work..

The whole begining of the tutotrial works well, and i can display graphics.

There is one probleme following the tutorial. At every step of the wiring you mention the pin we should use for uno AND mega. But on the touch screen part, there noly instructions for UNO i think. I dont know how to connect my X-,X+,y- and y+...

I tried to conenct the anaolg pin and digital as if i had a uno, but obviously this wont work...

fyi i have this setup :

Code: Select all

TFT Data Pins 0-7 to Mega pins 22-29
CS to Analog 3
C/D  to Analog 2
WR  to Analog 1
RD  to Analog 0
RST to reset
Thanks in advance.

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: 2.8 TFT touch screen wont work

Post by adafruit_support_bill »

The wiring for the touch-screen is the same for both Uno and Mega. Can you post photos showing your soldering and your connections?

djbennyj
 
Posts: 5
Joined: Fri Apr 26, 2013 4:31 am

Re: 2.8 TFT touch screen wont work

Post by djbennyj »

Hey. Thanks for your time.

This is a picture of the first part of the tutorial; Everything is working fine and as you can see, grafics are displaying well.

Image

Uploaded with ImageShack.us

This is the setup for tftpaint program. On the 4 touchscreen pins, the 2 of the midle are connected on analog pin, as said in the tutorial, and boths sides are on 8-9 pins (which is the part that bothering me as nothing refers to thes pin on the mega, and nothing else is conected to it (for UNO, you are using already used digit pin).

Image

Uploaded with ImageShack.us

This is my soldering. i checked my soldering with a multimeter, and avery pin is isolated from the one on its sides. I know i'm not the best at soldering but it seems fine.


Image

Uploaded with ImageShack.us

Thanks again for your time.

Ben.

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: 2.8 TFT touch screen wont work

Post by adafruit_support_bill »

I can't really follow the wires in your photo. But it should be connected as it says in the tftPaint sketch:

Code: Select all

#define YP A3  // must be an analog pin, use "An" notation!
#define XM A2  // must be an analog pin, use "An" notation!
#define YM 9   // can be a digital pin
#define XP 8   // can be a digital pin
The solder looks mostly pretty good, but there are a couple of joints where it looks like the solder hasn't wetted the solder pad. This can affect conductivity of the joint. You can touch these up by re-heating the pad with a clean hot iron until the solder flows. http://learn.adafruit.com/adafruit-guid ... n-problems
Attachments
tft.png
tft.png (515.25 KiB) Viewed 652 times

djbennyj
 
Posts: 5
Joined: Fri Apr 26, 2013 4:31 am

Re: 2.8 TFT touch screen wont work

Post by djbennyj »

This is the exact wiring i did... I'll check and remelt some of the solder joints to be sure when i get back home. I'll keep you posted.

djbennyj
 
Posts: 5
Joined: Fri Apr 26, 2013 4:31 am

Re: 2.8 TFT touch screen wont work

Post by djbennyj »

Btw, what does this mean : "use "An" notation" ?

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: 2.8 TFT touch screen wont work

Post by adafruit_support_bill »

Btw, what does this mean : "use "An" notation" ?
To specify an analog pin, you need to use the 'A' prefix, as in A0, A1, A2 etc. If you omit the 'A', it will assume you mean a digital pin.

djbennyj
 
Posts: 5
Joined: Fri Apr 26, 2013 4:31 am

Re: 2.8 TFT touch screen wont work

Post by djbennyj »

Hello.

Looks like the probleme was the soldering.

I remelted 3 pins that looked weird and now it works well.
Thanks for your advices.

Ben

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”