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?
adxl345 not detected :(
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: adxl345 not detected :(
The code should work as-is. Post a photo showing your soldering and your connections to the Arduino.do i need to modify the code to set the A4 and A5 pins to I2C mode?
-
- Posts: 5
- Joined: Sun Mar 17, 2013 5:24 pm
Re: adxl345 not detected :(
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?
i did check the solder points for vin and power is ok.
could this be bad part?
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: adxl345 not detected :(
There shouldn't be any continuity between those pins. Can you post a shot of the back-side of the board?i see continuity between cs and int1
-
- Posts: 5
- Joined: Sun Mar 17, 2013 5:24 pm
Re: adxl345 not detected :(
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!
thanks a bunch!
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: adxl345 not detected :(
These things can be hard to spot in photos. Great that you found it and thanks for the follow up!
Please be positive and constructive with your questions and comments.