Can you calculate the magnitude from the accelerometer in ms2?


Just starting playing with the MetaWear board and seeing what I can do with the accelorometer.
I have no real experience of using hardware or anything like that so this is a bit of a learning curve for me!

I have built an Android app that will read the accelorometer data. Is there a way I can convert the xzy values into magnitude in ms2?

Feel free to tell me I have no idea what I'm talking about (as I don't)



  • edited April 2015
    If your Metawear has firmware 1.0 or newer, the values that you get are in milli G (from G force). So you can divide by 1000 and multiply by 9.8 (gravity acceleration). But if you have an old firmware you will need to divide 1024 and multiply by your Range Scale config (2G, 4G or 8G).

    Hope it helps,
  • Hi

    Thanks for your response!

This discussion has been closed.