Arduino sketch for 10 DoF AHRS using the MMC5983MA magnetometer
The MEMSIC MMC5983MA is an AEC-Q100 qualified complete 3-axis magnetic sensor with on-chip signal processing and integrated I2C/SPI bus suitable for use in automotive applications. Coupled with the ST LSM6DSM accel/gyro and LPS22HB barometer the system provides a compact and accurate absolute orientation estimation engine.
Uses the I2C interface at 400 kHz for data transfer.
Intended to be run on a Dragonfly development board.
Breakout board design files are open-source and available in the OSH Park shared space.
Copyright 2020 Tlera Corporation. May be used by anyone with proper attribution.