Jump to content
I2Cdevlib Forums

Peter Föte

Members
  • Posts

    1
  • Joined

  • Last visited

Peter Föte's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hey, we would like to calculate the displacement of the z axis with a MPU6050. We know that this will become very inaccurate with time, but for our purpose it should be sufficient. For that we use Jeff Rowberg's I2C lib with the READABLE_REALACCEL output. To obtain the the acceleration in m/s^2 we divided the output by 16384 and then multiplied with 9,81 m/s^2. We not realy sure that 16384 is the right value for our calculations. How can we figure out what our sensitivity is? We used the default settings. We calculated the displacement with this equation s=0,5*a*t^2. But our calculated values deaviated significantly from the expected values. We moved the sensor approximately 0,30 m up and down, but our calculated values have a max amplitude of 0,0002 m. In the attached picture you can see our results. Does anyone have an idea what went wrong? Even if we assume a sensitivity of 16G our values are still wrong. We really appreciate any help you can provide.
×
×
  • Create New...