

To get sensor raw data, we need to first perform 2’s complement on sensor data of Accelerometer and gyroscope. - Gyroscope full scale range of +/- 250 °/s with Sensitivity Scale Factor of 131 LSB (Count)/°/s.

- Accelerometer full scale range of +/- 2g with Sensitivity Scale Factor of 16,384 LSB(Count)/g.Temperature sensor data of MPU6050 module consists of 16-bit data (not in 2’s complement form). Gyroscope and Accelerometer sensor data of MPU6050 module consists of 16-bit raw data in 2’s complement form. When the sensor is rotated along any axis a vibration is produced due to Coriolis effect which is detected by the MEMS.16-bit ADC is used to digitize voltage to sample each axis.+/- 250, +/- 500, +/- 1000, +/- 2000 are the full scale range of output.Angular velocity is measured along each axis in degree per second unit. So, if we fuse, or combine the accelerometer and gyroscope data we can get very accurate information about the sensor orientation.ģ-axis Gyroscope The MPU-6050 consist of a 3 axis gyroscope which can detect rotational velocity along the x,y,z axis with micro electro mechanical system technology (MEMS). On the other hand, the MPU6050 accelerometer measures acceleration by measuring gravitational acceleration along the 3 axes and using some trigonometry math we can calculate the angle at which the sensor is positioned. The outputs of the gyroscope are in degrees per second, so in order to get the angular position we just need to integrate the angular velocity. The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y and Z axis. If not guide me what shall i do next?.The MPU6050 IMU has both 3-Axis accelerometer and 3-Axis gyroscope integrated on a single chip. If any one knows about the library compatible to my compiler & atmega 8 please do post. But this library isn't compatible with the avrstudio i am using infact it is only compatible to aurdino and arm processors. Why i am asking this question is the i2c libraries provided to aurdino do have a function to read the z axis gyro data alone or x axis, y axis as shown here. This is the link of the i2c library i will be using compatible to my compiler file:īut, as seen in the page above the functions para : the function:- this reads any data available at that instant.But, how do i recognize whether the data provided is related to gyro or acceleo among that which axis that data belongs to? The uc i am using is: atmega 8-8L and compiler is:avr studio 4. The libraries i found on web this site:Īre used for only arduino. I want to interface mpu 6050 imu & it communicates using i2c protocol.
