tockn/MPU6050_tockn

Measurement units of raw data of acceleration and angular velocity

Y-Grigoriy opened this issue · 3 comments

@tockn, could you tell, what is the measurement units of raw data of acceleration and angular velocity?
I mean variables here:
rawAccX = wire->read() << 8 | wire->read();
rawAccY = wire->read() << 8 | wire->read();
rawAccZ = wire->read() << 8 | wire->read();
rawGyroX = wire->read() << 8 | wire->read();
rawGyroY = wire->read() << 8 | wire->read();
rawGyroZ = wire->read() << 8 | wire->read();

@tockn, could you tell, what is the measurement units of raw data of acceleration and angular velocity?
I mean variables here:
rawAccX = wire->read() << 8 | wire->read();
rawAccY = wire->read() << 8 | wire->read();
rawAccZ = wire->read() << 8 | wire->read();
rawGyroX = wire->read() << 8 | wire->read();
rawGyroY = wire->read() << 8 | wire->read();
rawGyroZ = wire->read() << 8 | wire->read();

Did you get the solution ?

Raw data is given in units of bits. The conversion to physical units of m/s² or °/s depends on the calibration of the MPU6050. You can have a look at the Invensense MPU6050 documentation. Different calibrations allow to modify the full range and sensitivity of the device.

@rfetick thank you for clarification. You are right.