kik_1
kik_1

Reputation: 53

Serial communication between esp32 and iRobot Scooba 450

I am looking to modify my Scooba 450 vacuum to make it remotely controlled. So I searched and came across this and this.

After trying different ways, I ended up getting it to work in python, with a computer running at 57600 baud. So far, so good. But for it to be remotely controlled, I wanted to use an ESP32, I tried a lot, but I can't communicate with the robot. Normally, when it is charging, it returns information about its battery. So I put it on charge, and tried to read his data with the ESP32, but no information comes in.

I tried connecting it directly with a micro USB to micro USB cable, but without result. I also of course checked that the cable is working, that data is currently being sent from the Scooba.

The program:

void setup() {
  Serial.begin(57600);
}

void loop() {
  while (Serial.available()){
    Serial.print((char)Serial.read());
  }
}

My goal would be to be able to control it from a site, but before that, I must succeed in communicating with the Scooba. I don't necessarily need to be connected to the computer to know if data is being received, because I can see if the LED on it is on. Thanks

Upvotes: 0

Views: 235

Answers (1)

iheanyi
iheanyi

Reputation: 3113

Based on the links you provided as well as reading this one (http://www.robotreviews.com/chat/viewtopic.php?f=4&t=18181), access to the serial port on the Scooba 450 goes through a wifi dongle where you establish a console session through a TCP port. It is possible that you could hardwire a connection and bypass whatever the wifi adapter is doing, but I suspect the wifi adapter is using a proprietary (and not publicly documented) interface and protocol to communicate with the Scooba.

So, essentially just doe with the ESP32 exactly what you're already doing with your PC. Connect to the wireless adapter and use a serial console through it.

Upvotes: 0

Related Questions