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?
We made an example for the LSM303AGR on the ONE suport page.http://support.sodaq.com/sodaq-one/loraone-accelerometer-magnetometer/#LSM303AGR
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?
Sorry for the late reply.
You need to change this pin:#define ACC_INT_PIN 4 SODAQ ONEto#define ACC_INT_PIN ACCEL_INT1 SODAQ SARA AFF (D19)
#define ACC_INT_PIN 4
#define ACC_INT_PIN ACCEL_INT1
See all pins and pinnames here:https://support.sodaq.com/sodaq-one/sara/