i use libs kris winer (https://github.com/kriswiner/mpu-9250/) , richard barnett (
https://github.com/richards-tech/rtimulib-arduino) access data of mpu-9250.
they are, sort of, ok. pitch , roll correct, yaw not.
when @ raw data noticed z-value of accelerometer big, negative number. e.g. values this:
ax=52, ay=130, az=-2164
i have 2 mpu-9250 units , both show behaviour.
because there no acceleration (i didn't move sensor) expect 3 values
a) close 0.
b) be, more or less, in same value range.
what's explanation this?
https://github.com/richards-tech/rtimulib-arduino) access data of mpu-9250.
they are, sort of, ok. pitch , roll correct, yaw not.
when @ raw data noticed z-value of accelerometer big, negative number. e.g. values this:
ax=52, ay=130, az=-2164
i have 2 mpu-9250 units , both show behaviour.
because there no acceleration (i didn't move sensor) expect 3 values
a) close 0.
b) be, more or less, in same value range.
what's explanation this?
if z-axis pointing down, large number corresponds acceleration due gravity. more technically correct, force exerted surface on sensor rests, counteracting acceleration due gravity. try turning sensor on side , report observe.
the yaw measurement meaningless if there magnetic materials or current carrying wires near sensor, depends on magnetometer (compass).
the yaw measurement meaningless if there magnetic materials or current carrying wires near sensor, depends on magnetometer (compass).
Arduino Forum > Using Arduino > Sensors > MPU-9250: Strange values for Accelerometer
arduino
Comments
Post a Comment