View Single Post
  #2   Spotlight this post!  
Unread 13-10-2015, 11:25
zachrobo1's Avatar
zachrobo1 zachrobo1 is offline
Registered User
AKA: Zach Cloud
FRC #1002 (The CircuitRunners)
Team Role: Leadership
 
Join Date: Dec 2013
Rookie Year: 2006
Location: Georgia
Posts: 86
zachrobo1 is a glorious beacon of lightzachrobo1 is a glorious beacon of lightzachrobo1 is a glorious beacon of lightzachrobo1 is a glorious beacon of lightzachrobo1 is a glorious beacon of light
Re: Vex PIC Microcontroller V0.5 to cim Via VictorSp???

Are you using an Arduino to control this or a Vex PIC? It wasn't exactly clear.

Either way, this is pretty simple to do. On the Victor's PWM cable, your ground (black) cable will need to go into the Arduino's ground pin (on the PIC, it will be the outermost pin in the motor breakout). Then, the signal cable (white) will need to go into a PWM-supported pin on the Arduino (on the PIC, the innermost pin). You shouldn't need to do anything with the red +5V pin in the center.

Programming wise, in RobotC it should be the same as programming the 393 motors (-127 to 127) while if you are programming it on Arduino you would need to call analogwrite with a value from 0-255.
__________________
Team 1002 - Website - Facebook - Twitter - Youtube
Reply With Quote