mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00

MMC35240 is 3-axis magnetic sensor from MEMSIC. This sensor can measure magnetic fields within the full scale range of +-24 Gauss (G). The library provided is libupm-mmc35240.so The example provided is mmc35240-example-cxx where it will print x,y,z axis when trigger buffer data is ready. It's also print azimuth value. This sensor requires calibration. Please shake the sensor in figure 8 pattern, mmc35240-example will print the calibrated level. As the sensor data is noisy, we have implemented denoise algorithm within the sensor library. The azimuth formula is provided by Han, He <he.han@intel.com>. Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>