Go to Post anything that craves Mountain Dew is definitely intelligent enough to be dangerous. - IMDWalrus [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2011, 15:17
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Controlling Window Motor

We are using a windows motor to control our arm. We want to set it so the arm can go up to maximum height and will not allow the arm to go up anymore. Also, when the arm is at lowest height, the arm cannot move down anymore. The window motor is controlled by a spike relay, thus we are pretty sure we cannot use a servo to control angles and such of the motor. What are some ways we can make our arm act in such fashion? Is their a way to make the motor run for let's say 3 seconds, stop, then reverse for 3 seconds?

Thanks in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2011, 20:16
PatrickS's Avatar
PatrickS PatrickS is offline
I get my code from /dev/null
FRC #1742 (Shockwave)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Oklahoma City
Posts: 21
PatrickS is an unknown quantity at this point
Re: Controlling Window Motor

Quote:
Originally Posted by jhellr13 View Post
We are using a windows motor to control our arm. We want to set it so the arm can go up to maximum height and will not allow the arm to go up anymore. Also, when the arm is at lowest height, the arm cannot move down anymore. The window motor is controlled by a spike relay, thus we are pretty sure we cannot use a servo to control angles and such of the motor. What are some ways we can make our arm act in such fashion? Is their a way to make the motor run for let's say 3 seconds, stop, then reverse for 3 seconds?

Thanks in advance
A very simple and easy to implement design would be to use Limit switches as stops on both the maximum and minimum height. They are simply digital inputs and would be easy to read.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2011, 20:23
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Controlling Window Motor

Quote:
Originally Posted by PatrickS View Post
A very simple and easy to implement design would be to use Limit switches as stops on both the maximum and minimum height. They are simply digital inputs and would be easy to read.
If you do this, put a flexible extension on each switch so that inertia of the arm does not destroy the switch.



Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2011, 20:38
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Controlling Window Motor

Quote:
Originally Posted by Ether View Post
If you do this, put a flexible extension on each switch so that inertia of the arm does not destroy the switch.


Thanks. Do you know how to do this in labview by any chance? I am a rookie programer who picked up labview 3 weeks ago
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2011, 20:46
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Controlling Window Motor

Quote:
Originally Posted by jhellr13 View Post
Thanks. Do you know how to do this in labview by any chance? I am a rookie programer who picked up labview 3 weeks ago
See attached screenshot.

The switch is wired to a DIO input.


Attached Thumbnails
Click image for larger version

Name:	DIO.png
Views:	42
Size:	15.4 KB
ID:	10078  
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2011, 20:53
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Controlling Window Motor

Quote:
Originally Posted by Ether View Post
See attached screenshot.

The switch is wired to a DIO input.

Thanks for the picture. I found it on frcmastery.com, so i will figure it all out.
Reply With Quote
Reply


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 09:20.

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