Example that shows dual capsense sensor

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

cross mob
Anonymous
Not applicable

I've spent many hours looking for a simple example that shows how to read the value of two capsense sensors. If this example also showed the data being sent over ble to the Cysmart program all the better. Just looking to see how it's done! PSOC or PROC 4 if possible.

   

Thanks,

   

Kevin

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello Kevin,

   

Please find the attached code examples for single CapSense proximity sensor as well as for CapSense slider. You can also see the corresponding CapSense data in CySmart 1.2 using these code examples. You can use the attached projects to develop your application with two or more sensors.

   

Thanks,

   

Ganesh.

View solution in original post

0 Likes
2 Replies
lock attach
Attachments are accessible only for community members.
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello Kevin,

   

Please find the attached code examples for single CapSense proximity sensor as well as for CapSense slider. You can also see the corresponding CapSense data in CySmart 1.2 using these code examples. You can use the attached projects to develop your application with two or more sensors.

   

Thanks,

   

Ganesh.

0 Likes
Anonymous
Not applicable

Thanks for the post Ganesh. I've seen these examples, or ones very much like them but the trouble I am having is not is the main code. My trouble is understanding how to simply add an additional sensor and data point to the ble data stream. I can't find a reference or example that shows this. The slider example just combines the data from the separate sensors into one variable before sending it over ble.

   

Regards,

   

Kevin

0 Likes