Go Down

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

Hitesh_KHD

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

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

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

So basically by initializing offsets gyro  measure rate of change(orientation) with respect to the given offests?

zhomeslice

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

Also Download this library
https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050

and try the other sketch :)
the int pin needs to be connected to pin 2 for best results

Z
HC

Go Up