The Design and Qibla Direction by Using the Hmc 5883 L Sensor as a Compass Rhi in the UMSU Science Laboratory (OIF)

Sudirman Lubis, Faisal Irsan Pasaribu, Wawan Septiawan Damanik, Munawar Alfansury Siregar, Irpansyah Siregar, Edi Sarman Hasibuan


The level of accuracy of a measuring instrument is expected to be good because it is expected to provide information that can be used as a reference and benchmark in research and application in public life. The use of a compass measuring device in determining the direction of the wind and the location of the magned earth may vary from year to year such as the compass analog and digital. Both offer good reading results with the same way of working utilizing magnetic poles north and south as a reference point. HMC 5883L sensor is one measuring tool that is able to detect the direction of the compass with the same way of working from analog and digital compasses. By using Arduino Uno as a microcontroller as a central control that is able to change the information received from the HMC 5883L sensor into an easy-to-understand form of data. Qibla is more accurate by comparing the reading results of both. The results of the HMC 5883L compass sensor reading will be visualized in the form of the pointer, the pointer light and will be changed in numerical form. All data changed in the form of work is the result of an order from Arduino Uno received from the HMC 58883L sensor. A total of eight LED lights are used as a pointer to the compass and are connected with data obtained from the sensor.


HMC 883L Sensor; Qibla Direction; 8 wind direction; Slope of Qibla direction

Full Text:



A. A. AL-Ihsan. (2018 ).“Akurasi Arah Kiblat Masjid-Masjid Di Kecamatan Sampung Kabupaten Ponorogo,” Sekripsi, no. akurasi kiblat, pp. 1–88.

B. Li, W. Lai, C. Yang, and S. Zheng. (2016). “Design of Electronic Compass,” no. Mmebc, pp. 1240–1243.

C. C. Finlay, M. Dumberry, A. Chulliat, and M. A. Pais. (2010). “Short timescale core dynamics: Theory and observations,” Space Sci. Rev., vol. 155, no. 1–4, pp. 177–218.

D. Diana and J. Al Rasyid. (2017). “Implementasi Sensor Compas HMC5883L Terhadap Gerak Robot Micromouse dengan Menggunakan Algoritma PID,” vol. 6, no. 2, pp. 120–124.

G. A. G. & P. H.Roberts. (1995).“A three domensional self consisten computer simulation of a geomagnetic field reversal,” Nature, p. 6.

G. A. G. and P. H.Roberts. (1996). “Rotation and Magnetism of Earth’s Inner Core,” Science (80-. )., vol. 274, no. December.

L. Hakim, R. B. Raharjo, D. D. Waluyo, P. Elektronika, and N. Surabaya. (2017). “Prototype Robot Untuk Menentukan Arah Kiblat Dengan Cotg B = Cotgbsina - Cos A Cotg C Sinc,” Sekripsi, pp. 1–8.

M. Taufikurrahman and H. Aprilianto. (2018). “Penerapan Sistem Navigasi Sensor Kompas Pada Robot Beroda,” vol. ISSN: 2089, no. 2, pp. 1–10.

N. Knezek and B. Buffett. (2018). “Influence of magnetic field configuration on magnetohydrodynamic waves in Earth’s core,” Phys. Earth Planet. Inter., vol. 277, no. January, pp. 1–9.

R. A. Putra and A. T. Sutanto, “Perancangan Dan Pembuatan Magnetometer Digital Dengan Sensor Magnet Hmc5883l Berbasis Web,” ISSN 0852-002 X,PPI KIM KE-42, pp. 405–422.

R. S. Michał Nowicki, Maciej Kachniarz. (2017). “Temperature error of Hall-effect and magnetoresistive commercial magnetometers,” Arch. Electr. Eng., vol. 66, no. 3, pp. 625–630.

S. Maus et al. (2010). “The US/UK World Magnetic Model for 2015-2020


Article Metrics

Abstract view : 17 times
PDF - 4 times


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.