2
\$\begingroup\$

I am trying to use a 128x240 GLCD driven by t6963 and a resistive touchscreen. When touchscreen and the frame are far apart, everything goes well but when I put them together it starts sending touch signals. Should I use a spacer between them?

\$\endgroup\$
4
  • \$\begingroup\$ which micro controller are you using? \$\endgroup\$
    – Aug
    Oct 7 '13 at 14:14
  • \$\begingroup\$ Did you try grounding the metal frame? \$\endgroup\$
    – Ron J.
    Oct 7 '13 at 14:16
  • \$\begingroup\$ @Aug ATMega16 is the micro \$\endgroup\$ Oct 7 '13 at 14:23
  • \$\begingroup\$ @RonJ. Yes it is well grounded \$\endgroup\$ Oct 7 '13 at 14:23
0
\$\begingroup\$

Basically this problem arises when you use falling edge of you AVR micro for touch detection. Use Low level interrupt instead. This guarantees that the touch has lasted enough and removes the noise interferences

\$\endgroup\$
2
  • \$\begingroup\$ I set it to low level interrupt and now works fine. What was the reason? \$\endgroup\$ Oct 7 '13 at 14:24
  • \$\begingroup\$ I said in the answer, This makes sure that the interrupt lasts until the interrupt routine executed. \$\endgroup\$
    – Aug
    Oct 7 '13 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.