Go to Post If you want to know how to build a more competitive robot, ask. GP demands we tell you, help you, guide you, teach you. - Al Skierkiewicz [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 16-02-2012, 16:28
hannigan hannigan is offline
Registered User
FRC #2264
 
Join Date: Feb 2010
Location: Minnesota
Posts: 7
hannigan is an unknown quantity at this point
CAN timeout

Hi,
This is our first year using CAN (serial connection, not 2CAN yet) for connecting our Jaguars, and we have been having some trouble with timeout. We were able to daisy chain any 5 jaguars together, but when we get to the 6th one, the code says that the jaguar timed out.
We tried different cables, and we tested all of the jaguars in this 5 jaguar chain and they all worked. Is there a limit to the number of jaguars we can have in the CAN daisy chain? Has anybody else had this problem?
Thanks
  #2   Spotlight this post!  
Unread 16-02-2012, 16:42
anthonyttu anthonyttu is offline
Texas Instruments Engineer
AKA: Master Chief
FRC #5417 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Dallas
Posts: 61
anthonyttu has a spectacular aura aboutanthonyttu has a spectacular aura about
Re: CAN timeout

You are well below the limit. We have had this issue if we miss number any of the Jaguars.
I would check/ renumber the Jags and verify the code is also correct.
  #3   Spotlight this post!  
Unread 16-02-2012, 16:43
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: CAN timeout

also, verify you have the terminators (100-ohm resistors between the middle two pins) on both sides of the CAN bus.
  #4   Spotlight this post!  
Unread 16-02-2012, 17:27
hannigan hannigan is offline
Registered User
FRC #2264
 
Join Date: Feb 2010
Location: Minnesota
Posts: 7
hannigan is an unknown quantity at this point
Re: CAN timeout

Thanks, I double checked it and it seems to be wired correctly. In the db9 connection to the crio, I have the resistor connected between the red and green wire. For the terminator at the end of the daisy chain, I have a rj11 connector with a resistor in the middle two contacts. Is there anything else that I may be looking over?
Thanks
  #5   Spotlight this post!  
Unread 16-02-2012, 17:41
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: CAN timeout

I just noticed your local here in MN... Any chance you guys are going to the pre-ship scrimmage at Simley on Saturday? We have a couple of students who are experts on CAN (we ran 7 Jags last year with it) who could help out there!
  #6   Spotlight this post!  
Unread 16-02-2012, 18:05
hannigan hannigan is offline
Registered User
FRC #2264
 
Join Date: Feb 2010
Location: Minnesota
Posts: 7
hannigan is an unknown quantity at this point
Re: CAN timeout

Yes we are! That would be great. We are Inceptus team 2264, I am Emily, the electrical manager. I will stop by your pit on Saturday.
  #7   Spotlight this post!  
Unread 16-02-2012, 23:44
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: CAN timeout

Awesome! We'll make sure to hook you up with our programmers, and we can double check all of the wires and connectors to make sure its not an electrical problem. We'll see you there!
  #8   Spotlight this post!  
Unread 17-02-2012, 00:42
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: CAN timeout

Quote:
Originally Posted by hannigan View Post
For the terminator at the end of the daisy chain, I have a rj11 connector with a resistor in the middle two contacts.
I would look at this end very carefully. If you've actually crimped the two bare wires on a resistor in an RJ11 connector, this could be your problem. Or a problem, anyways. Someone tried that on our team, and the bare wires were so close together they ended up making intermittent contact. That would short the data pins together with predictably bad results for the network.

Also, the CAN network is limited to a total length of 20 feet. If you have a bunch of 4 foot CAN cables for some reason, that last jaguar could be pushing you over the maximum length.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #9   Spotlight this post!  
Unread 17-02-2012, 10:08
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Re: CAN timeout

One of the problems we have is our first black jag, the pins on the serial side are not bent out enough, so we have to bend the connector on to the pins by pulling the cable back and zip tieing' it somewhere. Try holding the cable bent right at the connector and try loading code, try again in the other direction. You could also try a piece of plastic or a screwdriver in between the clip and the connector housing.
__________________
"No, you can't use the Kinect to do pelvic thrusts."
  #10   Spotlight this post!  
Unread 17-02-2012, 13:00
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,567
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
How many messages are you sending/receiving per second?
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 11:05.

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