Sensori

Test di movimento e bussola

Leggi i dati dell'accelerometro, del giroscopio e della bussola, ove disponibili, con una livella a bolla e un display di orientamento in tempo reale.

Privacy: I campioni dei sensori vengono elaborati localmente. Nessun dato di movimento o orientamento 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.
Su alcuni dispositivi, l'accesso al movimento e all'orientamento deve essere concesso premendo un pulsante.
Premere Avvia per iniziare.
Alfa / Intestazione—
Beta / Inclina avanti/indietro—
Gamma / Inclinare da un lato all'altro—
Bussola—
AccelX—
Accel Y—
Accel Z—
Campioni0
I valori del sensore dipendono dalla calibrazione dell'hardware, dal supporto del browser e dal modello di orientamento del dispositivo. Una lettura mancante di solito significa che il browser non espone quel sensore.

Come utilizzare questo strumento

  1. Click Enable sensors and grant motion permission if your browser asks.
  2. Tilt the device and watch the bubble level and axis values.
  3. Rotate the device to check compass behaviour where supported.
  4. Stop the test to remove event listeners and end sensor access.

Pubblicità

Spiegazione tecnica

The Generic Sensor API and DeviceOrientation/DeviceMotion events expose orientation and motion depending on platform. iOS requires an explicit permission request after a gesture; many desktops expose no motion sensors at all.

Compass readings can be affected by magnetic interference from cases, speakers, and metal surfaces. A browser cannot calibrate the sensor or prove that a reading is physically accurate.

Risoluzione dei problemi

Sensors are unsupported

Desktop browsers often have no motion sensors. Use a mobile device with the required hardware.

Permission request does not appear

On iOS, call the permission prompt from a direct user gesture and ensure the page is served over HTTPS.

Values drift

Magnetic interference and sensor fusion algorithms can cause drift. Move away from magnets and metal objects.

Compass points the wrong way

Compass accuracy varies by device and environment. Do not rely on it for navigation.

Domande frequenti

Pubblicità