MPU6050_DMP error

Hi,

You don't need to use the interrupt pin in case you are trying to extract the raw data. I guess you are also using the Pull up resistors with SCL and the SDA lines.

To get the DMP data, connect the interrupt(INT) pin from MPU-6050 to interrupt#0 pin of your Arduino board.
If you are using the following code as the base-line:
https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_DMP6/MPU6050_DMP6.ino

-Uncomment line 93 : to have the data in readable Euler
#define OUTPUT_READABLE_EULER
or

  • Uncomment line 100: to have yaw,pitch, roll
    #define OUTPUT_READABLE_YAWPITCHROLL

-You need to send a character in the serial monitor to initiate the interrupt and have the DMP data.

*(For MPU-9150, the magnetometer registers need proper assembling as the High Byte and the Low byte of magnetometer registers has a reverse order than that of the accelerometer and the gyroscope).

Cheers!