I need a DMP for MPU6886

I have a M5stack StickC Plus2 that uses a MPU6886 chip. Last project I had a MPU6050 and was able to calibrate and extract the yaw, pitch and roll values easily with jrowberg's I2C Dev Lib, but it seems to not have compatibility with the 6886 yet. Is there any alternative way I can either adapt the i2cdevlib code for my use OR another way that I can extract yaw, pitch and roll from the MPU6886?

it appears that Invensense never marketed that chip, and it is long obsolete, as is the MPU-6050.

The modern 6-axis chips significantly outperform them, so I recommend to move on. The ISM330 series is a great improvement.

However, if you can access the raw data, then any IMU orientation code intended for the MPU-6050 can be modified to work.

2 Likes

Thank you for the response, gonna check the alternative IMU's then!

You can use M5Stack's MPU6886 Library with Mahony/Madgwick Filter
M5Stack provides an official MPU6886 library:

Then you can feed that into a sensor fusion algorithm such as:

Madgwick Filter:

  • Lightweight and fast
  • Good for microcontrollers

GitHub: Madgwick AHRS or Arduino-compatible fork

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.