Hi Marco,
I think that the problem is that you are setting a threshold of 1g on all axes, by definition, 1g equals the force of gravity, so, even if the accelerometer is not in movement, it will continue reaching the threshold of 1g due to the force of the earth gravity is applying to your accelerometer’s body.
I recommend you to increase the threshold to around 1.2g and check if this solves the problem.
Have a great day,
Jose
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------