Go to Post There are simply not enough words to say how much the contributions of Dave and Woodie have given to FIRST, and countless students across the world. - Libby K [more]
Home
Go Back   Chief Delphi > Technical > Electrical
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
VEXpro
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
ProCare Services
ADVERTISEMENT

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-16-2005, 03:53 PM
JMH's Avatar
JMH JMH is offline
Registered User
AKA: Jereme Henson
FRC #1370 (Blue Charge)
Team Role: Mechanical
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Delaware
Posts: 17
JMH is an unknown quantity at this point
Send a message via AIM to JMH
How do you wire a limit switch?

We are using limit switch to make the arm only go so far if you could give me some help on wiring it so it will work I would be very thankful.
  #2   Spotlight this post!  
Unread 02-16-2005, 04:44 PM
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: How do you wire a limit switch?

You will probably want to connect it to one of your digital inputs (depending on what is written in your code).

The digital inputs are normally pulled high. Meaning they are pulled up to 5V (a digital 1) if nothing is connected to them. So you want to connect one side of your switch to ground (black wire) and the other side to the signal (white wire) of your pwm cable that is connecting to your digital input. There should be a normally open and a normally closed pin on your limit switch. If in your programming you want the switch to be low (digital 0) most of the time except when it is pressed, then you want to connect the signal pin to the normally closed part of the limit switch. If however you want to have your switch high (1) most of the time except when you press it. Then you want to connect the signal wire to the normally open pin. Ground should be connected to the COM (common pin on the switch).

The normally closed pin is, as it's name implies, a pin that is normally closed (connected) to your COM pin. Which in this case is ground. When you press the switch the connection opens and the signal wire is no longer connected to anything. So it is pulled high internally by the robot controller.

The normally open pin, is the opposite. It is normally not connected to COM, except when the switch is pressed.

Last edited by cabbagekid2 : 02-16-2005 at 04:49 PM.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LEDs in switch box. ZZII 527 Electrical 5 03-06-2004 06:39 PM
Digital Inputs interfering with each other Bongle Programming 8 02-23-2004 10:18 AM
sample limit switch code??? tml240 Programming 5 02-17-2004 04:13 PM
Wire Gauge Question Neghman Electrical 1 02-14-2004 06:56 PM
Need help with 255 Variable Joseph F Programming 18 02-26-2002 01:49 PM


All times are GMT -5. The time now is 08:01 AM.

The Chief Delphi Forums are sponsored by Innovation First, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School