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.
MPU9250 DMP Library for ESP32
-
- Posts: 1
- Joined: Wed May 08, 2019 7:18 pm
Re: MPU9250 DMP Library for ESP32
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 command is executed. I made some modifications to debug what is happening and I have identified that I am receiving an response to the command.
The test form performed in a "Heltec WIFI_LoRa_32" and the module "GY-91"
Code: Select all
imu.dataReady ()
Code: Select all
INV_ERROR (0x20)
The test form performed in a "Heltec WIFI_LoRa_32" and the module "GY-91"
Who is online
Users browsing this forum: noweare and 58 guests