Suppose, after 2’ complement we get accelerometer X axes raw value = +15454 Temperature in degrees C = ((temperature sensor data)/340 + 36.53) °/c. Temperature value in °/c (degree per Celsius)
Mpu6050 proteus library download full#
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. The MPU6050 IMU has both 3-Axis accelerometer and 3-Axis gyroscope integrated on a single chip.