Skip to main content

HMC5883L Magnetometer Module

[Click the image to enlarge it]

The HMC5883L is a triple-axis magnetometer compass, which uses I2C for communication. This Module consists of an on-board voltage regulator allowing you to power the module with voltages between 3.3V and 6V.

 

HMC5883L Pinout Configuration

Pin Name

Description

VCC

           

The Vcc pin powers the module, typically with +5V

GND

Power Supply Ground

SCL

Serial Clock Pin. Connect this pin to the SCL pin of Microcontroller.

SDA

Serial Data Pin. Connect this pin to the SDA pin of Microcontroller.

DRDY

Data Ready Pin Output. This pin is used to know that when data is ready to be read

 

Magnetometer Module Features & Specifications

  • Operating Voltage: 3V to 6V DC
  • I2C interface
  • 1-2 degree heading accuracy
  • Integrated 12-bit ADC
  • 160Hz max data rate
  • Range of -8 to +8 Gauss
  • Needs no external components
  • Easy to use with Microcontrollers or even with normal Digital/Analog IC
  • Small, cheap and easily available

 

Alternate Sensor Modules: IR Sensor Module, LDR Sensor Module, TP4056ALi-ion Battery Charging/Discharging Module, DS3231 RTC Module, TMC2209 Stepper Motor Driver Module, DRV8825 Stepper Motor Driver Module, A4988 Stepper Motor Driver Module, NEO-6MV2 GPS Module, Joystick Module, EM18 - RFID Reader Module, GLCD 128x64, ADXL335 Accelerometer Module, Soil Moisture Sensor

Related Components: HMC5883L, Resistors, Voltage Regulator IC

 

Brief about Magnetometer Module

This HMC5883L Magnetometer Module consists of an HMC5883L Magnetometer IC, Voltage Regulator IC, resistors, and capacitors in an integrated circuit. Different manufacturers use a different voltage regulator IC. Most of the modules use XC6206P332MR (662K) IC.

 

The HMC5883L is a surface-mount, multi-chip module designed for low-field magnetic sensing IC. The HMC5883L includes high-resolution HMC118X series magneto-resistive sensors plus an ASIC containing amplification, automatic degaussing strap drivers, offset cancellation, and a 12-bit ADC that enables 1° to 2° compass heading accuracy.

Apart from the HMC5883L IC, this module also consists of a 3.3V voltage regulator IC. 

HMC5883L Magnetometer Module

How to Use the HMC5883L Magnetometer Module

HMC5883L Magnetometer Module consists of five pins i.e. VCC, GND, SCL, SDA, and DRDY. Using the Magnetometer module with a microcontroller is very easy. Connect VCC and GND pins to 5V and GND pins of Microcontroller. Also, connect SCL and SDA pins to the SCL and SDA pins of Microcontroller.

 

Applications of HMC5883L Magnetometer

  • Auto and personal navigation.
  • UAV systems.
  • Robotic navigation.
  • Location-based services (LBS).
Component Datasheet

Get Our Weekly Newsletter!

Subscribe to stay updated with industry's latest Electronics components and news

* indicates required