CapSense Timer to precent False Touch

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Marcus_Hellen
Level 3
Level 3
10 replies posted 10 questions asked 10 likes given

Hello,

My project is very simple. Is one button is pressed, related led on. If the button pressed again, led off. however I could not prevent the false touch. I do not want to led on or off when I falsely touch a button.

I have an idea which is following;

if  a sensor active, related sensor flag would set. if time between the flags is more than 500 ms, do your job. If lesser than 500 ms, do not do any thing.

How I can put my code to this idea? could you please give an example code because you have my project.

Regards

0 Likes
1 Solution
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @Marcus_Hellen,

You can use the enable sensor auto reset feature to avoid false touches.

https://community.infineon.com/t5/PSoC-4/What-is-the-quot-baseline-quot/td-p/326788 - refer to this thread for information about enable sensor auto reset. Also, refer to CapSense design guide - https://www.cypress.com/file/46081/download for more details. 

Regards,
Nikhl

View solution in original post

0 Likes
1 Reply
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @Marcus_Hellen,

You can use the enable sensor auto reset feature to avoid false touches.

https://community.infineon.com/t5/PSoC-4/What-is-the-quot-baseline-quot/td-p/326788 - refer to this thread for information about enable sensor auto reset. Also, refer to CapSense design guide - https://www.cypress.com/file/46081/download for more details. 

Regards,
Nikhl

0 Likes