ncdcommunity / Arduino_Library_ITG3200_16Bit_3Axis_Gyro_Angular_Sensor

ITG-3200 16-Bit 3-Axis Gyro Angular Sensor Interfacing With Arduino
https://store.ncd.io/product/itg-3200-16-bit-3-axis-mems-gyro-angular-rate-sensors-i2c-mini-module/
0 stars 1 forks source link

XYZ sensitivity #2

Open nataelj opened 5 years ago

nataelj commented 5 years ago

I think your x, y, and z values need to be divided by a GYRO_SENSITIVITY = 14.375 LSB per °/s. Other drivers for this device all seem to use this and it's mentioned in the docs; as best I can tell that's all that separates your current state from outputting values in actual degrees.

Though I'm just learning about all this so I may be misunderstanding something. :-)

vbshightime commented 5 years ago

Yes, you are correct, The 2000 degree/sec is the full-scale resolution of the device to get the exact value of the axis of rotation you need to divide your raw values with the scale factor defined in the following datasheet in Gyroscope sensitivity column. This is the (sensitivity/scale) factor. If you have chosen 2000 deg/sec then you need to divide it by 14.375 LSB/(º/s) to get the exact value.