Reference: RBD-2792
Banner

The GY-271 HMC5883L 3-Axis Compass Magnetometer Sensor Module is a high-sensitivity magnetic field sensor designed for precise orientation and navigation applications. Powered by the HMC5883L chip, it utilizes anisotropic magnetoresistive (AMR) technology to measure magnetic fields in three axes with outstanding accuracy. With a detection range of ±8 gauss and accuracy up to ±2 milligauss, the module provides stable and reliable readings even in dynamic conditions. Communication is handled through the I²C protocol, making it fully compatible with popular microcontrollers such as Arduino, ESP32, STM32, and Raspberry Pi. Thanks to its low power consumption, compact 14.5×13.5mm size, and 12-bit ADC, this sensor is widely used in robotics, UAVs, GPS systems, and environmental monitoring where high precision and low latency are essential. Featured By RoboticsBD.
Product Images are shown for illustrative purposes only and may differ from the actual product.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
3-axis magnetometer measures magnetic fields on X, Y, and Z axes.
Based on HMC5883L chip with AMR technology for superior precision.
Wide magnetic range: ±8 gauss with ±2 milligauss sensitivity.
12-bit ADC provides accurate digital conversion for stable readings.
I²C interface ensures easy integration with most microcontrollers.
Low current consumption — 100µA in measurement mode, 2µA in sleep mode.
Compact and lightweight PCB for easy embedding.
High directional accuracy (1°–2°) for orientation and heading applications.
Wide voltage compatibility: operates from 3V to 5V.
Ideal for drones, robots, GPS devices, and motion control systems.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
Robotic navigation – precise direction and orientation control.
GPS navigation systems – improved heading accuracy and drift correction.
Drone and UAV stabilization – supports autonomous flight navigation.
Motion tracking and gesture recognition – detects subtle magnetic variations.
Industrial automation – used for position tracking in automated systems.
Meteorology and geomagnetic studies – monitors magnetic field changes.
Wearables and mobile devices – integrated compass and AR tracking.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
| General Specifications | |
| Model | GY-271 |
| Chipset | HMC5883L |
| Measurement Axes | X, Y, Z (3-axis magnetometer) |
| Operating Voltage | 3V – 5V DC |
| Current Consumption | 100µA (active), 2µA (sleep) |
| Magnetic Field Range | -8 Gauss to +8 Gauss |
| Sensitivity | ±2 milligauss |
| Heading Accuracy | 1° – 2° |
| ADC Resolution | 12-bit |
| Interface | I²C (up to 160Hz output) |
| Output Frequency | Max. 160Hz |
| Number of Pins | 5 |
| Module Dimensions | 14.5 × 13.5 mm |
| Operating Temperature | -40°C – +85°C |
| Country of Origin | China |
| Shipment Weight | 0.004 kg |
| Shipment Dimensions | 3 × 2 × 1 cm |
Please allow 5% measuring deviation due to manual measurement.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
Connect the Sensor to a Microcontroller
Install Required Libraries
Read Sensor Data
Calibrate the Sensor
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD

1 x GY-271 HMC5883L 3-Axis Compass Magnetometer Sensor Module
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
Specific References
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent
Write your review
Review sent
Your review cannot be sent
Reference: RBD-2792
Reference: RBD-3813
Brand: DFRobot
Reference: RBD-4159
Reference: RBD-3653
Brand: DFRobot
Reference: RBD-4110
Reference: RBD-0104
Reference: RBD-3691
Reference: RBD-0382
Reference: RBD-4195
Brand: Waveshare
Reference: RBD-3449
Reference: RBD-3690
Reference: RBD-3525
Brand: DFRobot
Reference: RBD-2329
Reference: RBD-0151
Reference: RBD-2448
Reference: RBD-0742
Reference: RBD-1202
Reference: RBD-1605
Reference: RBD-1722
Reference: RBD-2322
Reference: RBD-2639
Reference: RBD-2640
Reference: RBD-3073
Reference: RBD-0032
Reference: RBD-3404
Reference: RBD-1202
Reference: RBD-3651
Brand: DFRobot
Reference: RBD-3403
Reference: RBD-3277
check_circle
check_circle