Joe Martin, thank you so much for your tutorial, it helped me a lot with my DJI Mini 2. As a contribution to your video: The Mini 2 code is the same as the Mavic Mini (WM160). In order for the COM port to remain open, it is necessary to install DJI Assistant 2, wait for the drone to be recognized by the software, and then close DJI Assistant 2. After that, the COM port will remain open.
Joe and Greg, your information working perfectly. Now I just have the alert codes 40011 and 40021, but I can fly and all works. Do you know how to clear the alert codes? Somewhere I read about a Dji special software, but I didn't find it... Again, thanks for help!
@@eliezersqr Unfortunately that special DJI software is one that authorized repair centers have and requires a connection to their servers to use. We haven't been able to get a copy of it that can be used by us yet.
Hi, thank you for your tutorial. I got a question and need your help. I do everything the same. But when I paste the second command, nothing happens with my mavic air 2.
hey! i have the camera calibrate error and wont let me record footage from the drone either now only from the goggles in my dji fpv drone after i changed the gimble to another onei looked at that python way to calibrate the gimble but it doesnt say it supports my dji fpv drone:( does anyone have any ideo of what i can do to fix it please? its so annoying as i use it for capturing footage:(
Hello, do you know how to eliminate the error warnings that appear in the app after repairing the gimbal? from what I understand only DJI can do it. Thank you...
As much as I wish I could say I had an answer for that one, sadly we don't have a way to clear those errors yet. We're waiting for someone to find a way to get us access to the software that DJI uses to clear them, but no one has been able to yet.
@@JoeMartinMVC Hello thanks for the answer, on the other hand it is possible to use this tool with the Mavic 3 and if possible what is the code of this model? Thank you
@@JoeMartinMVC Hello I got it, there is already an update of the script for Mavic 3 and the code is WM260 WM231 = 27 # Released 2020-04-28 Mavic Air 2 WM232 = 28 # Released 2021-04-15 (MAVIC) AIR 2S WM260 = 29 # Released 2021-11-05 (MAVIC) 3
Hi i did everything but I couldn't find my mini 3 pro code neither in Google search so how do we get past this issue kindly reply as am stuck here with cross eye drone 😢 appetite the tutorial session it was much helpful
God bless you, it's 1 in the morning right now and I was about to give up my calibration efforts when I found this video. My gimble is now straighter than I am. Thanks a million!
I am working in the DRC Congo, and had to replace my gimbal, installed it, and it needed calibration, I thought I was going to have to take it back to the states and hire someone to calibrate it for me, but I watched your video, and was able to calibrate the gimbal, thank you so much for the time and effort to put this video up, it saved me a ton!
thanxx for that great explanation ..... but im getting that error (Error: could not open port 'COM3': PermissionError(13, 'Access is denied.', None, 5) ) any idea how to solve it ??
The 1st command works, the 2nd command says it will take about 30 seconds ect but it doesn’t move or do anything. It says unrecognized response. My gimble is still tilted to the left a little after doing the first command. I’m going on vacation in 2 weeks and I need my drone fixed
Hello friend, I would like to request your help to know what the code is to calibrate the gimbal of a DJI Mavic3 Pro. Please, since I had an accident with my drone and I need to change the gimbal and calibrate it... I hope you can help me, please, I would greatly appreciate it. I will be attentive to your answers, thank you very much in advance.
Cmd prompt tells me port bulk is required. I figured it is a data cable issue. Swapped cables and I got no difference. This was a lot to go through only to fail and nothing happened. I’ve tried your video and Howfixit neither worked for me.
how do you open port com. only com 3 is showing. when put in command string, get Error: could not open port 'COM2': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
C:\WINDOWS\system32>cd.. C:\Windows>cd.. C:\>cd\dji C:\dji>py setup.py install C:\Users\ezeng\AppData\Local\Programs\Python\Python312\python.exe: can't open file 'C:\\dji\\setup.py': [Errno 2] No such file or directory I have watched several videos trying to calibrate my mini 3 pro gimbal and with ALL videos I get stuck in the exact same place. I am not able to install this program like it shows on ALL the videos I have watch. Someone please help!!!
To avoid all of the error codes you can swap the camera sensor from the old gimbal to the new one (it's 2 small screws on the sides of the camera). You will still have a calibration error (the gimbal will auto calibrate with no issue) but the other errors will still show up as the motors are paired with the drone but you won't have the imu errors. If you figure out how to get rid of the calibration error that would be fantastic but this is better than having all of them. I don't think I have tried the python calibration after the sensor swap but that may clear it, but I know for sure that the imu codes won't show up with the original camera. Obviously if this isn't possible then the only current option is to send it to dji and have them clear the codes.
Hey Kevin I crashed my DJI Air 2s after which I had to replace the Gimbal and left rear leg. The repair was successful but the infamous 40011 error remained. I flew the drone for new minutes but there were some funky movements by the drone and IMU error showed up and I immediately landed the drone. I tried calibrating the IMU but it kept getting stuck at 6% and then it throws calibration error. Right now the errors on the drone are Gimbal calibration error 40011, IMU not calibrated. Calibrate IMU 30055, IMU calibration incomplete. Recalibrate IMU 30056. I have replaced the IMU, GPS module and GPS flex cable but the issue remains. From your comment, I feel as if the error is software related. Can you give some guidance please.
@umairhafeez sorry for the delayed response on this but you can calibrate the gimbal with python and then should do an imu calibration and firmware refresh. The error codes will not go away unfortunately
Hi there. I have DJY Mini 3 pro Model RM330. In the Command Prompt I replaced the model with my RM330 but it doesn't do anything after the 'GimbalCalib JointCourse' command. The camera is not moving, and the Command Prompt is not giving an Error message. Do you know what am I missing here?
Hi there, my drone is mini 3 pro. ive just changed the gimbal. after closing the camera keep lookimg right. The mini 3 pro have calibration direct on control. is not the same? may i have to do your instruction or change the camera?
why i got this thread? please help me... C:\dji>py setup.py install Traceback (most recent call last): File "C:\dji\setup.py", line 17, in 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 from distutils.core import setup ModuleNotFoundError: No module named 'distutils'
I did everything exactly and the gimbal doesn't move. I can see the feed on my remote but it doesn't recognize the gimbal and I can't move the gimbal from the remote. This program also does not move the gimbal. Do you know what it could be?
Hi, I've tried everything 3 times. I keep getting the message below. Any suggestions would be greatly appreciated. python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from settings > Manage App Execution Aliases
Amazing video, thanks for this, i broke my grandpa's drone and as it turns out it was thankfully only the gimbal assembly, the camera was working normally, and they charge a lot of money just replacing the parts, i could only afford the gimbal, not both, you saved me
Hey, thanks for the video. My story is that I crashed my DJI Air 2s after which I had to replace the Gimbal and left rear leg. The repair was successful but the infamous 40011 error remained. I flew the drone for new minutes but there were some funky movements by the drone and an IMU error showed up and I immediately landed the drone. I tried calibrating the IMU but it kept getting stuck at 6% and then it throws a calibration error. Right now the errors on the drone are Gimbal calibration error 40011, IMU not calibrated. Calibrate IMU 30055, IMU calibration incomplete. Recalibrate IMU 30056. I have replaced the IMU, GPS module and GPS flex cable but the issue remains. From your comment, I feel as if the error is software related. Can you give some guidance please?
Followed all steps. Got to the point where COM3 would only appear for a few seconds and then the drone would disconnect. COM3 only stays when I open DJI assistant 2. Upon starting the calibration on command prompt, it will say access denied. However, I close Dji assistant 2, COM 3 stays, Unrecognized response to calibration… appears, but drone does nothing at all.
When you're opening your command prompt are you running it as administrator, or just opening it regularly? Normally it only gives "Access Denied" if it's a regular permission command prompt and not an Administrator Command Prompt.
Thanks for posting the solution. Tried it, the gimbal didn;t move at all after entering the command into the cmd prompt. Worked anyway, by the looks of it. Gimbal no longer stays in weird position (almost every time it got stuck in a different position or started shaking). So, if it helps to someone with the same issue, this was my procedure: 1. Download/install everything. 2. Connect the drone to PC. 3. Note the com port. 4. Run the command lines in CMD prompt. 5. Wait a minute. 6. Switch off and back on the drone. Tested it out multiple times today and the error doesn't show up in the app anymore - both when drone switched on, but still on the ground and when flying (windy day today).
Hi, I´ve had several problems to get the script running. My solution was: instead of writting " py ....... " i had to type "python ...... " for each command. Then everything worked just fine! System : Win10
I did everything correctly and multiple times now when I type the py setup.py install I get this 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 Sar ModuleNotFoundError: No module named "distutils' Any help with what’s wrong?
Hi, Im having problems with my Mini 1. Ive tried this method it is my last chance but when I put the command in the coomand line, it says "python sa nena" what does it mean ?
*****Error: No response on calibration command JointCoarse request.****** I wasn't looking at the gimbal. I was distracted, or too focused. Even with an error, it accepts the command and balances the gimbal. OK
I had to install python 3.10.9 version 3.11 didn't play well with the scripts, tried on two laptops . If you get a Python not found error, uninstall python and install an older version
Do we have to install the software even after unplugging and plugging in the flex cable? I just changed a plastic part. But now the gimbal doesn't turn left or right. My device Mavic 3 Classic
Hi, I got a problem , during the calibration my gimbal turns 180 degree into the drone body and every start of the drone it keeps doing that (Mavic 2 pro)
Hi ! I have a probleme, the first command works perfectly, but the second do nothing... Auto calibration on the app is stucked a 0%, any idea ? Thanks a lot !
Thank you for the helpful video. I’m having trouble and can’t find anywhere where this is addressed. I can run the first JointCoarse command just fine and the drone will run through its motions. But when I run the second LinearHall command the drone does not respond. I’ve tried a few things others have suggested like turning the drone off & on between commands but still am having this issue. Any ideas that might could help?
I can't say I have much to offer there if it's not responding to the command unfortunately. How far off is the gimbal still after the JointCoarse command?