Hi everybody :) I just want to ask a question... I'm working on a project in which i use the MPU6050 IMU from invensense connected to an arduino leonardo. Thanks to Jeff Rowberg's library, i could use the DMP of this chip to get yaw, pitch and roll angles, but my problem is that when i run the example code, every thing is ok, but when i just add one delay, say delay(100), the FIFO register overflows. Is there any solution for this problem??
Another problem i faced also is that when i added some extra pieces of code (related to my project), where i use the PWM to control the speed of rotation of some motors, the yaw angle readings from the MPU go nuts, is there any relation between using PWM and the FIFO in the MPU??
thank you in advance for your help.
Tags:
Permalink Reply by gokulesh r on March 22, 2013 at 10:46am I too having same problem... You got any solutions???
Permalink Reply by gokulesh r on March 22, 2013 at 10:55am In some thread they say that IMU started calibrating at faster rate than mc, so the stack is getting overflown due to that...
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.203 members
24 members
207 members
58 members
1355 members
© 2013 Created by Chris Anderson.
Powered by
