cancel
Showing results for 
Search instead for 
Did you mean: 

Help with LIS2DH interrupts, novice here

air_clemente
Associate
Posted on December 15, 2015 at 14:07

Hello,

I'm reading the LIS2DH datasheet but I'm not sure of how can I do it:

I've got a microcontroller connected to LIS2DH, including the INT1 and INT2 pins. I want to generate an interrupt when accelerometer detect a certain amount of movement in any axis. For example: if the acelerometter is in a door, if I open the door so slowly, nothing happens, but if i open the door more quickly one interrupt is generated (LOW to HIGH in INT1).

Can I do it? How? What interrupt have I to activate? 

I have seen a REFERENCE/DATACAPTURE register, I think i have to put here my ''amount of movement''. But i don't know how can I activate it, i see watermark interrupt, click interrupt, AOI interrupt, but i don't know.

Any suggestions? Thank you very much in advance

#lis2dh #accelerometer
0 REPLIES 0