เซนเซอร์

การทดสอบเซนเซอร์จับความเคลื่อนไหว

รวมการอ่านการวางแนวและการเคลื่อนไหวเพื่อตรวจสอบการเอียง การหมุน การตรวจจับการสั่น และการตอบสนองของเซ็นเซอร์โดยรวม

ความเป็นส่วนตัว: ตัวอย่างการเคลื่อนไหวและการวางแนวได้รับการประมวลผลในหน้า ไม่มีการอัพโหลดหรือจัดเก็บอะไรเลย
ป้ายอินเทอร์เฟซและชื่อเครื่องมือได้รับการแปล คำแนะนำโดยละเอียดและคำถามที่พบบ่อยในหน้านี้ปัจจุบันเขียนเป็นภาษาอังกฤษ

อินเทอร์เฟซการทดสอบ

เบราว์เซอร์ของคุณอาจขออนุญาตหลังจากที่คุณกดเริ่ม
พร้อม. เปิดใช้งานการทดสอบและย้ายอุปกรณ์
α—°
β—°
γ—°
ความเคลื่อนไหว—m/s²
ตรวจพบการสั่น0
ตัวอย่าง0
กิจกรรมที่ได้รับ—
การตรวจจับการสั่นใช้เกณฑ์การเร่งความเร็วอย่างง่าย ความพร้อมใช้งานของกิจกรรมและหน่วยแตกต่างกันไปตามแพลตฟอร์ม และเดสก์ท็อปจำนวนมากไม่มีเซ็นเซอร์ตรวจจับความเคลื่อนไหวเลย

วิธีใช้เครื่องมือนี้

  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.

โฆษณา

คำอธิบายทางเทคนิค

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.

การแก้ไขปัญหา

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.

คำถามที่พบบ่อย

โฆษณา