A simple electrical engineering project to design an electronic compass.