Problems using MPU9250 with esp32

Hello people!

I'm trying to get accelerometer, gyroscope and magnetometer data, but using the libraries MPU9250_asukiaa (it shows wrong information of axyz and gxyz) and MPU9250_WE (shows wrong information about gz, axyz doesn't change and magnetometer values are always zero) I am having a bunch of issues. Besides that, magnetometer values doesn't appear (using both libraries), it shows the following message on Serial Monitor of Arduino: Magnetometer does not respond. I am using an esp32, mpu6886 (as a reference) and a mpu9250. Does anyone know a MPU9250 library that works? and why my magnetometer is not working?

The image below are the results when I use MPU9250_WE library with MPU9250_all_data code.

This second figure are the results when I use MPU9250_asukiaa library with GetData code.

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