加速度计测试
读取实时加速度计值(包括重力),并检查运动和倾斜是否产生明显的变化。
测试接口
按“开始”后,您的浏览器可能会请求许可。如何使用这个工具
- Click Enable accelerometer and allow motion access if prompted.
- Hold the device still and note the gravity reading on each axis.
- Tilt and shake the device gently and watch the values respond.
- Click Stop when finished to release sensor access.
广告
技术说明
The tool uses the Generic Sensor API Accelerometer when available and falls back to DeviceMotionEvent.accelerationIncludingGravity. Values are in metres per second squared (m/s²). At rest, the total magnitude should be close to Earth gravity, about 9.81 m/s².
The browser may remove gravity or apply sensor fusion differently. A phone at rest on a table can still show small fluctuations. This page does not calibrate the sensor and cannot detect a hardware fault with certainty.
故障排除
No values appear
Desktop browsers often have no accelerometer. Use a mobile device and HTTPS.
Values are all zero
Permission may be blocked or the browser may not expose motion events. Check site settings and try another browser.
Magnitude is not close to 9.81 at rest
Some devices report in different units or subtract gravity. Read the axis labels and compare relative changes.
Values are very noisy
Vibration, handling, and sensor quality affect the reading. Place the device on a stable surface.
相关工具
常见问题
广告