Go to Post Nothing worse than an intolerant field :D - JB987 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-02-2015, 23:24
Dominick Ferone's Avatar
Dominick Ferone Dominick Ferone is offline
Registered User
FRC #5030 (The Second Mouse)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2009
Location: Plainview NY
Posts: 250
Dominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really nice
How to wire LED's to a limit switch?

We are looking to wire LED's to light up when a limit switch is pressed. We were wondering how do we wire and put the program in labview? These are not addressable LED's.
__________________

2010-2013 Team 353 The POBots - Student, 2014-present Alumni.


2014- present Team 5030 The Second Mouse - Mentor and Founder.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2015, 23:27
MrForbes's Avatar
MrForbes MrForbes is online now
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,942
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: How to wire LED's to a limit switch?

We were talking about doing something like that...but not using the computer to do it. Just build a "custom circuit" that gets power from the PDB and routes it through the switch, to the LED.

It's a pretty basic circuit, essentially the same as that which you use to turn on a light in a room.

Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2015, 23:52
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,098
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: How to wire LED's to a limit switch?

The only thing I would add to MrForbes' post is, if you are using plain LEDs (and not an LED strip of some kind), you should add a resistor in series with the LED. This should be a decent guide. The picture in the above post is intended for an incandescent bulb. If it's an LED strip, it probably already has appropriate resistors built into it.
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student

2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division

Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2015, 00:43
Sperkowsky's Avatar
Sperkowsky Sperkowsky is offline
Professional Multitasker
AKA: Samuel Perkowsky
FRC #2869 (Regal Eagles)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Bethpage, NY
Posts: 1,880
Sperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond repute
What leds are you using.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2015, 03:07
Mr V's Avatar
Mr V Mr V is online now
FIRST Senior Mentor Washington
FRC #5588 (Reign)
Team Role: Coach
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Maple Valley Wa
Posts: 993
Mr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond repute
Re: How to wire LED's to a limit switch?

It all depends on exactly what you want to do.

If all you want to accomplish is turn on the led(s) the simplest and in my opinion the best way to do it would be as Mr Forbes said. The caveats are to add the appropriate resistor(s) if using individual led(s) and make sure that the switch you are using is rated for the current it will carry. If using the common 3 terminal limit switch you want to connect to the C and NO terminals if you want the led(s) to turn on when the switch is pressed. If you want them to be off when the switch is pressed use the C and NC terminals. You could also set it up to do both by connecting the power source to the C terminal, one color say red to the NC terminal and another color say green to the NO terminal. That way the red would be illuminated when the switched is not pressed and green when it is pressed.


Now if you want to, for example to stop your lift motor when it reaches the and turn on the led then you would want to wire it to the Roborio. For that you would connect the C and NO terminal to a signal and ground DIO terminal. You would then want to connect a Spike to a relay port on the RoboRio and the led(s) to the Spike.
__________________
All statements made on Chief Delphi by me are my own opinions and are not official FIRST rulings or opinions and should not be construed as such.




https://www.facebook.com/pages/Team-...77508782410839
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2015, 09:36
MrForbes's Avatar
MrForbes MrForbes is online now
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,942
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: How to wire LED's to a limit switch?

As mentioned by others, I neglected the dropping resistor in my response. Yes, I forgot...but the reason I forgot, is that you can buy many "LED"s these days in a nice package that include the dropping resistor, and are easy to mount in a panel or such. We have a couple of these on our robot to indicate things to the operator.

Sorry for the confusion....probably induced by lack of sleep....
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2015, 09:55
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,559
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: How to wire LED's to a limit switch?

Quote:
Originally Posted by Mr V View Post
You would then want to connect a Spike to a relay port on the RoboRio and the led(s) to the Spike.
If you're out of relay ports or want something smaller than a spike, you can operate custom circuits using something like this 5V relay module switched from DIO ports. Modules are also available with single, 4, 8, or 16 relays from a wide variety of vendors.
__________________

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.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2015, 11:15
Dominick Ferone's Avatar
Dominick Ferone Dominick Ferone is offline
Registered User
FRC #5030 (The Second Mouse)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2009
Location: Plainview NY
Posts: 250
Dominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really nice
Re: How to wire LED's to a limit switch?

We are using these LED's https://www.sparkfun.com/products/12023
Our idea was to have the limit switch get pressed the the strip lights up. We were thinking of simply hard wiring it since we thought it was easier as it was meant for when totes hit it, not to stop anything moving.
__________________

2010-2013 Team 353 The POBots - Student, 2014-present Alumni.


2014- present Team 5030 The Second Mouse - Mentor and Founder.
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 11:22.

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