The principle of pedometer in the fitness bracelet Xiaomi Mi Band 5

Modern wearables have gone from being simple toys for geeks to being indispensable companions for millions of people who are watching their health. Xiaomi’s flagship Mi Band 5 has become a hit in the budget electronics market, offering users a wide range of functionality at an affordable price. One of the key features of this activity tracker is a built-in pedometer that automatically records your every move throughout the day. But have you ever wondered how a small plastic capsule with a screen manages to accurately determine the number of steps you’ve walked?

At the heart of the counting system is a complex combination of hardware sensors and software algorithms that work together 24 hours a day. Understanding how the pedometer works inside your device will help you not only to adjust the gadget correctly, but also to interpret your activity data more consciously. In this article, we will discuss the technical side of the issue, explain the role of the gyroscope and accelerometer, and give tips for improving the accuracy of measurements.

Many users mistakenly believe that the device just "feels" the shaking of the hand, but the reality is much more interesting and technological. Data processing algorithms can distinguish between normal gestures from full walking, ignoring false signals. Let's dive into the world of microelectronics and find out what happens inside the Mi Smart Band 5 as you take your first step in the morning.

Primary sensor: the role of the three-axis accelerometer

At the heart of the Xiaomi Mi Band 5’s activity tracking system is a microelectromechanical sensor known as a triaxial accelerometer. This miniature chip responds to the acceleration that occurs when your wrist is moving. Unlike older mechanical pedometers, which could have errors even when the body is tilted sharply, the modern accelerometer measures vector changes in speed in three planes: X, Y and Z.

Each hand movement generates a specific signal that is transmitted to the bracelet processor, and the sensor captures not only the fact of movement, but also its amplitude, frequency and character, and that's how the device can tell whether you're walking quietly, jogging or just actively waving your hands while standing still, and the accuracy of the readings depends on the sensitivity of the sensor and the quality of its calibration in the factory.

Technical details of the sensor
Inside the Mi Band 5, a low-power accelerometer is used, which is able to distinguish even microscopic changes in position in space, while consuming a minimum of battery power.

It's important to understand that the accelerometer doesn't see the ground, it doesn't know where the horizon is, it just registers overloads. If you hold the bracelet still in your hand and shake it at a certain frequency, the device can count these as steps, because the acceleration pattern will be similar to walking, but the built-in filters try to minimize these errors by analyzing the rhythm of the vibrations.

Mathematics of motion: algorithms for signal processing

The raw data from the accelerometer itself doesn't say much. It comes with a complex code that analyzes the incoming flow of information in real time. The machine learning algorithms embedded in the Mi Band 5 firmware compare the current pattern of movement with thousands of walking and running reference patterns. The system looks for characteristic acceleration peaks that correspond to a person's step.

The bracelet processor filters out "noise" -- random hand swings, finger taps, or vibrations from vehicles -- in order for the step to be counted, the movement must meet certain criteria for strength and duration. If you just pull your wrist often, but the amplitude of movement is too small or chaotic, the pedometer will ignore these signals, which avoids the "twisting" of the steps with normal gestures.

  • πŸ“Š Amplitude analysis: The system checks whether the acceleration was strong enough to be considered a full-fledged step.
  • ⏱️ Time intervals: The algorithm estimates the time between peaks of movement by cutting off fluctuations that are too fast or too slow.
  • πŸ”„ Frequency: Walking is a rhythmic process, and the pedometer is looking for a repetitive sequence of signals.

πŸ’‘

The accuracy of the pedometer depends not only on hardware, but also on the quality of software optimization of false positive filtering algorithms.

And the software also takes context into account. If you just got off the couch and walked, the system can be more rigorous in counting to make sure you've actually started moving. In exercise mode, when you manually started tracking, sensitivity can change, allowing you to record even short runs or steps on the spot.

Effects of the gyroscope and additional sensors

Although the accelerometer is the main character of the story, the Xiaomi Mi Band 5 is assisted by a gyroscope, which measures the angular speed of the device in space. Sharing data from the accelerometer and the gyroscope allows you to create a more complete picture of movement. The gyroscope helps determine the orientation of the hand in space, which is critical for (distinguishing) activity.

For example, when swimming or running on rough terrain, the nature of the hand movement changes. A gyroscope captures the turns of the wrist that accompany a stroke or overcoming an obstacle. The combination of these data allows a smart algorithm to more accurately classify the type of load. Without a gyroscope, the device could confuse running with jumping on the spot or actively cleaning the house.

πŸ’‘

For maximum accuracy, wear the bracelet tightly but without pressing your hand, about 1-2 cm from the wrist bone, which will ensure better vibration transfer from body to sensor.

Also worth mentioning is the optical pulse sensor, which doesn't count steps directly, but heart rate data is used to correct calorie expenditure and determine exercise intensity. If the accelerometer is recording movement and the pulse is at rest, the system may question activity, although the steps will still be recorded in the baseline mode.

Factors affecting the accuracy of the calculation

No device is perfect, and the Mi Band 5 is no exception. There are a number of factors that can distort real data. Understanding these nuances will help you avoid the frustration of discrepancies in numbers, most often due to unusual hand position or specific environmental conditions.

One common problem is the dead zone. If you carry heavy packages with both hands, your hand may not make the characteristic fly movements, in which case the accelerometer will not register enough acceleration, and the steps may not count, although you have traveled a considerable distance, a similar situation occurs when you push a cart in a supermarket or a baby stroller.

πŸ“Š Where do you most often wear the Mi Band 5?
On the wrist of the left hand
Right hand wrist.
On the ankle (leg)
In a pocket or bag

Another factor is vibration. Driving in a vehicle, working with a punch or even playing a musical instrument can generate footstep-like vibrations. Although algorithms try to ignore this, you can't completely eliminate the error. And the density of the fit also affects the bracelet: if the wristband is dangling on the arm, it extinguishes some of the impulses, and the steps can be lost.

⚠️ Warning: Wearing a bracelet on clothing (such as a jacket sleeve) instead of skin significantly reduces accuracy, as the fabric cushions the foot impacts and the accelerometer does not receive a clear signal.

Data Synchronization and the Role of Smartphone

It's important to distinguish where the initial step counting takes place. In the case of the Xiaomi Mi Band 5, all the basic work is done directly on the wristband, this is done to save power on the Bluetooth module and the smartphone battery. The wristband stores data in its internal memory and then transfers it to the Mi Fit (or Zepp Life) app when synchronized.

The smartphone acts as an aggregator and a think tank, and it builds graphs, compares data to previous days, and syncs information to the cloud. If you forget your phone at home, the pedometer will keep working and retaining all the data that will be available immediately after the devices are reconnected, and this autonomy is a key advantage of fitness trackers over smartphones.

ParameterHandling on a braceletSmartphone processing
Sensor data collectionYes (in real time)No.
Initial step countingYes.No (only acceptance of results)
SchedulingNo (base rings only)Yes (detailed statistics)
Storage of historyLimited (7-14 days)No Limits (in the cloud)

The app can also make its own adjustments if you manually add activity or use it. GPS-In this case, the distance data can be recalculated based on the coordinates, but the number of steps usually remains what the accelerometer counts.

Calibration and adjustment for maximum accuracy

Although the Xiaomi Mi Band 5 does not have manual pedometer calibration in the classical sense (such as setting the step length in old navigators), you can affect the accuracy of calculations through profile settings. The application must specify your height, weight and step length (if such an option is available or calculated automatically), this data is used to calculate the distance traveled and calories burned.

β˜‘οΈ Checking profile settings

Done: 0 / 4

To improve accuracy, it is recommended to periodically reset statistics or reboot the device if you notice β€œglitches” in the calculations. Sometimes a software failure can cause the step counter to β€œstick” or start counting backwards before rebooting. Also make sure that the firmware of the bracelet is updated to the latest version, since Xiaomi regularly releases patches that improve the algorithms of the sensors.

If you notice a significant difference between the steps on the wristband and the steps on your smartphone, it’s worth checking which device is more important in your health settings (Google Fit, Apple Health, or Samsung Health), usually prioritizing the device that recorded more activity or what was connected at the time of recording.

⚠️ Warning: Don't try to trick a pedometer by tying the bracelet to a pet or swing. Current algorithms can easily recognize the absence of a human walking rhythm and can flag such activity as a mistake or simply not count it.

Frequently Asked Questions (FAQ)

Why does Mi Band 5 count steps when I’m sitting and working with my hands?
This is because hand movements when you type or gesture can match the frequency and amplitude of walking. The algorithm is not perfect, and sometimes takes small repetitive movements for steps. Over time, when you synchronize and analyze long rest periods, the system can adjust the data, but you can't erase all the false steps instantly.
Does changing the hand affect the accuracy of the pedometer?
Theoretically, the dominant hand (right-handed) moves more, so the pedometer can show 5-10% more steps on it. However, modern algorithms average data or adapt to the user's movement style, the main thing is to wear the device on one hand constantly for correct statistics.
Are steps reset when the bracelet is discharged?
No, the steps are stored in the bracelet's internal nonvolatile memory. Even if the device is completely discharged and turned off, when charged and synchronized, all the accumulated steps will be transmitted to the application. However, if the bracelet is not synchronized for more than 14 days, the old data can be overwritten with new ones.
Can I use Mi Band 5 for professional sports?
For amateur fitness and daily activity monitoring Xiaomi Mi Band 5 But for professional training, where accuracy is important to step or meter, it's best to use specialized chest pulsemeters and a high-speed pulse. GPS-high-end trackers, as the error of optical and accelerometer sensors in bracelets can reach 5-10%.