#### Bosch Sensortec Community

cancel
Showing results for
Did you mean:
SOLVED

## BMA400 Interpretation of the value returned by the accelerometer

New Poster

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

regards

in the datasheet (see below)

2 REPLIES 2
Community Moderator

Hi,

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.

New Poster

thanks a lot

Shame on me, I didn't see this information on the table on page 11 of the datasheet !!

regards