RoboClaw Series
Brushed DC Motor Controllers
RoboClaw Series User Manual
58
BASICMICRO
Packet Serial
Packet Serial Mode
Packet serial is a buffered bidirectional serial mode. More sophisticated instructions can be sent
to RoboClaw. The basic command structures consist of an address byte, command byte, data
bytes and a CRC16 16bit checksum. The amount of data each command will send or receive can
vary.
Address
Packet serial requires a unique address when used with TTL serial pins(S1 and S2). With up
to 8 addresses available you can have up to 8 RoboClaws bussed on the same RS232 port
when properly wired. There are 8 packet modes 7 to 14. Each mode has a unique address. The
address is selected by setting the desired packet mode using the MODE button.
NOTE: When using packet serial commands via the USB connection the address byte can be any
value from 0x80 to 0x87 since each USB connection is already unique.
Packet Modes
Mode
Description
7
Packet Serial Mode - Address 0x80 (128)
8
Packet Serial Mode - Address 0x81 (129)
9
Packet Serial Mode - Address 0x82 (130)
10
Packet Serial Mode - Address 0x83 (131)
11
Packet Serial Mode - Address 0x84 (132)
12
Packet Serial Mode - Address 0x85 (133)
13
Packet Serial Mode - Address 0x86 (134)
14
Packet Serial Mode - Address 0x87 (135)
Packet Serial Baud Rate
When in serial mode or packet serial mode the baud rate can be changed to one of four different
settings in the table below. These are set using the SET button as covered in Mode Options.
Serial Mode Options
Option
Description
1
2400
2
9600
3
19200
4
38400
5
57600
6
115200
7
230400
8
460800