MPU9250: Are my values correct?

I’m checking the output of the sample AccelGyroMag.py application and the values sounds strange to me.
My Navio is sitting on my desktop and I was expecting stable values coming from the accelerometer, however here is my result:

pi@raspberrypi:/opt/navio2/Navio2/Python $ python AccelGyroMag.py -i mpu
Selected: MPU9250
Connection established: False
Acc: +23.233 +0.091 +1.877 Gyr: -0.867 +0.001 +0.001 Mag: -4939.050 +27.231 +0.000
Acc: +0.043 +0.383 +9.855 Gyr: +0.004 +0.027 +0.009 Mag: +0.000 +28.359 +12.704
Acc: -3.898 +0.043 +0.029 Gyr: +0.001 +0.003 +0.012 Mag: +37.228 +0.322 +13.226
Acc: +0.024 +0.622 +9.845 Gyr: +0.026 +0.009 +0.007 Mag: +35.625 +27.231 +0.348
Acc: -7.925 +0.388 +9.845 Gyr: +0.020 +0.012 +0.009 Mag: +0.000 +27.715 +11.137
Acc: +0.053 +0.005 +0.474 Gyr: +0.010 +5.146 +0.010 Mag: +34.378 +0.322 +12.530
Acc: +0.000 +0.393 +9.850 Gyr: +0.020 +0.009 +0.006 Mag: +35.625 +25.942 +0.348
Acc: -7.925 +0.383 +9.893 Gyr: +0.019 +0.018 +0.010 Mag: +0.356 +26.426 +11.312
Acc: -3.859 +0.043 +0.005 Gyr: +0.000 +0.002 +0.009 Mag: +35.625 +0.322 +11.834
Acc: +0.024 +0.431 +9.811 Gyr: +0.000 +0.001 +0.003 Mag: +34.913 +27.070 +0.000
Acc: -7.930 +0.259 +9.888 Gyr: +0.002 +0.018 +0.009 Mag: +0.356 +27.715 +12.530
Acc: -3.859 +0.038 +0.019 Gyr: +0.001 +0.019 +0.012 Mag: +34.200 +0.000 +11.834
Acc: +0.000 +0.321 +9.807 Gyr: +0.002 +0.010 +0.003 Mag: +34.913 +27.070 +0.000
Acc: -7.968 +0.407 +9.807 Gyr: +0.023 +0.011 +0.010 Mag: +0.356 +27.715 +11.137
Acc: -3.893 +0.005 +0.172 Gyr: +0.000 +5.133 +0.010 Mag: +34.378 +0.322 +11.834
Acc: +23.238 +0.043 +9.845 Gyr: +0.028 +0.009 +0.003 Mag: +37.050 +27.070 +0.348
Acc: +0.038 +0.397 +9.936 Gyr: +0.024 +0.019 +0.010 Mag: +0.000 +28.359 +12.530

Is this a normal behaviour or what ?

The values are wrong and you have “Connection established: False”. Are you running examples at the same time with APM? Is Navio2 properly fixed to the RPi? Can you provide a picture?

1 Like

I don’t have APM installed at all, i’m just running the navio2 samples with the standard raspbian image, the device is properly fixed on my RPi. LED sample works indeed.

Please install our image, that will solve your issue.

Thanks Igor, the current image doesn’t support P3… or i’m wrong ?

Not yet, but we will release an updated image. There is still some work to do on it. Hopefully next week.

1 Like