View Single Post
  #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