kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.04k stars 471 forks source link

Gyro Y and Z axis not reading #417

Open sfeek opened 4 years ago

sfeek commented 4 years ago

I am using a RPi and MPU-9250 set for address 0x69. I can read and calibrate all of the sensors except the Y and Z gyro which appear "stuck" no matter how many different ways the board is tilted. The raw values without calibration are -48.xxx for the Y and -2.xxx for the Z. The mag X,Y,Z and accel X,Y,Z and gyro X show normal values with movement. If I perform the calibration, the Y and Z gyro values stay near zero all the time. If I turn on the gyro Y axis calibration bit, I then can get some readings from it but nothing will make the Z axis work.

kriswiner commented 4 years ago

Try another MPU9250 board....

On Tue, May 26, 2020 at 9:14 AM Shane Feek notifications@github.com wrote:

I am using a RPi and MPU-9250 set for address 0x69. I can read and calibrate all of the sensors except the Y and Z gyro which appear "stuck" no matter how many different ways the board is tilted. The raw values without calibration are -48.xxx for the Y and -2.xxx for the Z. The mag X,Y,Z and accel X,Y,Z and gyro X show normal values with movement. If I perform the calibration, the Y and Z gyro values stay near zero all the time. If I turn on the gyro Y axis calibration bit, I then can get some readings from it but nothing will make the Z axis work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/417, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKWPXDXX4RV3H3L2FW3RTPTGDANCNFSM4NKR4NLQ .

sfeek commented 4 years ago

That was what I was afraid of... thanks for your time.

kriswiner commented 4 years ago

This is debugging 101.

If another board does the same thing it is your software. If not then, well, you bought a cheap board that is now a drink coaster, etc...

On Tue, May 26, 2020 at 9:18 AM Shane Feek notifications@github.com wrote:

That was what I was afraid of... thanks for your time.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/417#issuecomment-634127861, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKU3HHLFKDCSXKQH46TRTPTWXANCNFSM4NKR4NLQ .