View Single Post
  #2   Spotlight this post!  
Unread 28-01-2011, 20:21
DuaneB's Avatar
DuaneB DuaneB is offline
Registered User
FRC #1731
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Virginia
Posts: 20
DuaneB is an unknown quantity at this point
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by 1chess2u View Post
My team got an accelerometer/ gyro chip in the KOP, but there are no connectors. is there a way to fab a connector for it? the Gyro has six connections, in a 2x3 grid, the Accelerometer has two strips of connectors, facing 90 degrees apart, one has 8 connectors in a 1x8 grid, the other has four connectors in a 1x4 grid. Here are some pictures of it and the pins.
For the gyro, you can get by with a single PWM cable from the three pins next to the "Rate" label, to an analog port on the cRIO. See the Sensor Manual for the pin-out diagram. You can add a second PWM cable if you need temperature. If your board already has pin headers, then you'll need to make a PWM cable with the female contacts on both ends.

For the accelerometer, you need at least four wires for the I2C interface. The SPI interface requires six wires and four DIO ports. It's not too hard to make your own connectors. You can get parts from Hansen Hobbies, and others. If you don't have one already, you'll also need a crimp tool. You can probably find four-conductor security/phone wire at a hardware store.

Last edited by DuaneB : 28-01-2011 at 22:49. Reason: corrected DIO -> analog, added pin header detail
Reply With Quote