Pages: [1]   Go Down
Author Topic: ADXL335 problem debugging  (Read 419 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying the ADXL335 (sparkfun) breakout board with Arduino Mega, using the example sketch that comes with the Arduino environment.

I get random data, and when I disconnect the X, Y, Z wires the randomness remains. So, no readings  smiley-sad

When I looked around, I found an ADXL335 sparkfun note ( which says - connecting it to 5V will cause permanent damage. I am new to Arduino - I know there is 5V on the board, but the wiring for the example sketch is through Analog Inputs. Anyway - is the board now permamently damaged? And if I get a new one, how do I not damage it?

Massachusetts, USA
Offline Offline
Tesla Member
Karma: 212
Posts: 8933
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you connected the power pin of the breakout board to the Arduino's 3.3V pin you should be OK.  The analog input pins don't output 5V so they should be safe.

If you follow the Wiring example you should be getting consistent values.  How 'random' are the values you are getting?

Check your wiring.  Random analog values often mean the analog input pin is not connected.

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: