Cảm biến

Kiểm tra la bàn

Hiển thị tiêu đề la bàn trực tiếp từ dữ liệu hướng của thiết bị và kiểm tra xem nó phản hồi như thế nào khi bạn rẽ.

Sự riêng tư: Dữ liệu tiêu đề được xử lý cục bộ. Không có thông tin vị trí hoặc định hướng được tải lên.
Nhãn giao diện và tên công cụ được dịch. Hướng dẫn chi tiết và câu hỏi thường gặp trên trang này hiện được viết bằng tiếng Anh.

Giao diện thử nghiệm

Trình duyệt của bạn có thể yêu cầu quyền sau khi bạn nhấn Bắt đầu.
Sẵn sàng. Kích hoạt la bàn và quay chậm.
N E S W
— ° —
tiêu đề—
Nguồn cảm biến—
Số đọc trên la bàn có thể bị bóp méo bởi nam châm, kim loại, loa và vỏ. Tiêu đề có thể mang tính tương đối chứ không phải hướng bắc thực sự tùy thuộc vào trình duyệt và thiết bị.

Cách sử dụng công cụ này

  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.

Quảng cáo

Giải thích kỹ thuật

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.

Khắc phục sự cố

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.

Câu hỏi thường gặp

Quảng cáo