cancel
Showing results for 
Search instead for 
Did you mean: 

STHS34PF80 Abnormal operation

top
Associate

When STHS34PF80 detects the human body for a period of time, TPRESENCE cannot fall back normally, and pres_flag is always 1。

 

code:

top_0-1711014368016.png

3 REPLIES 3
Federica Bossi
ST Employee

Hi @top ,

Welcome to ST Community!

You can refer to section 7.1 of AN5867. You You need to tune the parameters to fit the algorithm to your application, especially the PRESENCE_THS.

Let me know if this helps :)

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

I've tried changing various parameters, but nothing works. The problem now is that when I stand in front of STHS34PF80 for some time, which may be 5 minutes or 15 minutes later (this time is uncertain) and leave, PRES_FLAG is always 1, and the value of TPRESENCE does not fall back as if it is working normally, as if I am still there. That doesn't seem to happen if I show up intermittently before STHS34PF80

mobaid
Associate III