Quick Order Tool Pimoroni Customs New From Pimoroni
Register Login
Register Login

Delivery region

Choose your delivery region to set your pricing and currency. All prices exclude VAT and other local taxes.

Changing region keeps your order, repriced in the new region's currency.

/
1 item ·
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeToolsNew Popular
DisplaysCamerasLED StripsComponentsSensorsEnvironmentalRoboticsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New Popular
Raspberry Pi
Pico
Pimoroni
Adafruit
Breakouts
Badgeware
Smart Home
Tools
Displays
Cameras
LED Strips
Components
Sensors
Environmental
Robotics
Audio
Retro/Arcade
Yukon
Feather
TinyFX
Merchandise
  • 58,698 reviews rated 4.8 out of 5!
  • Volume pricing save on larger orders
  • Credit accounts flexible payment options
  • Expert support by email or phone

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

AdafruitSensors

Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic

Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic - Sense the magnetic fields that surround us with this handy triple-axis magnetometer (compass) module. Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic

We no longer stock this product

It's sad to say goodbye but sometimes we have to retire products to make way for new things.

Adafruit Triple-axis Magnetometer - LIS2MDL - STEMMA QT / Qwiic

Sense the magnetic fields that surround us with this handy triple-axis magnetometer (compass) module.

Magnetometers can sense where the strongest magnetic force is coming from, generally used to detect magnetic north, but can also be used for measuring magnetic fields. This sensor tends to be paired with a 6-DoF (degree of freedom) accelerometer/gyroscope to create a 9-DoF inertial measurement unit that can detect its orientation in real-space thanks to Earth's stable magnetic field. It's a great match for the LSM6DSOX from ST!

Adafruit based this breakout on ST's LIS2MDL, a great general purpose magnetometer with a very wide range and bot I2C and SPI interfaces. This compact sensor uses I2C to communicate and it's very easy to use. Simply download the library and connect the SCL pin to your I2C clock pin, and SDA pin to your I2C data pin and upload our test program to read out magnetic field data. If you'd like, you can also use SPI to receive data (we just happen to prefer I2C here)

This sensor can sense ranges from +-50 gauss (+- 5000 uTesla!) with no range-setting required. For high resolution, you can read at 100 Hz update rate. If you don't mind a little loss of precision, the sensor can output at 150 Hz.

To make life easier so you can focus on your important work, Adafruit have taken the LIS2MDL and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). They've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use CircuitPython/Python or Arduino drivers to easily interface with the LIS2MDL and get magnetic measurements ASAP.

It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment.

Code, schematics, wiring diagrams, Arduino and Python examples are all in the Learning System guide

TECHNICAL DETAILS

Revision History:

  • As of October 2022 - Adafruit have updated this PCB with Adafruit Pinguin to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen. Additionally, this sensor breakout may come with black or tan STEMMA QT connectors. They work the same!

Code, schematics, wiring diagrams, Arduino and Python examples are all in the Learning System guide

Technical Specifications:

  • Fixed I2C address 0x1E or SPI data mode
  • ±50 gauss magnetic fixed full scale
  • Max 150 Hz update rate
  • Continuous and single-conversion modes
  • 16-bit data output
  • Interrupt data pin in I2C mode
  • Self-test mode

Guides & tutorials

Customer reviews

Trade newsletter

Join our trade newsletter and we'll keep you up to date with new product launches.

The Good Ship Pimoroni

We've been designing and making electronics in Sheffield since 2012, with our own manufacturing and fulfilment under one roof.

Our business store makes it easy to buy Pimoroni, Raspberry Pi, micro:bit, Adafruit, SparkFun and more in volume, with competitive pricing and support from people who know the products. Need something specific? Drop us a line.

Useful links (we hope)

How to order Quick order tool Contact our business team Pimoroni customs Our retail shop

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy