Digital compasses have become popular in the past few years due to the advancement of magnetic sensors and feature-rich microcontrollers. Compass applications
have increased from simple, hand-held navigation
devices to automobile navigation systems with voice
recognition and up-to-date global maps.

This application note focuses on a simple, low-cost,
hand-held digital compass design using a Microchip
PIC18F2520 microcontroller. This compass application
can be integrated into your own design, or as a building
block in an advanced navigation tracking device similar
to one you would find in a sporting goods store or