MAG3110 Magnetometer

The MAG3110 is a small, low-power digital 3-D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields.

Hello World

Import programWi-Go-MagnetometerTest

Quick test of the Wi-Go Magnetometer


Import libraryMAG3110

Added function to retrieve raw data from sensor



The MAG3110 magnetometer measures the three components of the local magnetic field which will be the sum of the geomagnetic field and the magnetic field created by components on the circuit board.

Used in conjunction with a 3-axis accelerometer, orientation-independent accurate compass heading information can be achieved. The MAG3110 features a standard I²C serial interface and is capable of measuring local magnetic fields up to 10 Gauss with output data rates (ODR) up to 80 Hz. These output data rates correspond to sample intervals from 12 ms to several seconds. The MAG3110 is available in a plastic DFN package and is guaranteed to operate over the extended temperature range of -40°C to +85°C.


80 Hz maximum sampling rate

I²C interface 400 kHz

-40°C to +85°C operation

.95 to 3.6-volt supply

Please log in to start a discussion or ask a question.