Go to Post Don't waste the opportunity because you were too focused on "winning" the championship. - Don Wright [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 07-11-2010, 20:06
pfosx's Avatar
pfosx pfosx is offline
Registered User
AKA: Paul Fossenier
FRC #3161 (Tronic Titans)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2009
Location: Ontario, Canada
Posts: 12
pfosx is an unknown quantity at this point
CAN - reading current values

Hi all,

Question regarding black jags with CAN;
Without using current control mode, (want to stick with voltage control), can we still access information about the current going through each of our jags, and display them on the dashboard?

Also, in regard to the 'Jaguar Communication Cables' section in MDL-BDC24_GSG.pdf (from luminary micro's jaguar page):
-can the mentioned (6wire) A2662R-07-ND be used (without modification) between the jags, and between the crio and jag?
-are the steps (at the bottom of page 30) to be done to the modular RJ12-DB-9 abapter AND for the terminator plug (both with 100ohm resitors)?

thanks.
__________________
Dean's List Finalist Award - WAT 2011

Last edited by pfosx : 07-11-2010 at 20:13.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-11-2010, 23:18
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: CAN - reading current values

You can get the current information in any mode, though it is only accurate within an Amp.

Regular RJ12 cables, like the one you've linked to, can be used to connect the Jags and the cRIO together. Between the Jags you actually only need the center two conductors, but I would recommend making all your cables with 6 conductors so you can swap cables around if you need to.

I'm assuming the document you're referring to is the Getting Started Guide. Yes, you need a termination resistor on both ends of the network. You can use a 100 ohm or a 120 ohm resistor. Make sure to build it in a way that the leads of the resistor will not short together.
Granted, I have gotten CAN to work with only one termination resistor. However, the CAN spec calls for two, so I would use two. You do not want to introduce additional points of failure into the system.
__________________
-- Marshal Horn

Last edited by kamocat : 07-11-2010 at 23:25.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2010, 08:28
pfosx's Avatar
pfosx pfosx is offline
Registered User
AKA: Paul Fossenier
FRC #3161 (Tronic Titans)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2009
Location: Ontario, Canada
Posts: 12
pfosx is an unknown quantity at this point
Re: CAN - reading current values

thanks allot Marshal! very detailed and in depth, much appeciated!

another quick question(s) if thats alright, (below part #'s are from digikey)
I'll be using A2662R-07-ND cable.
which of the following connectors should i get?
A9093-ND
A9117-ND
I'm thinking the latter, as the cable type is "CONN MOD PLUG 6-6 FLAT OVAL AU", just as described in the "Getting started" guide (except ofc, it was 6-4 in the guide), but i'm not really sure the difference.

and lastly, to your best judgement, would both of the crimpers below be suitable?
digikey: PA1344-ND
http://www.thesource.ca/estore/produ...duct= 2798522

thanks very much!
__________________
Dean's List Finalist Award - WAT 2011

Last edited by pfosx : 01-12-2010 at 08:31.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-12-2010, 11:19
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Smile Re: CAN - reading current values

Quote:
Originally Posted by kamocat View Post
You can use a 100 ohm or a 120 ohm resistor.
The official CAN spec requires a 120 ohm resistor. However, as seen in the Jaguar documentation, we recommend using a 100 ohm resistor as the terminator on both ends. This is to improve the network reliability when there are many nodes and extra-long cable lengths.

Quote:
Originally Posted by pfosx View Post
I'll be using A2662R-07-ND cable.
which of the following connectors should i get?
A9093-ND
A9117-ND
I'm thinking the latter, as the cable type is "CONN MOD PLUG 6-6 FLAT OVAL AU", just as described in the "Getting started" guide (except ofc, it was 6-4 in the guide), but i'm not really sure the difference.

and lastly, to your best judgement, would both of the crimpers below be suitable?
digikey: PA1344-ND
http://www.thesource.ca/estore/produ...duct= 2798522
Yes, you should use the plug that is designed for flat cable. Round cable is also usable, but from my experience it is easier to use flat cable because once the outer insulation is stripped, you can just slide it into the plug and crimp it.

Either of the crimpers will be fine. You get 3 features in one for the cheaper crimper, but the more expensive one will probably last longer. Your choice. I use a crimper that resembles the cheap one and I have crimped at least 5 robots worth of modular jacks with no problems.

Be sure to pay close attention to pre-made and homemade cables:

Quote:
Cables must be 'straight-pinned,' which means Pin 1 > 1, Pin 2 > 2, and so on. This is also referred to as a reverse-cable because the tabs on the connectors are on the opposite sides of the cable.
(Taken from the getting started guide)

-David
Reply With Quote
  #5   Spotlight this post!  
Unread 10-12-2010, 10:41
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: CAN - reading current values

Can anyone provide a link to the "Getting Started Guide" for CAN/Jaguar as mentioned earlier in this thread?

For the life of me, I cannot seem to find it online anymore.

Thank you in advance!

EDIT:
5 minutes of research led me to
http://www.luminarymicro.com/jaguar
__________________
In life, what you give, you keep. What you fail to give, you lose forever...

Last edited by Mr. Lim : 10-12-2010 at 10:46.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
paper: CAN Jaguar Speed Control with Current Limit Ether Extra Discussion 3 22-08-2010 00:59
Help Reading Joystick button Values PlaidPillagers NI LabVIEW 1 11-02-2010 11:27
Reading Robot values during a match jmanela NI LabVIEW 2 07-03-2009 19:58
Reading Joystick Values Help FearlessLeader C/C++ 5 17-01-2009 23:33
Split topic - How many channels can the current (2004) Oi's and Rc's Handle? Elgin Clock Control System 6 02-01-2005 14:02


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

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