Go Down

Topic: dmp on MPU6050 (Read 11 times) previous topic - next topic

julio79

I do not understand what I do ...

interrupt by setting to 1, the serial ..

Initializing I2C devices...
Testing device connections...
MPU6050 connection successful

Send any character to begin DMP programming and demo:
Initializing DMP...
Enabling DMP...
Enabling interrupt detection (Arduino external interrupt 0)...
DMP ready! Waiting for first interrupt...
$=vQÿ¹
FIFO overflow!
$:ÞWM¾
FIFO overflow!
FIFO overflow!

Krodal

There should be an extra line: the interrupt.
The sensor signals an interrupt, telling the Arduino that new data is in the FIFO. The Arduino reads the sensor FIFO data over the I2C-bus, but only if the Arduino gets the interrupt signal.

But your sensor board doesn't have an interrupt output !

If your Drotek sensor board is this one, there is no interrupt output.
http://www.drotek.fr/shop/en/62-imu-10dof-mpu6050-hmc5883-ms5611.html

But this Drotek sensor board does have a interrupt output.
http://www.drotek.fr/shop/en/42-mpu6050-gyro-accelerometer.html

The Sparkfun sensor board has a 'INT' output: http://www.sparkfun.com/products/11028
My Ebay sensor board has a 'INT' output: http://arduino.cc/playground/Main/MPU-6050
This has a 'INT' output: http://flyduino.net/MPU6050-Break-Out-onboard-33V-reg_1
Even this one has a 'INT' output: http://www.varesano.net/blog/fabio/libre-breakout-board-invensense-mpu6050

You bought the only board without 'INT' output, so you probably can't use the Jeff Rowberg library.
Perhaps you could ask Jeff Rowberg if this board can be used without interrupt.
Or you could ask Drotek.fr how to solve this.

julio79

thanks a lot, now I understand better the situation ..

I try to contact jeff (or drotek..),

but do you think can change the sketch of such free_imu or others to obtain a result similar to that of MPU6050_DMP?

Krodal

...but do you think can change the sketch of such free_imu or others to obtain a result similar to that of MPU6050_DMP?

In the playground section: http://arduino.cc/playground/Main/InterfacingWithHardware#DOF
there is a link to the forum : http://arduino.cc/forum/index.php/topic,58048.0.html
which is about Kalman filtering and so. But I haven't used that yet, so I don't know much about it.

grimreaper

Sorry, for using your thread. I happened to have your same problem. Like Krodal said, i connected INT of my MPU-6050 to digital pin 2 of the arduino, still the serial monitor displays junk values. Any idea what i should do?

Go Up