Go Down

Topic: ADX345 with Arduino Micro, no data shown! only a bunch of zeros...why? (Read 77 times) previous topic - next topic

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.

chucktodd

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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy