SparkFun 9DoF Razor IMU M0 - Need your help

I am a new member and nice to meet you all.

Currently, I need a device to measure the 3D orientation of my mechanism. I bought 2 modules - SparkFun 9DoF Razor IMU M0 for this purpose. I am not good at programming hence I think this module can provide Pitch - Roll - Yaw angles. However, when I plugged the board to Arduino IDE and get Euler value via Serial Monitor. I found that the Pitch and Yaw value slowly reduce from some value to zero then back to 360… I don’t know why it happens. Is it DRIFT problem of the sensor? Anyone has the same issue, could you please help me?

  1. Do I need to do anything before using it? Such as calibration and how to do it?

  2. I tried to upload the firmware provided by Sparkfun: https://github.com/sparkfun/9DOF_Razor_ … 0_Firmware

But the problem is still the same.

Is this firmware link same with default firmware of module?

This is very important for my research. Please help me. Thank you a lot for your support.