# MLX90393 Wide-Range 3-Axis Magnetometer

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/099/579/medium800/sensors_MLX30393_top.jpg?1613592046)

Measure the invisible magnetic fields that surround us, with this wide-range magnetometer. The MLX90393 is a wide range magnetic field sensor, that can measure 16-bits in ranges from +/-5mT up to +/-50mT in all 3 axes.

Compared to most magenetometers, this gives a huge range, which makes it excellent for detecting _magnets_ and magnetic orientation, rather than the Earths magnetic field. (Magnets have a much stronger field that overwhelms most magnetometers that would normally be used for orientation with respect to the North Pole)

![](https://cdn-learn.adafruit.com/assets/assets/000/099/580/medium800/sensors_MLX30393_back.jpg?1613592057)

To make it easy to use, we've placed this tiny little sensor onto a breakout board, with a 3.3V power supply and level shifter. This makes it easy to use with any 3 or 5V microcontroller. Our Arduino and CircuitPython code will get you started in a jiffy, with I2C communication to the sensor. You will be readin' out those Gauss's in minutes! With the address select pins you can have up to 4 sensors on one I2C bus.

![](https://cdn-learn.adafruit.com/assets/assets/000/099/581/medium800/sensors_MLX30393_top_header.jpg?1613592180)

Comes as a fully assembled and tested breakout board with a small piece of header for use with a breadboard. As if that weren't enough, we've now also added[&nbsp;SparkFun qwiic](https://www.sparkfun.com/qwiic)&nbsp;compatible&nbsp;**[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)**&nbsp;connectors for the I2C bus **so you don't even need to solder the I2C and power lines.** Just wire up to your favorite micro using a&nbsp;[STEMMA QT adapter cable.](https://www.adafruit.com/?q=stemma%20qt%20cable)&nbsp;The Stemma QT connectors also mean the MLX90393 can be used with our&nbsp;[various associated accessories.](https://www.adafruit.com/?q=JST%20SH%204)&nbsp;[QT Cable is not included, but we have a variety in the shop](https://www.adafruit.com/?q=stemma+qt+cable&sort=BestMatch).

![](https://cdn-learn.adafruit.com/assets/assets/000/099/582/medium800/sensors_MLX30393_STEMMA_side.jpg?1613592188)

# Specifications

The MLX90393 has the following key technical specifications:

- 16-bit output on all three (XYZ) magnetic field sensors
- An unusually large dynamic range of **5-50 mT** (1 mT or millitesla = 10 G or Gauss).  
By comparison, the LSM303DLHC saturates at +/-8.1 G (0.81 mT) at maximum range setting.
- Up to ~500 Hz sample rate [1]
- User-adjustable I2C address to allow multiple sensors in your project (two I2C ADDR pins for four possible I2C addresses).

[1] Based on `OSR=0, DIG_FILT=2, HALLCONF=0xC` for **1.84ms** conversion time. See 15.1.5 HALLCONF [3:0} in the datasheet for details.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/071/117/medium800/sensors_4022_kit_ORIG_2019_02.jpg?1550086571)

- [Next Page](https://learn.adafruit.com/mlx90393-wide-range-3-axis-magnetometer/pinout.md)

## Primary Products

### Adafruit Wide-Range Triple-axis Magnetometer - MLX90393

[Adafruit Wide-Range Triple-axis Magnetometer - MLX90393](https://www.adafruit.com/product/4022)
Measure the invisible magnetic fields that surround us, with this wide-range magnetometer. The MLX90393 is a wide range magnetic field sensor, that can measure 16-bits in ranges from ±5mT up to ±50mT in all 3 axes.

Compared to most magnetometers, this gives a huge range,...

In Stock
[Buy Now](https://www.adafruit.com/product/4022)
[Related Guides to the Product](https://learn.adafruit.com/products/4022/guides)

## Related Guides

- [TVA Pruning Baton from Loki](https://learn.adafruit.com/tva-pruning-baton-from-loki.md)
- [ulab: Crunch Numbers fast in CircuitPython](https://learn.adafruit.com/ulab-crunch-numbers-fast-with-circuitpython.md)
- [Adafruit MMA8451 Accelerometer Breakout](https://learn.adafruit.com/adafruit-mma8451-accelerometer-breakout.md)
- [Garmin Lidar Lite Range Finder](https://learn.adafruit.com/garmin-lidar-lite-range-finder.md)
- [HalloWing Magic 9 Ball](https://learn.adafruit.com/hallowing-magic-9-ball.md)
- [Pyloton: CircuitPython Cycling Computer](https://learn.adafruit.com/pyloton.md)
- [BNO055 Absolute Orientation Sensor with Raspberry Pi & BeagleBone Black](https://learn.adafruit.com/bno055-absolute-orientation-sensor-with-raspberry-pi-and-beaglebone-black.md)
- [Gemma M0 Vibration Sensor Motion Alarm](https://learn.adafruit.com/motion-alarm.md)
- [A Sillier Mousetrap: Logging Mouse Data to Adafruit IO with the Raspberry Pi](https://learn.adafruit.com/a-sillier-mousetrap-logging-mouse-data-to-adafruit-io-with-the-raspberry-pi.md)
- [Using an IR Remote with a Raspberry Pi Media Center](https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center.md)
- [Use Apple HomeKit Devices with itsaSNAP and Adafruit IO](https://learn.adafruit.com/use-apple-homekit-devices-with-itsasnap.md)
- [Professor Bubbleton’s Breathing Head in a Jar](https://learn.adafruit.com/professor-bubbleton-s-breathing-head-in-a-jar.md)
- [Adafruit Trinkey QT2040](https://learn.adafruit.com/adafruit-trinkey-qt2040.md)
- [Adafruit AS5600 Magnetic Angle Sensor](https://learn.adafruit.com/adafruit-as5600-magnetic-angle-sensor.md)
- [reef-pi Guide 4: Water Level Controller](https://learn.adafruit.com/reef-pi-water-level-controller.md)
