User Manual
RoboClaw Series
Brushed DC Motor Controllers
RoboClaw Series User Manual
55
Stand Serial Control
Standard Serial Mode
In this mode S1 accepts TTL level byte commands. Standard serial mode is one way serial data.
RoboClaw can receive only. A standard 8N1 format is used. Which is 8 bits, no parity bits and
1 stop bit. If you are using a microcontroller you can interface directly to RoboClaw. If you are
using a PC a level shifting circuit (eg: Max232) is required. The baud rate can be changed using
the SET button once a serial mode has been selected.
Standard Serial communications has no error correction. It is recommended to use
Packet Serial mode instead for more reliable communications.
Serial Mode Baud Rates
Option Description
1 2400
2 9600
3 19200
4 38400
5 57600
6 115200
7 230400
8 460800
Standard Serial Command Syntax
The RoboClaw standard serial is setup to control both motors with one byte sized command
character. Since a byte can be any value from 0 to 255(or -128 to 127) the control of each motor
is split. 1 to 127 controls channel 1 and 128 to 255(or -1 to -127) controls channel 2. Command
value 0 will stop both channels. Any other values will control speed and direction of the specic
channel.
Character Function
0 Shuts Down Channel 1 and 2
1 Channel 1 - Full Reverse
64 Channel 1 - Stop
127 Channel 1 - Full Forward
128 Channel 2 - Full Reverse
192 Channel 2 - Stop
255 Channel 2 - Full Forward
!