Go to Post Sleep... what is this sleep you speak of? - Choi9111 [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-17-2012, 05:39 PM
Wendy Holladay's Avatar
Wendy Holladay Wendy Holladay is offline
Registered User
FRC #1912 (Team Combustion)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Slidell, la
Posts: 183
Wendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond repute
What is the difference between CAN and 2-Can?

We have been using CAN with the RS232 port successfully all summer and fall. I have been reading about 2-CAN but other than wiring can't see the difference. Is there one? Is one of them better than the other?

If we went to 2-CAN with the 4 port cRIO, would we plug the 2-CAN into one of the radio ports? The 1 Enet port on the cRIO is used by the radio.
__________________
http://www.team1912.com

2013, 2012, 2011, 2010 Regional Chairman's Award, Bayou Regional
2013 Woodie Flower's Award, Bayou Regional
2012 Dean's List Winner (Rachel Holladay)
2015, 2014, 2013, 2012, 2011, 2010 Beta Test Labview/Hardware
2012, 2011 Best Website, Bayou Regional
2011, 2009, 2006 Gracious Professionalism
2007 Bayou Regional Winner
Reply With Quote
  #2   Spotlight this post!  
Unread 01-17-2012, 09:46 PM
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: What is the difference between CAN and 2-Can?

The difference is bandwidth. With the serial configuation you are limited by the speed of the RS232. 2CAN lets you use ethernet with CAN bus and gets you something like 5 or 10 times the bandwidth. So if you can send send a command to the jaguar 10 times a second with the RS232 version, then you would be able to do it 100 times a second with 2CAN. Or if there were 10 messages that you like to send to the jaguar every second, 2CAN would let you send those messages 10 times a second.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-18-2012, 10:47 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: What is the difference between CAN and 2-Can?

Quote:
Originally Posted by Wendy Holladay View Post
We have been using CAN with the RS232 port successfully all summer and fall. I have been reading about 2-CAN but other than wiring can't see the difference. Is there one? Is one of them better than the other?
CAN is the communication protocol used to communicate with the Jaguars. The 2CAN is a gateway device used to bridge Ethernet to CAN. The Jaguars may also be used as a gateway between serial (rs232) and CAN. Below is a list of benefits to using the 2CAN gateway instead of the serial gateway.

- Bandwidth
- Integrated Web dash
- Diagnostics
- Simpler wiring
- Not driving a motor (Gateway is a much lower risk of failure when not driving a motor)
- Ability to view motor status via wireless while driving the robot.


Quote:
Originally Posted by Wendy Holladay View Post
If we went to 2-CAN with the 4 port cRIO, would we plug the 2-CAN into one of the radio ports? The 1 Enet port on the cRIO is used by the radio.
2CAN is two port Ethernet switch, (effectively a passthrough) This prevents a port on the cRIO from being tied up. However R53 requires:

[R53]
Connections to the cRIO Ethernet ports must be compliant with the following parameters:

A.The DAP-1522 wireless bridge is connected to the cRIO Ethernet port 1 (either directly or via a CAT5 Ethernet pigtail).
B.Ethernet-connected COTS devices or custom circuits may connect to any remaining Ethernet ports; however, these devices may not transmit or receive UDP packets using ports 1100-1200 except for ports 1130 and 1140.

So to comply with the rules the 2CAN would need to be connected to the wireless bridge. Either port on the 2CAN will work fine.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #4   Spotlight this post!  
Unread 01-18-2012, 11:08 PM
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: What is the difference between CAN and 2-Can?

Quote:
Originally Posted by Mike Copioli View Post
- Not driving a motor (Gateway is a much lower risk of failure when not driving a motor)
What does this mean?
Reply With Quote
  #5   Spotlight this post!  
Unread 01-18-2012, 11:15 PM
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,548
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: What is the difference between CAN and 2-Can?

If the black jaguar that you are using as a serial bridge browns out due to a spike in current in the motor it's driving, you lose the entire bus. The 2CAN has a separate power supply, so it isn't susceptible to that problem.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-19-2012, 02:54 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: What is the difference between CAN and 2-Can?

Quote:
Originally Posted by Joe Ross View Post
If the black jaguar that you are using as a serial bridge browns out due to a spike in current in the motor it's driving, you lose the entire bus. The 2CAN has a separate power supply, so it isn't susceptible to that problem.
Bingo.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #7   Spotlight this post!  
Unread 01-22-2012, 11:25 AM
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Quote:
Originally Posted by Joe Ross View Post
If the black jaguar that you are using as a serial bridge browns out due to a spike in current in the motor it's driving, you lose the entire bus. The 2CAN has a separate power supply, so it isn't susceptible to that problem.
I somewhat disagree. The serial to CAN conversion seems to be a separate circuit. We have blown a few black Jags that don't respond at all but they still act as converters.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-22-2012, 02:58 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: What is the difference between CAN and 2-Can?

Quote:
Originally Posted by Bryscus View Post
I somewhat disagree. The serial to CAN conversion seems to be a separate circuit. We have blown a few black Jags that don't respond at all but they still act as converters.

- Bryce
If you damage the black Jag being used as the gateway to the point of affecting its 3.3v power supply you will absolutely lose the entire CAN bus.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #9   Spotlight this post!  
Unread 01-22-2012, 05:07 PM
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Quote:
Originally Posted by Mike Copioli View Post
If you damage the black Jag being used as the gateway to the point of affecting its 3.3v power supply you will absolutely lose the entire CAN bus.
Mike,

I'm not saying it can't happen, only that my experience leads me to believe that you've got to screw something up pretty badly to make them stop working as a gateway. Often when the black Jags go, you can see the part that turned black. It isn't on of the regulators. At least not in our case.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
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 08:49 PM.

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