Determine if correct value [Accel]

freak174:
I believe you mean +-16g instead of +-8g.

My mistake.

freak174:
However, just let me see if we are on the same page.
Because Im using a g range of +-16g the sensitivity is 31.2mg/LSB.
And the 0 g Output for XOUT, YOUT = +-150mg and to convert these back to raw values it's the same as +-150/31.2 = +-4,8. So this is where you got the fact that the x and y axis should be +-5? Correct me if Im wrong.

Correct.

freak174:
And for the Z-axis, when I make the same as above, it doesn't result of +-23 and +-40 for the Z-axis.

Do you mind explaining how you came up to this?

The Z axis should read 1G, which is 31.2, +/- 8 for a +/- 250mG error.

freak174:
Id also like to point another issue, maybe this will make it more easier for you guys to help me.
When I put the range to +-2g, the Z-axis outputs 511 (Seen other ppl having the same issue, but never seen a solution to this), doesn't it mean that the z-axis is having a force on it more than 2g's?

Your device appears to have a z-axis offset of about 2.8G. So it's trying to output 3.8G, which would be a value of about 973, but the maximum signed value that will fit in 10 bits is 511.

PS - where did you get the device from?