sainsmart 7" touch screen+arduino mega 2560 touch is working weirdly

hello everyone..i have brought 7" touch tft+arduino mega 2560+arduino tft shild from ebay .
http://www.ebay.com/itm/SainSmart-Mega2560-7-7-Inch-TFT-LCD-Shield-TFT-LCD-Shield-For-Arduino-/121293273958?talgo=origal&tfrom=351054640826&tpos=unknow&ttype=price&ssPageName=STRK:MESE:IT.

my glcd works properly but my problem is that my touch works very weird..when i touch somewhere it will do function of somewhere else. i am using standard UTFT,UTOUCH AND UTFT_BUTTON Library. I've calibrate touch with UTOUCH calibration example but nothing change much...please help me out.

thanks in advance.

What Arduino IDE version are you using?

arduino 1.6.5

Try 1.5.6 or 1.0.6

did that work? Im having the same problem. Got a 5 inch version and its displaying correctly but the touch is all screwed up. seems upside down and inverted and also only registering a quarter of the board.?

cheers.

Change to one of those IDEs and try to calibrate the screen.

I've fix the problem now..first i've changed to arduino sketch version1.0.6. then as mention in utft.pdf i have calibrated touch screen with external power supply. after that i have to put very much pressure for require value of touch otherwise it shows random value. then i've add delay line after myTouch.datadataAvailable(); like below..

from
if (myTouch.dataAvailable())
{
myTouch.read();
x=myTouch.getX();
y=myTouch.getY();
.
.
.

to,

if (myTouch.dataAvailable())
{
delay(20);
myTouch.read();
x=myTouch.getX();
y=myTouch.getY();

.
.
.
then it works perfect..

You can set touch precision with the line "myTouch.setPrecision(PREC_LOW);"
Your options are PREC_LOW, PREC_MEDIUM, PREC_HI and PREC_EXTREME.

:slight_smile: