Sensori

Prova della bussola

Visualizza una direzione della bussola in tempo reale dai dati di orientamento del dispositivo e controlla come risponde quando giri.

Privacy: I dati di intestazione vengono elaborati localmente. Non viene caricata alcuna informazione sulla posizione o sull'orientamento.
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. Attiva la bussola e gira lentamente.
N E S W
— ° —
Intestazione—
Sorgente del sensore—
Le letture della bussola possono essere distorte da magneti, metallo, altoparlanti e custodie. La direzione potrebbe essere relativa anziché il nord geografico, a seconda del browser e del dispositivo.

Come utilizzare questo strumento

  1. Click Enable compass and grant motion permission if your browser asks.
  2. Hold the device flat and slowly turn in a circle.
  3. Compare the displayed heading with a known direction or a physical compass.
  4. Stop the test when finished.

Pubblicità

Spiegazione tecnica

The page reads DeviceOrientationEvent.alpha and, on iOS, webkitCompassHeading. It converts the value into a 0–360° heading and draws a compass dial. Some browsers only provide a relative orientation until an absolute orientation event is available.

Magnetic interference from speakers, metal desks, cases, and magnets can distort the reading. The browser may also apply smoothing. A phone compass is a navigation aid, not a surveying instrument, and it is not calibrated by this page.

Risoluzione dei problemi

The compass is unsupported

Desktop devices usually lack a magnetometer. Use a phone or tablet with a modern browser.

Heading is stuck or jumps

Move away from metal and magnetic objects, then wave the device in a figure-eight to help the system calibrate.

North is wrong

Check whether the reading is relative or absolute. Some browsers do not expose true north without a permission or sensor fusion.

Permission was denied

Reset motion access for the site and reload, then press Enable again.

Domande frequenti

Pubblicità