View Single Post
  #10   Spotlight this post!  
Unread 16-02-2004, 12:04
1166's Avatar
1166 1166 is offline
Registered User
AKA: Vex
#1166 (The Highlanders)
Team Role: Animator
 
Join Date: Jan 2004
Location: Georgia
Posts: 22
1166 can only hope to improve
Send a message via AIM to 1166
Re: Please help asap.. Where do the victor motor 3 pin wires plug into

Quote:
Originally Posted by Phil_Lutz
Plug the one end into the Victor with the black wire closest to the fan.
Plug the other end into a set of 3pins on the Robot controller that is labeled PWM Outputs.
The number of the PWM (1-16) is the number you need to use in the code to control that particular speed controller.

ie.
We have a Victor for the left drive that is conected to PWM16
The right Drive motor connected to PWM15.

In Our code we say
Code:
 pwm15 = 254;
 pwm16 = 0;    // reversed due to motors pointing opposite.
and our robot will go forward at full speed.

If we plugged the motors into pwm1 and pwm2, and used the above code, the robot would not be sending the signals to the right jacks.

Hope this helps.
Remember frustration will just frustrate you farther and nothing will get accomplished.
Reading the documentation is always a good idea and will assist in clarifying what you are trying to do.

Phil
Merci mon ami