Sensores

Teste de sensor de movimento

Combine leituras de orientação e movimento para verificar inclinação, rotação, detecção de vibração e capacidade de resposta geral do sensor.

Privacidade: Amostras de movimento e orientação são processadas na página. Nada é carregado ou armazenado.
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 teste e mova o dispositivo.
α—°
β—°
γ—°
Movimento—m/s²
Tremores detectados0
Amostras0
Eventos recebidos—
A detecção de vibração usa um limite de aceleração simples. A disponibilidade e as unidades de eventos variam de acordo com a plataforma, e muitos desktops não expõem nenhum sensor de movimento.

Como usar esta ferramenta

  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.

Anúncio

Explicação técnica

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.

Solução de problemas

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.

Perguntas frequentes

Anúncio