Introduction - If you have any usage issues, please Google them yourself
Honeywell HMC5883L is a highly integrated surface mounted module with a weak magnetic field with a digital interface.
Sensor chips for low cost compass and magnetic field detection