Sensores

Prueba de giroscopio

Lea los valores de velocidad de rotación del giroscopio en vivo donde su dispositivo y navegador los exponen, con un simple gráfico de movimiento.

Privacidad: Las muestras de rotación se procesan en esta pestaña. No se cargan ni almacenan datos de movimiento.
Las etiquetas de la interfaz y los nombres de las herramientas se traducen. La orientación detallada y las preguntas frecuentes de esta página están actualmente escritas en inglés.

Interfaz de prueba

Es posible que su navegador le solicite permiso después de presionar Inicio.
Listo. Habilite el giroscopio y gire el dispositivo.
X—°/s
Y—°/s
Z—°/s
Magnitud—°/s
Muestras0
Fuente del sensor—
La mayoría de las computadoras de escritorio no exponen un giroscopio. En dispositivos móviles, use HTTPS y otorgue permiso de movimiento. Una pequeña deriva y ruido son normales en los sensores de consumo.

Cómo utilizar esta herramienta

  1. Click Enable gyroscope and grant motion permission if your browser asks.
  2. Rotate the device slowly around each axis and watch the x, y, and z values.
  3. Observe the magnitude graph while the device is still and moving.
  4. Click Stop to remove the listeners and end sensor access.

Anuncio

Explicación técnica

The page prefers the Generic Sensor API Gyroscope constructor. Where that is unavailable it falls back to DeviceMotionEvent.rotationRate, which reports degrees per second around the alpha, beta, and gamma axes. Values are smoothed slightly for readability.

A desktop or a device without a gyroscope will not produce rotation data. iOS requires an explicit motion permission request from a user gesture. Drift and noise are normal for consumer sensors and are not proof of a hardware fault.

Solución de problemas

No gyroscope data appears

Most laptops have no gyroscope. Use a phone or tablet and serve the page over HTTPS.

The permission prompt does not appear

On iOS the request must follow a direct tap. Reload and press the button again.

Values drift while the device is still

Sensor bias and temperature changes cause small drift. This is normal and is corrected by sensor fusion in many apps.

Only some axes change

Rotate around each axis deliberately. A device may not expose all axes equally depending on orientation and browser.

Preguntas frecuentes

Anuncio