View Single Post
  #1   Spotlight this post!  
Unread 02-10-2014, 22:22
wre136's Avatar
wre136 wre136 is offline
Registered User
AKA: Will Edds
FRC #2461 (The METAL-SKINS)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Oklahoma City
Posts: 30
wre136 is an unknown quantity at this point
Question ADXL345 Accelerometer and Arduino

I am finally getting around to playing with the ADXL345 Accelerometer that is included with the FRC Kit of parts. Right now I am trying to make the Accelerometer work with an Arduino Uno. However, after several attempts, I am not getting anywhere. I am reading nothing but -1 values and can cannot verify if it is wiring, commands or codes.

I would like to ask if anyone has done work on the ADXL345 Accelerometer and Arduino using the SPI or I2C bus. Looking for wiring diagrams and perhaps example code. Please note, I have looked at spec sheets on the ADXL345 but it doesn't quite match up to the one we get in the kit of parts. No arduino examples I found have worked. Anything to help.

Will