
GY-271 QMC5883P Compass Module – 3-Axis Magnetometer, I2C, 3V to 5V – Unsoldered
- Brand NZN Electronics
Verified specifications
- Brand
- NZN Electronics
Taken from this product's published details. If something is not listed here, it has not been verified.
Ask AI about this product
Answers use this product's information and the store's details. If it cannot be confirmed, it will point you to our team.
Any language. Press Enter to ask
Frequently bought together


PCA9685 16-Channel 12-bit PWM Servo Driver Board - I2C
4 payments of $2.10 with 
Bundle idea: this item plus 2 recommended accessory/accessories, $27.38 in total. Add each item to the cart below.
Complete your setup

2.54mm Male Pin Header Strip 1x40 - Right Angle, Breakaway
4 payments of $0.20 with 

Overview
A GY-271 3-axis magnetometer board fitted with the QMC5883P sensor, for adding a digital compass heading or magnetic field readings to an Arduino, ESP32 or Raspberry Pi project. It runs from 3V to 5V and talks over I2C at address 0x2C, so it works with a QMC5883P library such as Adafruit QMC5883P, not the older QMC5883L or HMC5883L code. Choose Unsoldered with a loose header, or Soldered with the header already fitted.
Specifications
Datasheets
What’s in the box
Unsoldered ships with a 5-pin 2.54 mm male header, loose and ready to solder. Soldered comes with the header soldered in, ready for a breadboard or jumper wires. Jumper wires and the microcontroller are not included.
Great for
Wiring & getting started
-
Fit the header
On the Unsoldered option, fit the short ends of the 5-pin header through the board and solder all five pads. The Soldered option is ready to go.
-
Wire four pins
VCC to 5V on an Uno or Nano, or 3V3 on an ESP32. GND to GND. SCL to A5 and SDA to A4 on an Uno or Nano, or GPIO22 and GPIO21 on an ESP32. Leave DRDY unconnected.
-
Install the library
In the Arduino IDE open Tools > Manage Libraries, search QMC5883P and install Adafruit QMC5883P with its dependencies.
-
Run the test sketch
Upload the sketch from the Quick Start and open the Serial Monitor at 115200 baud. It prints QMC5883P found, then X, Y and Z in gauss that change as you turn the board.
Note: For a compass heading, mount the board level and away from steel screws, magnets, motors and speakers, then calibrate it in place. In New Zealand add about 19 to 27 degrees east of declination to turn magnetic north into true north. The datasheet has a calibrated heading sketch.
Specification
| CLICK IT SKU | CLICK-IT-302349 |
|---|---|
| Brand | NZN Electronics |
Features
A GY-271 3-axis magnetometer board fitted with the QMC5883P sensor, for adding a digital compass heading or magnetic field readings to an Arduino, ESP32 or Raspberry Pi project. It runs from 3V to 5V and talks over I2C at address 0x2C, so it works with…
- Brand NZN Electronics
Reviews
Do you own this product?
Only logged in customers who have purchased this product may leave a review.
Combo deals: buy together and save!
Add these products in one go - the total updates as you tick each item.
Related Promotions
-
Save 12%
Mainboard Suits Neptune 4 Plus/Neptune 4 Max
Original price was: $477.95.$420.60Current price is: $420.60. incl. gst
-
Save 12%
Intel Core i5-14400F 10C/16T (6P+4E Core) CPU LGA1700 No…
Original price was: $419.66.$369.30Current price is: $369.30. incl. gst






