Laser Radar (LiDAR) in Xiaomi devices β from Mi Robot Vacuum robot vacuum cleaners to smartphones 3D-But users often face a problem: the device suddenly stops βseeingβ obstacles, emits an error βradar detection time exceededβ or ignores objects in the scanning area. What is the cause of such failures, and how to eliminate them without contacting the service center?
In this article, we will discuss the technical aspects of LiDAR sensors, typical errors (including code). error_lidar_timeout In logs, we'll also provide step-by-step diagnostic and repair instructions, and we'll focus on the impact of external factors on radar response times, a parameter that even experienced users often overlook. If your Xiaomi MiJia Laser Radar or built-in sensor in the robot vacuum cleaner started to βglueβ, read more.
How does laser radar work in Xiaomi devices
Xiaomi's LiDAR (Light Detection and Ranging) technology is based on pulsed laser scanning, which emits thousands of pulses of light per second and then analyzes the time they return after they bounce off objects. 3D-mapping of the environment with error to Β±2cm.
In robot vacuum cleaners (e.g. Xiaomi Mi Robot Vacuum-Mop 2 Pro), LiDAR is used to:
- π Mapping the room β creating a virtual scheme of the room taking into account furniture and walls.
- π« Obstacle detection β preventing collisions with chair legs or toys.
- π Route optimization β choosing the most effective cleaning path.
In smartphones like the Xiaomi Mi 10 Pro with ToF sensors, laser radar is used to improve camera focus and create augmented reality effects, but regardless of the device, the detection time of objects depends on three key factors:
- Scan frequency (measured in kHz).
- Power of the laser emitter (affects the detection range).
- Data processing algorithms (depending on the firmware version).
Causes of the βRadar Detection Timeβ Error
An error message associated with exceeding detection time usually appears when the sensor does not have time to process data within the time interval set by the manufacturer (usually 50β200 ms).
| Reason. | Manifestation | Devices affected by failure |
|---|---|---|
| LiDAR lens contamination | The device βblindsβ in certain areas, the error appears periodically | Xiaomi Robot Vacuum Cleaners, Smart Lamps with Radar |
| Sunshine interference | Failures during the day or in bright light, at night works normally | All devices with an open LiDAR sensor |
| Laser diode malfunction | Persistent error, radar does not detect even large objects | Old models of robot vacuum cleaners (release until 2020) |
| Firmware failure | The error appears after updating the software or resetting the settings | All devices with LiDAR software management |
Especially often the problem occurs in the robot vacuum cleaners Xiaomi when cleaning in the kitchen or in the bathroom, where high levels of humidity and fat fumes are deposited on the sensor lens. AR-sun-weather applications.
β οΈ Note: If the error occurred after the fall of the device or mechanical impact, there is a high probability of rupture of the contacts of the LiDAR board. In this case, disassembly and soldering will be required - it is not recommended to repair yourself without experience with microelectronics.
Fault diagnosis: Check the radar response time
Before you start repairing, you need to confirm that the problem is really related to the detection time, and not to other components of the device.
Visually inspect the radar lens for dirt or scratches|
Run the test scan in debugging mode (via the Mi Home app)|
Check the error log for code. error_lidar_timeout|
Compare response time with reference values (see table below)-->
To check the response time in Xiaomi robot vacuum cleaners, use the service menu available through the Mi Home app:
- Open Mi Home and go to your robotβs settings.
- Select Additional Functions β Diagnostics β LiDAR test.
- Run the scan and wait for the report to be generated.
In the report, pay attention to the Lidar Response Time parameter, which is the normal values for different models:
| Model of the device | Normal response time (MS) | Critical value (MS) |
|---|---|---|
| Xiaomi Mi Robot Vacuum-Mop 2 Pro | 30β80 | >150 |
| Xiaomi Mi Robot Vacuum-Mop P | 40β100 | >200 |
| Xiaomi MiJia Laser Radar (Separate Module) | 20β60 | >120 |
If the response time exceeds the critical value, this indicates a hardware malfunction (pollution, damage to the diode) or a software failure (flashing is required).
π‘
For accurate diagnosis of LiDAR smartphones (such as Xiaomi Mi 10 Pro), use the ARCore Diagnostics app from Google Play. AR-mode.
Cleaning and calibration of the LiDAR sensor: step-by-step instructions
In 80% of cases, the radar detection time error is eliminated after the radar lens is cleaned.
- π§΄ Isopropyl alcohol (concentration 90% or higher).
- π§» Microfibre wipe (without pile).
- π Loop (to inspect small scratches).
Sequence of action:
- Turn off the device and remove the battery (if possible).
- Moisten the napkin with alcohol and gently wipe the LiDAR lens with rotational movements (don't press!).
- Allow the alcohol to completely evaporate (5-10 minutes).
- Turn on the device and start the test scan.
If the error persists after cleaning, calibrate the radar:
- Place the robot vacuum cleaner on a flat surface at a distance of 1-1.5 m from the wall.
- In the Mi Home app, go to Settings β Sizing β LiDAR dump.
- Wait until the process is completed (up to 5 minutes).
β οΈ Warning: Do not use water, soap or aggressive solvents (acetone, gasoline) to clean the lens, which will damage the anti-reflective coating of the lens, leading to permanent failures even after cleaning.
Programmatic methods of error elimination
If the hardware diagnostics did not reveal problems, the cause of the failure may be firmware or software conflict.
1. Reset LiDAR settings
In Xiaomi robot vacuum cleaners, the radar reset is performed through a hidden menu:
Press and hold the Home + Spot Cleaning buttons for 10 seconds until the beep sounds.After resetting, the device will automatically restart and recalibrate the sensor.
2. Firmware update
Older software often causes errors. error_lidar_timeout. To update the firmware:
- Open Mi Home and check for updates in the device section.
- If the update is available, connect the robot to the charging station and wait for the process to be completed.
- For forced flashing, download the latest version of the software from the official Xiaomi repository and install it through Settings. β Update β Local file.
3.Rollback to factory firmware
If the error occurred after the update, go back to the previous version of the software.
- Download the archive with the firmware version (for example, vacuum-mop_2_pro_3.5.8_0123).
- Unpack it and place the file. app.bin microSD card.
- Insert the card into the robot and hold the power button for 15 seconds until the recovery process begins.
List of stable firmware versions for Xiaomi robot vacuum cleaners
Hardware repair: when without disassembly can not do
If neither cleaning nor software methods helped, the problem lies in the hardware.
1. Replacement of laser diode
The laser diode is the most vulnerable element in LiDAR, and signs of its failure are:
- π΄ Radar does not detect objects closer than 50 cm.
- π΄ There's a bug in the logs. laser_emitter_failure.
- π΄ When visually inspected, the diode does not glow (checked in a dark room).
To replace the diode will require:
- Supper. SAC305 (melting point 217Β°C).
- Soldering station with a thin sting (0.2 mm).
- Spare diode (e.g, LD-650-5mW pre-model 2021 year-end).
2. Control board repair
The LiDAR board may fail due to:
- π‘οΈ Overheating (often occurs during prolonged operation in maximum power mode).
- β‘ Short circuit (for example, after getting moisture).
- π Contact oxidation (manifested as periodic failures).
For repairs:
- Remove the device cover and remove the LiDAR board.
- Check the multimeter supply chain (5V and 3.3V).
- If you find oxidized tracks, clean them with alcohol and solder.
β οΈ Note: When replacing a laser diode, don't look directly at its beam - even low-power radiation (5 mW) can damage the retina of the eye if exposed for long periods. OD 4+.
π‘
If you are unsure of your soldering skills, contact the service center.The cost of replacing a laser diode in official Xiaomi centers is ~1500-2500 rubles, which is cheaper than buying a new device.
LiDAR Failure Prevention: How to Prolong Radar Life
To avoid errors related to detection time, follow these guidelines:
- π§Ή Cleaning regularly: Clean the radar lens once every 2 weeks (more often if the device is operating in dusty spaces).
- π‘οΈ Temperature Control: Do not use a robot vacuum cleaner in temperatures above 35Β°C β This reduces the life of the laser diode.
- π Stable power: Avoid sudden power surges (use network filters).
- π± Updates: Install firmware only through the official Mi Home app.
For devices with open LiDAR (such as Xiaomi MiJia smart bulbs), avoid placing them:
- π Under direct sunlight.
- π¦ In rooms with high humidity (bathroom, swimming pools).
- πͺ Near reflective surfaces (mirrors, glass).
Compliance with these rules will allow to increase the service life of the radar up to 5-7 years (against 2-3 years in intensive operation without maintenance).