Electronics travel aid (ETA) with compass and qibla finder using HMC6352
People nowadays love to travel but they have to bring a lot of stuff during the travel including compass and maps. For Muslim travelers, they even have to bring Qibla pointer as they must be faced to Qibla while performing their five times prayer throughout the day and the night regardless of the lo...
Main Author: | |
---|---|
Format: | Undergraduates Project Papers |
Language: | English |
Published: |
2009
|
Subjects: | |
Online Access: | http://umpir.ump.edu.my/id/eprint/366/ http://umpir.ump.edu.my/id/eprint/366/ http://umpir.ump.edu.my/id/eprint/366/1/24.PDF |
Summary: | People nowadays love to travel but they have to bring a lot of stuff during the travel including compass and maps. For Muslim travelers, they even have to bring Qibla pointer as they must be faced to Qibla while performing their five times prayer throughout the day and the night regardless of the location. Thus, there is a need for a simple and cost effective device to facilitate these travelers. This compass-based device finds the direction of Magnetic North through built-in compass (HMC6352). HMC6352 gives output heading which then be sent to PIC18F452. As the brain of the device, PIC18F452 processes the output heading to be displayed as digital numeric readout on a 16×2 LCD. With database of longitude and latitude for 14 locations in Malaysia installed in this device, Qibla direction is determined using the solution of spherical triangle. The solution involves longitude and latitude of user’s current location and Makkah. C language is used to develop the algorithm for the solution in CCS C Compiler. The calculated direction of Qibla is indicated in degree as well as Magnetic North direction which are pointed out by an arrow on the device. This device is reliable as there is only 2.147% of Qibla angle difference between this device and JAKIM database. In short, this device is successfully developed to be used anywhere in Malaysia. |
---|