Paper
2 January 2025 Design and implementation of digital compass based on HMC5883L magnetoresistive sensor
Tao He, Fengxiu Li, Yuhong Du, Yao Zhang, Yuanyuan Li, Ying Liu
Author Affiliations +
Proceedings Volume 13514, International Conference on Remote Sensing and Digital Earth (RSDE 2024); 1351412 (2025) https://doi.org/10.1117/12.3059013
Event: 2024 International Conference on Remote Sensing and Digital Earth, 2024, Chengdu, China
Abstract
The compass is regarded as one of the four great inventions in ancient China. While the traditional combination of magnetic needle and compass can provide orientation indications, it is bulky, inconvenient to carry, and has limited accuracy. This paper presents a digital compass based on the HMC5883L magnetoresistive sensor, designed for the precise acquisition of geomagnetic data. The data collected by the sensor is transferred to the STC89C52 microcontroller via the I²C interface, whereupon the microcontroller performs the calculation of the azimuth angle and displays the result on the LCD1602 display. Moreover, the system is capable of communicating with a computer via a USB-to-TTL module, thus facilitating additional processing and data display. Practical tests have demonstrated that the system is able to provide accurate azimuth information in real time with high positioning accuracy and stability, thereby offering a new supporting technology for digital guides.
(2025) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Tao He, Fengxiu Li, Yuhong Du, Yao Zhang, Yuanyuan Li, and Ying Liu "Design and implementation of digital compass based on HMC5883L magnetoresistive sensor", Proc. SPIE 13514, International Conference on Remote Sensing and Digital Earth (RSDE 2024), 1351412 (2 January 2025); https://doi.org/10.1117/12.3059013
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Sensors

Microcontrollers

Design

Liquid crystal displays

Data processing

Magnetism

Data acquisition

Back to Top