Accelerometer : Motion : Minimum Threshold


I try to log the motion of a door on mma8452qModule.

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 ?



This discussion has been closed.