The principle of operation and device of the fitness bracelet Xiaomi Mi Band

Modern wearables have become an integral part of the lives of millions of people who are watching their health. Xiaomi Mi Band is a leader in the market due to its affordable price and functionality. Many users wear the device daily, but few think about the complex processes hidden inside the compact case.

The tracker works by connecting hardware sensors and software algorithms, and understanding how a fitness bracelet collects and processes data will help you make the most of it, and it's not just a pedometer, it's a complex computing system.

In this article, we will discuss in detail the internals, the logic of counting activity and the features of synchronization with a smartphone, you will learn why the readings may differ and how to calibrate the device to improve accuracy.

Internal device and sensor base

The heart of any activity tracker is an optical sensor that continuously scans blood flow. Xiaomi Mi Band models use PPG technology, which is based on green light, and hemoglobin in the blood absorbs that light, and the sensor detects changes in blood volume in the capillaries with each heartbeat.

In addition to the optical sensor, the body has an accelerometer and a gyroscope, which are the components that track movement in space and determine activity, and it's the bundle of these sensors that allows the device to distinguish walking from running, and also recognize sleep phases.

The microcontroller takes over the entire periphery with a low-power microcontroller, which processes raw sensor data in real time, filtering noise and motion artifacts, and by miniaturizing the components, engineers have managed to fit a full-fledged lab into a waterproof enclosure.

  • 🟒 Optical heartbeat sensor with multiple diodes for different lighting conditions
  • πŸ”΅ Three-axis accelerometer for tracking movements
  • 🟑 Vibromotor for notifications and alarm clock
  • πŸ”΄ Bluetooth Low-Power Module (BLE) link

⚠️ Attention: Optical sensors can give you errors when tattoos on the wrist or straps are too loose. For maximum accuracy, wear the bracelet tightly, but not squeezing the vein.

Algorithms for step counting and activity

A simple hand swing doesn't have to count as distance traveled, and here's where sophisticated machine learning algorithms come into play. The accelerometer records acceleration, and the software analyzes the amplitude and frequency of the oscillations. The system compares the resulting pattern of motion with human walking reference models.

The algorithms may differ from Mi Band to model, as Xiaomi is constantly updating the firmware. If you walk slowly or push a wheelchair, the tracker may not count a portion of the steps due to insufficient wave amplitude, but when running, the sensors become more sensitive.

Modern firmware versions can automatically determine the type of load, running, cycling or an elliptical trainer create unique vibration patterns that the processor successfully classifies, which allows you to automatically start the desired training mode without manual intervention of the user.

πŸ“Š How accurately does your bracelet count your steps?
It's consistent with reality.
Lie big way
Lies down the line
I don't think so.

It's important to understand that calorie counting is always a rough estimate, and the device uses your anthropometric data (weight, height, age) that you put in the app and combines it with your heart rate, and the more accurate you put those parameters in your profile, the more accurate your energy consumption will be.

Sleep monitoring and accuracy

Nighttime is very different from daytime activity tracking, and when the accelerometer is at rest, it goes into low-consumption mode, only recording large body movements, and the main source of data is the pulse sensor, which starts to take readings at different intervals.

The algorithm analyzes heart rate variability (HRV) and overall contraction rate. During deep sleep, the pulse stabilizes and slows, whereas in REM sleep, it becomes more chaotic. These biometric markers are used to plot the sleep phases.

Modern Xiaomi Mi Band models also take into account daytime naps and even short rest (nap). However, it is worth remembering that if you lie still and read a book, the tracker may misinterpret this as a dream. False positives are a common problem of optical sensors in statics.

  • πŸŒ™ Deep sleep: complete muscle relaxation, recovery of the body
  • 🌀️ Light sleep: transition phase, the person wakes up easily
  • ⚑ REM-Phase: Dreaming, brain activity, preparation for awakening
  • β˜€οΈ Waking Up: Periods of Night Wake Up You May Have Forgotten
Why doesn't the bracelet see a day's sleep?
The algorithm often ignores a day's rest if it lasts less than 20 minutes, considering it just a rest period. To fix daytime sleep, it's better to manually start a workout regimen or make sure you lie in the dark and still.

To improve statistics, it is recommended to wear a bracelet higher on the wrist at night, which will reduce the number of false positives from accidental touches with a blanket and ensure a tighter contact of the sensor with the skin.

Synchronization and data transfer via Bluetooth

Communication between the wristband and smartphone is done via Bluetooth Low Energy (BLE) protocol, which is designed specifically for self-powered devices, allowing small packets of data to be transmitted with minimal energy consumption.

Mi Band fitness trackers store information in internal memory throughout the day, synchronize either at the user's request (when you open the application), or automatically when you have a connection, and when you synchronize, you exchange service packets and download the accumulated statistics.

The distance of the confident connection is usually up to 10 meters without obstacles. If you step further, the bracelet will begin to vibrate (the function of "finding the phone" or notifications about the disconnection of communication). It is important that the Mi Fitness or Zepp Life application has permission to work in the background.

⚠️ Attention: Aggressive energy savings in Android smartphones often kill the application's background process.This leads to loss of pulse data and notifications.

πŸ’‘

If the bracelet is constantly losing touch, try in the Bluetooth settings of the smartphone to select "Forget the device", and then re-make pairing through the application, not through the system menu.

Set up notifications and vibrations

One of the key features is displaying notifications from a smartphone. When a message arrives on the phone, the operating system sends a packet of data to the Bluetooth module of the bracelet. The device vibrates and displays text on the screen.

Different types of content are supported: calls, SMS, messaging from messengers (WhatsApp, Telegram) and system notifications. However, you should consider the length limits of text, usually only the first 20-30 characters or the cropped version of the message are displayed.

The notifications need to be given broad permissions to function properly, including access to notification history and contacts (to select callers’ names), without which the tracker will only show the phone number or generic icon of the application.

  • πŸ“ž Incoming calls: display of name and number, the ability to reset the call
  • πŸ’¬ Messages: text, sender name, application icon
  • πŸ“… Calendar: Reminders of meetings and events
  • πŸ”‹ System: Low charge or pairing race notification

You can adjust the vibration intensity to the menu of the device, and you can have different scenarios, like a quiet vibration for meetings or a high vibration for the gym, and you can adjust the vibration to reach the target in steps or pulse.

Measurement accuracy and calibration

No consumer gadget has medical precision, and the Xiaomi Mi Band is no exception, and the measurement error depends on a variety of factors: density of fit, skin color, ambient temperature and individual characteristics of the body.

To improve the accuracy of distance calculation when running without GPS (in early models or when the phone is turned off), it is recommended to calibrate: walk or run a known distance (for example, 400 meters in the stadium) at a normal pace.

For models with built-in GPS (Mi Band 6 NFC, 7 Pro, 8 Pro), the accuracy of the track depends on the quality of satellite reception. In dense urban areas or in the forest, the signal may be lost, and the track "cuts corners." In such cases, it is better to bring a smartphone that uses A-GPS for a quick start.

β˜‘οΈ Verification of data accuracy

Done: 0 / 4

Regular firmware updates are another way to improve accuracy, as Xiaomi engineers are constantly refining the algorithms for processing signals from sensors, fixing bugs from previous versions.

Energy consumption and autonomy

The secret to the Mi Band's long run is to use AMOLED (newer models) or PMOLED (older ones) screens with low resolution and efficient processors, and the main energy consumption is when you turn on the screen and transmit data over Bluetooth.

The Always On Display feature reduces battery life by 3-4 times. If you're in a critical position for autonomy, you'd better use a wrist lift to activate the screen, a trade-off between convenience and non-charging time.

The pulse rate also affects the battery: if you set the interval to 1 minute, the charge will go away faster than if you measure every 10 minutes or manually. For most users, the optimal interval is 10-30 minutes or measurement only during training.

FunctionImpact on the batteryRecommendation
Pulse monitoringHigh.Interval 10-30 min
NotificationsAverage.Only important applications.
Raising the wristAverage.Turn on, sensitivity average
Always On DisplayCriticalTurn it off for savings

πŸ’‘

The optimal balance between functionality and autonomy is achieved by turning off Always On Display and setting a pulse interval of 10 minutes.

Frequently Asked Questions (FAQ)

Why doesn’t the bracelet count the steps when I’m walking with my phone in my hand?
If the phone is in your hand and it's not moving rhythmically, the phone's accelerometer may not count the steps, but the bracelet on your hand should see them. If it doesn't count the bracelet, maybe the pitch is too short or the wave amplitude is minimal. Try calibrating the stride length in the app.
Can I swim in the Mi Band and it won’t hurt the device?
Most modern Xiaomi Mi Band models are marked 5ATM, which means protection up to 50 meters deep. Swimming in the pool or shower is safe. However, it is not recommended to dive from a great height or take a hot bath / sauna, as steam penetrates the inside of the case.
How to reset the bracelet to factory settings?
To reset completely, go to the bracelet menu, find System or Settings, then select Unleash or Reset. You can also do this through the app by removing the device from the list and selecting Reset.
Why don’t you send messages from WhatsApp or Telegram?
Check if the tick is turned on in the notification settings of the bracelet itself (via the Mi Fitness/Zepp app). Also make sure that notifications come to the locked screen of the phone - if the phone is unlocked, the bracelet may not duplicate the message.
Does the bracelet lie when measuring pressure?
Important: the standard Mi Band models don't know how to measure blood pressure; they only measure heart rate and blood oxygen saturation (SpO2). If the app shows pressure, it's algorithmically calculated based on heart rate and is extremely inaccurate, and you can't use it for medical purposes.