|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ITG 3200 I2C Gyro help
We are trying to use this sensor:https://www.sparkfun.com/products/11977
Ive managed to get numbers from the sensor but nothing usable. Any help would be greatly appreciated. Heres what i have so far: Begin VI: ![]() Periodic Tasks: ![]() Custom VI: ![]() |
|
#2
|
|||
|
|||
|
Re: ITG 3200 I2C Gyro help
We tested the SparkFun 6 DoF IMU during build season, which contains an ITG-3200 during build season and read it successfully with this code:
![]() I think you have the high and low byte of each register swapped. According to the datasheet the first byte (lower address) of each register is the MSB. Also, we used the cast function rather than the conversion function to get a signed int. I'm not sure if that actually results in different values, but casting the value worked for us. Good luck! The ITG-3200 worked pretty well for us as an improvement over the KOP analog gyro, with the signal not being susceptible to the effects of mysterious static buildup at inopportune moments... ![]() |
|
#3
|
|||
|
|||
|
Re: ITG 3200 I2C Gyro help
Can you please post how you send the setup values for the Gyro.
Thanks, Also if you want to add me on Facebook to get back to each other faster: https://www.facebook.com/MattSmith228 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|