How to Calibrate Xiaomi Robot Vacuum Cleaner

Modern Xiaomi Mi Robot Vacuum models and their modifications from sub-brands like Roborock or Dreame are complex navigation systems that require fine-tuning sensors to work efficiently. Owners often face a situation where the device starts to randomly rush around the room, can not find a base or leaves untidy stripes on the floor. These are clear signs that the internal map of the device has become out of sync with the real state of things, and user intervention is required.

The process of restoring normal operation does not always require contacting the service center, in most cases, it is enough to perform a software reset or start a special mode of calibrating the gyroscope and accelerometer, and it is important to understand the difference between a simple reboot, which only updates the system, and deep calibration of the sensors, which retrains the robot to navigate in space.

In this article, we will discuss all the available customization methods, from simple actions in the Mi Home app to physical manipulation of the device, you will learn how to properly prepare the room, what commands to type into the console (for advanced users), and how to avoid common errors leading to breakage of the navigation module.

Diagnosis: When calibration is needed

Before you start to act, you need to clearly identify the problem. Not every strange behavior of the robot requires a complex reconfiguration. Often it is enough to simply clean the sensors or restart the device. However, there are specific symptoms that indicate a malfunction in the work. IMU-module (inertial measuring unit).

One of the main features is what's called a "drunk" motion, where the robot can try to drive through a wall, persistently ram the leg of a chair, or turn around in place for no apparent reason, which suggests that the gyro is transmitting incorrect tilt data, and the system builds a map based on false coordinates.

⚠️ Warning: If the robot makes strange noises when the wheels are moving or squeaks when trying to turn, first check the mechanical part. Calibration sensors will not help if the bearing is clogged or the motor-wheel is worn out.

Also a wake-up call is the constant loss of base, and even if the charging station is standing still and nothing is bothering it, the device may claim that it can't find it while circling around, often after moving the robot to another room manually while working, or after updating the firmware that could have knocked down the calibration factors.

Another symptom is that you build a double or triple map of your apartment, instead of creating a single plan, the robot creates several isolated islets or duplicates corridors, and in these cases, the LDS navigation system works properly, but the path data is distorted by the accelerometer data.

πŸ“Š What problem are you facing?
The robot is spinning around.
Can't find the base.
Builds a curved map
It's working fine.
Another mistake.

Preparation for the calibration procedure

The success of the adjustment depends on the conditions in which it is performed: you can not run the calibration on a carpet with a high pile or in a cluttered room. The ideal surface is a hard, flat floor (laminate, tiles, linoleum) with minimal obstacles.

The first step should always be to thoroughly clean the sensors. Use a dry microfiber or cotton swab to wipe the windows of the drop sensors (located around the perimeter of the bottom), the laser rangefinder (rotating "hat" on top) and the collision sensor. Dust on the lenses is the most common cause of navigation errors, which users mistaken for a gyroscope failure.

  • 🧹 Clean the main brush and side blizzard of wound hair and threads, as weight imbalance affects accelerometer readings.
  • πŸ”‹ Make sure the battery level is at least 60% so that the device does not go into charge in the middle of the calibration process.
  • πŸ“‘ Check the stability of the Wi-Fi connection, as some commands can be transmitted over a cloud server.

It is also recommended to remove and wipe the contact pads of the charger, if the robot cannot properly stand on the base after the procedure is completed, all work will go to waste, make sure that there is free space around the station at least 1.5 meters wide and 0.5 meters on the sides.

πŸ’‘

Before you start any card manipulations, back it up in the Mi Home app if such a feature is available for your model, or just take a screenshot of the saved card.

Hardware reset and system reboot

The simplest and often most effective method is a full reboot cycle. Many users simply turn off the robot with a button, but a deeper action is required to reset the navigation cache. Most Xiaomi and Roborock models require two buttons on the top panel (usually Home and Turn on) to be pressed simultaneously for 3-5 seconds.

The device will sound and start rebooting the language bar, which resets the temporary errors in the RAM, and once turned on, the robot can stand still for a while, "thinking" about its position, which is the normal system response to the reset.

If a simple reboot doesn't work, you can try to force reset your Wi-Fi settings. Press the button combination (often Home + Local Cleanup) to the network reset audible signal. Then the robot loses communication with the router. Connect it again through the application. Sometimes reconnecting to the network causes the device to re-query current map data from the server, which can eliminate desynchronization.

Menu β†’ Settings β†’ About the device β†’ Reset Wi-Fi (or physical button)

However, in some cases, especially after changing the router or password, it helps the robot to β€œrefresh” its network settings and correctly transmit telemetry.

Calibration through the engineering menu and application

For models that support voice control or firmware versions, there is a hidden engineering menu, which often requires five clicks of certain buttons or voice commands if the voice assistant is enabled, but the most versatile way is to use the functionality of the Mi Home or Roborock application.

In the device settings, find the "Maps settings" or "Laboratory" section (depending on the firmware version), there may be an option "Reset the map" or "Recreate the map." This action causes the robot to forget the current geometry of the room and start building a new one from scratch. This is an extreme measure, but it effectively solves problems with "curve" walls.

Action.The resultRisk of data loss
Reboot.Resetting temporary errorsNo.
Wi-Fi resetUpdating the network connectionNo.
Resetting the cardDeletion of the current mapHigh (must be rebuilt)
Engineering calibrationSetting up the gyroscopeMedium (requires a flat surface)

Some advanced users use third-party tools, such as Valetudo or SSH access, for manual calibration. In the terminal, you can enter commands to reset the accelerometer parameters. However, this requires programming skills and can lead to a loss of warranty.

⚠️ Note: Use of third-party software and access to SSH If you are not sure of your actions, limit yourself to the functions of the official application.

How do you get into debugging mode?
On some Xiaomi models (e.g. V1, S5), you can enter debugging mode by quickly pressing the Home button 5 times. The robot will say "Entering debug mode." In this mode, you can run a test of engines and sensors, but be careful: the robot can start moving chaoticly.

Physical calibration and motion tests

If software methods fail, you may need to physically calibrate the wheels. Turn the robot over (switching it off beforehand) and manually spin the main wheels. They should rotate freely, without jamming. Then run the engine test through the app (if available), or simply turn on the cleaning mode by lifting the device above the floor (don't let the wheels spin in the air for a long time, this is harmful to the motors).

There's a method of "calibrating the compass" by rotating. Put the robot on the floor, turn it on and let it stand for 1-2 minutes without moving, while it can make quiet motor sounds β€” this is adjusting the gyroscope in statics. Then start a local cleaning around the base. The robot has to make a few circles spiral.

  • πŸ”„ If the robot draws a smooth spiral, expanding from the center - the gyroscope is calibrated correctly.
  • πŸŒ€ If the spiral goes to the side or turns into an oval, a repetition of the procedure on a smoother surface is required.
  • πŸ›‘ If the robot hits an obstacle immediately, the problem may be in the collision sensor (bumper).

Check the wheel drive sensors, too, which are inside the wheel modules, and if there's dust or wool in there, the robot might think it's 1 meter away, but it's actually standing still.

β˜‘οΈ Checklist of physical check

Done: 0 / 5

Eliminating map construction errors

When the robot is working, but the map is not correct, you can use the editing functions in the application. In the "Map" section, select "Edit." Here you can combine disparate rooms, divide too large areas or rename rooms. This does not calibrate the sensors, but helps the navigation system better understand the structure of the housing.

Sometimes it helps to create virtual walls or no-go zones around problem areas, for example, if the robot constantly loses orientation near a black carpet (which the fall sensors may perceive as missing), install a virtual barrier there, which will force the algorithms to bypass the difficult area using other landmarks.

If the map floats (the objects on the map are shifting relative to the real position), try updating the robot's firmware. Manufacturers regularly release patches that improve SLAM algorithms (simultaneous localization and map building). Go to Settings β†’ About device β†’ Check Updates.

πŸ’‘

Regular firmware updates are the best way to get improved navigation algorithms and fix bugs that cause map errors.

Frequent Questions and Answers (FAQ)

Can a robot be calibrated without a phone?
Full gyro calibration and map reset require interaction with the Mi Home app. Without a phone, you can only perform a basic button reset or Wi-Fi reset, but this rarely solves the navigation problem.
Why did the robot get worse after calibration?
Perhaps the calibration took place on an uneven surface, and now the gyroscope is offset. Try to repeat the procedure on a perfectly flat floor (for example, in the bathroom or in the kitchen with tiles), removing all the carpets.
How often should you calibrate?
Under normal conditions, a robot vacuum cleaner doesn't require regular calibration, and if you have to do it more than once every six months, it's worth checking the technical condition of the device: battery wear, sensor contamination, or mechanical damage to the wheels.
Is the card reset when the battery is replaced?
In modern Xiaomi and Roborock models, memory is non-volatile; replacing the battery will not lead to loss of card or settings, but if you completely discharge the device and leave it for a long time, reset is possible.
What if the robot writes a sensor error after calibration?
A sensor error (often an Error 4 or similar) indicates a physical malfunction or severe contamination of the LDS laser rangefinder. Check if the "turret" at the top rotates freely. If it jams, software calibration will not help - you will need to clean or replace the module.