Hey Guys,
I've written a tutorial on my website about how to interface with a 3 axis magnetometer (HMC5883L) and how to use it to calculate a bearing, and compensate for magnetic declination.
It should be useful to you guys on DIYDrones, as it is part of a series that will build up to creating an IMU from scratch.
There is also an Arduino Library for the HMC5883L available for free download.
HMC5883L Tutorial with Arduino Library
Thanks
James
Replies
Well done!
Regards
Reza