Sensores

Teste de acelerômetro

Leia os valores do acelerômetro ao vivo, incluindo a gravidade, e verifique se o movimento e a inclinação produzem mudanças sensíveis.

Privacidade: As amostras de aceleração ficam nesta guia do navegador. Nenhum dado de movimento é carregado ou salvo.
Rótulos de interface e nomes de ferramentas são traduzidos. Orientações detalhadas e perguntas frequentes nesta página estão atualmente escritas em inglês.

Interface de teste

Seu navegador pode pedir permissão após você pressionar Iniciar.
Preparar. Habilite o acelerômetro e mova o dispositivo.
X—m/s²
Y—m/s²
Z—m/s²
Magnitude—m/s²
Amostras0
Fonte do sensor—
Em repouso a magnitude total deve estar próxima de 9,81 m/s². Alguns navegadores removem a gravidade ou suavizam o sinal, portanto, use alterações relativas em vez de precisão absoluta.

Como usar esta ferramenta

  1. Click Enable accelerometer and allow motion access if prompted.
  2. Hold the device still and note the gravity reading on each axis.
  3. Tilt and shake the device gently and watch the values respond.
  4. Click Stop when finished to release sensor access.

Anúncio

Explicação técnica

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.

Solução de problemas

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.

Perguntas frequentes

Anúncio