Go to Post There MUST BE room for mistakes. That’s one of the best ways to learn. - Ken Leung [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 14-02-2014, 12:34
CarrotBlasphemy's Avatar
CarrotBlasphemy CarrotBlasphemy is offline
Registered User
FRC #4226
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Albany, MN
Posts: 9
CarrotBlasphemy is an unknown quantity at this point
Odd problem with limit switch in sidecar

We're testing out a limit switch and at seemingly random times when it's pressed, all the wheels on the robot (including on an arm) turn on. We replaced the sidecar to see if there was a short in it but no such luck, it still bugged. Any ideas what may be going wrong?
  #2   Spotlight this post!  
Unread 14-02-2014, 12:38
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,567
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: Odd problem with limit switch in sidecar

How did you wire the limit switch? I would guess you wired 5v to it, and are shorting the sidecar when it is pressed. You should wire the signal and ground.
  #3   Spotlight this post!  
Unread 14-02-2014, 12:38
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Odd problem with limit switch in sidecar

Try replacing the ribbon cable between the sidecar and the digital module on the cRio
  #4   Spotlight this post!  
Unread 14-02-2014, 12:45
CarrotBlasphemy's Avatar
CarrotBlasphemy CarrotBlasphemy is offline
Registered User
FRC #4226
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Albany, MN
Posts: 9
CarrotBlasphemy is an unknown quantity at this point
Update: the switch seems to control the power to the components--when it's not pressed, the light is off and nothing can be controlled
  #5   Spotlight this post!  
Unread 14-02-2014, 12:54
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,014
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Odd problem with limit switch in sidecar

Quote:
Originally Posted by CarrotBlasphemy View Post
Update: the switch seems to control the power to the components--when it's not pressed, the light is off and nothing can be controlled
It's highly likely that you have the 5v+ and ground wired to the normally closed pins/terminals of the switch. This will short the DCS and prevent it from working. Take a look at the DSC's documentation for the correct wiring example.

The good news is this is a pretty easy fix and the DSC's power supply components are pretty hardy, so you probably haven't done any lasting damage.

Last edited by Andy A. : 14-02-2014 at 12:56.
  #6   Spotlight this post!  
Unread 14-02-2014, 12:57
CarrotBlasphemy's Avatar
CarrotBlasphemy CarrotBlasphemy is offline
Registered User
FRC #4226
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Albany, MN
Posts: 9
CarrotBlasphemy is an unknown quantity at this point
Thanks Joe Ross! That was our problem! We are forever grateful!
  #7   Spotlight this post!  
Unread 15-02-2014, 00:29
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: Odd problem with limit switch in sidecar

Cut the red wire! No, not the red wire, the blue one. Too late, I cut it.
- reference to every Hollywood movie with a bomb-defusing scene.

Most of us get so used to wiring things up with PWM cables, that we think we need to use all three wires.

Passive limit switches, like the ones in the KOP, and any that are just a set of contacts, only need two wires to operate.

One is your common, which is the black wire. No surprise there.

The other is the white wire, which goes to the signal input on the DIO input. The DIO inputs are forced ("pulled") to 5v internally to the Digital Sidecar, so that with nothing connected, or an open circuit, they read a "high" or logical 1.

To make them "low" or 0, the input needs to be brought to 0v or "common." Shorting the white and black wires through the switch contacts will do this.

There is no need for the red wire, as the input is already connected to it through a current limiting resistor inside the DS.

The only reason to use the red wire on a DIO would be if you had an active sensor that operated off of 5v, such as a photoeye or proximity switch. Most require a higher voltage for operation, though.
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

  #8   Spotlight this post!  
Unread 15-02-2014, 08:23
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Odd problem with limit switch in sidecar

Quote:
Originally Posted by Doc Wu View Post

There is no need for the red wire, as the input is already connected to it through a current limiting resistor inside the DS.
If you are not using 5 volts in this application, you may cut the red wire, preferred at the DSC end of your PWM and insulate the cut wire with voltage on it. If you short this 5 volt line, the DSC gets very unhappy.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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 10:27.

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