Controlling RMCS 2201 DC servo motor using UART

So i just bought one of these motor:

http://www.robokits.co.in/documentation/RMCS220x_DCServo+Driver.pdf

I am now trying to use an Arduino Uno to control it through UART using the terminal. The motor are connected as desribed in the above PDF under UART communication, using the TX1 and RX1 on the Arduino. So i would like to be able to write commands in the arduino IDE terminal to make the motor move. Can anyone give direction for the code? thank you

So i just bought one of these motor:

http://www.robokits.co.in/documentation/RMCS220x_DCServo+Driver.pdf

I am now trying to use an Arduino Uno to control it through UART using the terminal. The motor are connected as described in the above PDF under UART communication, using the TX1 and RX1 on the Arduino. So I would like to be able to write commands in the arduino IDE terminal to make the motor move. Can anyone give direction for the code? thank you

RMCS220x_DCServo_Driver.pdf (567 KB)

With an Arduino Uno pins 0 and 1 are used for serial communication with the PC and Serial Monitor so you should use SoftwareSerial to create a separate serial port on two other pins for the motor

Then you can send data to the Arduino from the Serial Monitor and the Arduino can send the data on to the motor. If you want to go this route have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

Of course if all you want to do is send commands to the servo from the PC an easier way would probably be to use a USB-TTL cable and not bother with the Arduino.

...R

I'm sure I wrote a reply for this question but it seems to have vanished?

Has someone deleted the wrong Thread?

...R

The link I posted: http://forum.arduino.cc/index.php?topic=488418 was to the one you had replied to. Well that’s what realkulothungan gets for triple posting.

Robin2:
I'm sure I wrote a reply for this question but it seems to have vanished?

Fished it out of the trash then merged.

Has someone deleted the wrong Thread?

Probably a race condition. (You posted at essentially the same time as the thread was removed.)

Much appreciated.

I was never any good at races - either the running kind or the betting kind :slight_smile:

...R