Cảm biến

Kiểm tra cảm biến chuyển động

Kết hợp các chỉ số định hướng và chuyển động để kiểm tra độ nghiêng, xoay, phát hiện rung và khả năng phản hồi tổng thể của cảm biến.

Sự riêng tư: Các mẫu chuyển động và hướng được xử lý trong trang. Không có gì được tải lên hoặc lưu trữ.
Nhãn giao diện và tên công cụ được dịch. Hướng dẫn chi tiết và câu hỏi thường gặp trên trang này hiện được viết bằng tiếng Anh.

Giao diện thử nghiệm

Trình duyệt của bạn có thể yêu cầu quyền sau khi bạn nhấn Bắt đầu.
Sẵn sàng. Kích hoạt thử nghiệm và di chuyển thiết bị.
α—°
β—°
γ—°
Sự chuyển động—m/s²
Đã phát hiện rung lắc0
Mẫu0
Sự kiện đã nhận—
Phát hiện rung lắc sử dụng ngưỡng tăng tốc đơn giản. Tính sẵn có của sự kiện và các đơn vị khác nhau tùy theo nền tảng và nhiều máy tính để bàn không có cảm biến chuyển động nào cả.

Cách sử dụng công cụ này

  1. Click Enable motion test and allow motion access.
  2. Tilt the device and watch the orientation values and level indicator.
  3. Shake the device gently and see the movement counter increase.
  4. Click Stop to remove the listeners and end the test.

Quảng cáo

Giải thích kỹ thuật

The page listens for devicemotion and deviceorientation events. It derives a movement magnitude from accelerationIncludingGravity, counts sharp changes as shake events, and shows orientation angles where available.

Event availability and units differ by platform. iOS requires a permission request from a user gesture, and many desktops expose no motion sensors at all. Shake detection is a simple threshold and is not a calibrated measurement.

Khắc phục sự cố

No sensor events arrive

Use a mobile device over HTTPS. Check that motion access is allowed for the site.

Shake is not counted

Shake more firmly or lower the threshold if the page offers one. Gentle movement may stay below the threshold.

Orientation is missing but motion works

Some devices expose one event type but not the other. The status row shows what was received.

Values freeze

Background tabs and power saving can pause sensors. Keep the page visible and the screen on.

Câu hỏi thường gặp

Quảng cáo