Go to Post Maybe we can start a FIRST team on Mars. - Karibou [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 05-02-2013, 16:41
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
How to hook up a limit switch?

We are building a tower with a hook system that will go up and down, but we don't know how to hook up a limit switch electrically, There are two limit switches one on top of the hook and one on the bottom of the hook thing that goes up and down the tower so when a Limit switch is hit the motor will stop traveling in that direction, what wires need to be hooked up to what on the limit switch, to where etc... Thanks a lot, visuals are awesome if anyone has one displaying a limit switch hooked up
__________________
Ben
  #2   Spotlight this post!  
Unread 05-02-2013, 16:43
FRCTEAM1847 FRCTEAM1847 is offline
Registered User
FRC #1847
 
Join Date: Feb 2010
Location: Kansas City, KS
Posts: 11
FRCTEAM1847 is an unknown quantity at this point
Re: How to hook up a limit switch?

A limit switch would be a digital device and should be hooked up to the digital sidecar like the sensor on this document.

http://www.usfirst.org/sites/default...alLayout_0.pdf

They can be wired normally open or closed and there's a diagram on the one's that come in the KOP that illustrates this, and it should look like this

http://team358.org/files/programming...imitSwitch.jpg

One wire goes to the terminal on the bottom or COM, and the other wire is attached to the upper or lower terminal on the side based on if you want a normally open or closed switch operation.

Last edited by FRCTEAM1847 : 05-02-2013 at 16:47. Reason: Additional info
  #3   Spotlight this post!  
Unread 05-02-2013, 17:16
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Re: How to hook up a limit switch?

I'm still confused, which one on the diagram is the limit switch? So how would I wire it up so when the button on top is hit the motor will stop in that direction? Sorry I'm a newbie
__________________
Ben
  #4   Spotlight this post!  
Unread 05-02-2013, 18:41
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: How to hook up a limit switch?

Quote:
Originally Posted by BPtigers View Post
I'm still confused, which one on the diagram is the limit switch? So how would I wire it up so when the button on top is hit the motor will stop in that direction? Sorry I'm a newbie
There is no limit switch in the diagram per se. A limit switch is a custom circuit on that diagram.

If you want to stop a motor, you can either wire it to the "Digital I/O" section of the sidecar and program it to stop (recommended for reliability and consistency)

The "COM" pin on the switch goes to the (-) pin on the sidecar and the "NC" or "NO" pin goes to the "SIG" pin on the sidecar. You can then program the switch to turn off the motor or control whatever you want. The sidecar has internal pull-up resistors, so there's no need for any other wiring.

You can also wire it to the limit switch inputs on a Jaguar (Jaguar required, may be easier to get started.)

See page 11 in http://content.vexrobotics.com/docs/...artedGuide.pdf for a connection diagram.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #5   Spotlight this post!  
Unread 05-02-2013, 22:54
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: How to hook up a limit switch?

FYI, and oh and NC on the switch stand for normally open and normally closed. A normally open switch has no continuity when the switch is not depressed, I'll normally closed switch does.

You want to wire one side of the switch to ground on a digital input of the digital sidecar, and the other side to the signal connection. So that when the switches actuated the digital I/O pin senses whether there is ground or not. that can be used in your program to tell whether the switch has been pressed or not.
__________________

I am N2IRZ - What's your callsign?
  #6   Spotlight this post!  
Unread 05-02-2013, 23:16
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Re: How to hook up a limit switch?

So if I hook it up to jaguar I don't need to program anything in labview the limit switch will do it all automatically?
__________________
Ben
  #7   Spotlight this post!  
Unread 05-02-2013, 23:30
prismiko's Avatar
prismiko prismiko is offline
Registered User
AKA: Priscilla Wong
FRC #2601 (Steel Hawks)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Queens, NY
Posts: 33
prismiko will become famous soon enough
Re: How to hook up a limit switch?

There's a nice tutorial on YouTube from team 3476.
http://www.youtube.com/watch?v=5dCwb...LWCam&index=13
__________________
Priscilla
Mentor

Steel Hawks - Team 2601

-------------------------------------------------------


2015 - Carson/Galileo - Gracious Professionalism Award
2015 - NYC - Engineering Inspiration Award
2015 - SBPLI Long Island - Gracious Professionalism Award
2014 - NYC - Gracious Professionalism Award
  #8   Spotlight this post!  
Unread 07-02-2013, 17:36
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Re: How to hook up a limit switch?

So if I hook up the limit switch so theres a wire in the NO3 tab is it true when the button isn't pressed, because I want it wired up to it's true when the button isn't pressed, and false when the button is hit, thanks
__________________
Ben
  #9   Spotlight this post!  
Unread 07-02-2013, 17:59
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: How to hook up a limit switch?

Quote:
Originally Posted by BPtigers View Post
So if I hook it up to jaguar I don't need to program anything in labview the limit switch will do it all automatically?
Yes, but I'd recommend coding it if only so you learn how. Doing that is just the tip of the iceberg when it comes to FRC coding. The code isn't that hard to do as long as you have the proper logic. Make a flowchart for the possible states of the switch(es) and the motor. If the switch is open when the motor is running, what do you want it to do? If the switch is closed when the motor is running, what do you want it to do? What if the motor isn't running?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)


Last edited by cgmv123 : 07-02-2013 at 18:03.
  #10   Spotlight this post!  
Unread 07-02-2013, 18:22
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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: How to hook up a limit switch?

Quote:
Originally Posted by BPtigers View Post
So if I hook up the limit switch so theres a wire in the NO3 tab is it true when the button isn't pressed, because I want it wired up to it's true when the button isn't pressed, and false when the button is hit, thanks
NO = Normally Open = Off/False (not passing any signal) until the switch is pressed (then it's On/True)
NC = Normally closed = On/True (passing a signal) until the switch is pressed (then it's Off/False)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 20:09.

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