HMC5883L -Triple-axis Magnetometer (Compass) Module

This magnetometer base on the HMC5883L can sense where the strongest magnetic force is coming from, generally used to detect magnetic north. . This compact sensor uses I2C to communicate and its very easy to use. Since it's a 3.3V max chip, we added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcontrollers. Simply connect VCC to +3-5V and ground to ground. Then read data from the I2C clock and data pins. There's also a Data Ready pin you can use to speed up reads
Specs:
I2C interface. This board/chip uses I2C 7-bit addresses 0x3C
1-2 degree heading accuracy
Integrated 12-bit ADC
160Hz max data rate
Range of -8 to +8 Gauss

Description

This magnetometer base on the HMC5883L can sense where the strongest magnetic force is coming from, generally used to detect magnetic north. . This compact sensor uses I2C to communicate and its very easy to use. Since it’s a 3.3V max chip, we added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcontrollers. Simply connect VCC to +3-5V and ground to ground. Then read data from the I2C clock and data pins. There’s also a Data Ready pin you can use to speed up reads
Specs:
I2C interface. This board/chip uses I2C 7-bit addresses 0x3C
1-2 degree heading accuracy
Integrated 12-bit ADC
160Hz max data rate
Range of -8 to +8 Gauss