2024-08-16 11:14 AM
I'm using the LIS2DW12 accelerometer to detect and classify different types of vibrations. I need to configure a wake-up threshold for a specific scenario.
Two questions:
1. When the sensor is set to 2g and I use the WK_THS[5:0] configuration, setting the register to 000001 corresponds to 2g/64 = 0.0312g. However, I'm trying to determine what this value represents in the recorded signal, which appears to range from 2048 to -2048. Does WK_THS[5:0] = 1 correspond to 0.0312/2 * 2024 = 31?
2. Additionally, since the sensor may be mounted with a tilt, I’m considering applying a High Pass filter. Is this the correct approach to remove the DC/Tilt and ensure the wake-up is triggered only by vibration magnitude on one of the axes?
Thank you for your help.
2024-09-19 11:46 PM
Hello
1. Yes you are correct. It would be 31mg as a wakeup threshold.
2. That is the correct approach.