Forum Software Ferduino code Touch problem

Touch problem  [SOLVED]


Post Number:#1 Post Sun Jun 29, 2014 2:01 pm
Posts: 7
Topics: 2
Solve rating: 0
Joined: Sun Jun 29, 2014 10:00 am
Topics: 2
Age: 38
Gender: None specified
National Flag:
France
Hello there

after several days of searching without success, I need your help.
I have a problem on my arduino, I installed all the components, changed the shield to be my sd card of the screen tft.
I did a calibration and changed the coordinates in the UtouchCD file.
I installed the program ferduino but I have problem with the touch screen, I press the pen with the program "supports" elsewhere.
so I try with utouch Test button and it is the same, for example if I press 3 is 6 enrols 4 it is clear, that is 6 3 8 c 'is 8, 0 is clear also clear is 5, etc..

I did not find a solution, can you help me?

thank you very much

original message in french:


bonjour

apres plusieurs jours de recherche sans succés, j'ai besoin de votre aide.
j'ai un problème sur mon arduino, j'ai bien installé tout les composants, modifié le shield pour me servir de la carte sd de l'ecran tft.
j'ai effectué une calibration et modifié les coordonnées dans le fichier UtouchCD.
j'ai installé le programme ferduino mais j'ai des probleme avec le tactile, la où j'appuie avec le stylet le programme "appuie" ailleurs.
j'ai donc essayer avec utouch boutontest et c'est pareil, par exemple si j'appuie sur 3 c'est le 6 qui s'inscrit, le 4 c'est clear, le 6 c'est 3, le 8 c'est bien 8, 0 c'est clear aussi, clear c'est 5, etc.

j'ai pas trouver de solution, pouvez vous m'aider?

merci beaucoup

Post Number:#2 Post Sun Jun 29, 2014 2:23 pm
Posts: 68
Topics: 2
Solve rating: 0
Joined: Thu Apr 10, 2014 7:59 pm
Topics: 2
Age: 57
Location: Barbourville, Kentucky
Gender: Male
National Flag:
United States of America
you have to recalibrate until you get a working set of coordinates, it took me several tries to finally get it right

Post Number:#3 Post Sun Jun 29, 2014 2:28 pm
Posts: 7
Topics: 2
Solve rating: 0
Joined: Sun Jun 29, 2014 10:00 am
Topics: 2
Age: 38
Gender: None specified
National Flag:
France
thank you but I ais is at least 10 times, but it changes nothing. is that strange thing is that when I test with the drawing function if I made ​​a dash up the drawing goes to the left.

Post Number:#4 Post Sun Jun 29, 2014 2:46 pm
Posts: 68
Topics: 2
Solve rating: 0
Joined: Thu Apr 10, 2014 7:59 pm
Topics: 2
Age: 57
Location: Barbourville, Kentucky
Gender: Male
National Flag:
United States of America
thank you but I ais is at least 10 times, but it changes nothing. is that strange thing is that when I test with the drawing function if I made ​​a dash up the drawing goes to the left.


it will do very strange things when the coordinates are incorrect but you could have another issue, when you did the calibrate test, did you change the profile from portrait to landscape ?

Post Number:#5 Post Sun Jun 29, 2014 3:06 pm
Posts: 7
Topics: 2
Solve rating: 0
Joined: Sun Jun 29, 2014 10:00 am
Topics: 2
Age: 38
Gender: None specified
National Flag:
France
not I board changed nothing and indeed it is in portrait mode. it owes its because the problem is not ferduino landscape?

how changed the calibration in landscape mode?

thank you

Post Number:#6 Post Sun Jun 29, 2014 3:30 pm
Posts: 68
Topics: 2
Solve rating: 0
Joined: Thu Apr 10, 2014 7:59 pm
Topics: 2
Age: 57
Location: Barbourville, Kentucky
Gender: Male
National Flag:
United States of America
not I board changed nothing and indeed it is in portrait mode. it owes its because the problem is not ferduino landscape?

how changed the calibration in landscape mode?

thank you


not in the calibration sketch, change to landscape in the button test sketch

line 360 in the calibration sketch should say landscape as well

Post Number:#7 Post Sun Jun 29, 2014 3:40 pm
Posts: 20
Topics: 1
Solve rating: 0
Joined: Tue Apr 29, 2014 2:20 pm
Topics: 1
Age: 53
Location: Cholet, France
Gender: Male
National Flag:
France
Salut Anthony, la France doit gagner tu dois y arriver =))

Denis

Post Number:#8 Post Sun Jun 29, 2014 3:44 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Welcome Anthony!

Use this to check your coordinates.

http://www.henningkarlsen.com/electroni ... verify.php

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#9 Post Sun Jun 29, 2014 3:50 pm
Posts: 7
Topics: 2
Solve rating: 0
Joined: Sun Jun 29, 2014 10:00 am
Topics: 2
Age: 38
Gender: None specified
National Flag:
France
c'est ta faute, tout sa denis :D

j'aurais pas vu ton bac, j'aurais laissé avec mes vieux tube :D

-------------------------------- Last edited Sun Jun 29, 2014 8:12 pm --------------------------------

Hi!

Welcome Anthony!

Use this to check your coordinates.

http://www.henningkarlsen.com/electroni ... verify.php

Best regards.


thank you fernando.

apparently it's good.

UTouch Calibration Data Verification


Displaytype : ITead Studio - ITDB02-3.2WD
Your CAL_X : 0x004F0ED2UL
Your CAL_Y : 0x0037CEBAUL
Your CAL_S : 0x000EF18FUL

Results:
• Orientation is correct...
• Display size parameters are correct...
• CAL_X data sequence is correct...
• CAL_X data seems to be in the expected range...
• CAL_Y data sequence is correct...
• CAL_Y data seems to be in the expected range...

The calibration data you provided should work with the display model you selected

-------------------------------- Last edited Sun Jun 29, 2014 8:34 pm --------------------------------

not I board changed nothing and indeed it is in portrait mode. it owes its because the problem is not ferduino landscape?

how changed the calibration in landscape mode?

thank you


not in the calibration sketch, change to landscape in the button test sketch

line 360 in the calibration sketch should say landscape as well



how to find a line number without having to count them one by one?

thank you

Post Number:#10 Post Sun Jun 29, 2014 4:47 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Find:

#define TOUCH_ORIENTATION  PORTRAIT


Replace with:

#define TOUCH_ORIENTATION LANDSCAPE
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#11 Post Sun Jun 29, 2014 6:45 pm
Posts: 68
Topics: 2
Solve rating: 0
Joined: Thu Apr 10, 2014 7:59 pm
Topics: 2
Age: 57
Location: Barbourville, Kentucky
Gender: Male
National Flag:
United States of America
c'est ta faute, tout sa denis :D

j'aurais pas vu ton bac, j'aurais laissé avec mes vieux tube :D

-------------------------------- Last edited Sun Jun 29, 2014 8:12 pm --------------------------------

Hi!

Welcome Anthony!

Use this to check your coordinates.

http://www.henningkarlsen.com/electroni ... verify.php

Best regards.


thank you fernando.

apparently it's good.

UTouch Calibration Data Verification


Displaytype : ITead Studio - ITDB02-3.2WD
Your CAL_X : 0x004F0ED2UL
Your CAL_Y : 0x0037CEBAUL
Your CAL_S : 0x000EF18FUL

Results:
• Orientation is correct...
• Display size parameters are correct...
• CAL_X data sequence is correct...
• CAL_X data seems to be in the expected range...
• CAL_Y data sequence is correct...
• CAL_Y data seems to be in the expected range...

The calibration data you provided should work with the display model you selected

-------------------------------- Last edited Sun Jun 29, 2014 8:34 pm --------------------------------

not I board changed nothing and indeed it is in portrait mode. it owes its because the problem is not ferduino landscape?

how changed the calibration in landscape mode?

thank you


not in the calibration sketch, change to landscape in the button test sketch

line 360 in the calibration sketch should say landscape as well



how to find a line number without having to count them one by one?

thank you


you will notice the line number in the lower left corner of the IDE once you have clicked on any part of the sketch, just scroll down until the number is what you are looking for, and I just noticed, it is on line 21, don't change any of the other lines, it's been a while since I looked at the sketch :)

Post Number:#12 Post Mon Jun 30, 2014 7:43 am
Posts: 7
Topics: 2
Solve rating: 0
Joined: Sun Jun 29, 2014 10:00 am
Topics: 2
Age: 38
Gender: None specified
National Flag:
France
Hello
it is finally, yesterday I could not do it because I translated your post in french with google and it reflects in my landscape "paysage" and do not know what arduino code. I always looked on the french forum arduino at the same time and that's where I saw my error because of the translator. and information must be calibration 2 times and each time changed the coordinates in UtouchCD if its not working.

thank you all for your help, I can reinstall ferduino :D

Post Number:#13 Post Mon Jun 30, 2014 8:23 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

If the problem was solved please mark this topic as solved clicking on button "accept this answer" below of the post that helped you.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron