cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

YuMa_1534086
Contributor

Hello.

Q1)

Is there PSoC4S sample project using guard sensor?

Please provide it if there is it.

pastedImage_3.png

Q2)

Could you please let us know FW development procedure when guard sensor is implemented?

CSD component(above V3.x) has not widgets for guard sensor.

Should user add normal button sensor as guard sensor if they use guard sensor?

And should user add code to main.c about PSoC behavior after guard sensor touch status becomes “1”, according to their design specification?

And there is no API and component configure setting for guard sensor, right?

Best Regards.

Yutaka Matsubara

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator

Dear Matsubara-san,

Please find the attached sample project for guard sensor. Let us know in case of any clarifications.

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
3 Replies
BragadeeshV
Moderator
Moderator

Hi YuMa_1534086​,

Guard sensor should be treated as a normal CapSense sensor. It should be tuned in such a way that it is triggered only when there is a stream of water present in the board where there are CapSense sensors. The firmware should be written  bu the user in such a way that when the guard sensor is triggered ('1'), all the other sensors should be disabled (shouldn't be scanned) except guard sensor.

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes
YuMa_1534086
Contributor

Dear Bragadeesh-san.

Is there PSoC4S sample project using guard sensor?

I do not know the recommended code processing when using guard sensor.

Should be button sensor scan itself stopped when guard sensor’s touch status becomes “1”?

Or is it OK that user only ignore all button sensors data without stopping button scan while guard sensor’s touch status becomes “1”?

And how should user handle button sensor when guard sensor’s touch status returns to “0” from “1”?

Should baseline initialize once before starting button scan when guard sensor’s touch status returns to “0”? etc.

Please provide recommended scan method, scan flow and sample project etc, when using guard sensor.

Best Regards.

Matsubara / Macnica

0 Likes
BragadeeshV
Moderator
Moderator

Dear Matsubara-san,

Please find the attached sample project for guard sensor. Let us know in case of any clarifications.

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes