Go to Post Programming team motto: If it doesn't work, use a bigger hammer. - WizenedEE [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 12-03-2013, 08:31
Beyond Infinity Beyond Infinity is offline
Registered User
no team
 
Join Date: Jan 2013
Location: India
Posts: 5
Beyond Infinity is an unknown quantity at this point
[FTC]: Limit switch

We want to use a limit switch to cut power off to one motor.Can this be connected to the D.C controllers directly or is the hi-technic protoboard necessary ? And if we use a protoboard will a mistake in the Wifi(like in our regionals all the robots in the feild stopped responding to the joystick commands in one match) cause the limit switch not to respond?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2013, 12:43
smcmahon's Avatar
smcmahon smcmahon is offline
The Architect
AKA: Sean McMahon
FRC #2656 (QUASICS)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pittsburgh, PA
Posts: 197
smcmahon is an unknown quantity at this point
Re: [FTC]: Limit switch

Can't really answer the second question, but I've seen a lot of teams use the LEGO touch sensor as a limit switch.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-03-2013, 16:21
TRWSHSHLX TRWSHSHLX is offline
Registered User
AKA: Henry Lei
no team
 
Join Date: Jan 2011
Rookie Year: 2008
Location: OR
Posts: 71
TRWSHSHLX is an unknown quantity at this point
Re: [FTC]: Limit switch

For the first question: I'm not sure about the legality of directly connecting a limit switch inline from the DC controller to the motor. However if that is the implementation, the DC motor won't be able to move for the rest of the match (since the limit switch stays "activated" and there's no way to un-activate the swtich).

As for the second question, it depends on how the limit switch is programmed in your code. If the code is like:

If (Limit_Switch is on)
Motor off
Else
Custom controlling code

Then it will shut off for sure since no matter the condition of Wifi because when the limit switch is on then it doesn't matter what the joystick command is.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 13-03-2013, 07:37
Beyond Infinity Beyond Infinity is offline
Registered User
no team
 
Join Date: Jan 2013
Location: India
Posts: 5
Beyond Infinity is an unknown quantity at this point
Re: [FTC]: Limit switch

"As for the second question, it depends on how the limit switch is programmed in your code. If the code is like:

If (Limit_Switch is on)
Motor off
Else
Custom controlling code

Then it will shut off for sure since no matter the condition of Wifi because when the limit switch is on then it doesn't matter what the joystick command is.[/quote]"


Thanks for the reply !!! If we use a touch sensor is it possible to make the motor stop working only in one direction ? What would be the algorithim to do so(without interfering with the joystick commands) ?
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 08:10.

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