Go to Post Failure is in my eyes, the key to success. If you can deal with failure, look it in the eye, and conquer it, the hard stuff won't really intimidate you any more...and you can only get better. - Andy Grady [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 12-02-2015, 13:57
deeek deeek is offline
Registered User
None #1329
 
Join Date: Jan 2010
Location: St. Louis
Posts: 17
deeek is an unknown quantity at this point
Industrial switch

I am in need of an industrial grade switch like what the Cheesy Poofs used last year. Does anyone know where I might get something like it? Thanks!

  #2   Spotlight this post!  
Unread 12-02-2015, 13:58
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,282
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Industrial switch

LOL... Vex:

http://www.vexrobotics.com/vex/produ.../276-2159.html
  #3   Spotlight this post!  
Unread 12-02-2015, 14:19
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Industrial switch

Quote:
Originally Posted by marshall View Post
Is there one similar to this that is wired NC ? or has the ability to be rewired without having to rebuild it ?
  #4   Spotlight this post!  
Unread 12-02-2015, 14:21
Bruceb's Avatar
Bruceb Bruceb is offline
Registered User
FRC #0706 (Cyberhawks)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Merton, wi
Posts: 611
Bruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to behold
Re: Industrial switch

that would be a simple programming change
__________________
Mentor Team 706 The CyberHawks
2010 Wisconsin Regional Rockwell Automation Innovation in Control Award
2010 Wisconsin Regional Finalist
2013 Buckeye Regional Finalist
2014 Superior Regional Industrial Design Award
2014 Superior Regional Finalist
2014 Wisconsin Regional Finalist
2014 Wisconsin Motorola Quality Award
2015 Wisconsin Regional Motorola Quality Award
2015 Queen City Creativity Award
2016 Buckeye Regional Finalist
2016 Wisconsin Regional Finalist
2016 Wisconsin Regional Industrial Safety Award
2016 Wisconsin Regional Excellence in Engineering Award

https://www.youtube.com/user/Cyberhawks706
  #5   Spotlight this post!  
Unread 12-02-2015, 20:57
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Industrial switch

Quote:
Originally Posted by Bruceb View Post
that would be a simple programming change
I hope that I didn't deviate too much off the thread. Is this about the NC wired switch ? not sure if this was something else in the thread that could be a software change ...

How would a software solution work to detect a open-wire condition in a normally NO switch ?
  #6   Spotlight this post!  
Unread 12-02-2015, 21:12
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Industrial switch

Quote:
Originally Posted by SousVide View Post
I hope that I didn't deviate too much off the thread. Is this about the NC wired switch ? not sure if this was something else in the thread that could be a software change ...

How would a software solution work to detect a open-wire condition in a normally NO switch ?
Just see what the roboRIO reports back.

If the switch is normally closed:

if (!getSwitch()) //This will happen when the switch opens
{
Do stuff
}


If the switch is normally open
if(getSwitch () ) //This will happen when the switch closes
{
Do stuff
}

Obviously this is not the correct function call, but just an example of how you would code it. (I am assuming that when the switch is closed, the function will return TRUE. If it's the other way around, switch my code...)

Edit: I assumed incorrectly. According to the documentation that GeeTwo linked to, when the switch is OPEN, the value is 1, when it is CLOSED the value is 0.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)

Last edited by nighterfighter : 13-02-2015 at 00:28.
  #7   Spotlight this post!  
Unread 13-02-2015, 12:22
nuclearnerd's Avatar
nuclearnerd nuclearnerd is offline
Speaking for myself, not my team
AKA: Brendan Simons
FRC #5406 (Celt-X)
Team Role: Engineer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Hamilton, Ontario, Canada
Posts: 454
nuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant futurenuclearnerd has a brilliant future
Re: Industrial switch

As Al mentioned, overtravel is very important when you're slinging big masses. I recommend industrial limit switches, rather than push buttons (which are meant for humans to press, not machines). Something like this: http://www.mcmaster.com/#7988k2/=vw63cb
  #8   Spotlight this post!  
Unread 12-02-2015, 22:26
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,606
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Industrial switch

Quote:
Originally Posted by SousVide View Post
.. Is this about the NC wired switch ? not sure if this was something else in the thread that could be a software change ...

How would a software solution work to detect a open-wire condition in a normally NO switch ?

This web page
covers the difference between NO and NC pretty well. It's based on the 2014 control system, but I don't think any of the concepts at this level of detail have changed.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #9   Spotlight this post!  
Unread 13-02-2015, 00:34
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Industrial switch

Quote:
Originally Posted by GeeTwo View Post

This web page
covers the difference between NO and NC pretty well. It's based on the 2014 control system, but I don't think any of the concepts at this level of detail have changed.
Here is the 2015 version. The only "change" is the picture of the switch is slightly brighter.

One thing to point out (and I edited my post saying I assumed wrong), is that the digital input on the roboRIO will be 1 when the switch is open, and 0 when it is closed.

Example Java code is provided in the link, and the code will be the same for C++.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #10   Spotlight this post!  
Unread 13-02-2015, 00:54
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Industrial switch

So, the problem that we've always have is having the limit-switches wired in a way that is failsafe. If the mechanism or action that the limit-switch is meant to stop is one that could be destructive or harmful, then if somehow the limit-switch itself fails or the wiring connecting it to the RoboRio fails (cut or is disconnected), the software won't read this limit condition and the destructive process will proceed... In this case, we like to use limit-switch that are wired as NC (and open when contact is made)... that way, if there's a failure in the limit-switch (or the wiring) it stops the mechanism from working altogether.

I don't think there's a way for a NO limit-switch to be fixed in software to detect a limit-switch failure scenario. It would look like everything is fine until when it's suppose to signal the contact.
  #11   Spotlight this post!  
Unread 13-02-2015, 07:59
jman4747's Avatar
jman4747 jman4747 is online now
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 418
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Re: Industrial switch

As mentioned before Automation Direct literally has industrial grade switches. Many of them have wires for both N.O. and N.C. Operation at the same time so if you wanted to tell if the switch wasn't connected you would know for sure if both N.O. and N.C. were off at the same time. And Automation Direct gave everyone a voucher for $30 and one switch runs for $24 - $28 depending on what kind.
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
  #12   Spotlight this post!  
Unread 13-02-2015, 08:16
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Industrial switch

Automation Direct.
AAP2T51Z11

$14.50 each

Limit Switch style with adjustable arm.

We are using these for overtravels on our elevator.
Plastic body means they are light as compared to other industrial switches.
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #13   Spotlight this post!  
Unread 12-02-2015, 14:24
deeek deeek is offline
Registered User
None #1329
 
Join Date: Jan 2010
Location: St. Louis
Posts: 17
deeek is an unknown quantity at this point
Re: Industrial switch

Quote:
Originally Posted by marshall View Post
Thank you so much everyone! I thought I checked everywhere on the Vex website, but I guess I must have limited myself to the Vex Pro side. How much abuse can these take?
  #14   Spotlight this post!  
Unread 12-02-2015, 14:30
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,282
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Industrial switch

Quote:
Originally Posted by deeek View Post
Thank you so much everyone! I thought I checked everywhere on the Vex website, but I guess I must have limited myself to the Vex Pro side. How much abuse can these take?
A decent amount. Buy spares if you are worried about it.

Personally, I'm not a huge fan of the microswitches we all typically use. I'd love to see a more robust option on the market and I suspect there are but I haven't found one that I truly love yet.
  #15   Spotlight this post!  
Unread 12-02-2015, 14:35
deeek deeek is offline
Registered User
None #1329
 
Join Date: Jan 2010
Location: St. Louis
Posts: 17
deeek is an unknown quantity at this point
Re: Industrial switch

Quote:
Originally Posted by marshall View Post
A decent amount. Buy spares if you are worried about it.

Personally, I'm not a huge fan of the microswitches we all typically use. I'd love to see a more robust option on the market and I suspect there are but I haven't found one that I truly love yet.
Ok, thank you for the information. What I've been finding, when I was trying to find that switch, was that industrial-grade switches are really expensive!

http://www.grainger.com/product/SIEM...AS01?$smthumb$
http://www.grainger.com/product/DAYTON-Momentary-ABS-WP131861/_/N-8du/Ntt-momentary+switch?nls=1&sst=subset&ts_optout=true&s _pp=false&picUrl=//static.grainger.com/rp/s/is/image/Grainger/30G362_AS01?$smthumb$

Quote:
Originally Posted by GeeTwo View Post
I wouldn't count on them continuing to function after stopping your robot in a crash, if that's what you're asking. When mounting "button" type limit switches, recess the switch inside or slightly behind a structural element (e.g. frame perimeter) so that the structure is taking the force of the collision before the switch reaches its stop.
Great advise! Thank you.
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 11:30.

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