Hi Aminehrh2024,
Thanks for your inquiry. There is a video for calibrating acceleration, gyroscope, and geomagnetism for your reference. https://www.youtube.com/watch?v=Bw0WuAyGsnY&t=11s The calibration method for each sensor is different. What sensor part number do you use?
... View more