Problem with Arduino UNO + Sparkfun ADXL362

Hi all,

I’m trying to implement the Arduino UNO with the Sparkfun ADXL362 Accelerometer. I followed this tutorial:

http://ez.analog.com/docs/DOC-2222

and installed the proper library:

http://annem.github.io/ADXL362/

But the reading in the serial monitor are all the time zero:

XDATA = 0 YDATA = 0 ZDATA = 0 Temperature = 0

XDATA = 0 YDATA = 0 ZDATA = 0 Temperature = 0

XDATA = 0 YDATA = 0 ZDATA = 0 Temperature = 0

etc…

Every connection is double checked. Can anyone give some clue on what could be wrong?

Thanks a lot!

You should read this thread and the one it links to.

https://forum.sparkfun.com/viewtopic.php?f=32&t=37267

If things aren’t clear then, post your code so we can see what it’s doing.

(click on)

Thanks for the answers! We are a group of three, and have already checked those threads… sadly, since we’re on a game jam, we had to move forward quickly, and are already implementing an iphone solution. But it would be great to be able to implement this!