Go to Post If said device costs 10x more to manufacture than a simpler solution integrating COTS parts, and only performs 10% better, that's poor engineering. - Cory [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2012, 20:42
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Need Electrical Guru, DB37 Cables

This year, when we tried to hook up our accelerometer, The ADXL245 via I2C and our output was all 0s. After some searching on the forums, it turns out that the round DB37 cables from last year do not work and we need to use the Flat ones we got in this year's KOP.
We tried testing all the pins and they work the same for both cables (after fixing this year's cable of course). Also, we found out that the old cable actually has less resistance than the new cable. So can anyone who is awesome with Electronics find out why Flat works and Round doesnt?

The problem might be because our round cable is defective in some way because other teams have experienced the same thing.

Last years cable:
http://www.andymark.com/product-p/am-0500.htm

This years cable:
http://www.andymark.com/product-p/am-0504.htm

Last edited by sand500 : 26-01-2012 at 13:32.
  #2   Spotlight this post!  
Unread 25-01-2012, 21:17
Jim Wilks Jim Wilks is offline
Electrical Engineer
AKA: Jim Wilks
FRC #1360 (Orbit Robotics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oakville, ON
Posts: 1,186
Jim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond repute
Re: Need Electrical Guru, DB37 Cables

Last years round cable works just fine this year.
  #3   Spotlight this post!  
Unread 25-01-2012, 21:43
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by jgw View Post
Last years round cable works just fine this year.
Yeah, they are just fat and heavy
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #4   Spotlight this post!  
Unread 25-01-2012, 21:43
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by jgw View Post
Last years round cable works just fine this year.
Not for us, what language are you guys programming in?
http://www.chiefdelphi.com/forums/sh...d.php?t=100142
  #5   Spotlight this post!  
Unread 25-01-2012, 22:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,672
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Need Electrical Guru, DB37 Cables

Programming language shouldn't have anything to do with it. If your I2C works in C++ with a round cable, it'll work with a flat cable.* Electrons don't care what programming language you're using, they're pretty egalitarian like that.

Similarly, if you can't get I2C to work with Java + round cable, a flat cable isn't going to fix things. It's almost certain to be a programming problem.


*Yes, yes, there are differences between the two, cross-talk and suchlike, but I don't think those effects are big enough to interfere with what we're doing. And anyways, that'd just mean a round cable wouldn't work in any language.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #6   Spotlight this post!  
Unread 26-01-2012, 08:37
StealthMentor StealthMentor is offline
Registered User
FRC #1802
 
Join Date: Jan 2011
Location: USA
Posts: 16
StealthMentor is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Reading the OP's problem I would guess that it is more likley the module is not connected into the cRIO well, a bent pin on his roung cable, or it is just not getting inserted all the way. We had an odd problem where the screw holding the cRIO on was loose, causing the module to lose connectivity intermittentley when we would hit bumps or change direction, boy was the robot acting wierd.
  #7   Spotlight this post!  
Unread 26-01-2012, 08:45
machman-2823's Avatar
machman-2823 machman-2823 is offline
Registered User
FRC #2823 (the Automatons)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2009
Location: St. Paul Mn
Posts: 66
machman-2823 is on a distinguished road
Re: Need Electrical Guru, DB37 Cables

I just fixed our DB37 cable last night, all you need to do is take the cable out of the connector, and flip it over. it only takes about 2-3 minutes, and all you need is a vice and a pair of scizzors
  #8   Spotlight this post!  
Unread 26-01-2012, 13:30
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by StealthMentor View Post
Reading the OP's problem I would guess that it is more likley the module is not connected into the cRIO well, a bent pin on his roung cable, or it is just not getting inserted all the way. We had an odd problem where the screw holding the cRIO on was loose, causing the module to lose connectivity intermittentley when we would hit bumps or change direction, boy was the robot acting wierd.
This might be it, But remember, The problem was not just with our cable, so it might a defect in the cable?
  #9   Spotlight this post!  
Unread 26-01-2012, 13:31
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by Kevin Sevcik View Post
Programming language shouldn't have anything to do with it. If your I2C works in C++ with a round cable, it'll work with a flat cable.* Electrons don't care what programming language you're using, they're pretty egalitarian like that.

Similarly, if you can't get I2C to work with Java + round cable, a flat cable isn't going to fix things. It's almost certain to be a programming problem.


*Yes, yes, there are differences between the two, cross-talk and suchlike, but I don't think those effects are big enough to interfere with what we're doing. And anyways, that'd just mean a round cable wouldn't work in any language.
Ok, well when we replace our round cable with the flat one, not even touching the code, our accelerometers stop working. Maybe its a problem with our round one as StealthMentor said,but remember, this problem occured to other teams as well.
  #10   Spotlight this post!  
Unread 26-01-2012, 13:39
LinuxArchitect LinuxArchitect is offline
Registered User
AKA: George Boyce
FRC #0053 (Cow Abductors)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Greenbelt MD
Posts: 78
LinuxArchitect is a name known to allLinuxArchitect is a name known to allLinuxArchitect is a name known to allLinuxArchitect is a name known to allLinuxArchitect is a name known to allLinuxArchitect is a name known to all
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by sand500 View Post
Ok, well when we replace our round cable with the flat one, not even touching the code, our accelerometers stop working. Maybe its a problem with our round one as StealthMentor said,but remember, this problem occured to other teams as well.
You reversed the problem description from your first post. If this is the correct description of your problem, then this is well known; it was published in the first team update.

See http://www.usfirst.org/sites/default...structions.pdf

But you said you already "fixed" the flat cable. Did you test it before fixing it? Not all cables were bad. That's the only thing I see that might be the cause. Try unfixing it, or buy a new one from a local computer shop.

Last edited by LinuxArchitect : 26-01-2012 at 13:42.
  #11   Spotlight this post!  
Unread 26-01-2012, 13:40
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by sand500 View Post
Ok, well when we replace our round cable with the flat one, not even touching the code, our accelerometers stop working. Maybe its a problem with our round one as StealthMentor said,but remember, this problem occured to other teams as well.
Perhaps you can point to the original post that made you believe that other teams were having a simmilar problem. It seems unlikely to me, but perhaps the other post gives a better indication of what the actual issue is.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #12   Spotlight this post!  
Unread 26-01-2012, 22:02
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Sorry for causing all this confusion. thanks for taking the time to work this out
@LinuxArchitect, yes we read that document you are talking and yes we determined we got a incorrectly assembled cable via the method they described so we fixed it according to their instructions, no problem there,

The problem is that round doesnt work for accelerometers and flat does. Everything else works for both flat and round,

@PhilBot, see this post
http://www.chiefdelphi.com/forums/sh...d.php?t=100142

see post number 7, 8

also again here
http://www.chiefdelphi.com/forums/sh...ad.php?t=99772
post number 11 and 15
  #13   Spotlight this post!  
Unread 28-01-2012, 08:36
electroken's Avatar
electroken electroken is offline
Electron Tamer
AKA: Ken Pontbriant
FRC #0230 (Gaelhawks)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Shelton, CT
Posts: 174
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: Need Electrical Guru, DB37 Cables

We have also noticed that the ADXL345 functions correctly with the flat cable but not the round cable.

The ADXL345 uses a I2C serial interface. Pull up the I2C specification from NXP Semiconductor (they invented it) and you'll find a maximum allowable bus capacitance. I'm working from memory here, but IIRC the maximum is 400pF, which is not a lot.

In the flat cable the I2C signals (SDA and SCL) can be next to two other signals at most. In the round cable they're tightly bundled with 35 of their friends and I suspect the bus capacitance is much higher.

I like explainable things, and that's the best I've got for this.
  #14   Spotlight this post!  
Unread 28-01-2012, 13:37
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by electroken View Post
We have also noticed that the ADXL345 functions correctly with the flat cable but not the round cable.

The ADXL345 uses a I2C serial interface. Pull up the I2C specification from NXP Semiconductor (they invented it) and you'll find a maximum allowable bus capacitance. I'm working from memory here, but IIRC the maximum is 400pF, which is not a lot.

In the flat cable the I2C signals (SDA and SCL) can be next to two other signals at most. In the round cable they're tightly bundled with 35 of their friends and I suspect the bus capacitance is much higher.

I like explainable things, and that's the best I've got for this.
Thank you, this makes lots of sense. but what is weird is that people have said that that the round cable works for them. Also, how did they do I2C last year when everyone used round cables?
  #15   Spotlight this post!  
Unread 28-01-2012, 20:16
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,113
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: Need Electrical Guru, DB37 Cables

Quote:
Originally Posted by sand500 View Post
Thank you, this makes lots of sense. but what is weird is that people have said that that the round cable works for them. Also, how did they do I2C last year when everyone used round cables?
The TechnoKats have always used 37-pin ribbon cables to connect the Digital Sidecar.
Closed Thread


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 09:51.

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