Store

Adafruit

$20.07 |
In stock
No reviews yet

The Adafruit LIS3MDL is a triple-axis magnetometer (compass) breakout from ST, with selectable measurement ranges from ±4 gauss (±400 µT) up to ±16 gauss (±1...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Adafruit LIS3MDL is a triple-axis magnetometer (compass) breakout from ST, with selectable measurement ranges from ±4 gauss (±400 µT) up to ±16 gauss (±1600 µT). It's ideal for detecting magnetic north, measuring magnetic fields, or pairing with an accelerometer/gyroscope like the LSM6DSOX to create a full 9-DoF inertial measurement unit.

The breakout board includes voltage regulation and level shifting for compatibility with both 3.3V and 5V microcontrollers. STEMMA QT / Qwiic connectors provide solderless I2C connections, and the sensor also supports SPI. Arduino and CircuitPython/Python libraries are available for quick setup.

Key Features

  • Selectable Range – ±4, ±8, ±12, or ±16 gauss full-scale measurement range
  • Triple-Axis Sensing – Measures magnetic field strength on X, Y, and Z axes
  • Up to 1000 Hz Output – 155 Hz at ultra-high precision, or up to 1000 Hz with slightly reduced precision
  • I2C and SPI Interfaces – Flexible connectivity options
  • 3.3V and 5V Compatible – Onboard voltage regulator and level shifting
  • STEMMA QT / Qwiic Compatible – Solderless I2C connectors for plug-and-play setup and daisy-chaining
  • Four Mounting Holes – 2.5mm (0.1") for secure attachment

Ideal For

  • Digital compass and heading applications
  • 9-DoF IMU when paired with the LSM6DSOX accelerometer/gyroscope
  • Magnetic field measurement and detection
  • Robotics and navigation systems

Package Contents

  • 1× Adafruit LIS3MDL Triple-Axis Magnetometer Breakout (assembled and tested)
  • 1× 0.1" header strip
Note: A STEMMA QT / Qwiic cable is required for solderless connection and is not included.

Resources

Jargon buster

Plain-language definitions for the technical terms used above.

breakout
A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
CircuitPython
A beginner-friendly version of Python designed to run directly on microcontroller boards. If a product supports CircuitPython, you can often program it by copying code files onto the board rather than setting up a more complex toolchain.
Gyroscope
A gyroscope measures rotation, such as how fast a board is turning around its X, Y, and Z axes. This matters for projects like gesture controls, balancing robots, and motion tracking where tilt or rotation changes need to be detected.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
IMU
An Inertial Measurement Unit combines motion sensors to measure movement and orientation. It matters for asset tracking because it can detect movement, tilt, vibration, or changes in direction.
magnetometer
A sensor that measures magnetic fields, often used to work out compass direction. It matters because nearby magnets, motors, or metal objects can affect readings and may require calibration.
Qwiic
Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
SPI
A fast serial communication bus often used for displays, memory cards, and sensors. It matters because SPI devices need specific pins for clock and data, plus a separate chip-select line for each device.
STEMMA
A plug-and-cable connection system used on some maker electronics boards to make wiring simpler. If a product uses STEMMA, you need the matching cable or connector type to plug it in without soldering.
STEMMA QT
A small plug-in connector system for I2C boards that lets you connect compatible sensors and controllers without soldering. It matters because it can make wiring faster and less error-prone, especially when adding several small modules to a project.

Related Tutorials

Free guides on learn.littlebird.com.au

Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.