Go to Post That's awesome. I sort of like the smaller venues. You get to know teams on a lot more personal level. - thisOrrthat [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 16-02-2005, 16:53
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 16-02-2005, 17:44
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 : 16-02-2005 at 17:49.
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 06-03-2004 19:39
Digital Inputs interfering with each other Bongle Programming 8 23-02-2004 11:18
sample limit switch code??? tml240 Programming 5 17-02-2004 17:13
Wire Gauge Question Neghman Electrical 1 14-02-2004 19:56
Need help with 255 Variable Joseph F Programming 18 26-02-2002 14:49


All times are GMT -5. The time now is 11:54.

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