Thread: pwm question
View Single Post
  #3   Spotlight this post!  
Unread 13-02-2008, 16:14
SgtMillhouse648's Avatar
SgtMillhouse648 SgtMillhouse648 is offline
Registered User
AKA: Malhon Godwin
FRC #0648 (QC Elite)
Team Role: Engineer
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Davenport, IA
Posts: 153
SgtMillhouse648 has a spectacular aura aboutSgtMillhouse648 has a spectacular aura about
Send a message via MSN to SgtMillhouse648
Re: pwm question

The way it will work, is the CIMS will each be wired to the Victor 884 speed controllers. From the Speed Controllers, a PWM cable is run to the main controller. You can in the code, drive the motors at the same speed (PWM value), but due to there being two motors, they will never run at the same exact speed. Any two motors, even being the same model, will run at slightly different speeds due to differences in their contruction. As for precise, if you mean run at the same speed (which I think you mean), you shouldn't have too much problem. They should be close enough to not cause any major problems. An example is the twin CIM gear boxes that many teams use. As for turning the same amount and stopping the motors at a given angle, that's a different story, but it can be done.
Good Luck
Malhon
__________________
2007-
Midwest Regional-
Regional Finalists with 1000 and 447
Rockwell Automation Inspiration in Control Award
Regional Woodie Flowers - Ed Wegscheid