Description
So most of the navigation devices come equipped with a magnetometer which can sense where the strongest magnetic field is coming from i.e. the magnetic north pole of earth and point towards it. The HMC5883 being a magnetometer sensor does the same thing, the sensor is also called GY271. This IC has 3 magneto-resistive materials inside which are arranged in the axes x, y and z. The amount of current flowing through these materials is sensitive to the earth’s magnetic field. So, changes in this current is measured and calculated to determine the directions. Care should be taken while using it as any strong magnetic material placed near it might force a false reading. This compass sensor module utilizes QMC5883L IC instead of HMC5883L because it is cheaper to manufacture and is most commonly available in the market. This is most commonly used as a Digital Compass Sensor or to detect any Ferrous (Magnetic) material. Additional Uses include Robotic Navigation and UAV Systems.
Specifications of Triple Axis Magnetometer Sensor Module
- Input Voltage: +3V to +6V
- QMC5883L IC
- Range of -8 to +8 Gauss with 2 mGauss resolution
- I2C interface
- 1-2 degree heading accuracy
- Integrated 12-bit ADC
- 160Hz max data rate
Product Description
The module utilizes I2C communication protocol to communicate and has 5 pins on breakout board namely VCC, GND, SDA, SCL and DRDY. It has a voltage regulator on board so you van directly connect to the VCC pin from your Microcontroller Board and a 12-bit Analog to Digital Converter so that you can use any GPIO pin.
![HMC5883L Compass Sensor Pinout](https://cdn.shopify.com/s/files/1/0300/6424/6919/files/HMC5883L_Magnetometer_Sensor_600x600.png?v=1586596215)
Additional Resources: