Go to Post Happy Championship and may the odds be ever in your favor! - Jon Stratis [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 05-02-2012, 16:17
heya101 heya101 is offline
Registered User
FRC #3699
 
Join Date: Mar 2011
Location: Minnesota
Posts: 11
heya101 is an unknown quantity at this point
Tell motors spin at a certain rpm?

I'm wondering how I would go about telling the motors (CIM motors) to spin at a certain rpm? This rpm would be calculated based on where the robot is in relation to the baskets. I know the motors take inputs of -1 to 1, but that doesn't really help me when I'm inputting rpm values.

Any help would be appreciated
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2012, 16:27
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Tell motors spin at a certain rpm?

Quote:
Originally Posted by heya101 View Post
I'm wondering how I would go about telling the motors (CIM motors) to spin at a certain rpm? This rpm would be calculated based on where the robot is in relation to the baskets. I know the motors take inputs of -1 to 1, but that doesn't really help me when I'm inputting rpm values.

Any help would be appreciated
You will need a sensor, such as an encoder, mounted onto your shooter wheel to determine how fast the shooter is currently spinning at. If you how fast the shooter is actually spinning, you can use this information to either increase or decrease the motor output value until the shooter is at your desired RPM.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2012, 09:28
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
Re: Tell motors spin at a certain rpm?

I would suggest using the CAN functionality of the Jaguar speed controller. you can set the exact rpm of the motor and also have access to PID control.
__________________
-Team 1939 The Barstow Ku-Nig-Its!
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 22:22.

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