The goal of this project is to build a digital compass that displays both the direction and cardinal points on a television. Other functionalities were added to complement the sensor interface, such as, temperature display, magnetic declination input and disability option.
At the highest level, this project involves acquiring two output readings from the Hall-effect sensor (Dinsmore R1655) and processing the data through the ADC and output the directional information onto a TV screen. The first part involves amplifying the two output voltages and feeding them into the Mega 32 ADC input. After that, extensive calibration was necessary to accurately decode the input voltages into useful directional information. A mapping was done to the flash memory to retrieve the direction accordingly to different sets of inputs. As a matter of fact each pair of inputs were unique, so mapping them made sense as timing is an issue when using the TV as an interface. Finally disability option was added to bip at different frequencies depending on the desired direction entered by the user. Additionally adding a magnetic declination feature enables the compass to display the true north rather than the magnetic north as a function of current location.