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.
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!
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!
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
Man my 6 ye old Dji mavic 2 zoom gimble was always tilting 45’ left nothing worked i tried every single thing i thought i am done for as dji service aint available in india due to ban …but this did it for me it back to being perfect thanks mate …keep growing ❤
Thank you Joe Martin:) Your presentation was the best and easiest to follow after hours trying others!!! My Camera/ Gimbal is now centered and working great:)
You're amazing.. I've been watching lots of videos how to get this to work. I nearly gave up until I found this your video. Now my mavic air 2 is fixed after following your steps. Thanks for this. I'm a subscriber
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
Man I've watched all these other videos and they seem to go so fast to everything and leave out steps I think they do it perfectly just to screw you up in the process of fixing your camera on your drone I watch your video one time and I've already made it to the whole process I would like to give you a big shout out and thank you so much for making shit simple
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 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
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?
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 ??
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?
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
Finally got a chance to replace the Gimbal on my MA1, and the thing shakes like crazy on initial startup. Is that normal before calibrating/pairing? Or did I get a defective replacement? Update: the gimbal vibrating is normal during initial startup. As soon as I ran JointCoarse it started calibration and stopped. Also: I didnt notice the gimbal doing anything after the GimbalCalib LinearHall script. It just sat there after the error. I had to power cycle the drone, remove USB C, turn back on, reinstall USB C, then run LinearHall script.
i have done all the steps downloaded or the things you have said but it’s not showing my drone in com ports and after then we give the cmd command then its showing error that unable to open port or file not found
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?
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.
Thanks for this tutorial. Crashed my Air 2S a few weeks ago. I'm trying to diagnose what's wrong with my gimbal since I have a video feed but I cannot calibrate or move the gimbal with the remote. The first command works for me. But the gimbal is unresponsive to LinearHall. I suppose I need to do a teardown and find out what hardware is broken. At first glance the ribbons look OK. Any suggestions?
Can anyone please confirm that they've calibrated a mini 2? I've fitted a new gimbal and I can't get it to work at all. Have kept\transplanted the original camera
Thanks for the video. I have a Fimi X8 Mini, after a collision there is a need to change the gimbal and this procedure is also necessary, do you have the code for the X8 Mini?
I can't say I've been able to test this with a Fimi X8 Mini, but I would imagine it would not work if it's not running DJIs software, as the python script is based off of DJIs software and how they calibrate their gimbal.
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.
Hello! Thanks for the video, I’ve been able to get through every step successfully for my mavic air 2 except the last command prompt. After the first one finishes and the second one is entered my drone does nothing. Gimble is still setting at an angle horizontally and most of the time the camera points downward. The camera moves on all three axis during start up. Thanks for your help!
@@JoeMartinMVC I got the same problem, after completing the JoinCoarse command, the LinearHall doesn't do any effect on the gimbal even so a message saying the gimbal would took 30s to calibrate. I didn't get any special error beside the standard one. PLEASE HELP.
Having trouble with device manager and noting the port - in your video it shows COM 6. I am getting standard serial over bluetooth link COM 3 and a similar one below it standard serial over bluetooth link COM 4. Thoughts?
Install DJI Assistant 2 to manually install the Mavic drivers, then plug the drone back in and turn it on. www.dji.com/mobile/downloads/softwares/assistant-dji-2 If the URL doesn’t work, do a google search for DJI Assistant 2 and it should be the first or second link that comes up.
thanks for dedicated explaining! my air 2S get your first command gimbal moved and turning around, but got message:Unrecognized response to calibration command JointCoarse request. second command no response got same messages. please advise
The Unrecognized Response to Calibration Command error is fine, it's always given because we're not connected to the IMU since we don't have the tools to do that. As for the second command not working, that one is a bit unusual. Is the gimbal still off center? If it's centered now you can actually fly without the second command being run.
Thanks for the clear explanation,however my gimbal on phantom 4 just doesn't move at all after first JointCoarse command, any ideas. It says it will take 15 seconds, like in yours. Then it has a line saying, see the progress on a mobile device,exiting Not sure where I'm going wrong
From what I'm able to discern with the Phantom 3 and 4 is that all monitoring goes exclusively through the mobile app. From what I'm able to read from the script: Info: The Gimbal will average its readings without movement, then it will move Yaw arm through its boundary positions. " "Then it will do limited pitch movement. End of calibration will be marked by two beeps from gimbal motors. It will take around 15 seconds." At that point you should be able to see the process on the mobile app and confirm if it works through there. Unfortunately I don't have a Phantom 3 or 4 to test with to see how that process looks at that point.
@@JoeMartinMVC I am having a problem with my Phantom 4 Pro WM331 When I run the first command it says Error: no response on calibration command JointCoarse request.
Hi, thanks so much for the video ! Sometimes, on the 2 series line of DJI drones, after a gimbal replacement, it shows "Gimbal Unable to Connect (Error 40012) and Gimbal IMU data error (Error 40021)". Do you know how to clear that error ?
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.
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'
say one has a crooked gimbal when flying sideways...this should fix it to keep horizon straight? then... does Code:40011 still come up if its the same gimbal?
@@JoeMartinMVC I eventually got it to work and it did...sort of. Not really still had crooked horizon.... AND I still got the 40011 error sadly. thanks for your help off to DJI repair it goes
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
Any luck on getting past the 2nd command? I have a AIR 2S where I cant move the new gimbal around. It moves on the 1st command JointCoarse but nothing with the LinearHall
Great video! This is regarding the DJI mini 2. My mini 2 has the same gimbal problem, so how do I fix this? I saw lots of videos like your one but couldn't find any code for the mini 2! Can you please help me?
I would assume that it would not as the python script calls for data from the DJI drones, such as their model number, as well as sends information to the drone based on how DJI has programmed them.
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
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.
Getting this error "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases". Any idea on how to solve for it? :) Thanks!
What are the chances I can get the walk through for a MAC?? I do not know a ton about code so when it comes to script writing, I'm not sure how to convert the steps from WIN to MAC.
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.
Thank you for the information, that should help a lot of Mini and Mini2 owners.
Thanks man! Useful information!
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.
@@JoeMartinMVC :( sad... Greetings from Brazil! Nice channel, thanks man!
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!
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!
Bro this is the 4th video I've run through, and it's the only one that worked. Thank you so much for your clarity and help!
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
Man my 6 ye old Dji mavic 2 zoom gimble was always tilting 45’ left nothing worked i tried every single thing i thought i am done for as dji service aint available in india due to ban …but this did it for me it back to being perfect thanks mate …keep growing ❤
I always love seeing comments like this and am glad I was able to help people. Thank you. =)
Answers my question of, Is this series of programs still current in use? My PC is Windows 10
Excelente amigo! lo probe hoy en mi DJI AIR 2S y de maravillas, muy bien explicado el video! recomendado 100%
Saludos desde Paraguay
what code for air 2s?
@@wilson24p WM232 = 28 # Released 2021-04-15 (MAVIC) AIR 2S
Joe Martin, thank you so much for your tutorial, it helped me a lot with my DJI Air 2S!
What is the code for air2s ? Same as air2 ?
did you got any error when running?
An amazing step by step … well explained … you killed it … I appreciate the tutorial. Great job
Thank you!
Thank you Joe Martin:) Your presentation was the best and easiest to follow after hours trying others!!! My Camera/ Gimbal is now centered and working great:)
I'm glad to hear so!
Bro! acabas de hacer a un hombre muy feliz! Muchas gracias por el tutorial, héroe sin capa!
😃Thanks a lot Joe!!!!!! You saved my drone!!!! 🙏God bless you 😉
Thank you so much!! I followed another set or instructions on YT and it didn't work. Your instructions were very easy to follow.
By any chance...do you have the code for de mavic mini 3 pro?
You're amazing.. I've been watching lots of videos how to get this to work. I nearly gave up until I found this your video. Now my mavic air 2 is fixed after following your steps. Thanks for this. I'm a subscriber
I'm glad I was able to help!
This was perfect. After following your directions I got error 40011 I cleared it by recalibrateing on my smart controller 👍
Oh? That REALLY tempts me to pick one up to see how it clears the codes. Just a lot of money to do that.
I have also got this error 40011 after doing this and can't to clear it with calibrating with smart controller. How are you done that?
maybe he had the OG gimbal to his drone that he was fixing
Thanks for the video ! and for the Mavic mini 3 pro the code is WM162
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.
Do you have a video for this replacement?
Will that work on the mavic air 2???
@@wadrian706 Yes this will work on the air2 but not the 2S
@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
Man I've watched all these other videos and they seem to go so fast to everything and leave out steps I think they do it perfectly just to screw you up in the process of fixing your camera on your drone I watch your video one time and I've already made it to the whole process I would like to give you a big shout out and thank you so much for making shit simple
Thank you!
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).
what to do if python doesnt move passed the first calibration step? the gimbal isnt moving and python wont update with a new imput line
You all are geniuses cause this shit is hard as hell, I will just tell everyone to look at my drone work with their head bent to the side. I am good !
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
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?
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 ??
is there a code for the mini 3 pro or no?
i search too
I have the dji mini 3 pro should i use the mavic mini code?
Del dji mini 3 pro cual seria el codigo
Thank you for making this tutorial!! I have zero computer skills and yet I was still able to follow along. Worked like a charm!! Thanks again
I'm glad I was able to help out!
Hi! Thank you for tutorial. May I ask you does it work with mini 3 pro? And what code for this drone should I use? Thank you
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?
thanks, this hack saved my life
repaired mavic 2 pro camera
thank you for your great video
It worked, finally a good video 🎉
Does work with Apple air Mac’s ?I can’t seem to be getting the same results and information as you do
Thank you very much sir, this work perfectly...i knew it had to have a reason the gimble was spinning like crazy...lol
Glad I was able to help out!
Hello. Thanx for the video.
I’m wondering what code I should use for DJI air 2s (not mavic)?
/ André
What is DJI MODEL CODES for DJI MINI 3? Is this step can use to solved problem gimbal dji mini 3?
Thanks a lot!!!! my Mavic Mini is back to life!!!!! Using litchi I dont have any alert!
That's wonderful!
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
Merci, ça marche ! au top
Hi.For me, the drone is detected in the USB port.
How should I write the code? I would be happy if you help me.
same, did you find it out?
Finally got a chance to replace the Gimbal on my MA1, and the thing shakes like crazy on initial startup. Is that normal before calibrating/pairing? Or did I get a defective replacement?
Update: the gimbal vibrating is normal during initial startup. As soon as I ran JointCoarse it started calibration and stopped.
Also: I didnt notice the gimbal doing anything after the GimbalCalib LinearHall script. It just sat there after the error. I had to power cycle the drone, remove USB C, turn back on, reinstall USB C, then run LinearHall script.
thank you , legend ! - mavic air 2
anyone know if this can be done for the mini 4 pro after replacing the whole gimbal camera assembly ? what code should be used ?
I got a error message saying "Error: could not open port 'com3': PermissionError(13, 'Access is denied.', None, 5)" Please Help!
I CAN'T FIND THE COM PORT IN DEVICE MANAGER
Worked great for me, thank you very much 😁😀😎
i have done all the steps downloaded or the things you have said but it’s not showing my drone in com ports and after then we give the cmd command then its showing error that unable to open port or file not found
Does this process works for mini 3 pro?
Have you tried it? Does it work for Mini3 Pro?
did you find a way to remove the error after replacing the suspension????
Thanks, works fine in a mac m1 with parallels, Thanks a lot!
hey i have a mac and in depserpate need of help with this, could you reply with your contact details so I can ask you a few questions? Thanks
do you have a code for dji mini 3 pro
Hi. I can calibrate
@@Gerotero-r1o how?
did you fixed it?
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?
Hi Alex, I got the same problem, did you find any solution?
@@chouchenwejden4499 Hey mate, same issue. Did you guys find a solution?
I've got the same issue on the Air 2S
I have the same problem on the mini 2
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.
it is happening exactly the same to me...dod you solved?
@ I did not. There was a problem with the motor on camera. After the repair by service it began working.
does replacing gimbal's cable require you to calibrate your drone???
Yes it does
Thanks for this tutorial. Crashed my Air 2S a few weeks ago. I'm trying to diagnose what's wrong with my gimbal since I have a video feed but I cannot calibrate or move the gimbal with the remote. The first command works for me. But the gimbal is unresponsive to LinearHall. I suppose I need to do a teardown and find out what hardware is broken. At first glance the ribbons look OK. Any suggestions?
Hi, I'm experiencing the same issue on an Air 2S. Did you find a solution for this problem? Thanks.
@@triadretailconstruction558 I tried, but ended up sending mine back to DJI for repair. Money well spent. They fixed and sent it back.
Perfekt. I got a mini 1 im gonna repair well not mine. But i gotta change the gimbal. So that might be really usefull
Can anyone please confirm that they've calibrated a mini 2?
I've fitted a new gimbal and I can't get it to work at all. Have kept\transplanted the original camera
Mini 4 Pro Code?
Thanks for the video. I have a Fimi X8 Mini, after a collision there is a need to change the gimbal and this procedure is also necessary, do you have the code for the X8 Mini?
I can't say I've been able to test this with a Fimi X8 Mini, but I would imagine it would not work if it's not running DJIs software, as the python script is based off of DJIs software and how they calibrate their gimbal.
hi. thanks for sharing. DJI Mini 4 what code has?
What would the code be for the original mavic mini?
ola amigo existe outro software ??? obrigado
Mini 2 I have the first step working however the second step doesn’t initiate. Any thoughts?
existe outro software ?? obrigado
You're a master!! Great Video. Thanks
Thank you!
I dont have USB serial Device in my Device manager. What to do then?
I have Mavic Mini and I see my drone only as Mass Storage Device
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.
Can you use this for callibrating DJI mini 3?
Very nice tutorial... straight forward.
Thank you!
Plz update it with Mini 3 pro.Thanks in advance
Hi, it’s works with mini3 now??
Need too
Hello! Thanks for the video, I’ve been able to get through every step successfully for my mavic air 2 except the last command prompt. After the first one finishes and the second one is entered my drone does nothing. Gimble is still setting at an angle horizontally and most of the time the camera points downward. The camera moves on all three axis during start up. Thanks for your help!
Is there any error message that comes up when you try to run the second command? Besides the standard error that pops up for both commands.
@@JoeMartinMVC I have the same problem and no only the command not recognized error that happens on both commands
Hi did you ever solve the issue?
@@JoeMartinMVC I got the same problem, after completing the JoinCoarse command, the LinearHall doesn't
do any effect on the gimbal even so a message saying the gimbal would took 30s to calibrate. I didn't get any special error beside the standard one. PLEASE HELP.
@@JoeMartinMVCi have the same problem with my dji mini got anybody a solution?
JoeMarinMVC!Like it! very amazing done, ))
Thank you!
Hi, thanks, for the tut, is the Air2S code same as Air2 as its not listed anywhere ?
Its ok, found it its WM232
My PC says Python not found ? any ideas why ? as it installed correctly
Having trouble with device manager and noting the port - in your video it shows COM 6. I am getting standard serial over bluetooth link COM 3 and a similar one below it standard serial over bluetooth link COM 4. Thoughts?
Install DJI Assistant 2 to manually install the Mavic drivers, then plug the drone back in and turn it on.
www.dji.com/mobile/downloads/softwares/assistant-dji-2
If the URL doesn’t work, do a google search for DJI Assistant 2 and it should be the first or second link that comes up.
Hello bro, greetings from Colombia, do you know what the code for the mini 2 is?
how do you know if your dji mini 2 needs this my gimbal says its stuck but moves fine
HI., GREAT VIDEO, I HAVE A QUESTIONS. is the same for AIR2S? THANKS
It should be. You would just use the WM232 code for the Air2S
@@JoeMartinMVC thank you
thanks for dedicated explaining! my air 2S get your first command gimbal moved and turning around, but got message:Unrecognized response to calibration command JointCoarse request. second command no response got same messages. please advise
The Unrecognized Response to Calibration Command error is fine, it's always given because we're not connected to the IMU since we don't have the tools to do that.
As for the second command not working, that one is a bit unusual.
Is the gimbal still off center? If it's centered now you can actually fly without the second command being run.
Any Ideas on mavic mini 3 or mavic mini 4 codes / ability?
Will this work for Air 2S please ?
Já existe para mavic mini 3?
Gostaria de saber pro mini 3 pró
@@Juniorbahia Conseguiu? Estou procurando também para mini 3 pro
Thanks for the clear explanation,however my gimbal on phantom 4 just doesn't move at all after first JointCoarse command, any ideas.
It says it will take 15 seconds, like in yours.
Then it has a line saying, see the progress on a mobile device,exiting
Not sure where I'm going wrong
From what I'm able to discern with the Phantom 3 and 4 is that all monitoring goes exclusively through the mobile app. From what I'm able to read from the script:
Info: The Gimbal will average its readings without movement, then it will move Yaw arm through its boundary positions. "
"Then it will do limited pitch movement. End of calibration will be marked by two beeps from gimbal motors. It will take around 15 seconds."
At that point you should be able to see the process on the mobile app and confirm if it works through there.
Unfortunately I don't have a Phantom 3 or 4 to test with to see how that process looks at that point.
just Search ( bickflash tech) on UA-cam, drop a comment for him, he'll assist you
@@JoeMartinMVC I am having a problem with my Phantom 4 Pro WM331 When I run the first command it says Error: no response on calibration command JointCoarse request.
I'm stuck in translating the comm port section and command prompts in terminal. Making sure I translate this correctly for Mac.
Hi, thanks so much for the video ! Sometimes, on the 2 series line of DJI drones, after a gimbal replacement, it shows "Gimbal Unable to Connect (Error 40012) and Gimbal IMU data error (Error 40021)". Do you know how to clear that error ?
I wish I did, but we don't have access to the tools to clear those codes, it requires a DJI tool that connects to their servers.
can i use this to mini 3 pro and mini 4 pro
is there a code for the DJI AIR 2S?
Help me 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.
When I go to Device Manager to see the port, there is no "Ports" item listed. I have Windows 11. What now?
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'
Tengo el mismo problema, pudiste solucionarlo?
say one has a crooked gimbal when flying sideways...this should fix it to keep horizon straight?
then... does Code:40011 still come up if its the same gimbal?
If the gimbal and ribbon cable are the same you shouldn’t get 40011 since it’s still paired to the original logic board.
@@JoeMartinMVC I eventually got it to work and it did...sort of. Not really still had crooked horizon.... AND I still got the 40011 error sadly. thanks for your help off to DJI repair it goes
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
Any luck on getting past the 2nd command? I have a AIR 2S where I cant move the new gimbal around. It moves on the 1st command JointCoarse but nothing with the LinearHall
Great video! This is regarding the DJI mini 2. My mini 2 has the same gimbal problem, so how do I fix this? I saw lots of videos like your one but couldn't find any code for the mini 2! Can you please help me?
If memory recalls it’s WM161 for the Mavic Mini 2.
@@JoeMartinMVC Shall I just follow your video instructions but use the code WM161?
@@JoeMartinMVC But the problem is the code WM161 is not working!
@@thatkeyboardguy14 class product_code contains no wm161. Which product code would be compatible? wm160?
Ut should be the same with the mavic mini which is WM160
Does this work on the autel evo nano+ my gimbal got replaced and I'm hoping this will work as a fix
I would assume that it would not as the python script calls for data from the DJI drones, such as their model number, as well as sends information to the drone based on how DJI has programmed them.
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
same here :/
Very useful information, many thanks . I hit the like and subscribe already
Thank you!
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.
Getting this error "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases".
Any idea on how to solve for it? :) Thanks!
me too....
Hola sirve para sacar el error 40011 en un dji mini 3? Gracias
What are the chances I can get the walk through for a MAC?? I do not know a ton about code so when it comes to script writing, I'm not sure how to convert the steps from WIN to MAC.
I wish I could make one for you, however I don't have a Mac to try it out on and see what's needed to get it working.