Professional Documents
Culture Documents
Roomba Commands:
Listed below are the commands that users send to the SCI over to the serial port
in order to control Roomba. Each command is specified by a one-byte opcode.
OpCode is Short for Operation Code, It is the Portion of a machine language
instruction that specifies the Operation to be Performed.
All the Commands are Given to Roomba after connectiong it to the Computer.
There are two Methods of Connecting Roomba to the Computer:
1. By Using a Bluetooth Device.
2. By Using USB to Serial Wire.
Serial sequence for this Command: [140] [Song Number] [Song Length] [Note
Number 1] [Note Duration 1] [Note Number 2] [Note Duration 2]
8) Play opcode: 141
Plays one of 16 songs, as specified by an earlier Song command.
These Were Some Basic Commands of Roomba SCI. Now we'll See an Example
on How these Commands are used.