Does anyone know if the 2.0 Vex Cortex is able to control any type of servo with the setServo command in RobotC. I am getting a robot arm kit off the internet and want to replace the included servo controller with the cortex so I can use the Vex joystick.
The servos use PWM and I know the Vex uses it to control the official Vex Servos, so can anyone confirm it will work?
http://www.robotshop.com/en/lynxmotion-al5d-4-degrees-of-freedom-robotic-arm-combo-kit-no-software.html
Yes, standard servos work just fine with VEX Cortex. You can use the setServo command, but you don’t have to do it that way. Setting the motor[port_of_interest] pseudo-array (intrinsic function) to a value between -127 and 127 will cause the servo to take the correct position. I believe, due to a signal timing choice by the Cortex designers, that the full range of servo motion is not quite achievable. But there is plenty of “control authority” available; I’ve not seen it be a problem.
Thank you so much!
If you want, I could give you the code that I used that allowed a normal motor to function like a servo.