Digital Compass 2020

my son and I wanted to build a percise digital compass that we can take with us to our next hiking trip. I found some relativ old tutorials, but we would like to build one with the newest sensores etc. so that the compass provides best possible data. Can anyone provide a Tutorial?
thanks :wave:t2: