Gyro/Acceler. connections

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

Thanks :smiley:

EDIT: oh and the wires too, please?

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/Community/FRC/Game_and_Season__Info/2010_Assets/2010%20Sensor%20Manual%20RevA.doc is the link to the manual on the included sensors. Hope this helps.

I think the accelerometer connects to the digital sidecar, but the gyro definitely connects to the analog module

Thank you both you guys have helped :smiley:

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.

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.

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

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

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.

thank you very much, you have helped me muchley :]

Kudos to you!

can anyone tell me where exactly the accelerometer connects to the cRIO or the analog breakout? and does anyone have any schematics?

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.

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.

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.

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?

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

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?

Ahh, that was the problem.

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