PWM Control

CTR Electronics motor controllers support "hobby" style 1-2ms rise-to-fall PWM control.

This PWM control is characterized by encoding the applied duty cycle within the 1-2 ms rise-to-fall pulse. A 1.5ms rise-to-fall corresponds to a neutral output, 1ms is full reverse, and 2ms is full forward. Any value between these is an output that linearly corresponds to the output.

In addition to the rise-to-fall parameter, there must be at least 2.9ms and less than 100ms between the rise-to-rise edge.

Note that PWM control is one-way communication and can only set the output duty cycle of the motor controller. Any advanced features the controller has (closed loop control, position reporting, current measurement) would need to be utilized over CAN.

 

Most RC receivers support this style of PWM control, but verify your own RC receiver to ensure this is the case.

Most Arduino Platforms also support the PWM Servo class, in which case you can specify the rise-to-fall period using the "writeMicroseconds()" method. In this case, commanding the motor controller to neutral would be done with "servo.writeMicroseconds(1500)".