For those making this tutorial is 2022 : the commands have changed !! Now you have to perform these : py comm_og_service_tool.py --port COM(your port) -vv WM100 GimbalCalib . For the LinearHall, it's exactly the same, just change GimbalCalin to LinearHall. WM100 is spark's name code, search on internet for other drones. Glad I can help !
Hi, is that "-vv" correct? I'm getting 'Error:'NoneType' object has not attribute 'upper' with that? Edit: nvm. For anyone as dim as me the full command line is: py comm_og_service_tool.py --port (your port) -vv SPARK GimbalCalib JointCoarse
Anyone running Windows 7 just need to install DJI assistant 2, that installed the drivers that run the comports. then switch on the spark and allow it to detect in device manager. I decided to recalibrate my gimbal after attaching clamps for a filter set for the camera. it would be useful if you had the command line sequence printed in your description so that it can be copied and pasted. Nice job Brian.
Just fixed a DJI Spark on the 29th November 2018, the instructions and files are all perfect. I was experiencing 'Gimbal Motor Overload' and 'Gimbal Protection'. DUVO Bikes comment about the command prompt line for windows 10 helped me; you need to type 'py' where the instructions use 'python' (if you are on windowns 10) and Alex's Pinned comment is excellent too. thank you Brian Stigall and everyone who has contributed. You are all EPIC!
Awesome. I didn't see this anywhere, but the first time I ran it, the results for both Coarse and Linear were UNSURE. I powered cycled my Spark, reran both and results were PASS. So run it a few times if needed. Thanks again for the tutorial.
Thank you so much for sharing this with all of us. I bought a used and crashed Spark. I assumed I could just replace the gimbal and all would be well. Little did I know I would need to calibrate it. Your video was perfect.
thanks a lot for this instructions. thought the replacement gimbal was faulty first but then figured out it was just not calibrated. at the beginning struggled a bit with python to get it recognised in cmd ... but then it was really easy. reading a bit of the basic stuffs about python helped me too.. thanks a lot for sharing this.
Thanks for the great tutorial. I had to replace my Spark camera due to it developing a defect on the imaging chip. The replacement went well, but my camera wouldn't center after the replacement. This procedure fixed it. Spark is back!
Hallo Brian. Vielen Dank für dein super Video. Du hattest mich via ebay darauf aufmerksam gemacht. Es war so wie bei dir. Ich musste den Gimbal ersetzen und danach war die Camera fast immer in Schieflage. Durch dein Video konnte ich die SPARK retten. Vielen lieben Dank dafür. Ich habe dies 04.2021 auf Win10 home gemacht und alles hat super geklappt.
fyi...If you cannot get python command to run after installing python. Use "py" instead of "python" when typing out your commands...this was my issue thought I would share :) other than that...awesome tutorial...Ive been searching high and low for this tutorial for a long time!
I have a mini 2 which I replaced the gimbal after a crash and I can not get this to work! I have watched several youtube videos and tried for several days but I keep getting stuck around the same step. When I connect my mini 2 it does appear in ports (COM & LPT) for a few seconds then it disappears. The only way I am able to get it to show up is if I open DJI Assistant 2 and once it shows up on there I close the program and my mini 2 appears as COM8. Everything works exactly as it is suppose to following these step except once I paste the command to calibrate gimbal, ¨python comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse ¨ or ¨py comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse¨ I get this message... Finished processing dependencies for pyserial==3.5 c:\DJI\pyserial>cd c:\DJI\firmware-tools c:\DJI\firmware-tools>py comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE] [-w TIMEOUT] [--dry-test] [-v] [--version] product command ... comm_og_service_tool.py: error: argument product: invalid choice: 'COM8' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260') c:\DJI\firmware-tools> Any insight anyone is able to provide I would GREATLY appreciate it.
Very big thanks Brian. Well done, Spark is Calibrated. Thanks for help. In Windows 7 at first install DJI Assistant for COM port Driver, and then install Python with PATH, restart and after thet will all works as in video.
Hi ! Great ! I was able to repair a crasher gimball ! some remarks: - you need to install DJI Assist for USB Driver ! - Close all oter applications before working with CMD and try to use the USB connction like DJI Assist - it will block your USB connection. - Use py instead of python (like: py comm_og_service_tool.py ...) even when you try to install the package before the whole procedure. - For simplicity place all install forlders to root (c:) and rename it to a simple diectory name - for easy later acces in CMD
Excellent way to calibrate your Spark. I have found that the result "unsure" means that your gimbal is damaged. If you put in a new gimbal, it should pass.
I've replaced the gimbal with a new one and get UNSURE. So I guess this means the new one is damaged. I wonder if I need to replace the wiring harness for the gimbal and camera. Where could I get another harness and where could I get another camera (I think I've damaged the connector on the board).
Got all the way to the point of typing the command to run the service tool (python comm_og_service_tool.py com3 SPARK GimbalCalib Joint Coarse), but it won't actually run. It ignores my command and repeats the previous prompt. I've even tried coms 1 and 2 just to make sure I'm accessing the right port. C:\Users\Administrator\Desktop\dji-firmware-tools-master\dji-firmware-tools-master>
At time stamp 2:56 you start saying about going to a photo that would be downloaded to service tools. What do you mean? Where is service tools? I typed same thing you did >cd c:\dji and nothing come up with list you did. It said cant fined path way. Any idea. hard to see what your doing with spark screen and 2 prompt screens in you video. Thank you
After finish the "IMU error advise" is normal because it is not the original gimbal of the equipment, that does not affect its operation, to eliminate that annoyance you have to replace the main processor chip of the gimbal with the original one and it is somewhat cumbersome.
Thanks Brian, I have similar issue with Mavic Pro. Do you know if this might work with the Mavic Pro as well. I needed to change the gimbal control board.I have three of them and they all show the same issue. I get issue where I have no control in turning the gimbal at all. I get video signal but no control. This is from a fully functioning camera as I have another working Mavic and I tested with the working camera. Or if you don't know, maybe you can reference where you found the info and maybe they have something on the mavic there as well.Thanks in advance
Hi Brian, thank you for your video. It took me a while but I finally figured out what I had to do. My tech skill are little rusty, had to blow off the cobwebs...I am trying to help a friend calibrate gimbal he replaced on his SPARK it has been out of commission since January . For some reason when I ran both of the GimbalCalib commands I got the following: Error: 'Serial' object has no attribute 'reset input buffer'. The gimbal moved through it paces like in your video, but instead of displaying pass in the end, I got what seems to be a python error on both of the commands. Do you have any idea what is happening? If you have any suggestions I would appreciate any ideas on how to 'reset the input buffer' to correct the error.
Bro, thank you very much, I will try this as shis is the only thing I was able to find, I really appreciate it. You will go to the heaven with your spark in hand :)
I love this video! I've used it 3 times now :) the last time was after a crash into a tree while trying our the automatic 'circle mode'... it didn't end well
Thanks for the video. What driver did you use for the spark in device manger to see the com port it is using. In you video one is unable to see what device driver you are looking at to see your com port.
When I type mode in elevated cmd it only shows com1. No other ports are shown. Please help us with an update video or image on how to find out the com port one is using. When I plug in my spark it shows dji but there are no driver installed. I have also tried to install dji assistant 2 to install the spark in the device manager. No luck
Dika Cahya install DJI assistant version 2 from DJI - it installs the drivers for you. connector the spark after installing the assistant to allow it to install the drivers (allow all of the drivers to install as it will ask you to click and authorise for each one). then check device manager, under the comport section it should be there when the spark is powered on. hope this helps.
Thank you for this video, I was able to eventually find the port number. And now I was finally able to calibrate my sparks gimbal again, as its been out of alignment after an unfortunate crash. May I suggest you post a link to this video on the SparkPilots forum as Im sure people will find it valuable.
I just guessed from the number 1-12 until it worked. Theres no harm in putting in the wrong number as the program will only run on the port that the spark is connected to.
What does it mean when I run these and the following happens: First step, it will look up, and down one or two times, and then nothing. Second step, it doesn't move at all. :(
hi guys, quick question why I cant find my dji in "ports", I see that there is a usb serial device (com3) but apparently that`s not it or there is something wrong with dji/my pc dunno any suggestions?
DUVO Bikes possibly. You’ll need to change the ‘SPARK’ argument to the corresponding variable for the Phantom 4, I believe the Github has the available variables listed. Though, I think the DJI Go 4 app should have calibration available for the P4 similar to Mavic, the Spark does not. If it’s already available as a function there, use that first and then try this procedure only if that fails to work completely.
When in CMD and I select the pyserial folder, I type in python setup install. The response I get is python is not recognized as an internal or external command. Any pointers would be very appreciated
Hey. Not sure if you got it working, but dont use python as first command in any of the commands used if you get that error. Just start from the second word used in the command if python is the first word. Awesome video btw. Thanks
Please help! I follow you guidance, but at second step, the result is UNSURE. The camera is not balance. Right side of Gimbal is very hot. Could you please give me your advises. Thank you so much. p/s: I have got hard landing before :( C:\Gimbal_Calibration\dji-firmware-tools-master>python comm_og_service_tool.py com10 SPARK GimbalCalib LinearHall Info: The Gimbal will slowly move through all positions in all axes, several times. It will take around 30 seconds. Calibration process started; monitoring progress. Progress: received 61 reports. Progress: received 92 reports. Progress: received 122 reports. Progress: received 152 reports. Progress: received 183 reports. Progress: received 213 reports. Progress: received 243 reports. Progress: received 274 reports. Progress: received 304 reports. Progress: received 334 reports. Progress: received 365 reports. Progress: received 395 reports. Progress: received 426 reports. Calibration time exceeded; calibration must have ended. Summary: took 45.1 sec; received 456 reports; result: UNSURE.
I try this and I get: "Info: The Gimbal will move through its boundary positions, then it will fine-tune its central position. It will take around 15 seconds. Error: No response on calibration command JointCoarse request." Any help?
@@FlyBugKhv Hello Mavic Air buddy, i am in same situation trying to calibrate my MA gimbal. Are the CMD line the same ? python comm_og_service_ tool.pycom comX SPARK GimbalCalib JointCoarse python comm_og_service_ tool.py com comX SPARK GimbalCalib LinearHall
@@FlyBugKhv i didn't tried yet, I guess the same cmd will not work because of difference between the two gimbal (spark is 2 axis, MA is 3 axis gimbal). I've read somewhere the same cmd but replacing "SPARK" by "MAVIC"... I will try when I'll have time to do it
Did anyone get the Error: No response on calibration command Jointcoarse request? Spark connected and turned on, gimbal makes resistance when moved with finger? THANKS
Has anybody done this on a MacBook Pro ? because I am having problems establishing what com port to place in the script. I have got /dev/cu.BlueTooth-Incoming-Port when I have checked, other than that I am puzzled.
Charalambos Polycarpou Check out the readme doc for the DJI Firmware Tools github. It has an example command for Unix based python commands for this function. I’m not overly familiar with Unix (macOS is based on Unix) but from what I’ve seen, the python portions of the methods are very similar with just the COM# substituted for the Unix equivalent.
ДЛЯ РУССКОЯЗЫЧНЫХ: все пашет как для Спарка, так и для Эира. Причем, для 2го ТЕ ЖЕ строки кода со "SPARK". Лично у меня в командной выдало ошибку, после запуска второй части калибровки, но гимбал калибровался, как надо. В итоге - все супер. Не забудьте добавить Python в "изменяемые среды": geek-university.com/python/add-python-to-the-windows-path/. На видео этого нет. ------------ For Mavic Air 100% same operations! With "SPARK" in the code. It works for me, but in the second part of calibration CMD says "Error". Anyway gimbal start calibrating like on this video. Don't forget do add Python to a Environment Variables: geek-university.com/python/add-python-to-the-windows-path/
Thank you. When I try execute the command -> python comm_og_service_tool.py com1 SPARK GimbalCalib JointCoarse, show message: File "comm_og_service_tool.py", line 49 print(*args, file=sys.stderr, **kwargs) ^ SyntaxError: invalid syntax Anybody with the same problem ? Thank you.
@@1Subj3ct The way that I know is that I tried 6 different sparks with this calibration utility and four of them passed but 2 failed. The two that failed had damaged gimbals.
I got this message. and my gimbal is still not working Calibration time exceeded; calibration must have ended. Summary: took 22.6 sec; received 231 reports; result: UNSURE.
Thanks a lot. It's work well. I'm mac user and musted to use the commande "ls /dev/tty.*" to know port name. The commande line with the mac for me was ./comm_og_service_tool.py /dev/tty.usbmodem2415 -vv SPARK GimbalCalib JointCoarse ./comm_og_service_tool.py /dev/tty.usbmodem2415 -vv SPARK GimbalCalib LinearHall
Thank you Brian, you are my hero - everybody kept telling me that there is no way to calibrate the gimbal - and you offered an easy solution!
For those making this tutorial is 2022 : the commands have changed !!
Now you have to perform these :
py comm_og_service_tool.py --port COM(your port) -vv WM100 GimbalCalib .
For the LinearHall, it's exactly the same, just change GimbalCalin to LinearHall. WM100 is spark's name code, search on internet for other drones. Glad I can help !
Hi, is that "-vv" correct? I'm getting 'Error:'NoneType' object has not attribute 'upper' with that?
Edit: nvm. For anyone as dim as me the full command line is: py comm_og_service_tool.py --port (your port) -vv SPARK GimbalCalib JointCoarse
@@denkhur15 does SPARK work instead of WM100 ?
@@sim_lmbr yeah it does. My issue was just that I was missing JointCoarse/LinearHall off the end 😅
Anyone running Windows 7 just need to install DJI assistant 2, that installed the drivers that run the comports. then switch on the spark and allow it to detect in device manager. I decided to recalibrate my gimbal after attaching clamps for a filter set for the camera. it would be useful if you had the command line sequence printed in your description so that it can be copied and pasted. Nice job Brian.
Just fixed a DJI Spark on the 29th November 2018, the instructions and files are all perfect. I was experiencing 'Gimbal Motor Overload' and 'Gimbal Protection'.
DUVO Bikes comment about the command prompt line for windows 10 helped me; you need to type 'py' where the instructions use 'python' (if you are on windowns 10)
and Alex's Pinned comment is excellent too.
thank you Brian Stigall and everyone who has contributed. You are all EPIC!
Awesome. I didn't see this anywhere, but the first time I ran it, the results for both Coarse and Linear were UNSURE. I powered cycled my Spark, reran both and results were PASS. So run it a few times if needed. Thanks again for the tutorial.
Thank you so much for sharing this with all of us. I bought a used and crashed Spark. I assumed I could just replace the gimbal and all would be well. Little did I know I would need to calibrate it. Your video was perfect.
thanks a lot for this instructions. thought the replacement gimbal was faulty first but then figured out it was just not calibrated. at the beginning struggled a bit with python to get it recognised in cmd ... but then it was really easy. reading a bit of the basic stuffs about python helped me too.. thanks a lot for sharing this.
Thanks for the great tutorial. I had to replace my Spark camera due to it developing a defect on the imaging chip. The replacement went well, but my camera wouldn't center after the replacement. This procedure fixed it. Spark is back!
Hallo Brian. Vielen Dank für dein super Video. Du hattest mich via ebay darauf aufmerksam gemacht. Es war so wie bei dir. Ich musste den Gimbal ersetzen und danach war die Camera fast immer in Schieflage. Durch dein Video konnte ich die SPARK retten. Vielen lieben Dank dafür.
Ich habe dies 04.2021 auf Win10 home gemacht und alles hat super geklappt.
Many Thanks Brian, I have spent hours trying to fix my Spark and using your fix was simple and it’s sorted out my gimbal.
use py instead of python in windows 10 cmd line , excellent instruction, thank you
thank you DUVO Bikes :)
thank you so much :) I was really confused about why is it not installing it.
Thanks a lot, Brian!
I've spent almost 60 bucks for this calibration in a greedy drone service about 6 month ago.
Thank you Brian, mishandled my Spark some time ago and finally fixed it with your excellent set of instructions. Very much appreciated!
fyi...If you cannot get python command to run after installing python. Use "py" instead of "python" when typing out your commands...this was my issue thought I would share :) other than that...awesome tutorial...Ive been searching high and low for this tutorial for a long time!
thank you!!! now Im one step closer!
Thank you !
I have a mini 2 which I replaced the gimbal after a crash and I can not get this to work! I have watched several youtube videos and tried for several days but I keep getting stuck around the same step. When I connect my mini 2 it does appear in ports (COM & LPT) for a few seconds then it disappears. The only way I am able to get it to show up is if I open DJI Assistant 2 and once it shows up on there I close the program and my mini 2 appears as COM8. Everything works exactly as it is suppose to following these step except once I paste the command to calibrate gimbal, ¨python comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse ¨ or ¨py comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse¨ I get this message...
Finished processing dependencies for pyserial==3.5
c:\DJI\pyserial>cd c:\DJI\firmware-tools
c:\DJI\firmware-tools>py comm_og_service_tool.py com8 WM160 GimbalCalib JointCoarse
usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE]
[-w TIMEOUT] [--dry-test] [-v] [--version]
product command ...
comm_og_service_tool.py: error: argument product: invalid choice: 'COM8' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260')
c:\DJI\firmware-tools>
Any insight anyone is able to provide I would GREATLY appreciate it.
Tanks for everything, if you need to calibrate, read every comment and you 'll be fine! it worked! Brian, Alex! TANKS AGAIN FROM ARGENTINA
Your video saved my Spark. Thank You!
Very big thanks Brian. Well done, Spark is Calibrated. Thanks for help. In Windows 7 at first install DJI Assistant for COM port Driver, and then install Python with PATH, restart and after thet will all works as in video.
Hi ! Great ! I was able to repair a crasher gimball !
some remarks:
- you need to install DJI Assist for USB Driver !
- Close all oter applications before working with CMD and try to use the USB connction like DJI Assist - it will block your USB connection.
- Use py instead of python (like: py comm_og_service_tool.py ...) even when you try to install the package before the whole procedure.
- For simplicity place all install forlders to root (c:) and rename it to a simple diectory name - for easy later acces in CMD
Excellent way to calibrate your Spark. I have found that the result "unsure" means that your gimbal is damaged. If you put in a new gimbal, it should pass.
I've replaced the gimbal with a new one and get UNSURE. So I guess this means the new one is damaged. I wonder if I need to replace the wiring harness for the gimbal and camera. Where could I get another harness and where could I get another camera (I think I've damaged the connector on the board).
Got all the way to the point of typing the command to run the service tool (python comm_og_service_tool.py com3 SPARK GimbalCalib Joint Coarse), but it won't actually run. It ignores my command and repeats the previous prompt. I've even tried coms 1 and 2 just to make sure I'm accessing the right port. C:\Users\Administrator\Desktop\dji-firmware-tools-master\dji-firmware-tools-master>
When I try to download the py-serial file, I don't get all of those files? Any suggestions?
At time stamp 2:56 you start saying about going to a photo that would be downloaded to service tools. What do you mean? Where is service tools? I typed same thing you did >cd c:\dji and nothing come up with list you did. It said cant fined path way. Any idea. hard to see what your doing with spark screen and 2 prompt screens in you video. Thank you
After finish the "IMU error advise" is normal because it is not the original gimbal of the equipment, that does not affect its operation, to eliminate that annoyance you have to replace the main processor chip of the gimbal with the original one and it is somewhat cumbersome.
I just did it, it worked flawlessly :D , you are the man! I secretly love you now
i dont see what you do in minute 2:17 please help im stock
Thanks Brian, I have similar issue with Mavic Pro. Do you know if this might work with the Mavic Pro as well. I needed to change the gimbal control board.I have three of them and they all show the same issue. I get issue where I have no control in turning the gimbal at all. I get video signal but no control. This is from a fully functioning camera as I have another working Mavic and I tested with the working camera. Or if you don't know, maybe you can reference where you found the info and maybe they have something on the mavic there as well.Thanks in advance
Доброго! А можно это всё сделать на Mavic air?и как?Спасибо❗можно ссылку как это подробно сделать ❓
Can I use this tool for other services ?
What are the other commands ?
Is there any description of this tool with command lists ???
Would be great !
Hi Brian, thank you for your video. It took me a while but I finally figured out what I had to do. My tech skill are little rusty, had to blow off the cobwebs...I am trying to help a friend calibrate gimbal he replaced on his SPARK it has been out of commission since January .
For some reason when I ran both of the GimbalCalib commands I got the following: Error: 'Serial' object has no attribute 'reset input buffer'. The gimbal moved through it paces like in your video, but instead of displaying pass in the end, I got what seems to be a python error on both of the commands.
Do you have any idea what is happening? If you have any suggestions I would appreciate any ideas on how to 'reset the input buffer' to correct the error.
My laptop doesn t show DJI Virtual Com port. Can you help me?
is it use for phantom?
Bro, thank you very much, I will try this as shis is the only thing I was able to find, I really appreciate it. You will go to the heaven with your spark in hand :)
thank you!! but "result: unsure" what does it mean?
I love this video! I've used it 3 times now :) the last time was after a crash into a tree while trying our the automatic 'circle mode'... it didn't end well
anyone here knows the procedure of pairing air2s camera gimbal to the mother board? thanks
Thank you Brian. Great tutorial.
Does replacing the (Transmission Flex Wire 3 in 1 flat cable) require calibration?
Thanks for the video. What driver did you use for the spark in device manger to see the com port it is using. In you video one is unable to see what device driver you are looking at to see your com port.
When I type mode in elevated cmd it only shows com1. No other ports are shown. Please help us with an update video or image on how to find out the com port one is using. When I plug in my spark it shows dji but there are no driver installed. I have also tried to install dji assistant 2 to install the spark in the device manager. No luck
It just said USB Serial Device
Brian Stigall how to look com ? Com not found
Dika Cahya install DJI assistant version 2 from DJI - it installs the drivers for you. connector the spark after installing the assistant to allow it to install the drivers (allow all of the drivers to install as it will ask you to click and authorise for each one). then check device manager, under the comport section it should be there when the spark is powered on. hope this helps.
After installing python and do all like you explain, the comand "python" or "py" its not recognized. Windows 7
I’ve got a Mavic air. What do I put the command as for that?
is there one for a dji mavic air drone
Use wm220 instead wm160 or SPARK, its worked on Mavic air (ends with errors in console, but proceed calibrations normally in aircraft).
Its working! Thanks!Save me the money in technical service!
Thanks a lot for this! You would have saved a number of people from the same problem :)
Hello. Is it possible to calibrate the Mavic 2 pro?
PLEASE FOR MAVIC MINI
hi there I try your method but I have unsure results any suggestions thanks
You're my hero!! Thanks!!
Thank you for this video, I was able to eventually find the port number. And now I was finally able to calibrate my sparks gimbal again, as its been out of alignment after an unfortunate crash. May I suggest you post a link to this video on the SparkPilots forum as Im sure people will find it valuable.
Feel free to post it there! Glad it helped you.
Thank you!
make a clearer tutorial, because I am confused about seeing this tutorial
How did you find out the port number? in my device manager the dji is only shown as "other device".
I just guessed from the number 1-12 until it worked. Theres no harm in putting in the wrong number as the program will only run on the port that the spark is connected to.
I fix my gimbal on the Spark. Thank you so much :)
What is the diference of imu calibration with that can someone explain me
What does it mean when I run these and the following happens:
First step, it will look up, and down one or two times, and then nothing.
Second step, it doesn't move at all. :(
Year 2022, trying to calibrate the gimbal of my spark without results
That was useful! Tthank you so much!
Help ....
python: can't open file 'conm_og_service_tool.py':(Errno 21 No such file or dir ectory
how do i calibrate the mavic 2 zoom?
hi guys, quick question why I cant find my dji in "ports", I see that there is a usb serial device (com3) but apparently that`s not it or there is something wrong with dji/my pc dunno any suggestions?
Do a Mac tutorial bro 🙏🏼
will it work for phantom 4 ? gimbal motor exchange
DUVO Bikes possibly. You’ll need to change the ‘SPARK’ argument to the corresponding variable for the Phantom 4, I believe the Github has the available variables listed. Though, I think the DJI Go 4 app should have calibration available for the P4 similar to Mavic, the Spark does not. If it’s already available as a function there, use that first and then try this procedure only if that fails to work completely.
Todays project ! thank you will reply after testing.
@@duvobikes3953 Hello. You managed to calibrate your phantom
When in CMD and I select the pyserial folder, I type in python setup install. The response I get is python is not recognized as an internal or external command. Any pointers would be very appreciated
Hey. Not sure if you got it working, but dont use python as first command in any of the commands used if you get that error. Just start from the second word used in the command if python is the first word. Awesome video btw. Thanks
The spark picture disturbing when try to understand...
THANK YOU!!!! saved my drone!
Hey Brian anyway you can walk me through a little I’m stuck at the command prompt I have a windows 10
Alexrighthere@gmail.com
help me why does my results showing unsure.. both of them :(
Please help!
I follow you guidance, but at second step, the result is UNSURE.
The camera is not balance. Right side of Gimbal is very hot.
Could you please give me your advises.
Thank you so much.
p/s: I have got hard landing before :(
C:\Gimbal_Calibration\dji-firmware-tools-master>python comm_og_service_tool.py com10 SPARK GimbalCalib LinearHall
Info: The Gimbal will slowly move through all positions in all axes, several times. It will take around 30 seconds.
Calibration process started; monitoring progress.
Progress: received 61 reports.
Progress: received 92 reports.
Progress: received 122 reports.
Progress: received 152 reports.
Progress: received 183 reports.
Progress: received 213 reports.
Progress: received 243 reports.
Progress: received 274 reports.
Progress: received 304 reports.
Progress: received 334 reports.
Progress: received 365 reports.
Progress: received 395 reports.
Progress: received 426 reports.
Calibration time exceeded; calibration must have ended.
Summary: took 45.1 sec; received 456 reports; result: UNSURE.
Wooohaaa! I knew that must be possible. Thanks!!! Gonna try that.
thanks so much!
I try this and I get:
"Info: The Gimbal will move through its boundary positions, then it will fine-tune its central position. It will take around 15 seconds.
Error: No response on calibration command JointCoarse request."
Any help?
I get the same response. I took it back apart and checked gimbal installation and wiring. But still get this error too.
@@BlakeAutomotive did you fix it?what was the problem?
Thanks so much really I used for my mavic air and it worked
I thought there was a calibration button in the go4 app??
Gavin Sparkie Mavic Pro lee not for the Spark, only pitch roll adjustments
thank you!!! Your method work with DJI Mavic Air!!!
Как??? Как Вы смогли провести данные действия с Mavic air? У меня вылетают ошибки
Алексей Дуров ошибка тоже была, но калибровка все же выполнилась
@@FlyBugKhv Hello Mavic Air buddy, i am in same situation trying to calibrate my MA gimbal. Are the CMD line the same ?
python comm_og_service_ tool.pycom comX SPARK GimbalCalib JointCoarse
python comm_og_service_ tool.py com comX SPARK GimbalCalib LinearHall
Je suis Moi everything ok? Can you do it?
@@FlyBugKhv i didn't tried yet, I guess the same cmd will not work because of difference between the two gimbal (spark is 2 axis, MA is 3 axis gimbal).
I've read somewhere the same cmd but replacing "SPARK" by "MAVIC"... I will try when I'll have time to do it
Did anyone get the Error: No response on calibration command Jointcoarse request? Spark connected and turned on, gimbal makes resistance when moved with finger? THANKS
update: tried the same comand on working drone, still the same error!
Yes, I get same error "No response on calibration command
I tried changing my port from 1 to 2 and got a message" Error: could not open port 'com2'" so I have the right port
Tried reinstalling pyserial-3.4 still get "Error: No response on calibration command JointCoarse request."
Has anybody done this on a MacBook Pro ? because I am having problems establishing what com port to place in the script.
I have got /dev/cu.BlueTooth-Incoming-Port when I have checked, other than that I am puzzled.
Charalambos Polycarpou Check out the readme doc for the DJI Firmware Tools github. It has an example command for Unix based python commands for this function. I’m not overly familiar with Unix (macOS is based on Unix) but from what I’ve seen, the python portions of the methods are very similar with just the COM# substituted for the Unix equivalent.
Brian Stigall thank you 👍
ДЛЯ РУССКОЯЗЫЧНЫХ:
все пашет как для Спарка, так и для Эира.
Причем, для 2го ТЕ ЖЕ строки кода со "SPARK".
Лично у меня в командной выдало ошибку, после запуска второй части калибровки, но гимбал калибровался, как надо. В итоге - все супер.
Не забудьте добавить Python в "изменяемые среды": geek-university.com/python/add-python-to-the-windows-path/. На видео этого нет.
------------
For Mavic Air 100% same operations! With "SPARK" in the code. It works for me, but in the second part of calibration CMD says "Error". Anyway gimbal start calibrating like on this video.
Don't forget do add Python to a Environment Variables: geek-university.com/python/add-python-to-the-windows-path/
А для второго эира ?
@@Ugeen работает
привет Артёмий у меня почемута пробадает[ py ] от setup ( pyserial-3.4 setup** ) может подскажеш в чом проблема
@@air.dronefpv к сожалению - не сталкивался
Thank you. When I try execute the command
-> python comm_og_service_tool.py com1 SPARK GimbalCalib JointCoarse,
show message:
File "comm_og_service_tool.py", line 49
print(*args, file=sys.stderr, **kwargs)
^
SyntaxError: invalid syntax
Anybody with the same problem ? Thank you.
Resolved: I was using the old version Python, just work com 3.7.1
it says result: UNSURE ... so what now
I have found that the result "unsure" means that your gimbal is damaged. If you put in a new gimbal, it should pass.
@@robthunderdrones7191 oh damn but Thanks anyways
@@1Subj3ct The way that I know is that I tried 6 different sparks with this calibration utility and four of them passed but 2 failed. The two that failed had damaged gimbals.
@@robthunderdrones7191 yea i already thought about the gimbal as damaged but wasnt quite sure ...
thank you
I got this message.
and my gimbal is still not working
Calibration time exceeded; calibration must have ended.
Summary: took 22.6 sec; received 231 reports; result: UNSURE.
thanks it work great for me :) !!!!
thanks man!
Thanks a lot. It's work well. I'm mac user and musted to use the commande "ls /dev/tty.*" to know port name. The commande line with the mac for me was
./comm_og_service_tool.py /dev/tty.usbmodem2415 -vv SPARK GimbalCalib JointCoarse
./comm_og_service_tool.py /dev/tty.usbmodem2415 -vv SPARK GimbalCalib LinearHall
how to install pyserial in mac?
could u please tell us how you run this in mac osx?
@@pathfinder4wd pip install pyserial
thank you so much! It worked well!
I cant figure this out to save my life
I wrote up this: nmbgeek.com/blog/dji-spark-tilted-horizon-gimbal-calibration-fix/
Mac tutorial please
Hard to hear you at times, talking too soft. Cant see what you are typing either.
trying to follow along with you is ridiculous, just saying
got the DJI MINI 2 receiving this error
usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE] [-w TIMEOUT] [--dry-test] [-v] [--version] product command ...
comm_og_service_tool.py: error: argument product: invalid choice: 'COM1' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260')
Hi Guys, any ideas please?
C:\Spark\dji>py comm_og_service_tool.py com811 SPARK GimbalCalib JointCoarse
usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE] [-w TIMEOUT] [--dry-test] [-v] [--version]
product command ...
comm_og_service_tool.py: error: argument product: invalid choice: 'COM811' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260')