Adafruit LIS3MDL Triple-Axis Magnetometer Pinout

The Adafruit LIS3MDL breakout measures magnetic fields on three axes. JP4 carries power, I²C and the threshold interrupt. JP1 adds chip select, serial data out and data ready. Both STEMMA QT ports carry the same I²C bus.

Jump to pin index ↓

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

18 visible
PinMCU pinTypesNotes
GNDCommon power and logic ground.
InterruptGoes high when a new set of magnetic readings is available.
SPIAddress selectSensor data output in four-wire SPI and address select in I²C.
SPIActive-low chip select. Leave open for I²C.
Power3–5 V DC input. Match VIN to the host logic supply.
PowerNominal 3.3 V output from the onboard regulator.
GNDCommon power and logic ground.
I2CSPII²C clock or SPI clock, translated by Q2.
I2CSPII²C data or SPI serial data, translated by Q2.
InterruptProgrammable magnetic threshold interrupt.
GNDCommon power and I²C ground.
PowerBoard power on the VIN net.
I2CBidirectional I²C serial data.
I2CI²C serial clock.
GNDCommon power and I²C ground.
PowerBoard power on the VIN net.
I2CBidirectional I²C serial data.
I2CI²C serial clock.

Specifications

PCB
Adafruit SKU 4479 · rev A · Pinguin silkscreen
Sensor
STMicroelectronics LIS3MDL · 3 axes · 16-bit output
Magnetic full scale
±4, ±8, ±12 or ±16 gauss
Supply
3–5 V DC on VIN · nominal 3.3 V output on 3Vo
Interfaces
I²C or SPI on the headers · two parallel STEMMA QT ports for I²C
I²C address (7-bit)
0x1C with AD1 open · 0x1E with AD1 bridged

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
LIS3MDLDatasheetSTMicroelectronicsPin functions, serial interfaces and interrupt registers.Datasheet
LIS3MDLApplication note AN4602STMicroelectronicsSection 3.2.1 describes the active-high DRDY output.Datasheet
SKU 4479Wiring guideAdafruitBoard power and I²C or SPI wiring.Datasheet
LIS3MDL rev AEagle schematic and PCBAdafruitHeader pin numbering and individual signal paths.Datasheet

Board notes

Power and logic
Both QT V+ contacts share VIN. Match VIN to the host logic supply. DO, DRDY and INT connect directly to the sensor's 3.3 V I/O domain.
AD1 address jumper
With AD1 open, the 10 kΩ pulldown selects 0x1C. Bridge AD1 to select 0x1E. Leave AD1 open for 4-wire SPI so DO can drive MISO.
Data ready
DRDY is wired directly to the LIS3MDL. It goes high when new data is available, as documented in ST AN4602.