Interfacing ADXL345 with Raspberry Pi

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mikeniket50
 
Posts: 1
Joined: Sun Mar 30, 2014 2:38 pm

Interfacing ADXL345 with Raspberry Pi

Post by mikeniket50 »

Hi. I'm a Syracuse University Mechanical Engineering student working on a group project in which we're trying to interface an ADXL345 accelerometer with a Raspberry Pi. We successfully installed i2c on the Pi using LXTerminal and it is now ready to use. We tried connecting the ADXL345, but we may have accidentally fried it while attempting to wire it from a breakout board and female to female GPIO connector (which came with the Pi). It seems that the female ends are mirror images of each other on the GPIO connector and that when we wired it we connected the accelerometer backwards, running 5V through the device instead of 3.3V, but only briefly. The accelerometer doesn't look fried, but it did heat up a bit when we had it wired wrong and that concerns us. We tried rewiring the ADXL345 "correctly," but we could not get it to show up on i2c. Also now when we try to restart the Pi with the ADXL345 hooked up the Pi won't even turn on (until the accelerometer is unplugged). Is our accelerometer definitely fried or could it be okay and maybe our wiring is still wrong? Or maybe something else is wrong that we've overlooked? Has anyone here successfully interfaced an ADXL345 with a Raspberry Pi? Can someone help us with the wiring? Any and all help would be extremely appreciated. Thank you.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Interfacing ADXL345 with Raspberry Pi

Post by Franklin97355 »

Is our accelerometer definitely fried or could it be okay and maybe our wiring is still wrong? Or maybe something else is wrong that we've overlooked? Has anyone here successfully interfaced an ADXL345 with a Raspberry Pi? Can someone help us with the wiring? Any and all help would be extremely appreciated. Thank you.
It's really hard to tell if you have things wired correctly without the wiring to look at. Could you post pictures and a wiring diagram? Also the VIDEO CHAT forum is not the correct place to post this type of question.

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

Return to “Ask an Engineer! VIDEO CHAT (closed)”