Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   ITG 3200 I2C Gyro help (http://www.chiefdelphi.com/forums/showthread.php?t=135974)

ProgrammerMatt 20-03-2015 23:53

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:

randantor 21-03-2015 00:56

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... :D

ProgrammerMatt 21-03-2015 11:02

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


All times are GMT -5. The time now is 23:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi