Go Down

### Topic: MPU6050 Calibration  (Read 14821 times)previous topic - next topic

#### Hitesh_KHD

##### Nov 30, 2017, 12:23 pm
Hello people!

I'm completely new to Arduino, In fact, a newbie in IOT.
I'm currently working on my first project where I'm making use of MPU6050 accelerometer and gyro sensor to detect Change in motion of an object, Angle of change, Rate of change

I have a Couple of  Questions to which I'm finding difficult to get my head around

1) Gyroscope gives me the angle of rotation when I rotate Mpu6050, But I don't understand the angle
given is the angle of rotation respect to what?

2) What are Offests and How to find Offset for your MPU6050

P.s : I know my questions might be very silly to many, But I'm a new guy in this field, so pardon me!

#### AWOL

#1
##### Nov 30, 2017, 12:25 pm
Quote
But I don't understand the angle
given is the angle of rotation respect to what?
A gyro doesn't give an angle, it gives a rate of change of angle, in radians per second.

#### jremington

#2
##### Nov 30, 2017, 05:35 pm
Quote
What are Offests and How to find Offset for your MPU6050
The gyro offsets are the measured outputs when the gyro is at rest. These are simple to measure and the average values should be subtracted from subsequent measurements. However, the offsets depend on temperature.

Look here for a good overview of accelerometer/magnetometer calibration.

#### Hitesh_KHD

#3
##### Nov 30, 2017, 08:22 pm
So basically by initializing offsets gyro  measure rate of change(orientation) with respect to the given offests?

#### zhomeslice

#4
##### Dec 03, 2017, 11:47 pmLast Edit: Dec 03, 2017, 11:49 pm by zhomeslice
This is the Calibration code I use to set the offsets for DMP