ADX345 with Arduino Micro, no data shown! only a bunch of zeros...why?

Hello there,

I am trying to run he ADX345 on Arduino Micro. I have used the setup given in:

https://www.sparkfun.com/tutorials/240

I also used the basic code.

I see a RED LED lights up when powering the accelerometer. Other than that, when I run the code and open the serial monitor, I just see zeros, no matter what the orientation of the ADX is.
Could anyone please help? Is there anything I am missing?

Karim.

karimskarim:
Hello there,

I am trying to run he ADX345 on Arduino Micro. I have used the setup given in:

https://www.sparkfun.com/tutorials/240

I also used the basic code.

I see a RED LED lights up when powering the accelerometer. Other than that, when I run the code and open the serial monitor, I just see zeros, no matter what the orientation of the ADX is.
Could anyone please help? Is there anything I am missing?

Karim.

Base on the info give.

  1. you have wired it incorrectly.
  2. your code is faulty.
  3. you are in orbit, in a Zero g environment.

I really hope it is number 3!

To get better and more accurate answers:

  1. Post a drawing of your schematic
  2. Post your failing code
  3. post a screen capture of any error messages
  4. post what you are expecting to see as compared to what actually shows up.

Chuck.