Adafruit LIS3MDL Triple-Axis Magnetometer Breakout Board

Adafruit LIS3MDL Triple-Axis Magnetometer Breakout Board is based on the STM LIS3MDL, a great general purpose magnetometer. This compact sensor uses I2C to communicate and is very easy to use. The user simply downloads the Adafruit library, connects the SCL pin to the I2C clock pin, and SDA pin to the I2C data pin. The user can upload the Adafruit test program to read out magnetic field data. The user can also use SPI to receive data. This sensor can sense ranges from +-4 gauss (+- 400uTesla) up to +-16 gauss (+- 1600uT or 1.6mT). For ultra-high precision, a 155Hz update rate is recommended, but if the user doesn't mind a little loss of precision, the sensor can output at 1000Hz.

Adafruit puts the LIS3MDL onto a breakout PCB along with support circuitry to let the user use this with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/Metro328) logic levels. Since it has I2C, the user can easily connect it up with two wires. The SparkFun qwiic compatible STEMMA QT connectors have been included for the I2C bus, so there is no need to solder. The user just wires it up to their favorite microcontroller, and they can use Adafruit CircuitPython/Python or Arduino drivers to easily interface with the LIS3MDL and get magnetic measurements right away. The breakout board is fully assembled and tested. It comes with a bit of 0.1" standard header in case the user wants to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes are included for easy attachment.


  • I2C address is 0x1C or 0x1E
  • ±4/±8/±12/16 gauss selectable magnetic full scales
  • 0.625 to 1000Hz update rate
  • Continuous and single-conversion modes
  • 16-bit data output
  • Interrupt generator
  • Self-test mode
  • Product Dimensions: 25.7mmx17.8mmx4.6mm (1.0"x0.7"x 0.2")
  • Product Weight: 1.5g (0.1oz)
Gepubliceerd op: 2020-02-18 | Bijgewerkt op: 2022-03-11