Jump to content
I2Cdevlib Forums

ESP-8266 and MPU-6050 Wire Connections

Recommended Posts

Hello guys!

I am new on these works :).

I am working on a project and I need to calculate velocity from MPU-6050. Before calculating it I need to substract the gravity acceleration data from the orginal acceleration data. I found I2Cdev library can calculate linear acceleration, however, I couldnt start working the codes whatever I did. The problem is it says Fifo overflow and I didn't change anything on the codes. Can someone please send me the codes which is working completely on Esp-8266?

I also wired up following the rules below;





Is this true? If its please someone send me the working codes.

Thank you very much for your helps...

Link to comment
Share on other sites

I'm working with the esp32 and I get similar FIFO messages, but it doesn't seem to stop it from working.

I don't fully grasp how the FIFO buffer works yet, but it seems like the code resets the buffer and just keeps going. I don't seem to notice any problems in the numbers being outputted. Is it causes yours to hang?

If you uncomment OUTPUT_READABLE_WORLDACCEL it should cancel out for gravity. I haven't really worked with that output yet, I've mostly been doing yaw/pitch/roll and quanternions. 

Link to comment
Share on other sites

Join the conversation

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

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.


  • Create New...