Go to Post Canada has five regional events now. Canada. - Nick Lawrence [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 24-02-2012, 15:55
kearnel kearnel is offline
Registered User
FRC #2771 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Grand Rapids
Posts: 9
kearnel is an unknown quantity at this point
Sidecar relay port issue

I've run into an issue with a digital sidecar lately. I seldom use relays but this year we have an LED on the back of our robot that tells our drivers when we're ready to shoot. We're controlling it with a spike relay. The issue is that the relay ports are completely unresponsive.

Our team uses java to program our robot, and I've tried every possible way to turn on a relay in java. But the only thing that changes the state of the relay is disabling/enabling the robot. The strange thing is that about half the green and red LEDs that indicate the state of the relay ports stay on when the robot is enabled. I've tried a different sidecar only to get the exact same light pattern. I've look all over Chief Delphi and no one else has this issue. I also look at the sidecar documentation and I don't think this is supposed to happen.

If you have any ideas on how to fix this problem please post.

Thanks
  #2   Spotlight this post!  
Unread 24-02-2012, 16:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Sidecar relay port issue

How is your DB-37 pin cable?
Do you have another you could swap in to check if the cable is bad?

The common cause of the Relay Xmas Tree effect this year when the robot gets Enabled is a reversed DB-37 cable.
Test your cable by plugging it into itself. If it forms a mobius strip, then it's reversed. If it forms a simple loop, then it's good.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 25-02-2012 at 13:36.
  #3   Spotlight this post!  
Unread 24-02-2012, 16:08
kearnel kearnel is offline
Registered User
FRC #2771 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Grand Rapids
Posts: 9
kearnel is an unknown quantity at this point
Re: Sidecar relay port issue

Thanks, I'll try that tomorrow.
  #4   Spotlight this post!  
Unread 24-02-2012, 17:01
xisybyl xisybyl is offline
Registered User
FRC #3648
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Denver
Posts: 34
xisybyl is an unknown quantity at this point
Re: Sidecar relay port issue

I second that. We had the same problem (using LabVIEW) and it was solved only by using a KNOWN GOOD flat cable. I don't know why the 2 round cables we tried (they checked out good) didn't work, but . . .

Re flat cables, either purchase one preassembled or have it assembled using the proper tooling (using a vise doesn't cut it).
  #5   Spotlight this post!  
Unread 24-02-2012, 17:12
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
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: Sidecar relay port issue

Quote:
Originally Posted by xisybyl View Post
I second that. We had the same problem (using LabVIEW) and it was solved only by using a KNOWN GOOD flat cable. I don't know why the 2 round cables we tried (they checked out good) didn't work, but . . .

Re flat cables, either purchase one preassembled or have it assembled using the proper tooling (using a vise doesn't cut it).
To expand on the part I highlighted here... most vices in machine shops are wavy - where it grips your part, it's not a flat steel plate. That's a specific design so it can adequately grip a wide variety of items. Flat plates won't hold round stock very well, for example.

There are vices available (and we have some at work here) that are completely flat, and allow fine adjustment. Those are the type you want to use if you're assembling a cable! You need to provide a constant pressure along the entire length/width of the connector, and have fine enough control over how much its tightened to prevent you from snapping off the locking tabs on the sides.
  #6   Spotlight this post!  
Unread 24-02-2012, 18:17
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Sidecar relay port issue

Quote:
Originally Posted by Jon Stratis View Post
To expand on the part I highlighted here... most vices in machine shops are wavy - where it grips your part, it's not a flat steel plate. That's a specific design so it can adequately grip a wide variety of items. Flat plates won't hold round stock very well, for example.

There are vices available (and we have some at work here) that are completely flat, and allow fine adjustment. Those are the type you want to use if you're assembling a cable! You need to provide a constant pressure along the entire length/width of the connector, and have fine enough control over how much its tightened to prevent you from snapping off the locking tabs on the sides.
What I did, and will work in a snap for anyone without access to such vices, was find some scrap pieces of aluminum L and drop them on the grips so that the flat surface of the L was pressing the cable together, and not the patterned surface of the vice.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #7   Spotlight this post!  
Unread 25-02-2012, 20:22
Mr. Rogers's Avatar
Mr. Rogers Mr. Rogers is offline
That? That was in the CAD.
FRC #3539 (Byting Bulldogs)
Team Role: College Student
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Romeo, MI
Posts: 67
Mr. Rogers will become famous soon enoughMr. Rogers will become famous soon enough
Re: Sidecar relay port issue

I'm mechanical, but check the Relay Class. I think you have to set the direction of the relay ex."setDirection(kForward)" then call the relay to trigger "set(kOn)" We had trouble like this too.
__________________
Grow the roses of success!
2011 Archimedes 2nd seed,
2011 Waterford Champion, 2011 Troy Simi-Finalist,
2011 Waterford Rookie all star, 2011 Troy Rookie all star
http://www.bytingbulldogs.com/
  #8   Spotlight this post!  
Unread 27-02-2012, 22:12
kearnel kearnel is offline
Registered User
FRC #2771 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Grand Rapids
Posts: 9
kearnel is an unknown quantity at this point
Re: Sidecar relay port issue

Thanks!

Quote:
How is your DB-37 pin cable?
Do you have another you could swap in to check if the cable is bad?
That was exactly the issue. We had one of the improperly assembled DB-37 pin cables. We used a round cable instead and it worked! We fixed our bad cable with a vice (I don't know if it was flat or not) and now it's working too!

Last edited by kearnel : 27-02-2012 at 22:15.
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 19: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