Description
Product Overview
The GY-271 HMC5883L 3-Axis Magnetic Sensor Module is a compact, high-precision electronic compass designed for low-field magnetic sensing. It enables you to determine spatial orientation by measuring the Earth’s magnetic field along the X, Y, and Z axes, providing accurate heading information for navigation and motion-sensing projects .
At its core is the Honeywell HMC5883L chip – a surface-mount multi-chip module that integrates magneto-resistive sensors with a 12-bit ADC, amplification, automatic degaussing straps, and offset cancellation . This combination allows the sensor to detect magnetic fields down to 5 milligauss and provide compass heading accuracy of approximately 1 to 2 degrees .
The module communicates via the simple I2C interface, requiring only two data lines (SDA and SCL) to connect to your microcontroller. With a wide operating voltage range of 3V to 5V, it is directly compatible with both 3.3V systems (ESP32, ESP8266, Raspberry Pi) and 5V systems (Arduino) .
Whether you are building a drone navigation system, a robot that needs to know which way is north, a weather station, or a handheld compass, the GY-271 module offers a reliable, low-cost, and easy-to-integrate solution.
Key Features
-
3-Axis Magnetic Field Sensing: Measures magnetic field strength on X, Y, and Z axes simultaneously for full 3D orientation detection .
-
HMC5883L Chipset: Combines high-resolution magneto-resistive sensors with a 12-bit ADC for precise measurements .
-
I2C Digital Interface: Simple 2-wire communication (SDA, SCL) uses only two pins, saving valuable I/O resources .
-
Wide Voltage Compatibility: Operates on 3V – 5V DC, compatible with both 3.3V (ESP32, Raspberry Pi) and 5V (Arduino) systems .
-
Low Power Consumption: Consumes only 100 µA in active measurement mode, ideal for battery-powered applications .
-
Adjustable Measurement Range: User-selectable full-scale range from ±1.3 to ±8 Gauss .
-
High Output Data Rate: Maximum output rate of 160 Hz, suitable for real-time orientation tracking .
-
Data Ready Interrupt (DRDY): Optional pin indicates when new measurement data is available, simplifying efficient code design .
-
Compact Form Factor: Small PCB size (approx. 15mm × 13mm) fits easily into space-constrained projects .
Technical Specifications
| Parameter | Operating Value |
|---|---|
| Sensor Chip | Honeywell HMC5883L |
| Operating Voltage | 3V – 5V DC |
| Active Current | 100 µA (typical) / 8 mA – 10 mA (max) |
| Measurement Range | ±1.3 to ±8 Gauss (selectable) |
| Resolution | Up to 5 mG (at 3V supply) |
| Heading Accuracy | ±1° to ±2° |
| Maximum Output Rate | 160 Hz |
| Communication Protocol | I2C (Standard up to 400 kHz) |
| Default I2C Address | 0x1E (7-bit) / 0x3C (8-bit write) |
| Operating Temperature | -40°C to +85°C |
| Module Dimensions | Approx. 15mm × 13mm × 3.5mm |
| Weight | Approx. 4g |

















Reviews
There are no reviews yet.