Sensori

Prova dell'accelerometro

Leggi i valori dell'accelerometro in tempo reale, inclusa la gravità, e controlla che il movimento e l'inclinazione producano cambiamenti sensibili.

Privacy: Gli esempi di accelerazione rimangono in questa scheda del browser. Nessun dato di movimento viene caricato o salvato.
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 l'accelerometro e sposta il dispositivo.
X—m/s²
Y—m/s²
Z—m/s²
Grandezza—m/s²
Campioni0
Sorgente del sensore—
A riposo la magnitudo totale dovrebbe essere prossima a 9,81 m/s². Alcuni browser rimuovono la gravità o attenuano il segnale, quindi utilizzano modifiche relative anziché precisione assoluta.

Come utilizzare questo strumento

  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.

Pubblicità

Spiegazione tecnica

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.

Risoluzione dei problemi

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.

Domande frequenti

Pubblicità