/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Touch Screen calibration

Username:     
Password:     
             

Forum

# 1   2009-01-23 13:26:25 Touch Screen calibration

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Touch Screen calibration

Has anyone better 'touch screen calibration' code they would like to share?

Yours Simon M.

Offline

 

# 2   2009-02-18 09:18:07 Touch Screen calibration

Socrates
New member
From: Germany
Registered: 2008-07-29
Posts: 5

Re: Touch Screen calibration

Hello Simon,

so far as I can see is the touchscreen calibration not working very well. So I'm looking to for another calibration procedure! Does anyone understand the current calibration?

Offline

 

# 3   2009-02-18 10:00:06 Touch Screen calibration

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Touch Screen calibration

Hi Socrates,
I'm glad to see that someone agrees with me.
I can only comment on the Primer2, but when using the stylus to select an application, I have to select the one below!
As for horizontal that is many mm out on one side, but almost spot on on the other.

Yours Simon M.

Offline

 

# 4   2009-02-18 10:03:42 Touch Screen calibration

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Touch Screen calibration

Simon :

when using the stylus to select an application, I have to select the one below

I believe that it's not a calibration problem, but a bug in the list managementt. The selection is correct but sometimes, the wrong application is launched. It depends on what happened before...
This bug will be fixed in CircleOS 3.6.

Offline

 

# 5   2009-02-18 11:52:57 Touch Screen calibration

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Touch Screen calibration

Thanks for the update Francis, but what about the Left-Right error?

Yours Simon M

Offline

 

# 6   2009-02-18 12:43:09 Touch Screen calibration

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Touch Screen calibration

I guesrs that we could reduce it...  I will publish today a document that explains how we proceed. I believe that it is possible to have better results.

Offline

 

# 7   2009-02-18 13:33:08 Touch Screen calibration

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Touch Screen calibration

Many Thanks for that Francis,  it would help me a lot because I'm hoping to make a simple on screen keyboard.

Yours Simon M.

Offline

 

# 8   2009-02-24 10:05:59 Touch Screen calibration

Socrates
New member
From: Germany
Registered: 2008-07-29
Posts: 5

Re: Touch Screen calibration

Hello all,

i meanwhile figured out that the calibration "offset" is not due to a list functinality! I'm using the touch screen in a complete different application on the primer 2 (without list and circle os) and i'm getting the same offsets after calibration!
Where can i find the document mentioned above?

Offline

 

# 9   2009-02-24 13:03:31 Touch Screen calibration

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Touch Screen calibration

Some information about the touchscreen calibration is included into the document 'evolution from version 2 to version 3' (see the CircleOS 3.5 project).

Offline

 

# 10   2009-06-01 14:34:24 Touch Screen calibration

klausr
Member
Registered: 2008-01-19
Posts: 18

Re: Touch Screen calibration

Hello,

I am developing a program which depends on a good calibrated touch screen.
It seems that the touchscreen calibration is somewhat bad in OS 3.7. I wrote
a small tool to show that (project TouchScreenTest). Even without any motion with my hand the drawn lines are moving randomly around, sometimes up to 5-8 pixels away of the typed position (I used my Tungsten C stylus). My program GUI requires that one is able to hit at least a 7x10 pixel rect safely.

Can we expect a good working touchscreen calibration in OS 3.8? Will OS3.8 be released before ending of the contest? I really thinks this belongs to the OS. If not, is there some example code so that i can do the calibration on my own? Or is it simply not possible with that kind of touchscreen used.

-Klaus

Offline

 

# 11   2009-06-02 07:18:11 Touch Screen calibration

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Touch Screen calibration

We don't plan to improve the calibration before the contest. If you can improve it -without any major change-  we will update 3.71 to 3.72.

Offline

 

# 12   2009-06-17 21:32:58 Touch Screen calibration

KPexEA
Member
From: Vancouver, BC, Canada
Registered: 2009-04-24
Posts: 12

Re: Touch Screen calibration

There is a page here that has a very good writeup on Touchscreen calibration and source code to implement it.

It looks much more comprehensive than the current calibration.

http://www.embedded.com/story/OEG20020529S0046

ftp://ftp.embedded.com/pub/2002/06vidales/

Comments??
Kevin

Offline

 

# 13   2009-07-07 09:45:44 Touch Screen calibration

xbapx
New member
Registered: 2009-07-05
Posts: 1

Re: Touch Screen calibration

The page mentioned is really good and the explanation is logical so far. But how is it possible to get the following lines, especially the values:

Y = ( (570*Y) - (15*T) -19400 ) / 1000;
X = ( (490*X) + (170*Y) -15157 ) / 1000; //see at touchscreen.h

Thanks

Offline

 

# 14   2009-07-07 14:13:14 Touch Screen calibration

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Touch Screen calibration

FYI, we are currently trying to improve the touchscreen accuracy... Thanks for the link.

Offline

 

# 15   2009-07-11 13:49:38 Touch Screen calibration

semsem
New member
Registered: 2009-04-01
Posts: 6

Re: Touch Screen calibration

In Micro Windows i have implemented the calibration algorithim mentioned in the link.This calibration can be enabled or disabled from the Config.h file which has all the windows configuration. Feel free to use it and even copy it.

Offline

 

Board footer