Jump to content
I2Cdevlib Forums

MPU6050 dmp sketch giving random values


Recommended Posts

Hello,

Thanks for the awesome work on the MPU60X0 series Mr.Jeff. I am having some trouble on using this : http://www.ebay.com/itm/NEW-MPU-6050-Module-3-Axis-Gyroscope-Accelerometer-Module-for-Arduino-MPU-6050-/170881535422 with an arduino uno. I wired up the sda, scl, vcc ,gnd and INT pins to arduino. The raw sketch in the examples works fine with relatively changing values with respect to the mpu, however when i try to run the DMP sketch from the examples (for ypr), I get random values ( all sorts from -ve to +ve extremes). Please help , what might be going wrong? Like this:

 
ypr -87.13 44.97 1.53
ypr 1.48 -12.48 9.21
ypr -165.70 2.07 -43.67
FIFO overflow!
ypr 161.94 -23.04 6.82
ypr -112.91 22.77 -66.79
ypr 63.09 67.35 20.87
ypr -0.02 0.03 -0.02
ypr 96.41 -65.82 -23.38
ypr -173.59 -11.67 55.13
ypr -179.77 -25.37 4.16
ypr 34.97 -52.92 21.85
ypr 176.46 24.11 -0.73
ypr -47.54 18.19 -69.33
ypr -40.63 8.71 -22.80
ypr 180.00 -0.25 0.13
ypr -42.68 -54.78 29.34
ypr -0.46 13.73 -10.30
ypr -165.67 2.11 -43.72
ypr 13.93 3.98 81.43
ypr -0.02 -0.03 3.53
ypr 33.11 -0.77 70.05
ypr -9.67 -21.45 -66.33
ypr 180.00 0.22 -19.05
ypr 84.95 29.47 49.47
ypr 162.55 -22.88 6.86
ypr -114.71 -21.13 68.85
ypr -43.29 -77.13 -5.42
ypr -0.02 0.03 -0.02
ypr 10.51 42.09 -34.33
ypr 20.90 2.08 64.16
ypr -179.78 -25.30 3.98
ypr -98.58 -6.70 -69.35
ypr 176.27 23.92 -0.76
ypr 43.45 86.87 -1.40
 

 

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...