kriswiner / MPU9250

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

Getting weird values from MPU9250 #217

Open hereandnao opened 6 years ago

hereandnao commented 6 years ago

Hello, I'm new to Arduino and IMU and I'm very confused. I'm using an Arduino Pro Mini 5V with the MPU9250 (I used the necessary components to change the tension to 3.3V) and I'm trying to extract and use the data of the accelerometer in Unity (moving a simple cube). I've been using the Sparkfun code. It launches without any problem but then even if I'm not moving the sensor at all, the values are going up and down for no reason. I have absolutely no idea where it could come from. Could you help me please ? Thanks !

kriswiner commented 6 years ago

I have no idea either. Are the gyro and mag values reasonable?

Why just the accelerometer data for Unity, doesn;t Unity require heading, pitch, and roll as input?

On Fri, Dec 15, 2017 at 3:04 AM, hereandnao notifications@github.com wrote:

Hello, I'm new to Arduino and IMU and I'm very confused. I'm using an Arduino Pro Mini 5V with the MPU9250 (I used the necessary components to change the tension to 3.3V) and I'm trying to extract and use the data of the accelerometer in Unity (moving a simple cube). I've been using the Sparkfun code. It launches without any problem but then even if I'm not moving the sensor at all, the values are going up and down for no reason. I have absolutely no idea where it could come from. Could you help me please ? Thanks !

— 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/217, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qoKivLNjlbrA1mt_bT5PA6T0LbgWks5tAlI4gaJpZM4RDVOt .