2016-11-05 11:50 PM
Hi
I am planning on using LSM303AGR to detect a jerk in my system. And I want LSM303AGR to send an INT1 to the CPU to wake.I am thinking to use the accelerometer to determine this jerk. Magnetometer will be in sleep state.How do Iconfigure the device? The jerk is manual. Could be along any axis. And alsocould be rotational movement. So my estimate is that the jerk will be there for 25ms. It will move the device by about 2mm on any axis, It is not a very sudden movement. You can categorize the jerk to be like rotating a knob on a audio system.
Whatparameters do I need to set to detect this jerk.
Are thereany arduino code for this device?
Thanks
#lsm303agr