The GY-273 HMC5883L Triple Axis Compass Magnetometer Sensor Module measures magnetic field strength across selectable ±1.3 to ±8 Gauss ranges with 12-bit ADC resolution, communicating via I2C (up to 400kHz) at a 160Hz data rate, operating from 3V to 5V across -30°C to 85°C. The gy 273 sensor is a standalone three-axis magnetometer — the same compass functionality bundled inside larger IMUs like the MPU-9250, but available here as a dedicated single-purpose module for projects needing only heading direction without motion or orientation sensing.
The gy 273 magnetometer sensor works by detecting the strength and direction of Earth’s magnetic field across its X, Y, and Z axes, calculating a compass heading using trigonometry on the X-Y plane readings. This triple axis magnetometer sensor’s HMC5883L driver IC provides raw magnetic readings, but accurate true-north navigation requires applying magnetic declination correction — the angular difference between magnetic north (where the sensor points) and true geographic north, which varies by location and must be looked up or calibrated for the deployment area.
Drone builders and autonomous robot navigators building digital compass projects all use the hmc5883l magnetometer regularly. StemVolt provide sensor module ready to use. Use Arduino IDE with the HMC5883L library with an I2C driver to read heading data within minutes.
Related Product:
Features:
- Standalone 3-axis magnetometer for dedicated compass heading sensing
- Selectable ±1.3 to ±8 Gauss range for different magnetic environments
- 12-bit ADC with I2C interface for simple microcontroller integration
- 160Hz data rate for responsive real-time heading updates
- -30°C to 85°C wide range suits outdoor navigation devices
Pin Diagram of GY-273 HMC5883L Sensor:

Technical specifications:
| Specification | Details |
|---|---|
| Model | HMC5883L |
| ADC Resolution | 12-bit |
| Driver IC | HMC5883L |
| Communication Interface | I²C (up to 400 kHz) |
| Measurement Range | ±1.3 to ±8 Gauss |
| Data Rate | 160 Hz |
| Input Voltage | 3 V – 5 V DC |
| Operating Temperature | -30°C to +85°C |
 Applications:
- GY-273 used for Arduino digital compass heading display build
- College project uses gy 273 sensor for magnetic field demo
- Robot uses gy 273 magnetometer sensor for India navigation heading correction
- Drone uses triple axis magnetometer sensor for flight heading reference
- Metal detector uses hmc5883l magnetometer for field strength sensing demo
Package includes:
- 1 x GY-273 HMC5883L Triple Axis Compass Magnetometer Sensor Module














Arjun Malhotra –
100% genuine product
Rhea Kulkarni –
This module provides accurate magnetic field and compass heading measurements, making it ideal for navigation systems, robotics, and college projects
Kabir Mehta –
Fast delivery, safe packaging, and smooth UPI payment ensured a hassle-free purchasing experience, while helpful customer support assisted with project integration queries.