Triple-axis Magnetometer (Compass) Board - HMC5883L

SKU: ADA1746 Brand: Adafruit

Retired Product

Replaced by: SEN-12670
This product has been replaced by: SEN-12670
This product is no longer available. This page is only for reference.

He told you "Go West, young maker!" - but you don't know which way is West! Ah, if only you had this triple-axis magnetometer compass module. A magnetometer can sense where the strongest magnetic force is coming from, generally used to detect magnetic north.

Adafruit based this breakout on a popular and well loved magnetometer, the HMC5883L. This compact sensor uses I2C to communicate and its very easy to use. Since it's a 3.3V max chip, Adafruit added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcontrollers. Simply connect VCC to +3-5V and ground to ground. Then read data from the I2C clock and data pins. There's also a Data Ready pin you can use to speed up reads (check the datasheet for details)

If using with an Arduino, its extra-easy to get started as Adafruit already wrote a nice little Arduino library with a matching tutorial to get you started. Simply download Adafruit's library and connect the SCL pin to your Arduino's I2C clock pin, and SDA pin to your Arduino's I2C data pin and upload Adafruit's test example sketch to read out magnetic field data and heading (i.e. which way is north)

This is the same magnetometer sensor that is inside the LSM303. So if you want an accelerometer as well as a magnetometer, check out the LSM303 - it has basically this sensor + a nice digital 3-axis accelerometer!

Specs:

  • I2C interface
  • 1-2 degree heading accuracy
  • Integrated 12-bit ADC
  • 160Hz max data rate
  • Range of -8 to +8 Gauss

Technical Details

Datasheets, PCB CAD files, Fritzing objects and more in the tutorial

Specs:

  • I2C interface. This board/chip uses I2C 7-bit addresses 0x3C
  • 1-2 degree heading accuracy
  • Integrated 12-bit ADC
  • 160Hz max data rate
  • Range of -8 to +8 Gauss

This product is listed in:

Retired

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $7+ for Standard Post (typically 6+ business days, tracked)
  • $11+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $12+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

40 Aruma Place
Cardiff
NSW, 2285
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Guides

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

Projects

Raspberry Pi Cyberdeck (SDR Edition)

I’ve always wanted a compact, rugged, and portable computer that can withstand any environmen...
I’ve always wanted a compact, rugged, and portable computer that can withstand any environmen...

Pico-Dog Motion Activated Audio Alarm

An instant response security system that actually works!If you've got security cameras tied to clou...
An instant response security system that actually works!If you've got security cameras tied to clou...

WaveJumper: Music Sample Slicer on a Breadboard

It was a dark and stormy night, and Pix was bumbling around with nonsense again. I was thinking of...
It was a dark and stormy night, and Pix was bumbling around with nonsense again. I was thinking of...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.