Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Not sure if the one i used myself, i used the Digital Compass Sensor by Dinsmore, gives you [ N S E W NW NE SE SW] , if you want accuracy use their analog sensors. some circuits to test them are in their datsheet.
for further technical details on the 1490 Digital Compass Sensor try here (h**p://www.dinsmoresensors.com/1490spec.htm)