Sensor

Tes Sensor Gerak

Gabungkan pembacaan orientasi dan gerakan untuk memeriksa kemiringan, rotasi, deteksi guncangan, dan respons sensor secara keseluruhan.

Pribadi: Sampel gerakan dan orientasi diproses di halaman. Tidak ada 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 pengujian dan pindahkan perangkat.
α—°
β—°
γ—°
Pergerakan—m/s²
Getaran terdeteksi0
Sampel0
Acara diterima—
Deteksi guncangan menggunakan ambang akselerasi sederhana. Ketersediaan dan unit acara bervariasi berdasarkan platform, dan banyak desktop tidak menampilkan sensor gerak sama sekali.

Cara menggunakan alat ini

  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.

Iklan

Penjelasan teknis

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.

Pemecahan masalah

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.

Pertanyaan yang sering diajukan

Iklan