Mobile Sensor Test - Gyro/Accel
Read Gyroscope & Accelerometer data on mobile devices.
Availability and Permissions
Control and sampling
real time readings
event log
Quick troubleshooting
Sensor Guide
Check permissions and move device to verify readings.
Confirm environment and permissions
First make sure it is running in the mobile browser and security context, and grant motion/direction permissions.
Start collecting and observe the frequency
After starting the collection, first check the event frequency and update time to confirm whether the event is really being reported.
Perform a simple action to verify the reading
Verify that the acceleration, gyroscope, and orientation values change reasonably by shaking/rotating the device slightly.
FAQ
Frequently asked questions and troubleshooting suggestions about device sensor (acceleration/gyroscope/direction) testing.
What can be measured on this page?
It will monitor DeviceMotion (acceleration/angular velocity) and DeviceOrientation (alpha/beta/gamma, etc.) events, and display permission status, event frequency and real-time readings to help you quickly determine whether the device sensor is reporting normally.
Why is the value always "-"?
The most common causes are: unauthorized, non-secure context (not HTTPS), sensorless desktop browser, or system/browser disabled Motion and Orientation Access. It is recommended to click "Refresh Status" first, then click "Request Authorization", and confirm that the system settings allow it.
Why does iOS Safari need to click "Request Authorization"?
Safari on iOS 13+ uses the requestPermission() authorization model for motion/direction events. The authorization pop-up window must be triggered by user gestures, otherwise the event will not be reported or empty data will be returned.
Why is the event frequency 0/s?
Usually it means that the monitoring is not effective or intercepted by the system: permission is not granted, the browser does not support it, the page is not in a safe context, or the system switch is turned off. It may also be that the device does not have a corresponding sensor (rare).
What does alpha/beta/gamma mean?
They represent the orientation angle of the device on 3 axes (unit °), but different browsers/devices have different implementations of coordinate systems and reference directions, so they are more suitable for verification of "whether it is changing/continuous" rather than strict engineering measurements.
Will this upload sensor data?
Won't. The page only reads and displays sensor events in the local browser and does not upload the data to the server.