03-18-2021 09:42 AM
Hi ,
my question is maybe ridiculous, but after read for example the value of accelerometer X on BMA400, I have an hexadecimal value (12 bits). This value can be convert in decimal, and so I can have a value between 0 and 4095. As this value is signed, if value >2047, then I have to apply for example 3000-4096 = -1096, so range of value is from -2048 to 2047
But somebody can explain me how I can interpret this value, I want m/s2 or g
thanks in advance
regards
in the datasheet (see below)
Solved! Go to Solution.
03-18-2021 05:15 PM
Hi,
Thanks for your inquiry.
Your data conversion is correct. At +/-2g full scale range, the typical sensitivity is 1024LSB/g. So after you get -1096LSB, you can get acceleration = -1096/1024 = -1.07g. As you know 1g = 9.81m/s^2, you can get acceleration -1.07*9.81 = -10.5m/s^2.
Thanks.
03-18-2021 05:46 PM
thanks a lot
Shame on me, I didn't see this information on the table on page 11 of the datasheet !!
regards