This is a Freescale’s three axis, digital magnetometer MAG3110 is a low-power to adopt & reads an orientation an independent electronic compass that can be provide accurate heading information. It uses 400 kHz fast mode i2C serial interface output and smart embedded function can easily hook it up to your microcontroller.

Block Diagram

The MAG3110 is capable of measuring a magnetic field with an output data rate up to 80 Hz, these output ODR correspond to sample intervals from 12.5 milliseconds to several seconds. MAG3110 chip is available in a dual-flat-no-led package and operates over temperature range of below 40 degree Celsius to + 85 degree Celsius, runs on 1.95 to 3.6 supply voltage – IO voltage 1.62 and useful on electronic compass and location-based services.

Component Required

  • Arduino Microcontrollers, Teensy, ESP8266, STM32F10X, NUCLEO_401RE, NUCLEO_F030R8, NUCLEO_F103RB, NUCLEO_F302R8, NUCLEO_F411RE, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY8516/8 MHz (Note: The Diagram below is using NANO. If your using other MCU please refer to the respective pin-outs
  • MAG3110 Chip or Module
  • Solder Less Bread Board (Prototyping)
  • Jumpers Wires / DuPont Wires

Wiring Guide

Sketch Code

C Code


Download MAG3110 Datasheet | PDF

Wiring Xtrinsic MAG3110 3-AXIS Digital Magnetometer on Microcontroller
Tagged on:                     


Leave a Reply

Your email address will not be published. Required fields are marked *