Magnetometer (Compass)

Description

This breakout is based on the magnetometer HMC5883L. This compact sensor uses I²C to communicate and is easy to use. Since it’s a 3.3V max chip, added is a 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 I²C clock and data pins.