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
|