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

PSoC™ 6 Forum Discussions

jacintal
Level 1
10 sign-ins 5 questions asked 5 sign-ins
Level 1

Hi,

We have been using self-capacitance (CSD) to measure proximity. However, we have observed that the raw count drifts despite the lack of environmental change. Our experimental environment was held at constant temperature and humidity. There was also no movement of any objects over the window of the experiment (5 mins). We tried using both a button widget and a proximity widget for the measurement but we have repeatedly observed a 100-200 drift of the raw count. Are there any settings that could be changed to mitigate this situation?

Thank you for your help!

0 Likes
2 Replies
ncbs
Moderator
Moderator 50 likes received 250 sign-ins 250 replies posted
Moderator

Hi @jacintal,

You are observing a raw count variation without any change in the environment.

There is a feature to avoid this:
In process widget API of CapSense - You will have to Not the Macro(!CY_CAPSENSE_PROCESS_BASELINE) of Baseline Reset and pass it as parameter, it would stop this effect.
Cy_CapSense_ProcessWidgetExt()

https://infineon.github.io/capsense/capsense_api_reference_manual/html/group__group__capsense__low__...

Thanks and Regards
Nikhil

jacintal
Level 1
10 sign-ins 5 questions asked 5 sign-ins
Level 1

Hi Nikhil,

Thank you so much for your reply!

In our case, we set the code as : CapSense_ProcessWidgetExt(CapSense_BUTTON0_WDGT_ID, !0x02), but the noise increased a lot. I am wondering if you have any method to solve this problem. 

0 Likes