I have recently acquired a 3-axis digital gyroscope (based on the ITG3200) but I don't understand what represent the values it returns..

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

Post Reply
Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Thu Jul 04, 2019 9:35 pm

Hi,
I have recently acquired a 3-axis digital gyroscope (based on the ITG3200) but I don't understand what represent the values it returns...

What represent the X,Y and Z values ? Are they angle (in radian ?) or position (in mm ?) ?
Also, are the value provided the final value (angle/position and angular velocity) or are they raw data that i need to convert ? If yes can you provide information about the conversion process ?

Thank you in advance

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Fri Jul 05, 2019 9:21 am

Hi there~

1. X/Y/Z: A gyroscope itself is generally an analog device in the sense that in reality, it will have a continous output. This output is digitized using some form of Analog to Digital A/D converter where the analog output is converted to a digital number.





2. The function getAngularVelocity will get the degree / second reading. 

/*Function: Get the angular velocity and its unit is degree per second.*/
void ITG3200::getAngularVelocity(float *ax,float *ay,float *az)
{
  int16_t x,y,z;
  getXYZ(&x,&y,&z);
  *ax = x/14.375;
  *ay = y/14.375;
  *az = z/14.375;
}



3. You can get more reading about gyro. 

Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Fri Jul 05, 2019 5:23 pm

Hi Bill,

thanks for your quick answer, I found right after I sent the mail.

There is still one thing I don't get, is the speed really in degrees/s (or is it in radian/s) ? I can't see any conversion between radian and degrees, more over on this page of your site ( http://wiki.seeedstudio.com/Grove-3-Axi ... ro/website), it tells the speed is in radian/s.

Thank you

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Mon Jul 08, 2019 10:29 am

Hi Vincent,

It is degrees per second.  

Thanks

best rgds
Bill


Post Reply