✨ New Arrivals Just Dropped!Explore
HomeStore

Adafruit Triple-axis Magnetometer - LIS3MDL (STEMMA QT / Qwiic)

Adafruit Triple-axis Magnetometer - LIS3MDL (STEMMA QT / Qwiic)

Sense the magnetic fields that surround us with this handy triple-axis magnetometer (compass) module. Magnetometers can sense where the strongest magnetic force is coming from, generally used to detect magnetic north, but can also be used for measuring magnetic fields. This sensor tends to be paired with a 6-DoF (degree of freedom) accelerometer/gyroscope to create a 9-DoF inertial measurement unit that can detect its orientation in real-space thanks to Earth's stable magnetic field. It's a great match for the LSM6DSOX from ST!

We based this breakout on ST's LIS3MDL, a great general purpose magnetometer. This compact sensor uses I2C to communicate, and it's very easy to use. Simply download our library and connect the SCL pin to your I2C clock pin, and SDA pin to your I2C data pin and upload our test program to read out magnetic field data. If you'd like, you can also use SPI to receive data (we just happen to prefer I2C here)

This sensor can sense ranges from +-4 gauss (+- 400 uTesla) up to +-16 gauss (+- 1600 uT or 1.6 mT). For ultra-high precision, 155 Hz update rate is recommended - but if you don't mind a little loss of precision, the sensor can output at 1000 Hz.

To make life easier so you can focus on your important work, we've taken the LIS3MDL and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the LIS3MDL and get magnetic measurements ASAP. QT Cable is not included, but we have a variety in the shop.

It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment.

Technical Details

Technical Specifications:

  • I2C address 0x1C or 0x1E
  • ±4/±8/±12/16 gauss selectable magnetic full
    scales
  • 0.625 to 1000 Hz update rate
  • Continuous and single-conversion modes
  • 16-bit data output
  • Interrupt generator
  • Self-test mode

Product Dimensions: 25.7mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.5g / 0.1oz

$3.36

Original: $9.60

-65%
Adafruit Triple-axis Magnetometer - LIS3MDL (STEMMA QT / Qwiic)

$9.60

$3.36
Product image 1
Product image 2
Product image 3
Product image 4
Product image 5

Description

Sense the magnetic fields that surround us with this handy triple-axis magnetometer (compass) module. Magnetometers can sense where the strongest magnetic force is coming from, generally used to detect magnetic north, but can also be used for measuring magnetic fields. This sensor tends to be paired with a 6-DoF (degree of freedom) accelerometer/gyroscope to create a 9-DoF inertial measurement unit that can detect its orientation in real-space thanks to Earth's stable magnetic field. It's a great match for the LSM6DSOX from ST!

We based this breakout on ST's LIS3MDL, a great general purpose magnetometer. This compact sensor uses I2C to communicate, and it's very easy to use. Simply download our library and connect the SCL pin to your I2C clock pin, and SDA pin to your I2C data pin and upload our test program to read out magnetic field data. If you'd like, you can also use SPI to receive data (we just happen to prefer I2C here)

This sensor can sense ranges from +-4 gauss (+- 400 uTesla) up to +-16 gauss (+- 1600 uT or 1.6 mT). For ultra-high precision, 155 Hz update rate is recommended - but if you don't mind a little loss of precision, the sensor can output at 1000 Hz.

To make life easier so you can focus on your important work, we've taken the LIS3MDL and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the LIS3MDL and get magnetic measurements ASAP. QT Cable is not included, but we have a variety in the shop.

It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment.

Technical Details

Technical Specifications:

  • I2C address 0x1C or 0x1E
  • ±4/±8/±12/16 gauss selectable magnetic full
    scales
  • 0.625 to 1000 Hz update rate
  • Continuous and single-conversion modes
  • 16-bit data output
  • Interrupt generator
  • Self-test mode

Product Dimensions: 25.7mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.5g / 0.1oz

You may also like

NEW
Thumbnail 1Thumbnail 2

Adafruit SGP41 Multi-Pixel Gas Sensor Breakout - VOC & NOx

$25.35

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit Fruit Jam - Mini RP2350 Computer

$50.71

$15.21

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit AS7331 UV / UVA / UVB / UVC Sensor Breakout

$28.52

$8.56

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit AS7343 14-Channel Light / Colour Sensor Breakout

$25.35

$7.61

NEW
Thumbnail 1Thumbnail 2

Adafruit TMP119 High-Precision ±0.03°C I2C Temperature Sensor

$19.01

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit TCS3430 / TCS34303 Ambient Tri-Stimulus Colour Sensor

$12.02

$3.61

NEW
Thumbnail 1Thumbnail 2

Adafruit LED Sequins - Cool White - Pack of 5

$5.02

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit STCC4 and SHT41 - CO2, Temperature & Humidity Sensor

$34.86

$10.46

NEW
Thumbnail 1Thumbnail 2

Adafruit APDS9999 Proximity, Lux Light & Colour Sensor

$9.51

NEW
Thumbnail 1Thumbnail 2

Adafruit ADS122C04 24-Bit ADC - 4 Channel 2-kSPS

$25.35

NEW
Thumbnail 1Thumbnail 2

Adafruit TMAG5273 3D Hall Effect Magnetometer Breakout

$7.53

-70%NEW
Thumbnail 1Thumbnail 2

Adafruit Terminal Block BFF Add-On for QT Py and XIAO

$13.86

$4.16