Skip to content

sparkfun/SparkFun_MMC5983MA_Magnetometer_Arduino_Library

Repository files navigation

SparkFun MMC5983MA Magnetometer Arduino Library

SparkFun Triple Axis Magnetometer - MMC5983MA (Qwiic) (SPX-19034) SparkFun Qwiic Micro Magnetometer - MMC5983MA (SEN-19921)
SparkFun Triple Axis Magnetometer - MMC5983MA (Qwiic) (SPX-19034) SparkFun Qwiic Micro Magnetometer - MMC5983MA (SEN-19921)

Both of these sensors use the MMC5983MA from MEMSIC - a highly sensitive triple axis magnetometer capable of sensing down to 0.4mG, enabling a heading accuracy of ±0.5°. Output rates of 1000Hz, ±8G FSR, and 18-bit resolution make the MMC5983MA a phenomenal magnetic sensor for electronic compass applications.

Saturation is a problem for all mag sensors. The MMC5983MA has special built-in degaussing circuitry to clear any residual magnetization.

Repository Contents

  • /documents - Datasheet, application notes, etc.
  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Products that use this Library

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.