adxl345 not detected :(

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
flxad41
 
Posts: 5
Joined: Sun Mar 17, 2013 5:24 pm

adxl345 not detected :(

Post by flxad41 »

hi im following this tutorial:
http://learn.adafruit.com/adxl345-digit ... and-wiring

im using a duemilanove board and adxl345 digital accelerometer
i downloaded the adxl345 and sensor libraries
i loaded the samle sketch and verified ok
i uploaded to the arduino and the serial console keeps printing:

Accelerometer Test

FF
Ooops, no ADXL345 detected ... Check your wiring!


i havent seen anyone else hit this issue.
i checked my wiring, im using only 4 wires: gnd vin and sda/scl
i checked that the accelerometer board is getting power
sda is connected to the A4 pin and scl is connected to A5
as stated here: http://arduino.cc/en/Main/arduinoBoardDuemilanove
I2C: analog input pins A4 (SDA) and A5 (SCL). Support I2C (TWI) communication using the Wire library.

still only thing coming across the serial console is check your wiring message.
do i need to modify the code to set the A4 and A5 pins to I2C mode?
any ideas?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: adxl345 not detected :(

Post by adafruit_support_bill »

do i need to modify the code to set the A4 and A5 pins to I2C mode?
The code should work as-is. Post a photo showing your soldering and your connections to the Arduino.

flxad41
 
Posts: 5
Joined: Sun Mar 17, 2013 5:24 pm

Re: adxl345 not detected :(

Post by flxad41 »

i checked for shorts on the solder points and i see continuity between cs and int1, not sure if thats normal but im not using those pins.
i did check the solder points for vin and power is ok.

could this be bad part?
20130420_172255.jpg
20130420_172255.jpg (245.39 KiB) Viewed 2384 times
20130420_172607.jpg
20130420_172607.jpg (187.98 KiB) Viewed 2384 times

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: adxl345 not detected :(

Post by adafruit_support_bill »

i see continuity between cs and int1
There shouldn't be any continuity between those pins. Can you post a shot of the back-side of the board?

flxad41
 
Posts: 5
Joined: Sun Mar 17, 2013 5:24 pm

Re: adxl345 not detected :(

Post by flxad41 »

thanks for the clarification i checked why i was getting continuity, there is a sliver of solder you can kind of see it in the picture between cs and int1. cleaned it up and sensor came up.

thanks a bunch!

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: adxl345 not detected :(

Post by adafruit_support_bill »

These things can be hard to spot in photos. Great that you found it and thanks for the follow up!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”