Go to Post When I mentor other people in programming... they either get pointers or they don't. - JamesTerm [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 24-01-2014, 20:58
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
VZ-2B17D8-048 Limit Switch Wiring

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!

Last edited by LFRobotics : 24-01-2014 at 21:08.
  #2   Spotlight this post!  
Unread 24-01-2014, 21:16
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
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
  #3   Spotlight this post!  
Unread 25-01-2014, 00:46
vps vps is offline
Registered User
FRC #3021 (The Agency)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2011
Location: United States
Posts: 30
vps is an unknown quantity at this point
Re: VZ-2B17D8-048 Limit Switch Wiring

When in doubt, use a multimeter. At the end of the day, it's just a switch.
  #4   Spotlight this post!  
Unread 25-01-2014, 12:05
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: VZ-2B17D8-048 Limit Switch Wiring

Okay - THANKS a ton guys!
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


All times are GMT -5. The time now is 10:29.

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