Adafruit Stemma QT/Qwiic 4479 3-Axis Magnetometer LIS3MDL
Adafruit Stemma QT/Qwiic 4479 3-Axis Magnetometer LIS3MDL
Capture the magnetic fields that surround us with this handy three-axis magnetometer (compass) module. Magnetometers can detect where the strongest magnetic force comes from, generally used to detect magnetic north, but can also be used to measure magnetic fields. This sensor tends to be paired with a 6-DoF (degree of freedom) accelerometer/gyroscope to create a 9-DoF inertia measuring unit that can detect its orientation in real space thanks to the stable magnetic field of the earth. Based on the breakout on ST's LIS3MDL, a great general purpose magnetometer. This compact sensor uses I2C for communication and is very easy to use. Simply download the library and connect the SCL pin to your I2C watch pin, and SDA pin to your I2C data pin and upload our test program to read magnetic field data. If you want, you can also use SPI to receive data (we just prefer I2C here). This sensor can detect ranges from +-4 Gauss (+- 400 uTesla) to +-16 Gauss (+- 16uTesla). For ultra-high precision, a 155Hz refresh rate is recommended - but if you don't mind a little precision loss, the sensor can output at 1000Hz. Technical data: I2C address 0x1C or 0x1E ±4/±8/±12/16 Gauss selectable magnetic full levels. Scales Refresh rate from 0.625 to 1000 Hz. Continuous and single conversion modes. 16-bit data output interrupt generator Self-test mode.
Product Features
- Capture the magnetic fields that surround us with this handy three-axis magnetometer (compass) module.
- Works with both 3.3V and 5V logic levels
- Ranging from +-4 Gauss to +-16 Gauss
- Arduino and Circuit Python libraries available
- Easy to use with the Qwiic compatible STEMMA QT connectors for the I2C bus, so you don't even have to solder!