2015-09-08 05:18 AM
Dear All,
I am writing a firmware that is supposed to detect if a body is moved for a certain time i.e. 3 seconds of continuous motion. I am using LIS3DH Accelerometer sensor. Here is the configuration registers values:CTRL_REG1 = 0x2F //Enable all axes + ODR = 10 HzCTRL_REG2 = 0x00 //DefaultCTRL_REG3 = 0x40 //Enable AO1 interrupt on INT1CTRL_REG4 = 0xB0 //16G full scaleCTRL_REG5 = 0x00 //DefaultCTRL_REG6 = 0x00 //DefaultINT1_CFG = 0x7F //6D movement recognetionINT1_THS = 0x02 //Note FS = 16G. (Sensitivity = 0.25G)INT1_DURATION = 0x1E //0x1E = 30. Note ODR = 10 Hz. (Threshold = 3 Sec)What I got is that if the body is moved for timeless than
3 seconds, the Accelerometer consider it as an event and interrupt the Micro-controller after 3 seconds. I think by this configurations it has to neglect such motions (which period is less than 3 seconds).Any one can help me in detecting only motions which period is greater than 3 seconds?Thanks in advance #accelerometer #mems-accelerometer2015-10-21 06:05 AM
Please anyone is here ???
2015-10-26 01:13 AM
I think you mis-understood the 6D movement detection.
Instead of body movement, it is actually 6 direction function which tells you the orientation of the device.2024-08-14 03:29 AM
你好,我目前和你有类似的需求,但我做连续的身体投掷,所以我想问一下你是否可以分享你的lis3dh配置?我将不胜感激!!