เซนเซอร์

การทดสอบเข็มทิศ

แสดงเข็มทิศสดที่มุ่งหน้าไปจากข้อมูลการวางแนวของอุปกรณ์ และตรวจสอบว่าเข็มทิศตอบสนองอย่างไรเมื่อคุณหมุน

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

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

เบราว์เซอร์ของคุณอาจขออนุญาตหลังจากที่คุณกดเริ่ม
พร้อม. เปิดใช้งานเข็มทิศแล้วหมุนช้าๆ
N E S W
— ° —
หัวเรื่อง—
แหล่งกำเนิดเซ็นเซอร์—
การอ่านเข็มทิศอาจบิดเบี้ยวได้ด้วยแม่เหล็ก โลหะ ลำโพง และเคส ส่วนหัวอาจสัมพันธ์กันมากกว่าทิศเหนือจริง ทั้งนี้ขึ้นอยู่กับเบราว์เซอร์และอุปกรณ์

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

  1. Click Enable compass and grant motion permission if your browser asks.
  2. Hold the device flat and slowly turn in a circle.
  3. Compare the displayed heading with a known direction or a physical compass.
  4. Stop the test when finished.

โฆษณา

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

The page reads DeviceOrientationEvent.alpha and, on iOS, webkitCompassHeading. It converts the value into a 0–360° heading and draws a compass dial. Some browsers only provide a relative orientation until an absolute orientation event is available.

Magnetic interference from speakers, metal desks, cases, and magnets can distort the reading. The browser may also apply smoothing. A phone compass is a navigation aid, not a surveying instrument, and it is not calibrated by this page.

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

The compass is unsupported

Desktop devices usually lack a magnetometer. Use a phone or tablet with a modern browser.

Heading is stuck or jumps

Move away from metal and magnetic objects, then wave the device in a figure-eight to help the system calibrate.

North is wrong

Check whether the reading is relative or absolute. Some browsers do not expose true north without a permission or sensor fusion.

Permission was denied

Reset motion access for the site and reload, then press Enable again.

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

โฆษณา