View Single Post
  #4   Spotlight this post!  
Unread 25-01-2012, 23:50
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Accelerometer issues

Quote:
Originally Posted by EthanPieper View Post
Ethan here of #4095, rookie team, w00t.

We are having issues working with the accelerometer. Honestly in regards to connecting it to our system and working with it, we have gotten nowhere. So I'm reaching out to you lovely people in hopes that you can help us connect our accelerometer to the system so that we can test it using cRio (cRIO, cRiO, CrIoo?).

Anyways, thanks in advance if you can help us.

Update: Got it connected to the board.
Can somebody double check this?

PWR -> 5V
(-) -> 0V
Dig. I/O 1 -> CK
Dig. I/O 2 -> DI
Dig. I/O 3 -> DO
Dig. I/O 4 -> CS

6 wires in between.

Not sure how to continue...
If you are using LabVIEW, have you tried the ADXL345 SPI Accelerometer example program? That's how we started our testing only we used the I2C interface and example.
Go to Support/Find FRC Examples/Sensors/ADXL345 SPI Accelerometer.
__________________