Page 1 of 1

MPU9250 DMP Library for ESP32

Posted: Mon May 06, 2019 4:54 am
by rupin.chheda
I am working on a DIY joystick with an ESP32 and needed a IMU for motion tracking.
The Sparkfun Repo https://github.com/sparkfun/SparkFun_MP ... no_Library was one of the available libraries, but this library was made for the Razor DOF product of sparkfun, which has an SAMD core.

I have been able to modify the library and get good results with the ESP32. My fork and modifications are available here https://github.com/rupin/SparkFun_MPU-9 ... no_Library

If you have the IMU and the ESP32 with you, I would urge you to play with this library and give me feedback. Will submit a PR sometime in a couple of weeks once I am able to test the changes thoroughly.

Re: MPU9250 DMP Library for ESP32

Posted: Wed May 08, 2019 7:28 pm
by alexandreifpb
Hello rupin.chheda, I'm trying your fork, the program normally compiles without any problem is written to ESP32. The setup is executed successfully, the MPU9250 module is found, but I am not receiving data from the module when the

Code: Select all

imu.dataReady ()
command is executed. I made some modifications to debug what is happening and I have identified that I am receiving an

Code: Select all

INV_ERROR (0x20)
response to the command.

The test form performed in a "Heltec WIFI_LoRa_32" and the module "GY-91"