Skip to the content
PCBKitNew board
LIS3MDL on a board, in 3D

LIS3MDL

STMicroelectronics

-40℃~+85℃ 1.9V~3.6V 16bit 1uA、40uA、270uA I2C、SPI ±1.6mT、±1.2mT、±8Gs、±4Gs ±1.6mT、±1.2mT、±8Gs、±4Gs LGA-12(2x2) 3D Magnetic Sensors ROHS

Extended
Category
3D Magnetic Sensors
Package
LGA-12(2x2)
Pins
12

Overview

The LIS3MDL is a 3D Magnetic Sensor made by STMicroelectronics in a LGA-12(2x2) package with 12 pins. -40℃~+85℃ 1.9V~3.6V 16bit 1uA、40uA、270uA I2C、SPI ±1.6mT、±1.2mT、±8Gs、±4Gs ±1.6mT、±1.2mT、±8Gs、±4Gs LGA-12(2x2) 3D Magnetic Sensors ROHS.

PCBKit's library has its KiCad symbol (Sensor_Magnetic:LIS3MDL, from KiCad's library) and its footprint (4ms_Package_QFP:LGA-12_2x2mm_P0.5mm, from KiCad's library), ready for a KiCad board. 732 are in stock at JLCPCB (part C478483). 72 open-source boards in 56 repositories on GitHub use it.

Symbol

SCL/SPC1GND3C14Vdd5Vdd_IO6INT7DRDY8SDO/SA19CS10SDA/SDI/SDO11
Sensor_Magnetic:LIS3MDLFrom KiCad's library

Footprint

123456789101112
4ms_Package_QFP:LGA-12_2x2mm_P0.5mmFrom KiCad's library

From the datasheet

8
Supply, least
1.9 V · Vdd, recommended operating min · p. 9
Supply, most
3.6 V · Vdd, recommended operating max · p. 9
Supply, least
1.71 V · Vdd_IO, recommended operating min · p. 9
Supply, absolute maximum
4.8 V · Vdd, absolute max · p. 12
Works from
-40 °C · Operating temperature min · p. 9
Works up to
85 °C · Operating temperature max · p. 9
Takes working
270 µA · Vdd, typical ultra-high-resolution mode, ODR = 20 Hz · p. 9
Takes asleep
1 µA · Vdd, typical power down · p. 9

What it is and has

9
Magnetic full scales
±4/±8/±12/±16 gauss selectable · p. 1
Conversion modes
Continuous and single-conversion · p. 1
Data output
16-bit · p. 1
Interrupt generator
Supported · p. 1
Self-test
Supported · p. 1
Digital interfaces
I2C/SPI · p. 1
Power modes
Power-down and low-power · p. 1
Compliance
ECOPACK®, RoHS and Green · p. 1
Package
LGA-12 (2.0x2.0x1.0 mm) · p. 1

Specifications

33
ParameterConditionsAs printedPage
Measurement range FSSelectable ±4 gauss range; Vdd = 2.5 V, T = 25 °Ctyp 4 gauss8
Measurement range FSSelectable ±8 gauss range; Vdd = 2.5 V, T = 25 °Ctyp 8 gauss8
Measurement range FSSelectable ±12 gauss range; Vdd = 2.5 V, T = 25 °Ctyp 12 gauss8
Measurement range FSSelectable ±16 gauss range; Vdd = 2.5 V, T = 25 °Ctyp 16 gauss8
Sensitivity GNFS=±4 gauss; Vdd = 2.5 V, T = 25 °Ctyp 6842 LSB/gauss8
Sensitivity GNFS=±8 gauss; Vdd = 2.5 V, T = 25 °Ctyp 3421 LSB/gauss8
Sensitivity GNFS=±12 gauss; Vdd = 2.5 V, T = 25 °Ctyp 2281 LSB/gauss8
Sensitivity GNFS=±16 gauss; Vdd = 2.5 V, T = 25 °Ctyp 1711 LSB/gauss8
Zero-gauss level ZgaussFS=±4 gauss; typical value is ±1 gausstyp 1 gauss8
RMS noise RMSX-axis; FS=±12 gauss; Ultra-high-performance modetyp 3.2 mgauss8
RMS noise RMSY-axis; FS=±12 gauss; Ultra-high-performance modetyp 3.2 mgauss8
RMS noise RMSZ-axis; FS=±12 gauss; Ultra-high-performance modetyp 4.1 mgauss8
Non-linearity NLBest-fit straight line; FS = ±12 gauss; Happlied = ±6 gauss; typical value is ±0.12 %FStyp 0.12 %FS8
Self test(2) STX-axis; FS = ±12 gauss; absolute valuemin 1 · max 3 gauss8
Self test(2) STY-axis; FS = ±12 gauss; absolute valuemin 1 · max 3 gauss8
Self test(2) STZ-axis; FS = ±12 gauss; absolute valuemin 0.1 · max 1 gauss8
Magnetic disturbance field DFZero-gauss offset starts to degrademax 50 gauss8
Operating temperature range Topmin -40 · max 85 °C8
Temperature sensor output change vs. temperature TSDrVdd = 2.5 V, T = 25 °Ctyp 8 LSB/°C9
Operating temperature range Topmin -40 · max 85 °C9
Supply voltage Vddmin 1.9 · max 3.6 V9
Power supply for I/O Vdd_IOMaximum is Vdd+0.1 Vmin 1.71 · typ 1.8 V9
Current consumption in ultra-high-resolution mode Idd_HRODR = 20 Hz; Vdd = 2.5 V, T = 25 °Ctyp 270 uA9
Current consumption in low-power mode Idd_LPODR = 20 Hz; Vdd = 2.5 V, T = 25 °Ctyp 40 uA9
Current consumption in power down Idd_PDVdd = 2.5 V, T = 25 °Ctyp 1 uA9
Supply voltage Vddmin -0.3 · max 4.8 V12
I/O pins supply voltage Vdd_IOmin -0.3 · max 4.8 V12
Input voltage on any control pin (SCL/SPC, SDA/SDI/SDO, SDO/SA1, CS) VinMaximum is Vdd_IO +0.3 Vmin -0.3 V12
Acceleration (any axis) AUNP0.5 msmax 3000 g12
Acceleration (any axis) AUNP0.1 msmax 10000 g12
Maximum exposed field MEFmax 1000 gauss12
Operating temperature range TOPmin -40 · max 85 °C12
Storage temperature range TSTGmin -40 · max 125 °C12

Pins, by the datasheet

12
1 SCL/SPC
I2C serial clock or SPI serial port clock. · p. 6
2 Reserved
Connect to GND. · p. 7
3 GND
Connect to GND. · p. 7
4 C1
Capacitor connection (C1=100 nF). · p. 7
5 Vdd
Power supply. · p. 7
6 Vdd_IO
Power supply for I/O pins. · p. 7
7 INT
Interrupt. · p. 7
8 DRDY
Data Ready. · p. 7
9 SDO/SA1
SPI serial data output or I2C address selection input; connect to Vdd_IO or GND for I2C. · p. 6
10 CS
SPI enable and I2C/SPI mode selection: high enables I2C and SPI idle; low enables SPI and disables I2C. · p. 7
11 SDA/SDI/SDO
I2C serial data, SPI serial data input, or 3-wire serial data output. · p. 6
12 Reserved
Connect to GND. · p. 7

Ordering codes, by the datasheet

1
LIS3MDLTR
LGA-12 · -40 to +85 °C; tape and reel · p. 1

Parameters

10
Current - Supply
270uA
Features
Built-in self-test (BIST)
Interface Type
SPI
Magnetic Sensing Range(X,Y)
±1.6mT
Magnetic Sensing Range(Z)
±4Gs
Operating Temperature
-40℃~+85℃
Output bit
16bit
Standby Current
1uA
Voltage - Supply
1.71V~3.6V
Voltage - Supply(Absolute Max)
4.8V

Order codes

1

Pinout

12
The pins of the LIS3MDL
PinNameType
1SCL/SPCInput
2GNDPassive
3GNDPower in
4C1Power out
5VddPower in
6Vdd_IOPower in
7INTOutput
8DRDYOutput
9SDO/SA1Input/output
10CSInput
11SDA/SDI/SDOInput/output
12GNDPassive

Open-source boards using it

All 72
  • 4 layers60 × 100 mmMIDAS MK1, the printed circuit board in 3D

    MIDAS MK1

    ISSUIUC/ISS-PCB

    Building custom flight computers

    221 parts33
  • 2 layers36.8 × 90.9 mmBwlr3d, the printed circuit board in 3D

    Bwlr3d

    teapotlaboratories/bwlr3d

    Teapot BWLR3D: Asset Tracker and Environmental Sensor with Solar Energy Harvesting

    108 parts18MIT
  • 2 layersNavigatorschema, the printed circuit board in 3D

    Navigatorschema

    maddevsio/mad-navigator

    Mad navigator is simple compass-like device shows direction to predefined geo point. This repository contains firmware source code and schematics for device.

    107 parts14
  • 4 layers64 × 60 mmDronemagnav, the printed circuit board in 3D

    Dronemagnav

    ajisrawi/dronemagnav

    Magnetic-anomaly navigation (MagNav) board + firmware for drones: ESP32-S3, BMI088, LIS3MDL, BMP280, u-blox GNSS, WDMAM map matching, particle filter, MAVLink, phone route planner. Proprietary - all rights reserved.

    60 parts11
  • 4 layers72 × 75 mmNrf52480 Dev board, the printed circuit board in 3D

    Nrf52480 Dev board

    brendena/Nordic_Pebble_Steel

    The goal of this project is to replace the main motherboard in the pebble steel with newer parts. Specifically the cpu will be a Nordic NRF52840.

    75 parts9
  • 2 layers100 × 100 mmEarth Field NMR, the printed circuit board in 3D

    Earth Field NMR

    fmarrabal/Earth-Field-NMR

    This repository contains the complete design, schematics, PCB layout, microcontroller firmware, and computer software for an Earth Field Nuclear Magnetic Resonance (EFNMR) spectrometer.

    103 parts5MIT
  • 2 layers44 × 42.5 mmSense slim, the printed circuit board in 3D

    Sense slim

    bartoszp1992/tacho3

    hand watch with EPD screen

    75 parts3GPL-3.0
  • 4 layers50 × 60 mmLyrav3og, the printed circuit board in 3D

    Lyrav3og

    prs2026/Lyra-flight-computer

    repo for the lyra flight computer

    135 parts3GPL-3.0

Show this part on your page

A live frame, for any web page
<iframe src="https://pcbkit.io/embed/parts/st/LIS3MDL" title="LIS3MDL in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe>
A picture
<img src="https://pcbkit.io/embed/parts/st/LIS3MDL.jpg" alt="LIS3MDL" width="1200" height="900">
A picture that opens the part, for a README
[![LIS3MDL](https://pcbkit.io/embed/parts/st/LIS3MDL.jpg?size=s)](https://pcbkit.io/parts/st/LIS3MDL)

Questions

Is there a KiCad symbol and footprint for the LIS3MDL?

Yes. The symbol is Sensor_Magnetic:LIS3MDL and the footprint 4ms_Package_QFP:LGA-12_2x2mm_P0.5mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the LIS3MDL?

LGA-12(2x2), with 12 pins. Its footprint is drawn on this page.

Where is the LIS3MDL datasheet?

STMicroelectronics publishes it: the Datasheet link on this page opens it.

Where can I order the LIS3MDL?

JLCPCB lists it as part C478483, with 732 in stock; the sellers' links on this page open their listings.

What can replace the LIS3MDL?

Parts like it in the library: the IIS2MDC by STMicroelectronics and the LIS2MDL by STMicroelectronics. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the LIS3MDL?

72 boards in 56 repositories on GitHub; the most starred are listed on this page, with their KiCad files.

Parts like it

2