SKU: TH2010
In StockSKU: TH2020
Adafruit LIS3MDL 3-Axis Magnetometer Sensor - STEMMA QT/Qwiic is a compact triple-axis magnetic field sensor breakout built around ST's LIS3MDL. It is well suited for digital compass, heading, navigation, and general magnetic field measurement projects, and it is commonly paired with a 6-DoF accelerometer/gyroscope to build a 9-DoF orientation sensing setup.
The board is designed to be easy to integrate with Arduino, Feather, Raspberry Pi, and other embedded platforms. It supports I2C for simple two-wire communication, can also be used over SPI, and includes STEMMA QT / Qwiic-compatible connectors for fast solderless I2C hookup. Onboard regulation and level shifting allow use with 3V to 5V DC input and both 3.3V and 5V logic systems.
For flexible sensing, the LIS3MDL offers selectable ±4 / ±8 / ±12 / ±16 gauss full-scale ranges, 16-bit output, and update rates from 0.625 Hz to 1000 Hz. It supports continuous and single-conversion modes, includes interrupt and data-ready pins, and provides a self-test mode. The breakout comes fully assembled and tested, includes a strip of 0.1 inch header, and has four 2.5 mm mounting holes. Please note: a STEMMA QT / Qwiic cable is not included.
| I2C Address | I2C address 0x1C or 0x1E |
| Magnetic Range | ±4/±8/±12/16 gauss selectable magnetic fullscales |
| Update Rate | 0.625 to 1000 Hz update rate |
| Operating Modes | Continuous and single-conversion modes |
| Data Output | 16-bit data output |
| Interrupt Function | Interrupt generator |
| Self-Test | Self-test mode |
| Pin | Type | Description |
|---|---|---|
| VIN | Power Input | 3V to 5V DC input for the onboard regulator; power the board to match your microcontroller logic level. |
| 3Vo | Power Output | 3.3V output from the onboard regulator, available for external use up to 100mA. |
| GND | Ground | Common ground for power and logic. |
| SCL | Digital Input | I2C clock pin; also used as SPI clock. Level shifted for 3V to 5V logic and includes a 10K pull-up for I2C. |
| SDA | Bidirectional I/O | I2C data pin; also used as SPI SDI / MOSI. Level shifted for 3V to 5V logic and includes a 10K pull-up for I2C. |
| DO | Digital Output | SPI SDO / MISO output from the LIS3MDL; also associated with alternate I2C address selection. |
| CS | Digital Input | SPI chip select input, active low. |
| INT | Digital Output | Interrupt output that can assert when programmed threshold conditions are met. |
| DRDY | Digital Output | Data-ready output; pulled low when new measurement data is available. |
| STEMMA QT | I2C Connector | Qwiic-compatible JST-SH connector for quick plug-and-play I2C connection. |
It is a 3-axis magnetometer breakout for measuring magnetic fields in X, Y, and Z, commonly used for digital compass, heading, navigation, and magnetic field sensing projects. It is also often paired with a 6-DoF accelerometer/gyroscope to build a 9-DoF orientation setup.
Yes. The board is designed for easy use with Arduino, Feather, Raspberry Pi, and other embedded platforms, and Adafruit provides Arduino as well as CircuitPython/Python driver support.
Yes. The breakout supports I2C for simple two-wire communication and the LIS3MDL can also be used over SPI for data access.
The board has onboard regulation and level shifting, so it can be powered from 3V to 5V DC and used with both 3.3V and 5V logic systems. Adafruit recommends powering VIN to match your microcontroller logic level.
The supported I2C addresses are 0x1C and 0x1E. By default it uses 0x1C, and the alternate address can be selected using the address pin or solder jumper described in the guide.
No. The board includes STEMMA QT / Qwiic-compatible connectors for solderless I2C hookup, but the QT cable is not included.
Average rating
Based on 0 reviews
No reviews match this filter yet.
SKU: TH2010
In StockSKU: TH2026
In StockSKU: TH2015
Sold OutSKU: TH2025
In Stock