Creative Commons images are CC BY-NC-SA 3.0

Description: This is Honeywell’s HMC5883L, a 3-axis digital magnetometer designed for low-field magnetic sensing. The sensor has a full-scale range of ±8 Guass and a resolution of up to 5 milli-Gauss.

Supplied voltage should be between 2.16 and 3.6VDC.

Communication with the HMC5883L is simple and all done through an I2C interface. All registers and operating modes are well described in the datasheet below.

Comes in a low-height, LCC surface mount package. For a breakout board, see below.


  • Simple I2C interface
  • 2.16-3.6VDC supply range
  • Low current draw
  • 5 milli-gauss resolution

Dimensions: 3.0x3.0x0.9mm



Recommended Products

Customer Comments

  • Hello,
    When do you plan to add this part into the eagle library?

  • I have used the HMC5843 and it seems that the HMC5883L is very similar except for a few things. One of the new things that isn’t particularly well explained in the datasheet is the Measurement Averaging bits, MA1 and MA0, of configuration register A. By setting these bits, the measurement output can be averaged over 1, 2, 4, or 8 samples. To clarify, suppose I configure the sensor to run at 75Hz (DO2:DO0 = 110), and average 8 samples per measurement output (MA1:0=11). Does this mean:
    1) that the sensor is taking 8 samples every measurement period
    (1/75Hz = 13.3ms), averaging them, and putting the result in the data registers
    2) the sensor is taking only one measurement per sample period, and averaging that with the previous 7 measurements, so that the average would be effectively over 8*13.3ms = 106ms period?
    3) something else?
    I’ve tried to search online for this, but haven’t found anything to help clarify.

    • I suspect that it’s a simple “moving average” filter, where it samples at the given rate (75Hz), saves the last 8 samples, reports the average of those 8, then discards the oldest value when it takes a new sample. But as always, you should feel free to contact the chip manufacturer (Honeywell) for detailed information about the low-level functioning of their parts. Most companies have application engineers standing by to help you.

    • Hi, another thing that is different and care should be taken of is the internal data registers, Y and Z data registers are replaced!

  • “For a breakout board, see below."
    There are no products in the related products section.
    I believe you intended to link this board.

  • That’s not a datasheet in the description, this is it I think:

Customer Reviews

No reviews yet.