Sensori

Prova del sensore di movimento

Combina le letture di orientamento e movimento per controllare l'inclinazione, la rotazione, il rilevamento delle vibrazioni e la reattività complessiva del sensore.

Privacy: Gli esempi di movimento e orientamento vengono elaborati nella pagina. Niente viene caricato o archiviato.
Le etichette dell'interfaccia e i nomi degli strumenti vengono tradotti. La guida dettagliata e le domande frequenti in questa pagina sono attualmente scritte in inglese.

Testare l'interfaccia

Il tuo browser potrebbe richiedere l'autorizzazione dopo aver premuto Start.
Pronto. Abilita il test e sposta il dispositivo.
α—°
β—°
γ—°
Movimento—m/s²
Scosse rilevate0
Campioni0
Eventi ricevuti—
Il rilevamento delle vibrazioni utilizza una semplice soglia di accelerazione. La disponibilità degli eventi e le unità variano in base alla piattaforma e molti desktop non espongono alcun sensore di movimento.

Come utilizzare questo strumento

  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.

Pubblicità

Spiegazione tecnica

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.

Risoluzione dei problemi

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.

Domande frequenti

Pubblicità