2024-04-25 03:41 AM - last edited on 2024-04-29 06:56 AM by Federica Bossi
Hi everyone,
I'm developing a tamper detection circuit for a meter enclosure. I'm considering the STHS34PF80 infrared proximity sensor, but I'm struggling to find reference materials or application notes specifically related to tamper detection using this sensor.
My goal is to use the sensor as an interrupt generator, similar to a switch. When someone opens the enclosure lid, the sensor should detect the change in proximity and trigger an interrupt signal to the microcontroller, indicating tampering.
Can anyone recommend reference materials or alternative sensor options suitable for tamper detection in this application?
Thanks.
2024-04-29 06:55 AM
Hi @dhruvit ,
We don't have specific reference material for this application but, as far as I can tell from your post, you can use a presence library to detect if someone is in proximity.
You can tune the algorithm following the AN.
For the presence detection library, you can refer to X-CUBE-MEMS1
https://www.st.com/en/embedded-software/x-cube-mems1.html?icmp=tt33855_gl_lnkon_jul2023
Here an example for presence detection: