Sensor

Tes Akselerometer

Baca nilai akselerometer langsung, termasuk gravitasi, dan periksa apakah gerakan dan kemiringan menghasilkan perubahan yang masuk akal.

Pribadi: Contoh akselerasi tetap ada di tab browser ini. Tidak ada data pergerakan yang diunggah atau disimpan.
Label antarmuka dan nama alat diterjemahkan. Panduan terperinci dan FAQ di halaman ini saat ini ditulis dalam bahasa Inggris.

Antarmuka uji

Browser Anda mungkin meminta izin setelah Anda menekan Mulai.
Siap. Aktifkan accelerometer dan gerakkan perangkat.
X—m/s²
Y—m/s²
Z—m/s²
Besarnya—m/s²
Sampel0
Sumber sensor—
Saat istirahat, magnitudo totalnya harus mendekati 9,81 m/s². Beberapa browser menghilangkan gravitasi atau memperhalus sinyal, jadi gunakan perubahan relatif daripada akurasi absolut.

Cara menggunakan alat ini

  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.

Iklan

Penjelasan teknis

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.

Pemecahan masalah

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.

Pertanyaan yang sering diajukan

Iklan