Go to Post It will really be different for us (ESPECIALLY since our robot drives consistently this year). - Karibou [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 02-02-2009, 12:29
solomason519 solomason519 is offline
Registered User
FRC #0519
 
Join Date: Jan 2009
Location: detroit
Posts: 16
solomason519 is an unknown quantity at this point
limit switch

help. Does anyone know how to program a limit switch in labview. I have the limit switch hooked up to digital io port 2 i want to program it so that i can stop power to a motor. help
  #2   Spotlight this post!  
Unread 02-02-2009, 12:53
Kruuzr Kruuzr is offline
Mentor - electrical, software
AKA: Steve Cote
FRC #1922 (Ozram)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Henniker, NH
Posts: 33
Kruuzr has a spectacular aura aboutKruuzr has a spectacular aura about
Re: limit switch

I can't help with the labview part, but did you know that you can hook a limit switch directly to a jaguar controller - no programming involved? (Assuming you are using a jaguar, of course)

Steve
  #3   Spotlight this post!  
Unread 02-02-2009, 12:58
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: limit switch

Quote:
Originally Posted by Kruuzr View Post
I can't help with the labview part, but did you know that you can hook a limit switch directly to a jaguar controller - no programming involved? (Assuming you are using a jaguar, of course)

Steve
That has been ruled illegal for this year's competition based on <R62>.

http://forums.usfirst.org/showthread.php?t=11658
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #4   Spotlight this post!  
Unread 02-02-2009, 13:02
solomason519 solomason519 is offline
Registered User
FRC #0519
 
Join Date: Jan 2009
Location: detroit
Posts: 16
solomason519 is an unknown quantity at this point
Re: limit switch

which port on the jaguar and do i use a regular pwm cable?
  #5   Spotlight this post!  
Unread 02-02-2009, 13:04
solomason519 solomason519 is offline
Registered User
FRC #0519
 
Join Date: Jan 2009
Location: detroit
Posts: 16
solomason519 is an unknown quantity at this point
Re: limit switch

are limit switches illegal?
  #6   Spotlight this post!  
Unread 02-02-2009, 13:07
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: limit switch

Quote:
Originally Posted by solomason519 View Post
are limit switches illegal?
Limit switches are not illegal, but connecting them to the Jaguars limit switch inputs is for this year.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #7   Spotlight this post!  
Unread 02-02-2009, 13:10
solomason519 solomason519 is offline
Registered User
FRC #0519
 
Join Date: Jan 2009
Location: detroit
Posts: 16
solomason519 is an unknown quantity at this point
Re: limit switch

o ok. so can you help with the programming?????
  #8   Spotlight this post!  
Unread 02-02-2009, 13:21
martin417's Avatar
martin417 martin417 is offline
Opinionated old goat
AKA: Martin Wilson
no team
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Buford, GA
Posts: 720
martin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond repute
Re: limit switch

For an example, look at the compressor code. The pressure switch is effectively a limit switch, just operated by air pressure.
__________________
Former Mentor Team 1771
Former mentor Team 4509
  #9   Spotlight this post!  
Unread 02-02-2009, 13:31
DRH2o's Avatar
DRH2o DRH2o is offline
Registered User
AKA: Dan Waters
FRC #1598 (Team Talon)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Danville, VA
Posts: 147
DRH2o is a glorious beacon of lightDRH2o is a glorious beacon of lightDRH2o is a glorious beacon of lightDRH2o is a glorious beacon of lightDRH2o is a glorious beacon of lightDRH2o is a glorious beacon of light
Re: limit switch

Try This

Connect the joystick to all three joystick in connectors. Select their DIO port used for the limit switches. Connect speed to set_motor speed
Attached Files
File Type: vi limit.vi (10.4 KB, 217 views)

Last edited by DRH2o : 02-02-2009 at 16:24.
  #10   Spotlight this post!  
Unread 09-02-2010, 08:50
LavaEagle LavaEagle is offline
Registered User
FRC #2660
 
Join Date: Oct 2009
Location: WA
Posts: 22
LavaEagle is an unknown quantity at this point
Re: limit switch

http://frcmastery.com/try-me/frc-walkthrough/
Oddly enough I just happend to watch this, how to hook it up in LabVIEW is covered in this video.
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
Limit Switch Problem Boydean Programming 3 13-02-2008 16:32
Using a limit switch to limit motion ManicMechanic Programming 16 20-12-2007 00:54
Using a limit switch thunderbolt Programming 1 02-04-2007 19:36
limit switch wedellm Electrical 4 16-02-2007 13:01


All times are GMT -5. The time now is 03:23.

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