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.


All times are GMT -5. The time now is 20:59.

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