---
product_id: 300985937
title: "AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS)"
brand: "aitrip"
price: "€ 0.69"
currency: EUR
in_stock: false
reviews_count: 8
url: https://www.desertcart.pt/products/300985937-aitrip-5pcs-gy-271-qmc5883l-triple-axis-compass-magnetometer-sensor
store_origin: PT
region: Portugal
---

# 3.0~5.5VDC <2° accuracy 0.50in×0.56in AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS)

**Brand:** aitrip
**Price:** € 0.69
**Availability:** ❌ Out of Stock

## Summary

> Navigate Your Projects with Precision! 🧭

## Quick Answers

- **What is this?** AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) by aitrip
- **How much does it cost?** € 0.69 with free shipping
- **Is it available?** Currently out of stock
- **Where can I buy it?** [www.desertcart.pt](https://www.desertcart.pt/products/300985937-aitrip-5pcs-gy-271-qmc5883l-triple-axis-compass-magnetometer-sensor)

## Best For

- aitrip enthusiasts

## Why This Product

- Trusted aitrip brand quality
- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Key Features

- • **Compact Design:** Ultra-light and space-efficient at just 0.50in×0.56in.
- • **Easy Integration:** Seamless control via I2C for hassle-free setup.
- • **Low Noise Performance:** 16-bit ADC ensures minimal interference for reliable readings.
- • **Precision Engineering:** Experience <2° heading accuracy for pinpoint navigation.
- • **Versatile Applications:** Ideal for Arduino and Raspberry Pi projects, from compass sensors to flow meters.

## Overview

The 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module is a compact and versatile sensor designed for Arduino and Raspberry Pi enthusiasts. Operating within a supply voltage range of 3.0~5.5VDC, it features a low-noise 16-bit ADC and offers exceptional heading accuracy of less than 2 degrees, making it perfect for a variety of applications including compass sensing and non-contact control.

## Description

Product description Specification Name: QMC5883L modules (three-axis magnetic module) Main Chip: QMC5883L (licensed HMC5883L EOL replacement) Model: GY-271 Use Chip: QMC5883L Power supply :3-5v Communication: IIC communication protocol Measuring range: ±1.3-8 gauss Size: approx. 14*13*4mm Wiring VCC: supply voltage 3.3V to 5V GND: Ground connection SCL: clock line SDA: Data line DRDY: Data Ready Package Includes 5*GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module

Review: Make sure to use the right Arduino Library - At first I was accidentally using the HMC5883L library. That was wrong, this is the QMC5883L. You've probably made this error if the heading hangs at a constant value. I then went and downloaded the QMC5883L library from DFRobot. I found it odd that there was no calibration setting in the example code (you're usually supposed to move the magnetometer around in all orientations to get the x, y, z extrema values, and then input those into the code). It took me a full day to finally realize that the DFRobot library conducts ongoing calibration as you use it. So, if you are going to use this library, the first thing you must do every time you turn on your Arduino is rotate your magnetometer in all different directions. Then you're good to go. Ultimately, I landed on a much more advanced library by mprograms on GitHub (you can find this easily on Google). This library has example code to get your calibration values, and it actually lets you input your calibrations permanently so that you don't need to do it every time you start your Arduino. When you get a good calibration on these things, the data is very clean. The magnetometer seems completed unaffected by any rogue magnetic fields. As far as noise, I'm getting a 6.52 degree standard deviation at a 295 degree heading. That suggests 68% of your values lie within +- 2% of the actual value, and 95% of values within +- 4% (assuming gaussian distribution). Add a little bit of a lowpass to your data and you're golden.
Review: UNUSABLE. - First off, the I2C address for these items show up as 0x0d. A REAL HCM5883L is at 0x1E. I have code running that works with a BN-880 GPS module which contains a REAL HCM5883L. Same code does NOT work with these boards. EVEN when I change the address used by the Adafruit_HCM5883_U library (to match these boards)... I get NO data. I am able to get the Sensor details. That all reads back fine, but I NEVER get any data from the X,Y or Z registers. If someone wants to explain WHY this is the case, I'd be glad to listen. Otherwise, don't bother trying to use these boards.

## Features

- Supply voltage range is 3.0~5.5VDC; size: 0.50in×0.56in
- 16-bit ADC low-noise AMR sensors; 2 milli-Gauss field resolution; <2 degree heading accuracy
- Simple control via I2C.
- Compact and ultra-light compass module.
- Use as compass sensor, non-contact controller, magnetic impeller flow meter, or linear actuator position sensor

## Technical Specifications

| Specification | Value |
|---------------|-------|
| ASIN | B08ZHKDJHD |
| Best Sellers Rank | #4,446 in Single Board Computers (Computers & Accessories) |
| Brand | AITRIP |
| Brand Name | AITRIP |
| Color | 5PCS |
| Customer Reviews | 3.2 out of 5 stars 29 Reviews |
| Item Weight | 10 Grams |
| Manufacturer | AITRIP |
| Measurement Type | Gauss |
| Min. Operating Voltage | 3 Volts (DC) |
| Minimum Operating Voltage | 3 Volts (DC) |
| Model | GY-271 |
| Part Number | GY-271 QMC5883L |
| Style | Compact |
| Style Name | Compact |
| UPC | 701715465138 |

## Product Details

- **Brand:** AITRIP
- **Color:** 5PCS
- **Item Weight:** 10 Grams
- **Min. Operating Voltage:** 3 Volts (DC)
- **Style:** Compact

## Images

![AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) - Image 1](https://m.media-amazon.com/images/I/71y1Oigyg5L.jpg)
![AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) - Image 2](https://m.media-amazon.com/images/I/71MiTO1IJVL.jpg)
![AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) - Image 3](https://m.media-amazon.com/images/I/614vEyKqloL.jpg)
![AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) - Image 4](https://m.media-amazon.com/images/I/616xMIcRy8L.jpg)
![AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS) - Image 5](https://m.media-amazon.com/images/I/61uG0wlwv6L.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Make sure to use the right Arduino Library
*by A***R on March 19, 2024*

At first I was accidentally using the HMC5883L library. That was wrong, this is the QMC5883L. You've probably made this error if the heading hangs at a constant value. I then went and downloaded the QMC5883L library from DFRobot. I found it odd that there was no calibration setting in the example code (you're usually supposed to move the magnetometer around in all orientations to get the x, y, z extrema values, and then input those into the code). It took me a full day to finally realize that the DFRobot library conducts ongoing calibration as you use it. So, if you are going to use this library, the first thing you must do every time you turn on your Arduino is rotate your magnetometer in all different directions. Then you're good to go. Ultimately, I landed on a much more advanced library by mprograms on GitHub (you can find this easily on Google). This library has example code to get your calibration values, and it actually lets you input your calibrations permanently so that you don't need to do it every time you start your Arduino. When you get a good calibration on these things, the data is very clean. The magnetometer seems completed unaffected by any rogue magnetic fields. As far as noise, I'm getting a 6.52 degree standard deviation at a 295 degree heading. That suggests 68% of your values lie within +- 2% of the actual value, and 95% of values within +- 4% (assuming gaussian distribution). Add a little bit of a lowpass to your data and you're golden.

### ⭐ UNUSABLE.
*by K***P on May 30, 2023*

First off, the I2C address for these items show up as 0x0d. A REAL HCM5883L is at 0x1E. I have code running that works with a BN-880 GPS module which contains a REAL HCM5883L. Same code does NOT work with these boards. EVEN when I change the address used by the Adafruit_HCM5883_U library (to match these boards)... I get NO data. I am able to get the Sensor details. That all reads back fine, but I NEVER get any data from the X,Y or Z registers. If someone wants to explain WHY this is the case, I'd be glad to listen. Otherwise, don't bother trying to use these boards.

### ⭐⭐ Wrong chip, but they do work
*by G***E on August 9, 2025*

The compasses that arrived didn't work until I found out that mine use the QMC5883P chip, not the L. Luckily Adafruit released an Arduino library for them just a couple of days ago so I can say that they work, just the wrong chip. Judging by other reviews, it looks like others got different chips so you may need to try multiple different libraries to figure out which one you have.

## Frequently Bought Together

- AITRIP 5PCS GY-271 QMC5883L Triple Axis Compass Magnetometer Sensor Module 3.3V 5V for Arduino and Raspberry Pi (5PCS)
- HiLetgo 3pcs GY-521 MPU-6050 MPU6050 3 Axis Accelerometer Gyroscope Module 6 DOF 6-axis Accelerometer Gyroscope Sensor Module 16 Bit AD Converter Data Output IIC I2C for Arduino
- 2Pack GPS Module,Navigation Satellite Positioning NEO-6M,Arduino GPS, Drone Microcontroller, GPS Receiver Compatible with 51 Microcontroller STM32 Arduino UNO R3 with Antenna High Sensitivity

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.pt/products/300985937-aitrip-5pcs-gy-271-qmc5883l-triple-axis-compass-magnetometer-sensor](https://www.desertcart.pt/products/300985937-aitrip-5pcs-gy-271-qmc5883l-triple-axis-compass-magnetometer-sensor)

---

*Product available on Desertcart Portugal*
*Store origin: PT*
*Last updated: 2026-06-18*