Description
He told you "Go West, young maker!" - but you don't know which way is West! Ah, if only you had this triple-axis magnetometer compass module. A magnetometer can sense where the strongest magnetic force is coming from, generally used to detect magnetic north.
We based this breakout on a popular and well loved magnetometer, the HMC5883L. 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
Simply download our library and connect the SCL pin to your Arduino's I2C clock pin, and SDA pin to your Arduino's I2C data pin and upload our test example sketch to read out magnetic field data and heading (i.e. which way is north)
Specification:
- HMC5883L/QMC5883 module (three-axis magnetic field module)
- Model: GY-273
- IC: HMC5883L/QMC5883
- Module Power supply : 3-5v
- Communication: IIC communication protocol
- Measuring range: ± 1.3-8 gauss
- Size: 13.9 * 18.5
Details