i2cdevlib icon indicating copy to clipboard operation
i2cdevlib copied to clipboard

MPU6050 connected to UNO,FIFO overflow

Open xuxubin opened this issue 12 years ago • 8 comments

Hi! I connected the MPU6050 to the Arduino UNO(the connection is correct) and used the library: https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050 I burned the demo MPU6050_DMP6.ino and it can read out the data. However it always said the FIFO overflow. If the demo is ok, is there anything I may did wrong? Thank for your help.

xuxubin avatar Sep 17 '14 02:09 xuxubin

I am using the MEGA2560, and it is OK! I think there is something not good enough in you code . You can refer to the Pic below: overflow

ranqingfa avatar Sep 17 '14 13:09 ranqingfa

I used the demo programme without any change. Does this mean some problems in the demo programme?

xuxubin avatar Sep 18 '14 01:09 xuxubin

It can not say! But I am not using the demo program, is it that the UNO ? You should see the details in the library files, find out the reasons that could cause overflow problem.

ranqingfa avatar Sep 18 '14 05:09 ranqingfa

@xuxubin Do you get FIFO overflow once after starting up the Arduino/uploading the sketch or do you get it continuously during the execution of the program? If you get it once during start-up that can happen, and have always happened in my systems, and should be nothing to worry about!

thisisG avatar Sep 18 '14 07:09 thisisG

OK I will try to find the problems. Thanks!

xuxubin avatar Sep 18 '14 08:09 xuxubin

Is the interrupt pin connected from the MPU to the UNO board?

Also how often do you read the fifo?

tsimon57 avatar Sep 29 '14 23:09 tsimon57

hi! I got the same problem. Im trying to send the data wireless (via Bluetooth) and disabling the wired connection. I'm using the <SoftwareSerial.h> lib and an arduino micro/leonardo.

The data is sent correctly (Baud 115200) but after a while it stops. Almost at the beginning it appears this FIFO overflow message. Could be this FIFO overflow the reason?

kplrm avatar Mar 29 '15 15:03 kplrm

Closing ancient issue for cleanup.

jrowberg avatar Sep 23 '21 11:09 jrowberg