Razor Imu M0 - magnetometer calibration

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
rajivhockey97
Posts: 1
Joined: Sun Dec 03, 2017 6:29 pm

Razor Imu M0 - magnetometer calibration

Post by rajivhockey97 » Sun Dec 03, 2017 6:39 pm

Hello,
I have the following board with me https://www.sparkfun.com/products/14001
I have looked at the example firmware and it provides no means of support to calibrate the magnetometer using the DMP library. The DMP library only has provision for gyro calibration. So i believe calibrating using processing is the way to go.

For the older board, the following github repo gives excellent documentation for calibration of magnetometer using processing.
https://github.com/KristofRobot/razor_imu_9dof

In the processing script it requires for the raw binary data, continuous stream and synch token to be on. In the example firmware there is no serial command which helps us to obtain the raw binary data, switch on and off the continuous stream or to provide a synch token using serial commands.

Could anyone help me out with the necessary changes in the example firmware provided to obtain these values?
Or if there is any other option to obtain the above mentioned values from the DMP library, I would be happy to know.

Thanks

Post Reply