GY-271 QMC5883 Magnetometer - digital compass, I2C, 3.3 V
This goes with it
incl. VAT, plus shipping
Description
Product overview
- Digital magnetometer for detecting orientation in space
- Measurement range ±8 gauss, resolution 1 milligauss per digit
- I2C interface, 3.3 V operating voltage
- Software calibration available
- Mounted on a compact breakout board with connection pins
Product description
This magnetometer measures the strength and direction of the Earth's magnetic field, making it possible to determine a project's current orientation in space. The QMC5883 sensor uses the magnetoresistive measurement principle: changes in the magnetic field alter the sensor's resistance, producing digital coordinates across three axes. Since the measurement signal is transmitted via I2C, the module requires only two communication lines. In addition to the power supply, multiple sensors can be connected to the same bus at the same time.
The measurement range of ±8 gauss is sufficient for navigation and orientation detection. The resolution of 1 milligauss per digit enables precise angular measurements. When mounting the sensor, note that magnetic fields from live cables, ferromagnetic metals, or other electronic components can affect measurements. Sufficient clearance and software calibration compensate for such interference. The 3.3 V operating voltage requires a level shifter when connecting to 5 V boards.
The module is suitable for robots and other mobile systems that need to determine their orientation, as well as for hand or head tracking in motion-based projects. A quadcopter can use it to detect its current flight direction and make course corrections. The sensor is also used to detect the horizon in inclinometers. Its compact design allows installation in tight spaces.
Commissioning requires a microcontroller board with an I2C interface and the corresponding control software. The sensor is powered by 3.3 V; 5 V systems require a level shifter on the data lines or a compatible board with integrated level shifting.
Safety notice
The module is not intended for installation in household electrical circuits and is designed exclusively for building prototypes and for testing and development purposes. Do not exceed the 3.3 V operating voltage to avoid damage. If in doubt, consult a qualified electrician before commissioning.
Scope of delivery
- 1x GY-271 QMC5883 - digital magnetometer and compass
- 1x pin header