Robot App Store

image description

Robopedia

Roomba SCI Commands Are Not Working


Question


I am trying to send SCI commands to Roomba SCI port.

I’ve checked the command, and it is correct (as it is an example command for playing a sound):
128 132
140 0 1 62 32
141 0

I am using a RooTooth Bluetooth device.
The command is sent through RealTerm terminal.
I have Roomba 510 model.

What am I doing wrong?

Answer


The command is correct, and your Roomba supports SCI commands.

There are several possible reasons that the SCI commands are being ignored:
  • Roomba is turned OFF- Roomba is listening to the SCI commands only when it is turned ON;
  • Roomba is charging- During the battery charge; some of the SCI commands may be ignored (like playing a sound, driving command and more…);
  • Wrong port- RealTerm terminal should be configured to the RooTooth Serial Port on your PC;
  • Wrong baud rate- When using a RooTooth, its baud rate should be set properly according to the baud rate of your Roomba model.
    In your case, Roomba 5X model uses the 115200 baud rate. Some RooTooth devices use 57600 baud rate.
    When using a serial to USB cable, just make sure you’ve set the baud rate of RealTerm to your Roomba model baud rate (115200);
  • Wrong Bluetooth device pairing- Make sure you are paired to a Rootooth device. The default password is 1234;

In generally, in order to successfully send SCI commands to Roomba, make sure that:
  • Your Roomba is 400 series or higher, that was manufactured after October 24th, 2005. If you happen to have an older version, please buy iRobot’s OSMO that upgrades the firmware of your robot;
  • If you are using a RooTooth, make sure that you’ve paired with the Bluetooth device;
  • Check the port of the paired device, or the port that the serial cable got. Make sure you are using the correct port and baud rate on your terminal (RealTerm or similar);
  • If you are using a RooTooth, make sure you’ve configured the baud rate on RooTooth correctly:
    For Roomba 4XX, Create and Dirt dog, send the following commands:
    $$$
    ST, 255
    SU, 57.6
    R,1
    For Roomba 5XX, and 7XX send the following commands:
    $$$
    ST, 255
    SU, 115k
    R,1
    For more information, check this tutorial.
  • Make sure that Roomba is turned ON;
  • Make sure Roomba is not charging;

The syntax of the “Define a Song” command is:
[140] [Song Number] [Song Length] [Note Number 1] [Note Duration 1]....[Note Number N] [Note Duration N]

The syntax of the “Play the Pre-Defined Song” command is:
[141][Song Number]

For more information about this command and its arguments check the How to Program Roomba to Play Music tutorial.

For more information about the RealTerm configuration and usage, check the How to Program Roomba - RealTerm Terminal tutorial.

For more information about the baud rate configuration, check the Serial port connection and configuration tutorial.
married men cheat reasons people cheat how to cheat husband
will my wife cheat again redirect meet and cheat
my wife cheated on me now what open why are women unfaithful
wifes who cheat online affair women who cheat on their husband



Related Robopedia portals

Find out further reading in the following topic-based portals.
[Add or Edit Article]