Go to Post I saw Dave Lavery on the Webcast. And he winked at me! - Tetraman [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 24-01-2014, 05:52
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Difference between normal CAN and 2CAN 2.0?

I can't find anywhere what is the difference between normal CAN and CAN using 2CAN 2.0, can you help me?

And btw, to update jags firmware do I need to use serial to USB adapter or there is a way to connect it to the ethernet port or even the VGA connection?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew

Last edited by GuyM142 : 24-01-2014 at 05:56.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2014, 08:47
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Difference between normal CAN and 2CAN 2.0?

Quote:
Originally Posted by GuyM142 View Post
I can't find anywhere what is the difference between normal CAN and CAN using 2CAN 2.0, can you help me?
By "normal" CAN i'll assume you mean CAN using a black jaguar as a serial bridge.
In this configuration the cRIO communicates with the CAN bus (All the jags chained together with CAN cables) through the first black jaguar in the chain. What's happening is the cRIO and the first black jaguar are talking to one another over a RS232 serial connection. The hardware inside the first black jaguar then converts the serial commands into CAN data that is then sent on down the line.

The 2CAN on the other hand is a network device (ethernet) which talks to the jaguars directly over the CAN bus. The cRIO would send the 2CAN commands over the local network on the robot (through the wireless bridge).

Both systems will work. Using the black jaguar as a serial bridge will limit your bandwidth (the serial connection to the first jag is slower than the CAN bus). Using the black jaguar introduces a single point failure, if the first black jag dies or restarts, you can't ocmmunicate with any of the jaguars on the bus. With the 2CAN the single point failure is the 2CAN itself. If it dies, you can't talk to any of the devices on the bus.

Quote:
And btw, to update jags firmware do I need to use serial to USB adapter or there is a way to connect it to the ethernet port or even the VGA connection?
Yes you need a serial connection. Some computers have the DB9 connector (serial port) that you need (look for older machines) if there aren't any computers with a serial port on them, you'll need to pick up a serial to usb adapter. Note that some of the super cheap ones off ebay won't work correctly under newer versions of windows. Make sure the hardware you're buying has support for the OS you intend to use it under.

Also, it's not a VGA connector, it's a similar shape, but there are fewer pins on the connector.
__________________
http://team2168.org
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2014, 13:23
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Thank you for the explanation,
If I'm going to use it only for two CIM motors (2 Jaguars) which are connected to the same gear box, I would better use the "normal" configuration, right?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2014, 13:28
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Difference between normal CAN and 2CAN 2.0?

Quote:
Both systems will work. Using the black jaguar as a serial bridge will limit your bandwidth (the serial connection to the first jag is slower than the CAN bus). Using the black jaguar introduces a single point failure, if the first black jag dies or restarts, you can't ocmmunicate with any of the jaguars on the bus. With the 2CAN the single point failure is the 2CAN itself. If it dies, you can't talk to any of the devices on the bus.
That said, I have a follow on question... If you're only going to use it for two motors on your robot, why not just use PWM cables?

Do you need to use one of the features of the Jag that's only available over CAN?
__________________
http://team2168.org
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2014, 02:40
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Quote:
Originally Posted by otherguy View Post
That said, I have a follow on question... If you're only going to use it for two motors on your robot, why not just use PWM cables?

Do you need to use one of the features of the Jag that's only available over CAN?
I will use the voltage control over CAN.
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
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:49.

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