Can I detect two proximity sensors at the same time?

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

cross mob
user_1398601
Level 1
Level 1
5 replies posted 5 questions asked First reply posted

Hi,

I am using the CY8CKIT_044 Kit. What I am trying to achieve is to be able to detect two proximity sensors at the same time.

I have looked the example CY8CKIT_044_CapSense_Proximity,it is fine.But CY8CKIT_044_Proximity_Gestures,I don't understand how to detect two sensors,

My first question is can I use tow proximity sensors at the same time?Is there any example?

I appreciate the feedback. Thanks.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Yes, you can use two proximity sensors at the same time.

I add a simple project in attachment. But the project can not be used directly, you could change the device to which chip you want.

Hope it can be helpful for you.

View solution in original post

0 Likes
3 Replies
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Yes, you can use two proximity sensors at the same time.

I add a simple project in attachment. But the project can not be used directly, you could change the device to which chip you want.

Hope it can be helpful for you.

0 Likes

I open your project

Capsense display

pastedImage_0.png

Click  project-Update components

pastedImage_2.png

Build the project

It output

pastedImage_3.png

D:\????\

???? is the chinese character 我的文档

I use the psoc creator 4.2How can I  change the configuration to open the project

pastedImage_4.png

0 Likes

You can update the component and then build the project.

The proximity sensor is mostly like a button.

You add a new proximity sensor like add a button.

And use my main code to control it.

0 Likes