I believe the sara device is equiped with a motion and acceleration sensor. Is there any documentation on how to read any of the information?
And is it possible to let the device sleep for a longer time and let it wake-up on motion?
I believe the sara device is equiped with a motion and acceleration sensor. Is there any documentation on how to read any of the information?
And is it possible to let the device sleep for a longer time and let it wake-up on motion?
Hi,
We made an example for the LSM303AGR on the ONE suport page.
http://support.sodaq.com/sodaq-one/loraone-accelerometer-magnetometer/#LSM303AGR
Best regards,
Jan
Hi Jan,
The example give’s nice readings of the XYZ. When I flip the board the Z becomes negative (below the threshold) but no interupt is triggering the “board flipped” message .
Does the SARA board need other initialization?
Kind regards,
Arno
Dear Arno,
Sorry for the late reply.
You need to change this pin:
#define ACC_INT_PIN 4
SODAQ ONE
to
#define ACC_INT_PIN ACCEL_INT1
SODAQ SARA AFF (D19)
See all pins and pinnames here:
https://support.sodaq.com/sodaq-one/sara/
Kind regards,
Jan