Czujniki

Test czujnika ruchu

Połącz odczyty orientacji i ruchu, aby sprawdzić pochylenie, obrót, wykrywanie drgań i ogólną reakcję czujnika.

Prywatność: Próbki ruchu i orientacji są przetwarzane na stronie. Nic nie jest przesyłane ani przechowywane.
Etykiety interfejsów i nazwy narzędzi są tłumaczone. Szczegółowe wskazówki i często zadawane pytania na tej stronie są obecnie napisane w języku angielskim.

Interfejs testowy

Twoja przeglądarka może poprosić o pozwolenie po naciśnięciu przycisku Start.
Gotowy. Włącz test i przesuń urządzenie.
α—°
β—°
γ—°
Ruch—m/s²
Wykryto wstrząsy0
Próbki0
Otrzymane zdarzenia—
Wykrywanie wstrząsów wykorzystuje prosty próg przyspieszenia. Dostępność wydarzeń i jednostki różnią się w zależności od platformy, a wiele komputerów stacjonarnych nie ma w ogóle czujników ruchu.

Jak korzystać z tego narzędzia

  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.

Reklama

Wyjaśnienie techniczne

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.

Rozwiązywanie problemów

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.

Często zadawane pytania

Reklama