Czujniki

Test akcelerometru

Odczytuj na bieżąco wartości akcelerometru, w tym grawitację, i sprawdzaj, czy ruch i pochylenie powodują odczuwalne zmiany.

Prywatność: Próbki przyspieszeń pozostają w tej zakładce przeglądarki. Żadne dane dotyczące ruchu nie są przesyłane ani zapisywane.
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 akcelerometr i przesuń urządzenie.
X—m/s²
Y—m/s²
Z—m/s²
Ogrom—m/s²
Próbki0
Źródło czujnika—
W spoczynku całkowita wielkość powinna być bliska 9,81 m/s². Niektóre przeglądarki usuwają grawitację lub wygładzają sygnał, więc używaj zmian względnych, a nie absolutnej dokładności.

Jak korzystać z tego narzędzia

  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.

Reklama

Wyjaśnienie techniczne

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.

Rozwiązywanie problemów

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.

Często zadawane pytania

Reklama