Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
Which unit?
Hello
on my KL25Z I'm getting values from -2.0 to 2.0 from MMA8451Q. Which unit (g, m/s²) have these values?
Kind regards, tknapp
Question relating to:
1 Answer
8 years, 8 months ago.
That would be "g" since FS[1:0] may have default value and read value (14 bit) are divided by 4096.0 (This may mean the sensor operated in -2.0g to +2.0g dynamic range).
http://www.nxp.com/files/sensors/doc/data_sheet/MMA8451Q.pdf
Is there a possibility to change to 4g or 8g mode?
Edit: I found a fork of this lib with functionality to change g-modes. https://developer.mbed.org/users/scohennm/code/MMA8451Q8_1/
posted by Tobias Knapp 08 Mar 2016