cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DW12 - Wake up with Tilt and Scale question

SPiy.1
Associate

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?

SPiy1_0-1723832020701.png

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.

1 REPLY 1
ZAIDS-S23
Associate III

Hello

 

1. Yes you are correct. It would be 31mg as a wakeup threshold. 

2. That is the correct approach.