เซนเซอร์

การทดสอบมาตรความเร่ง

อ่านค่ามาตรความเร่งแบบเรียลไทม์ รวมถึงแรงโน้มถ่วง และตรวจสอบว่าการเคลื่อนไหวและการเอียงทำให้เกิดการเปลี่ยนแปลงที่สมเหตุสมผล

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

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

เบราว์เซอร์ของคุณอาจขออนุญาตหลังจากที่คุณกดเริ่ม
พร้อม. เปิดใช้งานมาตรความเร่งและเคลื่อนย้ายอุปกรณ์
X—m/s²
Y—m/s²
Z—m/s²
ขนาด—m/s²
ตัวอย่าง0
แหล่งกำเนิดเซ็นเซอร์—
ขนาดที่เหลือควรมีค่าใกล้เคียง 9.81 m/s² เบราว์เซอร์บางตัวจะลบแรงโน้มถ่วงหรือปรับสัญญาณให้ราบรื่น ดังนั้นให้ใช้การเปลี่ยนแปลงเชิงสัมพันธ์แทนความแม่นยำสูงสุด

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

  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.

โฆษณา

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

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.

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

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.

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

โฆษณา