View Single Post
  #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,011
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?