MicTesting
Общее

Датчики телефона: гироскоп и акселерометр

Простое объяснение датчиков телефона: гироскоп, акселерометр, магнитометр. Что они делают и как их проверить.

Опубликовано June 7, 2025 Чтение 8 мин· MicTesting Team

Your phone contains a half-dozen sensors that quietly enable features you use every day: screen rotation, step counting, navigation, AR, gaming. This guide explains the main sensors, what they do, and how to test if yours are working.

What Sensors Does Your Phone Have?

A modern smartphone typically includes: accelerometer (linear motion), gyroscope (rotational motion), magnetometer (compass), proximity sensor (face detection on calls), ambient light sensor (auto-brightness), barometer (altitude), and fingerprint or face recognition.

Premium phones add additional sensors: LiDAR (iPhone Pro models), ultrasonic fingerprint (Samsung), and heart-rate sensors.

Gyroscope: What It Does and How to Test It

The gyroscope measures rotational velocity around three axes. It tells your phone how fast and in what direction you're rotating it. Combined with the accelerometer, this gives accurate orientation tracking.

Тест гироскопа
Проверьте гироскоп и ориентацию телефона
Попробовать

Работает в вашем браузере

Use cases: screen rotation, mobile gaming with motion controls (Mario Kart Tour, AR games), navigation, panoramic photography, and Google Cardboard / Meta Quest tracking.

Accelerometer: Motion Detection Explained

The accelerometer measures linear acceleration in three axes (X, Y, Z) in meters per second squared. At rest on a flat surface, gravity (~9.8 m/s²) shows on the axis pointing down.

Тест акселерометра
Проверьте акселерометр и встряхивание телефона
Попробовать

Работает в вашем браузере

Use cases: step counting (pedometer), screen rotation (combined with gyro), shake-to-undo, fall detection on smartwatches, car crash detection on iPhone 14+.

How Games Use Gyroscope (PUBG, Pokemon GO)

PUBG Mobile and Call of Duty Mobile use gyroscope for aim adjustment: tilt the phone to fine-tune your shot. Many competitive players combine thumb aim with gyro for faster, more accurate aiming than thumb alone.

Pokemon GO uses the gyroscope for AR mode: Pokemon appear to stay in place as you move your phone around them. Without working gyro, AR objects drift and slide.

Racing games (Asphalt, Real Racing) use gyro tilt for steering. The phone's tilt angle directly maps to steering wheel position.

Sensor Calibration: Does It Work?

Yes, calibration helps for gyroscope and magnetometer. On most phones, the Compass app includes a figure-8 calibration routine: moving the phone in a figure-8 pattern lets the magnetometer recalibrate against Earth's magnetic field.

For gyroscope drift, place the phone on a flat surface and use a calibration app to reset the zero position. Drift over time is normal; gross drift indicates hardware fault.

When a Sensor Is Broken vs Needs Calibration

Broken: values don't change at all when you move the phone, or change wildly without provocation. Calibration: small drift over time, slight inaccuracy in compass heading, AR objects that drift slowly.

Test with our tools above. If values respond to movement at all, the sensor is alive and calibration may help. If values are stuck or random, the sensor (or its connection) is faulty.

Sensor failures are usually unrepairable without replacing the whole phone: the sensors are tiny MEMS chips soldered to the main board.

Privacy and Sensor Access Permissions

iOS 13+ requires explicit permission for web sites to access motion sensors. Apps already have this permission baked into their initial install consent.

Sensor data can theoretically be used for fingerprinting or behavioral tracking. iOS and Android both restrict the frequency and precision of sensor data available to web pages to limit this.

For maximum privacy, deny sensor access to web sites. Our motion sensor tools won't work without it, but reading text articles like this one doesn't need sensors at all.

Поделиться статьёй:
Получайте больше таких руководств

Helpful troubleshooting guides and tool updates, twice a month.

Без спама. Отписка в любой момент. Присоединяйтесь к 50 000+ читателей.

Попробуйте эти инструменты

Тест гироскопа
Проверьте гироскоп и ориентацию телефона
Попробовать

Работает в вашем браузере

Тест акселерометра
Проверьте акселерометр и встряхивание телефона
Попробовать

Работает в вашем браузере

Назад к блогу