Go to Post We'll defintely be working on both the balancing 2 wheel robot, the 6 legged robot, and the wood chassis 8 wheel drive robot ideas this fall. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 07-02-2012, 13:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: ADXL345 accelerometer problems

Quote:
Originally Posted by Alan Anderson View Post
We've been using an official round cable on our programming testbed for months. It wasn't until a week ago that we tried the I2C connection to an ADXL345, and it took a couple of hours of failure before I remembered some people describing making it work with a ribbon cable instead. So I repaired the KOP cable (chipped of a little plastic by accident in the process), swapped it in, and had instant success.
Which round cable didn't work? In 2009 and 2010, it was a cablestogo pn 02688. Last year it was SF Cable pn D720-03.
Reply With Quote
  #17   Spotlight this post!  
Unread 12-02-2012, 20:13
rpcoe rpcoe is offline
Registered User
FRC #0028
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: East Hampton, NY
Posts: 5
rpcoe is an unknown quantity at this point
Re: ADXL345 accelerometer problems

We have been using the round cable for testing with an ADXL345 from last year and it worked fine. Several new sensor boards did not work and I suspected that the students had connected them wrong and smoked them. As crunch time comes, I was not comfortable that we had only the old board and no new ones working. We ordered three new boards and they didn;t work either. The old board worked in two robots with the round cable. After reading this thread, we tried the flat ribbon and as was predicted here, all 6 boards work.
Anybody know why the older board works with the old cable?

Rob Coe
Mentor to Team 28
Reply With Quote
  #18   Spotlight this post!  
Unread 12-02-2012, 20:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ADXL345 accelerometer problems

Quote:
Originally Posted by Joe Ross View Post
Which round cable didn't work? In 2009 and 2010, it was a cablestogo pn 02688. Last year it was SF Cable pn D720-03.
The cable I was using has no identifying marks on it that I can see. Based on the box I pulled it from it is likely one from 2010, though I can't be sure. We didn't label the ones we got in the Kit of Parts with the year we received them.
Reply With Quote
  #19   Spotlight this post!  
Unread 12-02-2012, 21:54
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: ADXL345 accelerometer problems

Quote:
Originally Posted by Alan Anderson View Post
Has anyone managed to use I2C with the original white 37-pin cable?
We are getting "real" data from the accelerometer using the molded 37-pin cable. But it is very noisy - maybe we should try a ribbon cable. It does not make obvious sense why it should matter, they are of similar length. But we will try it.
__________________
Fast, cheap or working - pick any two!
Reply With Quote
  #20   Spotlight this post!  
Unread 15-02-2012, 10:12
tsaksa's Avatar
tsaksa tsaksa is offline
Registered User
FRC #0997 (CHS Robotics)
Team Role: Mentor
 
Join Date: Jul 2011
Rookie Year: 2011
Location: Corvallis Oregon
Posts: 203
tsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond repute
Re: ADXL345 accelerometer problems

It looks like most of the common causes for this problem have been described very well, but I thought I would add one more possibility for anyone searching this thread. Our team had no connectivity to the accelerometer at first with any cable combination. It turned out that the accelerometer was responding to the alternative address even though no jumper had been added to the board. I tested the jumper with an ohm meter and did not find a short, but the device clearly acted as if it had been programmed with a jumper. If anyone else has trouble with no communications at all over I2C, try both addresses before giving up, even if there is no solder jumper on the board.
__________________
This is the zeroth day of the rest of your life.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi