Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Peters
11/30/11 09:31
Read: 334 times
Tucson, Az
USA


 
#184961 - re: Thanks
Responding to: Mahmood Elnasser's previous message
Mahmood Elnasser said:
Yes that is smart thanks, I was thinking to keep checking the touch screen every few 100 milliseconds, but your way is much neater and more efficient.
Do you need to do averaging?
Do you need De-Bounce?


For the little thing I rigged up, using a LCD touchscreen from SparkFun, I didn't ... but it might make sense to average. It's an exercise for the reader whether it's better to read X multiple times and then read Y multiple times, or alternate reading X and Y several times (accumulating with each read then averaging after all reads are complete).

How do you assign tolerences? I'm thinking of making areas where they give same result, something like a keypad, anywhere you touch inside the key it gives you number. It sounds fun.
Mahmood


I didn't assign tolerances, but I recall that the LCD resolution was pretty low and the converters are 12 bits, so conversion results are "better" than you need. That might be why I didn't bother averaging.

-a


List of 18 messages in thread
TopicAuthorDate
Resistive touch screen      Mahmood Elnasser      11/29/11 01:41      
   Good for you!      Rob Klein      11/29/11 01:56      
   re: Resistive touch screen        Andy Peters      11/29/11 09:57      
      Thanks      Mahmood Elnasser      11/29/11 13:46      
         re: Thanks      Andy Peters      11/30/11 09:31      
      GND reference      Mahmood Elnasser      11/29/11 14:09      
         Hardware or software      Mahmood Elnasser      12/23/11 07:37      
            re: Hardware or software      Andy Peters      12/23/11 09:48      
               oh, you do      Erik Malund      12/23/11 11:51      
      analog in instead of open drain      Maarten Brock      11/29/11 15:16      
         re: analog in ..      Andy Peters      11/30/11 09:32      
   tough to love :)      Erik Malund      11/30/11 09:39      
   software      Mahmood Elnasser      12/11/11 10:47      
      When I did Touch Screen Stuff      Michael Karas      12/11/11 11:28      
         GUI      Mahmood Elnasser      12/11/11 11:54      
            If you have ...      Michael Karas      12/11/11 21:21      
               Article      Mahmood Elnasser      12/12/11 02:03      
   Let Chinese do that      JecksonS Ben      12/12/11 05:11      

Back to Subject List