View Single Post
  #2   Spotlight this post!  
Unread 24-01-2014, 21:16
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is online now
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,557
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: VZ-2B17D8-048 Limit Switch Wiring

Quote:
Originally Posted by LFRobotics View Post
Hey robot peeps - Im the head electronics/programming guy on the LF Robotics team - I am the only one of my kind on the team and this is my first year - so I have absolutely NO experience.

So......

I want to have a winMotor spin a wheel until it reaches the end of a cord and hits a limit switch - when it hits that limit switch I want it to reverse its direction until it hits a second limit switch which will be located at the point that it started from - when it hits this limit switch I want it to stop until it is triggered to start again by a button on the joystick.

How do I wire the limit switches? I seriously have absolutely no idea how to wire them or how to program them. The programming questions will be posted in the programming section. The switches have three pins - NC2, NO3, and COM1(Normally Closed, Normally Open, Common Ground).

Here is a picture of the switch:



I am using Java with Netbeans.

Any help will be GREATLY appreciated - THANKS!
Either the Normally Open (NO3) or Normally Closed (NC2) should be connected the white wire of a PWM cable. The Common Ground should be wired to the black wire of the PWM cable. Nothing should be connected to the red wire. The Female end of the PWM cable should be connected to one of the digital inputs on the Digital Sidecar.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt