Router in the robot vacuum cleaner Xiaomi Mi: the principle of operation, settings and problem solving

Xiaomi Mi vacuum cleaners are no longer just running brooms. Modern models like the Mi Robot Vacuum-Mop 2 Pro, Mi Robot Vacuum-Mop 2 Lite or Mi Robot Vacuum-Mop P are equipped with sophisticated navigation systems that allow them not only to avoid obstacles, but also to build accurate maps of rooms, remember routes and optimize cleaning. At the center of this system is a router, a key component that many users do not even know about.

The term "router" in the context of robot vacuum cleaners is often confusing. Some people think it's a Wi-Fi router, others think it's a separate module. It's actually a hardware and software complex that is responsible for planning the path, analyzing the space and making decisions during cleaning. Without it, the robot would have become a chaotic device, like the first models of 10 years ago. But how does it work? Why does it sometimes "glut"? And can we influence it?

In this article, we won’t talk about basic features like turning on or connecting to an app β€” it’s about the navigation brain. If you notice that your Xiaomi Mi has started to move on strange paths, skips zones or gets stuck in one place all the time, the problem may be in the router, which means that understanding how it works will help not only diagnose problems, but also improve the quality of cleaning.

What is a router in a robot vacuum cleaner and how it is arranged

In Xiaomi’s technical documentation, the term β€œrouter” (or pathfinder) refers to a set of algorithms and sensors that are responsible for:

  • πŸ—ΊοΈ Building a room map (using a laser rangefinder) LDS, camera-size).
  • 🧠 Route planning – choosing the optimal path to cover the entire area.
  • πŸ”„ Dynamic adjustment when new obstacles appear (for example, if a person enters a room during cleaning).
  • πŸ“ Localization – determining the current position of the robot on the map.

Physically, a router is not a separate part, but a software module running on the main processor of the robot (usually a chip from Qualcomm or MediaTek in mid-range / premium models).

  1. Laser rangefinder (LDS) β€” scans room 360Β° several times.
  2. Optical sensors recognize the edges of steps, carpets, furniture.
  3. Gyroscope and accelerometer – track turns and accelerations.
  4. Cameras (in models with visual navigation, for example, Mi Robot Vacuum-Mop 2 Ultra).

Interestingly, in budget models (such as the Mi Robot Vacuum-Mop 2 Lite), the router is simplified: it does not build full-fledged maps, but uses an algorithm for random wandering with adjustment (called Bump-and-Run), such robots are less oriented, but cheaper to manufacture.

An important nuance: in Xiaomi robots, the router is closely integrated with firmware, which means that its operation depends on the version of the software - for example, in the old Mi Home firmware (before 2022), the scheduling algorithms were less efficient, and the robots could "forget" parts of the map.

How a router builds a room map: a step-by-step process

When you first turn on the Xiaomi Mi robot vacuum cleaner and start cleaning, the following happens:

1. Scan initialization.

The robot begins to rotate slowly in place, simultaneously scanning the room with a laser (or camera). LDS They're going to the router every 0.1 seconds, and at that point, it's important that there's no moving objects in the room, or the map will be distorted.

2. Creation of a raw map.

The router converts the point cloud from LDS in a two-dimensional scheme, where:

  • 🟦 Blue Zones: Free Space.
  • πŸŸ₯ Red Zones – Obstacles (Furniture, Walls).
  • βšͺ White areas are undefined areas (for example, under the sofa, where the laser does not reach).

3. Optimization and preservation.

Algorithms smooth out corners, remove "noise" (false obstacles) and store the map in the robot's memory. Multicard-enabled models (such as the Mi Robot Vacuum-Mop 2 Pro) can save up to 3-5 floors.

⚠️ Note: If the Xiaomi Mi robot after updating the firmware began to "lose" the saved cards, the problem may be resetting the settings of the router. In this case, you will have to recreate the map again - the old data will not be restored.

πŸ“Š How often does your robot vacuum cleaner Xiaomi β€œlose” the map of the room?
Never.
Once a few months
After each update
Constantly.
Model robot.Type of navigationMax. Number of cards.Precision of construction (cm)
Mi Robot Vacuum-Mop 2 ProLDS + gyroscope5Β±3
Mi Robot Vacuum-Mop 2 UltraLDS + camera + ToF10Β±1
Mi Robot Vacuum-Mop 2 LiteGyroscope + collision sensors1Β±10
Mi Robot Vacuum-Mop PLDS + gyroscope3Β±2

Why your router might not work properly: The main reasons

If the Xiaomi Mi robot vacuum cleaner starts to behave strangely β€” for example, β€œdrawing” chaotic lines instead of neat stripes, skipping zones or constantly bumping into furniture β€” the router may be to blame.

1. Sensor contamination.

Laser rangefinder (LDS) And the optical sensors eventually get dusty:

  • πŸŒ€ Map distortion (the robot sees obstacles where there are none).
  • 🐒 Slowing down scanning (increased cleaning time).
  • 🚫 omitting zones (the robot does not notice part of the room).

2. Outdated firmware.

In older versions of the software (before) 2023 The router's algorithms were less sophisticated, for example, in firmware. 3.5.8_004024 For Mi Robot Vacuum-Mop 2 Pro was a bug that caused the robot to β€œforget” the saved cards after rebooting.

3. conflict with Wi-Fi or Xiaomi servers.

The router relies in part on cloud services to process complex maps, and if the Internet connection is unstable, the robot can:

  • πŸ”„ Reload the card at each turn on.
  • πŸ“΅ Lose contact with the Mi Home app during cleaning.

Mechanical damage.

Blows or falls can knock down the calibration of the gyroscope, which will lead to a β€œdrunken” ride of the robot along curved paths.

πŸ’‘

If the robot started to β€œloop” after falling down the stairs, try resetting the gyroscope calibration through the engineering menu (see β€œReset router settings” section).

How to check the router: diagnostics in the Mi Home application

To see if the router is working properly, you don't have to disassemble the robot. You just have to look at the Mi Home app (or Xiaomi Home in the newer versions).

Step 1: View the map in real time.

  1. Open the app and select your robot.
  2. Click on the Map tab (or Map in English version).
  3. Start cleaning and observe the trajectory.

The ideal map should:

  • βœ… Precisely display the contours of furniture and walls.
  • βœ… Update in real time (without delay).
  • βœ… Do not contain a "hole" in the coating (if the robot has already driven through the area).

Step 2. Check the error logs.

Go to Settings. β†’ If there's a log, like Navigation Error: Code 12 or Loss of Localization, it's a signal of a router problem.

Step 3, sensor test.

Some models (such as the Mi Robot Vacuum-Mop 2 Ultra) have a hidden sensor test to run:

  1. Press and hold the Home and Spot buttons on the robot for 5 seconds.
  2. The robot will say "Test mode" and start testing. LDS, gyroscope and cameras.
  3. The results will be displayed in the application log.

Check the map for distortions.|Run the sensor test (if supported)|Update the firmware to the latest version|Clean it up. LDS dust-brush|Reboot the robot (hold the power button for 10 seconds)-->

Resetting your router settings: when to do it and how to do it

If the diagnosis shows problems, the next step is to reset the router settings, which will help in cases where:

  • πŸ—ΊοΈ Robot "forgot" saved maps.
  • πŸ”„ After the firmware update appeared "glitch" navigation.
  • πŸ€– Robot moves in spiral or chaotic way.

Method 1. Soft reset (without loss of cards).

  1. In the Mi Home app, go to the robot settings β†’ Additionally. β†’ Resetting navigation.
  2. Select Reset the current card (this will only delete the last session).
  3. Start cleaning again - the robot will rebuild the map.

Method 2: Complete reset (remove all cards).

  1. Press and hold the power button on the robot for 10 seconds until you hear the beep.
  2. In the app, select Settings β†’ Reset to factory.
  3. Attention! After that, you'll have to reconfigure the Wi-Fi and create maps.

Method 3: Calibration of the gyroscope (for models with LDS).

  1. Place the robot on a flat surface.
  2. Enter the engineering code: press sequentially Home β†’ Spot β†’ Home. β†’ Spot β†’ Home.
  3. The robot says "Gyro calibration" and it starts spinning.

What if the reset didn't help?
If the robot is still acting strange after the reset, the problem may be in the hardware: 1. LDS β€” Replacement required (cost) ~3 000–5 000 β‚½). 2. firmware failure - try to manually reflash the robot through Mi Home (under Software Update). 3. Power problems - check the battery (if the voltage is lower) 14.4V, The router may be unstable).

πŸ’‘

Before resetting, save screenshots of the cards in the application - this will help to restore the cleaning areas faster after rebooting.

How to improve the work of the router: practical tips

Even if the router is working properly, its effectiveness depends on external factors. Here are some ways to optimize navigation:

1. Optimize the space.

  • πŸͺ‘ Remove small objects from the floor (socks, wires, toys) – they knock down algorithms.
  • πŸͺŸ Close the curtains on the windows – direct sunlight interferes with work LDS.
  • πŸšͺ Close the doors to other rooms if you don’t want the robot to go in.

2. Set up cleaning areas in the application.

In Mi Home, you can manually divide the map into rooms and set priorities:

  1. Open the map and click Edit.
  2. Draw the boundaries of the rooms.
  3. Assign cleaning modes (for example, Carpet Vacuum Only, Vacuum Cleaner) + mop).

3. Update your firmware regularly. Xiaomi often releases patches for the router. 3.6.7_005012 For Mi Robot Vacuum-Mop 2 Pro fixed the bug with the β€œstick” of the robot in the corners.

4. Use virtual walls.

If the robot is constantly trying to climb under the sofa or in another uncomfortable place, put a virtual barrier:

  1. In the appendix, click Add β†’ Virtual wall.
  2. Draw a line on the map.
  3. Save it, the robot will bypass this area.

⚠️ Warning: Don’t put virtual walls too close to the base station – this can knock the robot’s return algorithms to charge.

Frequent router errors and how to fix them

Let’s look at the specific mistakes that may appear in Mi Home magazine and how to fix them:

Error codeDescriptionDecision
12Loss of localization (the robot doesn’t know where it is).Reboot the robot and start cleaning again. If it doesn't work, reset the map.
24Failure LDS (laser not scanning).Clean the glass. LDS If the error persists, it requires a replacement of the sensor.
36Gyroscope error (the robot is driving in a circle).Calibrate (see the "Resetting" section).
48Conflict of cards (robot mixes floors)Remove all the saved cards and recreate them.

If the log appears error 99, it's a critical failure of the router.

  1. Try to roll back the firmware to the previous version (via Mi Home). β†’ Settings β†’ Update of the PO β†’ Beta version).
  2. If it does not help, contact the service center (may need to flash the chip).

πŸ’‘

Error 24 (failure) LDS) You can temporarily bypass if you switch the robot to the mode without a map: in the application select Settings β†’ Cleaning mode β†’ But the cleaning quality will get worse.

FAQ: Answers to Frequent Questions About the Router in Xiaomi Mi Robots

πŸ€– Why the robot after updating the firmware became worse to build a map?
This is a typical problem when switching to new software versions. In some updates, Xiaomi changes the router algorithms, and the old cards become incompatible. Solution: Remove all the saved cards in the application. Start cleaning again, the robot will create a new map with the updated algorithms. If the cleaning quality still deteriorates, try rolling back to the previous version of the firmware (if this option is available in your region).
πŸ—ΊοΈ Can you transfer the map from one Xiaomi robot to another?
No, it's impossible. The cards are tied to a unique robot identifier (a chip) and are not compatible even between models of the same line. If you buy a new Xiaomi Mi, you have to create maps from scratch. Except that some models support cloud-based card backup (for example, Mi Robot Vacuum-Mop 2 Ultra), but in this case, you can only restore the card on the same robot after reset.
πŸ”„ The robot is constantly "lost" and can not return to base?
This problem is usually due to two reasons: localization failure β€” the robot has forgotten where the base is. Solution: manually put it on the dock and reboot it. Interference from other devices β€” if there are other vacuum cleaners or laser pointers nearby, they can shoot down the dock. LDS. Solution: Turn off all these devices while you clean them up. If the problem recurs, check if the base has moved. Xiaomi Mi robots remember the position with an inch accuracy.
πŸ“± The Mi Home app doesn't show a map?
Probable causes: πŸ“Ά No Internet connection (maps are stored in the cloud). πŸ”„ The robot didn’t complete the initial scan (you need to let it get to the end). πŸ“΅ Outdated version of the app (update Mi Home in the App) Store/Google Play). πŸ”§ The robot settings disabled Save Maps. Try reconnecting the robot to Wi-Fi or restarting the app.
πŸ› οΈ Can I repair the router myself if it breaks down?
Self-repair is only possible in two cases: Replacement LDS β€” If the sensor is contaminated or broken glass, it can be bought on AliExpress (~2 000 β‚½) And replace it with instructions (a soldering iron and electronics experience) Firmware -- if it's a software failure, you can run the robot through the computer. USB-C using the MiRobotTool utility (instructions are available on the forums) 4PDA). In all other cases (gyroscope failure, damage to the motherboard), it is better to contact the service center. The cost of repairs in official Xiaomi centers starts from 3,500 β‚½.