View Single Post
  #14   Spotlight this post!  
Unread 31-01-2014, 16:17
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Re: CAN Jaguar: could longer CAN cables cause problems?

Our RS232 converter wire does have a resistor on it, but the resistor is on the CAN plug's end instead of the serial end. Does anyone think that could cause some signal reflection between the resistor and the serial connector? Also - in the case of the Jaguars - could a longer cable length cause more signal reflection? Do the Jaguars increase the baud rate to accommodate for the increased length, or is it constant? Cause I know that increased baud rate could cause more signal reflection. Is there a way we could lower the baud rate via BDC-COMM? We are planning on make a better RS232 cord in the future.

We should have an oscilloscope and CAN tap available to us on Saturday, so I will try to get a scope trace uploaded if further investigation is needed afterwards. I think trying the shorter cables is a good plan as well as checking the plugs. I think we still have the Jaguar board from our older robot mostly assembled, so that's another thing we should try using. Then we could swap out parts to diagnose the bad components. We have used the resistors on the terminator and RS232 plug for many years, but I suppose we should check those to see if some of the wiring has moved in there, causing a short.

Honestly I'm a little troubled by the fact that we could only talk to #3 and #5 with BDC-COMM, #2 (and #4 too I think) wouldn't even respond to BDC. Yet I was able to get as far as accessing #2 from the cRIO JagTest program I made... Further attempts later on might yield different results. Perhaps the NET ports just need to be cleaned somehow? Maybe there's dust getting in there causing problems? This seems like the CAN network is being severed or isn't being completely connected, considering the "sometimes it works, sometimes it doesn't" nature of this problem.

I hope I can post back on Saturday night with useful information and even a solution. As recommended, I will make an emphasis on testing the resistors on both ends.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan