Right now, we use the absolute magnitude of the acceleration value. If you were to gently rock the Bangle around its axis, that would not give you any change in the value at all.
What if we use the difference in accelerometer values? That is by its very definition going to be centered, and any rotational movement would add to the value you saw.
Obviously it needs work and testing, but could be an interesting way forward anyway.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just had a thought about this...
Right now, we use the absolute magnitude of the acceleration value. If you were to gently rock the Bangle around its axis, that would not give you any change in the value at all.
What if we use the difference in accelerometer values? That is by its very definition going to be centered, and any rotational movement would add to the value you saw.
Obviously it needs work and testing, but could be an interesting way forward anyway.