Shop Learn Blog Forums
Register Login
Register Login

Select your location

Pick where your order is going and we'll show prices in your currency with the right taxes, so the total at checkout is what you pay. Nothing more is due on delivery.

European Union

  • No exchange rate fees
/
Your cart is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeComponentsToolsNew PopularDeals!
DisplaysCamerasLED StripsSensorsEnvironmentalRoboticsInternet of ThingsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New PopularDeals!
Raspberry Pi
  • Shop all Raspberry Pi
  • Raspberry Pi Boards
  • Kits & Bundles
  • Accessories
  • Arcade & Retro Gaming
  • Merchandise
  • Displays
  • HATs & GPIO
  • Robotics
  • Cameras
  • Books
  • Networking
  • Industrial
Pico
  • Shop all Pico
  • Development Boards
  • Pico Aboard
  • Bases & Packs
  • Displays
  • Kits & Bundles
  • Arcade & Retro Gaming
  • Environmental
  • Robotics
  • Cameras
  • Industrial
  • Networking
  • Books
  • Power
  • Audio
  • Prototyping
  • Components
Pimoroni
  • Shop all Pimoroni
  • Badgeware
  • TinyFX
  • Yukon
  • Picade
  • Pibow
  • Breakouts
  • Displays
  • Raspberry Pi
  • Pico
Adafruit
  • Shop all Adafruit
  • Breakouts
  • Displays
  • Feather
  • Raspberry Pi
  • Arcade & Retro Gaming
Breakouts
  • Shop all Breakouts
  • Sensors
  • Qw/ST Compatible
  • Audio
  • Environmental
  • Cellular
  • Wireless
  • Storage
  • Cameras
  • Robotics
  • Accelerometers
  • GPS
  • RTC
  • ADC / DAC
  • Prototyping
  • Power
  • Input
  • Displays
Badgeware
  • Shop all Badgeware
  • Badges
  • Addons
Smart Home
  • Shop all Smart Home
  • Smart Home Hubs
  • Connectivity
  • Sensors
  • Devices
  • Power
  • Lighting
Components
  • Shop all Components
  • Parts
  • Motors & Servos
  • Inputs
  • Audio
  • Headers & Connectors
  • Fasteners
  • Wire & Cables
  • Batteries
  • LED Strips
Tools
  • Shop all Tools
  • Toolkits
  • Hand Tools
  • Soldering
  • Measurement & Test
  • Storage
Displays
Cameras
LED Strips
Sensors
Environmental
Robotics
Internet of Things
Audio
Retro/Arcade
Yukon
Feather
  • Shop all Feather
  • Development Boards
  • FeatherWings
TinyFX
Merchandise
  • 58,681 reviews rated 4.8 out of 5!
  • Ships today on orders before 2pm
  • Delivery to Switzerland tracked, duties calculated at checkout
  • No fuss returns we're here to help

Search

Filter

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

AdafruitSensors

Adafruit Triple-axis Magnetometer - LIS3MDL

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

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.

You may still be able to buy this product directly from our friends at Adafruit - check out their website!

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 LIS3MDL, a great general purpose magnetometer. This compact sensor uses I2C to communicate and its 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 the 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 +-4 gauss (+- 400 uTesla) up to +-16 gauss (+- 16uTesla). For ultra high precision, 155 Hz update rate is recommended - but if you don't mind a little loss of precision, the sensor can output at 1000 Hz.

To make life easier so you can focus on your important work, we've taken the LIS3MDL 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!).  Adafruit have 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 our CircuitPython/Python or Arduino drivers to easily interface with the LIS3MDL 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.

TECHNICAL DETAILS

Technical Specifications:

  • I2C address 0x1C or 0x1E
  • ±4/±8/±12/16 gauss selectable magnetic full
    scales
  • 0.625 to 1000 Hz update rate
  • Continuous and single-conversion modes
  • 16-bit data output
  • Interrupt generator
  • Self-test mode

Product Dimensions: 25.7mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.5g / 0.1oz

Guides & tutorials

Can't get enough?

Follow us on your favourite social platform for new stuff, curious creations and the occasional electronic oddity. Show us what you're making too - we love seeing where our bits and pieces end up.

Or join our newsletter for fresh arrivals, product announcements and other useful nonsense, delivered directly to your inbox.

The Good Ship Pimoroni

We're here to help curious people make interesting things. Robots, gadgets, home automation, blinking lights, questionable contraptions - whatever you're building, we reckon technology is much more fun when you can poke at it, pull it apart and make it your own.

We design kits, breakout boards and all manner of colourful electronic oddities to make getting started easy and experimenting fun - from your first blinking LED to your latest gloriously overcomplicated creation.

More about our story

Useful links (we hope)

FAQs Shipping information Returns Contact support Support forums Wholesale and education Pimoroni customs Distributor map

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

It's dangerous to go
alone! Take this

†