传感器

运动传感器测试

结合方向和运动读数来检查倾斜、旋转、震动检测和整体传感器响应能力。

隐私: 运动和方向样本在页面中进行处理。没有上传或存储任何内容。
界面标签和工具名称已翻译。此页面上的详细指南和常见问题解答目前以英文编写。

测试接口

按“开始”后,您的浏览器可能会请求许可。
准备好。启用测试并移动设备。
α—°
β—°
γ—°
移动—m/s²
检测到震动0
样品0
收到的事件—
震动检测使用简单的加速度阈值。事件可用性和单位因平台而异,许多桌面根本不暴露运动传感器。

如何使用这个工具

  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.

广告

技术说明

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.

故障排除

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.

常见问题

广告