Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Gyro/Acceler. connections (http://www.chiefdelphi.com/forums/showthread.php?t=80532)

Alan Anderson 20-01-2010 23:23

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by fiferdc (Post 903434)
The gyro has a three pin connection (ground, power, signal), so how would it connect to the I2C, which has four connections?

There has been some confusion in the answers given. People talking about I2C and SPI are really referring about the accelerometer board, even though they might have slipped up and called it a gyro. The yaw rate sensor ("gyro") board provides a pair of analog outputs.

Quote:

We have it connected to the analog breakout, but we're having problems getting a reading, so I'm not sure if that is due to a bad connection, or just a programming problem.
I don't know what you mean by "problems" here. What kind of reading do you get, and what are you expecting?

Do you see an appropriate battery voltage display on the Driver Station?

jtdowney 21-01-2010 06:04

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by Alan Anderson (Post 903604)
There has been some confusion in the answers given. People talking about I2C and SPI are really referring about the accelerometer board, even though they might have slipped up and called it a gyro. The yaw rate sensor ("gyro") board provides a pair of analog outputs.

I definitely messed up and wrote gyro when I meant accel, another reason I shouldn't post at 4:30am.

TD912 21-01-2010 20:54

Re: Gyro/Acceler. connections
 
I got it all wired up correctly, but I'm really confused on how to properly connect to it and recieve data from it in LabView. I've looked all over for the ADXL345 LabView example some other people have mentioned, but I cannot find it anywhere. It's not on the "Example" list in LabView, or in the FRC example code in the National Instruments folder, nor anywhere on the Classmate. I even did a file/folder search for "ADXL345" and it didn't return anything).

Joe Ross 21-01-2010 21:04

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by TD912 (Post 904307)
I got it all wired up correctly, but I'm really confused on how to properly connect to it and recieve data from it in LabView. I've looked all over for the ADXL345 LabView example some other people have mentioned, but I cannot find it anywhere. It's not on the "Example" list in LabView, or in the FRC example code in the National Instruments folder, nor anywhere on the Classmate. I even did a file/folder search for "ADXL345" and it didn't return anything).

Did you install the mandatory LabVIEW update?

TD912 21-01-2010 22:00

Re: Gyro/Acceler. connections
 
Ahh, that was the problem.

I installed the DS update but not the LabView one. :o

PortugazD.Ace 23-01-2010 12:00

Re: Gyro/Acceler. connections
 
Also, can anyone tell me where the gyro connects to?

jhersh 23-01-2010 13:08

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by PortugazD.Ace (Post 905190)
Also, can anyone tell me where the gyro connects to?

Analog input bumper channels 1 or 2 in slot 1 of the cRIO.


All times are GMT -5. The time now is 07:39.

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