Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fully Working!! MPU 6050 Calibration and B-Robot with Big Easy Driver
12-27-2016, 12:07 AM
Post: #7
RE: B-Robot with Big Easy Driver
At the end was a easy fix. MPU 6050 needs to be CALIBRATED.

I found a script for auto calibration and works perfect!! Is attached to the this reply.

Place the offset values after "devStatus = mpu.dmpInitialize();" in setup.

Just like this:

Code:
devStatus = mpu.dmpInitialize();

  // MPU 6050 Offset Calibration
    mpu.setXGyroOffset(199);
    mpu.setYGyroOffset(-70);
    mpu.setZGyroOffset(-82);
    mpu.setXAccelOffset(-822);
    mpu.setYAccelOffset(1405);
    mpu.setZAccelOffset(977);

I hope helps anyone with the same problem.


Attached File(s)
.zip  Auto_Calibration_v2_MPU_6050_.zip (Size: 3.25 KB / Downloads: 67)
.zip  BROBOT_fix.ino.zip (Size: 10.06 KB / Downloads: 46)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: B-Robot with Big Easy Driver - techobycr - 12-27-2016 12:07 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)