SKU: TH2010
In StockSKU: TH2027
Adafruit Triple-axis Magnetometer - LIS2MDL is a breakout board built around ST's LIS2MDL general-purpose magnetic field sensor. It measures the magnetic field on three axes, making it useful for compass projects, magnetic field sensing, and orientation-aware builds.
This board is a natural companion for a 6-DoF accelerometer/gyroscope when you want to build a 9-DoF motion sensing setup. It is highlighted as a great match for the LSM6DSOX, and the guide also references pairing with the LSM6DS33.
The breakout is designed to be easy to integrate with both 3.3V and 5V systems thanks to onboard support circuitry. You can use I2C or SPI, and the board also includes STEMMA QT / qwiic-compatible connectors for quick I2C hookup with minimal wiring.
Key technical details for the LIS2MDL breakout.
| Brand | Adafruit |
|---|---|
| Model | LIS2MDL Triple-Axis Magnetometer Breakout |
| Supply Voltage | 3V to 5V DC input via Vin |
| Logic Compatibility | 3.3V and 5V logic compatible |
| Interface | I2C and SPI |
| I2C Address | Fixed 0x1E |
| Magnetic Full Scale | ±50 gauss |
| Magnetic Range | Up to nearly ±49.152 gauss (±4952 µTesla) |
| Data Output | 16-bit |
| Update Rate | Adjustable, up to max 150 Hz |
| Operating Modes | Continuous and single-conversion modes |
| Extra Features | Interrupt data pin in I2C mode, self-test mode |
| Mounting | Four 2.5mm (0.1") mounting holes |
| Included | Fully assembled and tested board, plus a bit of 0.1" standard header |
Main power and interface pins on the breakout board.
| Pin | Name | Function |
|---|---|---|
| 1 | Vin | Power input, accepts 3V to 5V DC through the onboard regulator |
| 2 | 3Vo | Regulated 3.3V output, up to 100mA available |
| 3 | GND | Common ground for power and logic |
| 4 | SCL | I2C clock pin; also used as SPI clock in SPI mode |
| 5 | SDA | I2C data pin; also used as SPI data input (MOSI) in SPI mode |
| 6 | SDO | SPI data output (MISO) |
| 7 | CS | SPI chip select input |
The LIS2MDL gives you a straightforward way to add magnetic heading or field sensing to Arduino, Raspberry Pi, and CircuitPython projects. With onboard level shifting, regulated power input, and no-solder STEMMA QT / qwiic I2C connectivity, it is well suited for quick prototyping as well as more permanent builds.
Please note: the I2C address is fixed at 0x1E. If you need to connect multiple sensors on the same bus, SPI may be the better option.
It is a triple-axis magnetometer used to sense magnetic fields, commonly for compass-style heading detection and magnetic field measurement. It is often paired with a 6-DoF accelerometer/gyroscope to build a 9-DoF orientation sensing setup.
Yes. The breakout includes onboard support circuitry and level shifting so it can be used with 3.3V or 5V logic, and the Vin pin accepts 3V to 5V DC.
This board supports both I2C and SPI communication. For I2C, it also includes STEMMA QT / SparkFun Qwiic compatible connectors for quick plug-in wiring.
The LIS2MDL breakout uses a fixed I2C address of 0x1E. If you need to connect multiple units, SPI mode can be used with separate chip select pins.
The sensor has a fixed full-scale magnetic range of ±50 gauss, specified as up to about ±49.152 gauss or ±4952 microtesla. It supports adjustable measurement rates, with practical figures listed from 10 Hz up to 100 Hz, and a maximum update rate of 150 Hz.
Yes. Adafruit provides libraries for Arduino as well as CircuitPython/Python, and the board comes fully assembled and tested with a strip of 0.1 inch header for breadboard or perfboard use.
Average rating
Based on 0 reviews
No reviews match this filter yet.
SKU: TH2010
In StockSKU: TH2012
Sold OutSKU: TH2014
In StockSKU: TH2015
Sold Out