STHS34PF80 IR Sensor Performance in Continuous Mode
Hello,
We are currently in the process of developing firmware for a device that contains the STHS34PF80 IR Sensor.
At present, we have decided to use the continuous mode of this sensor, and we would like to seek clarification on its behavior under certain conditions.
The current flow of our device firmware is as follows:
1. STHS init
2. STHS continous mode with given frequency
3. Check DRDY bit
4. If DRDY then read FUNC_STATUS register
Points 3 and 4 are enclosed within a while loop.
We have observed that when the frequency of the continuous mode is set to a higher range, such as 15-30Hz, the sensor functions correctly. It promptly detects the presence and motion of objects, and when an object is removed from the sensor's field of view, the presence and motion flags are cleared almost instantly.
However, when we set a lower frequency, such as 1-2Hz, we notice a significant delay in the detection of presence and motion. It takes approximately 3-5 seconds for the sensor to detect an object, and it requires 10-15 seconds to clear the flags when the object is no longer within the FOV of the sensor.
Our inquiry is whether this behavior is expected, or if there are additional settings or considerations that we may have overlooked.
For your reference, the values we have configured for these tests are as follows:
presence_threshold = 0xC8
motion_threshold = 0xC8
tamb_threshold = 0x0A
hyst_motion_threshold = 0x32
hyst_presence_threshold = 0x32
If there are any specific configurations or adjustments we should consider to optimize the performance of the sensor at lower frequencies, your assistance would be invaluable.
