Introduction

In this video tutorial, I will show you how to calibrate a gimbal camera on a DJI Mavic Mini. This process is necessary after replacing the camera stabilizer, gimbal assembly, or changing the drone motherboard.

Download Programs for Calibration Gimbal :

First script to run calibration

  • py comm_og_service_tool.py --port com pcode GimbalCalib JointCoarse

Second gimbal calibration script

  • py comm_og_service_tool.py --port com pcode GimbalCalib LinearHall
Conclusion

To reassemble your device, follow these instructions.

Arty

Member since: 27/10/19

25055 Reputation

6 comments

Does this work for the dji mini se? As I do not see a pcode in the list.

Joshua Dockery -

Thank you for your video, for me it gets stuck in the "Info: The Gimbal will slowly move through all positions in all axes," and not responding.. any ideas? Thank you.

Βασίλης Τριανταφύλλου -

py comm_og_service_tool.py --port com pcode GimbalCalib LinearHall

Gimbal still is facing to the left

Luis Royo -

When I put in the py setup.py install command, I get an error message. File

not found or something similar. I’ve tried redownloading and tried different versions of py and pyserial 3.5. Any advice?

Dji mini -

After I download and unzip/install everything, go to the CMD screen as administrator and type cd/ cd dji, everything works until I enter py setup.py install. Then I get this error.

ModuleNotFoundError: No module named ‘setup tools’

ModuleNotFoundError: No module named ‘distutils’

What am I doing wrong?

Dji mini -

I get the same eror

C:\DJI>py setup.py install

Traceback (most recent call last):

File "C:\DJI\setup.py", line 17, in <module>

from setuptools import setup

ModuleNotFoundError: No module named 'setuptools'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\DJI\setup.py", line 19, in <module>

from distutils.core import setup

ModuleNotFoundError: No module named 'distutils'

Justin J -