Accelerometer : Motion : Minimum Threshold
Hi,
I try to log the motion of a door on mma8452qModule.
mma8452qModule.configureMotionDetection().setThreshold(threashold).setAxes(Mma8452qAccelerometer.Axis.values()).commit();
For objects, threshold 1.1 is a good value but on doors slowly opened I can't detect motion (I know I should have a gyroscope) If I set a threshol of 0.8 the motion is always detected is it normal ? When I display live axis motion is well displayed under 1.0
An other question: with previous code can I have access to the acceleration: sqrt(x² + y² + z²) or do I have to do axis sample ?
Thanks
This discussion has been closed.
Comments