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.
5 years, 8 months ago.
Calibrating an Acelerômeter - Weird Histograms
I am here, hapilly calibrating one acelerômeter I have by using a cube and a 0g and 1g as reference. And here is how I do it: I calculate the Offset so that samples taken on the axis perpendicular to gravity are near 1g and the others are zero.Then I rotate the cube and take more samples, and compare it the measurement is near from what I expect.
But, the histograms gererated by the sampled data are really weird, take a look:
The first line is the first position of the cube, which z is perpendicular to gravity. The second is the second, which y is perpendicular to gravity. And third is the third position, which x is perpendicular to gravity.
The Z collum is ok, what worries me is the first and the second, why are the those crasy gaps, way way different from what the datasheet displays. Do you know what could cause this, maybe a broken acelerômeter?
Sorry about the vocabulary, I am not writing in english as much I should...
Thiago Fonseca Rech