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)

Faldor 18-01-2010 21:57

Gyro/Acceler. connections
 
Hello, can any body tell me what we would connect the gyro/accelerometer to?

Thanks :D

EDIT: oh and the wires too, please?

jtdowney 18-01-2010 22:00

Re: Gyro/Acceler. connections
 
They connect to the analog module on the cRio. Once connected you can use the built in support to draw meaningful values from the two included sensors. http://usfirst.org/uploadedFiles/Com...ual%20RevA.doc is the link to the manual on the included sensors. Hope this helps.

viper110110 18-01-2010 22:02

Re: Gyro/Acceler. connections
 
I think the accelerometer connects to the digital sidecar, but the gyro definitely connects to the analog module

Faldor 18-01-2010 22:12

Re: Gyro/Acceler. connections
 
Thank you both you guys have helped :D

WGRAY 18-01-2010 22:34

Re: Gyro/Acceler. connections
 
You can check Labview Gyro example for a wiring diagram, however it is not available for the accelerometer vi even though they do have a specific vi for the ADXL345 12C, Maybe if enough people request it labview engineers will supply it.

jtdowney 19-01-2010 04:36

Re: Gyro/Acceler. connections
 
viper110110 is right I hadn't read the accelerometer part of the sensor guide yet, this years gyro is an I2C/SPI gyro so it would connect to the digital sidecar.

Faldor 19-01-2010 04:41

Re: Gyro/Acceler. connections
 
Thank you jt, but could you also tell me what cables i would be using, and exactly where on the digital sidecar, or the analogue module it would connect?

Thanks again

Alan Anderson 19-01-2010 07:06

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by Faldor (Post 902071)
Thank you jt, but could you also tell me what cables i would be using, and exactly where on the digital sidecar, or the analogue module it would connect?

Read the Sensor Manual. It should give you lots of answers, but if you still have questions afterward, go ahead and ask them.

Faldor 19-01-2010 21:42

Re: Gyro/Acceler. connections
 
I am still having issues as to where exactly on the digital sidecar they connect. So if anyone can help much appreciated.

jhersh 20-01-2010 01:38

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by Faldor (Post 902679)
I am still having issues as to where exactly on the digital sidecar they connect. So if anyone can help much appreciated.

I2C is easiest. You can just hook the 4 I2C wires to the digital sidecar's I2C pins.

Faldor 20-01-2010 01:57

Re: Gyro/Acceler. connections
 
thank you very much, you have helped me muchley :]

Kudos to you!

PortugazD.Ace 20-01-2010 15:52

Re: Gyro/Acceler. connections
 
can anyone tell me where exactly the accelerometer connects to the cRIO or the analog breakout? and does anyone have any schematics?

Alan Anderson 20-01-2010 18:59

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by PortugazD.Ace (Post 903210)
can anyone tell me where exactly the accelerometer connects to the cRIO or the analog breakout?

No, because it connects to neither.

As Joe Hershberger posted not very long ago, the easiest way to connect the accelerometer is to use the four I2C pins on the board. They connect directly to the four I2C pins on the Digital Sidecar.

fiferdc 20-01-2010 20:11

Re: Gyro/Acceler. connections
 
Quote:

Originally Posted by jtdowney (Post 902070)
viper110110 is right I hadn't read the accelerometer part of the sensor guide yet, this years gyro is an I2C/SPI gyro so it would connect to the digital sidecar.

The gyro has a three pin connection (ground, power, signal), so how would it connect to the I2C, which has four connections? Connecting it to a digital I/O port also seems odd because you don't want a reading of either 1 or 0 for a heading. Team 3176 is still trying to get their gyro up and working. 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.

Joe Ross 20-01-2010 20:48

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? Connecting it to a digital I/O port also seems odd because you don't want a reading of either 1 or 0 for a heading. Team 3176 is still trying to get their gyro up and working. 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.

I2C is a serial bus, so you send and receive messages that contain multiple bits, giving you the range and resolution you need for the accelerometer.

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