![]() |
Vex PIC Microcontroller V0.5 to cim Via VictorSp???
I am working on a small project. I am currently running two cim motors via VictorSp:
http://www.vexrobotics.com/217-9090.html Using an Arduino Uno: https://www.arduino.cc/en/Main/ArduinoBoardUno but I want to b able to control my motors with a reciever. Is it possible to connect the Victors directly to the Vex controller: http://www.vexrobotics.com/276-2170.html since they are pwm ports? If so, can I just program the Victors as I would motors? That way I can just use one of the vex recievers to control my motors... |
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. |
Re: Vex PIC Microcontroller V0.5 to cim Via VictorSp???
Quote:
|
Re: Vex PIC Microcontroller V0.5 to cim Via VictorSp???
The only way I could see this not working is if the PIC supplies >5vdc through the PWM line. The old motors those powered ran solely off of the power from the pwm, so the PIC's circuitry may have been designed to pump 7.2V or otherwise down the line, which would be damaging to the Victor SP.
I looked for a few minutes but did not find anything indicating what was being sent besides pulse ranges |
| All times are GMT -5. The time now is 00:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi