Hello everyone, you are on HowFixIT. If your DJI Mavic drone crash and you replace the
camera gimbal or the motherboard, you need to calibrate the drone.
You can do some calibration processes through the DJI mobile app, but for calibrating the
camera gimbal, you need different software. Don't worry, this is not a complicated process,
you need Python and some additional tools. All links I left in the description below.
Let's download and install Python first. When I created this tutorial,
I'm downloading Python 3.10.5, in your case, it may be a later version.
Check the box Add Python to PATH and click Install.
The next step is to download Python Serial Port Extension.
Next, go to GitHub and download DJI firmware tools.
And last, download 7-Zip to extract files. If you already have 7zip, skip this step.
Now extract pyserial, go to folder and once again. Сopy all the files in the pyserial folder.
Create a folder on C-drive, name it for example DJI and paste the copied files.
Go back to the download folder and extract the dji firmware tools folder.
Copy all files and paste in DJI folder
Now you need the Command Prompt to run a Python script.
In the search panel type "cmd" and run as an administrator.
Please note: it is very important to run the Command Prompt as an administrator.
Type "cd backslash" and press enter - this gives you access to the "C-drive".
Then type "cd dji" and press enter - this gives you access to the "DJI" folder.
Next, you need to install pyserial - type "py setup py install" and press Enter.
Now turn on your drone and wait for the signal.
Connect it to your PC and check to which port the drone is connected.
Go to the device manager and check the ports section.
This is your port that the drone is connected to and you need to remember the number. Most likely,
your port will be different from mine. Now you need the drone's product code to
make the script. To get this code, go to the "dji firmware tools" folder and find "comm
og service tool" file. Open file with notepad, and you can see the list of supported drones.
In my case, this is the code for the Mavic Air 2. You choose the product code for your drone
model. But, If your drone model is not supported in the list, check the software update on GitHub,
most likely, the list of supported drones will be expanded with the next update.
The gimbal calibration consists of two steps. Step 1: type the script that starts the
first step of the gimbal calibration.
You can copy and paste this script from the description in this video below.
Here enter your com port, and here enter your drone product code.
In my case, this is WM231 for Mavic Air 2. For example, If your drone is Mavic 3,
enter the code WM260, just remember to change the port and code for your drone.
Press Enter and you will see the gimbal calibrate. It will take around 15 seconds.
Don't worry if you see "Unrecognized Response to Calibration Command error", this doesn't
affect the gimbal calibration process. Step 2: once the gimbal finished rotating,
enter the second script. Press "Enter" and you will see the gimbal rotate and calibrate.
Don't worry if you see "Unrecognized Response to Calibration Command
error", this doesn't affect the gimbal calibration process.
It is possible that after calibrating the camera gimbal, you may see "Gimbal Calibration Error"
in the DJI Fly mobile app, probably due to a serial number mismatch,
but in any case, your drone and camera gimbal will work correctly.
I really appreciate you watching my video guides, you can ask all additional questions
regarding the repair in the comments. Thanks for watching and have a safe flight.