Main pinout
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
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.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| GND | Common power and logic ground. | |
| Interrupt | Goes high when a new set of magnetic readings is available. | |
| SPIAddress select | Sensor data output in four-wire SPI and address select in I²C. | |
| SPI | Active-low chip select. Leave open for I²C. | |
| Power | 3–5 V DC input. Match VIN to the host logic supply. | |
| Power | Nominal 3.3 V output from the onboard regulator. | |
| GND | Common power and logic ground. | |
| I2CSPI | I²C clock or SPI clock, translated by Q2. | |
| I2CSPI | I²C data or SPI serial data, translated by Q2. | |
| Interrupt | Programmable magnetic threshold interrupt. | |
| GND | Common power and I²C ground. | |
| Power | Board power on the VIN net. | |
| I2C | Bidirectional I²C serial data. | |
| I2C | I²C serial clock. | |
| GND | Common power and I²C ground. | |
| Power | Board power on the VIN net. | |
| I2C | Bidirectional I²C serial data. | |
| I2C | I²C serial clock. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
LIS3MDL | Datasheet | STMicroelectronics | Pin functions, serial interfaces and interrupt registers. | Datasheet |
LIS3MDL | Application note AN4602 | STMicroelectronics | Section 3.2.1 describes the active-high DRDY output. | Datasheet |
SKU 4479 | Wiring guide | Adafruit | Board power and I²C or SPI wiring. | Datasheet |
LIS3MDL rev A | Eagle schematic and PCB | Adafruit | Header pin numbering and individual signal paths. | Datasheet |