dani
Full Member level 4
- Joined
- Mar 8, 2004
- Messages
- 231
- Helped
- 6
- Reputation
- 12
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- UK
- Activity points
- 2,217
Hi All,
I am working on 3 axis accelerometer application and one of the application is to detect when it is on reset i.e. without any motion. I am polling accelerometer data at 1 Hz and checking it for change in reading to know it is in motion in any axis.
However, the method seems to be very simple i.e. comparing the previous value with current value to detect the change that i want to be sure if it is the correct way to do it.
I need help and suggestions in this regard that if there are any efficient method to detect when accelerometer is in motion and when it is not. Due to hardware design constants, i can only poll the data and cant use any interrupt pins of accelerometer.
Thanks,
Dani.
I am working on 3 axis accelerometer application and one of the application is to detect when it is on reset i.e. without any motion. I am polling accelerometer data at 1 Hz and checking it for change in reading to know it is in motion in any axis.
However, the method seems to be very simple i.e. comparing the previous value with current value to detect the change that i want to be sure if it is the correct way to do it.
I need help and suggestions in this regard that if there are any efficient method to detect when accelerometer is in motion and when it is not. Due to hardware design constants, i can only poll the data and cant use any interrupt pins of accelerometer.
Thanks,
Dani.