wollewald / MPU9250_WE

An Arduino library for the 9-axis accelerometer, gyroscope and magnetometer MPU9250 and MPU6500. It contains many example sketches make it easy to use.
https://wolles-elektronikkiste.de/en/mpu9250-9-axis-sensor-module-part-1
MIT License
56 stars 26 forks source link

Magnetometer not working, and ho to get yaw? #17

Closed Podex12 closed 7 months ago

Podex12 commented 9 months ago

Hello, sorry for maybe asking a stupid question. but i hope someone can help me. I don't know why but my magnetometer value never change it stay on zero all the time. the other function like acce, gyro, roll, pitch works just fine. is the magnetometer not working because the module? i have tried the example only too with no change from myself, but it still the same. also the second question is, how to get yaw value?

wollewald commented 9 months ago

@Podex12, that's definitely not a stupid question. Many people have this issue. In most cases the problem is that the MPU9250 module does not have MPU9250 IC , but an MPU6500. Please try the "Who Am I" sketch. What does it tell you? Unfortunately I can't tell you where to get correct modules. I once gave a recommendation but then the shop changed from the good to fake modules.

wollewald commented 7 months ago

I think there is nothing more to say - I close the issue now.