cancel
Showing results for 
Search instead for 
Did you mean: 

STHS34PF80 stuck in presence state

SLin.11
Associate II

Hi All,

I use STHS34PF80 for presence detection with embedded algorithm however it easily get stuck in presence status and cannot release from the status.

Use case:

People sit in from of the sensor around 30 cm, with lens on STHs34PF80.

When people enter the FOV it's triggered as presence status.

When people sit still for a while (e.g. 30 min), the TPresence keeps glowing.

When people leave, TPresence drops however it cannot across threshold.

TPresence will keep fall very slowly until it across the threshold however sometime it will never across below the threshold.

ibs09ps-annotate.png

Red line: presence flag

Orange line: TPresence value

my settings:

lpf_m: DIV_200

lpf_p: DIV_200

lpf_p_m: DIV_9

lpf_a_t: DIV_50

ODR: 4Hz

change lpf_p to DIV_50 doesn't help

 

Any idea why TPresence keeps rising when people sit still and fall very slowly after people leave ?

And how to solve the issue ?

 

 

 

 

 

 

 

1 REPLY 1
SLin.11
Associate II

enable the bit SEL_ABS of register ALGO_CONFIG (28h) doesn't help