I want to implement my own walk/rest detection based only on accelerometer values. So I want to distinguish whether a person lies in bed or walks around.
And how do I calculate the acceleration out of the raw values?
Does anyone have a suggestion on how to do this?
Solved! Go to Solution.
BMI160 had many features(any motion, significant motion, step counter, tap, etc...) because of internal algorithm inside, internal algorithm was not open out, but you could use the output result of algorithm.
In BMI160, it had step detector feature. For you application, if step event received you would know current activity status was not rest. If no step event, you could think current activity status was rest. This is my suggestion.
You could refer more information from BMI160 data sheet.