D
Deleted member 103366
Guest
I rebuilt a gimbal from a crashed mini, I put the camera in a 'new' gimbal frame and motors. The camera works and the gimbal does the boot dance, moving about all three axis (which is a plus) seemingly perfectly to my eyes but comes up with gimbal stuck message etc. etc. as was more or less expected.
There are several Youtubes addressing such problems
&
(this one seems to have the same problem that I detail below.)
showing gimbal recalibrations (or attempts lol) using python and some downloaded software
PYSerial: https://pypi.org/project/pyserial/#files
DJI Tools: https://github.com/o-gs/dji-firmware-
The software needs to know which comm port the drone is connected to and with either Windows 10 or 7 this is proving VERY difficult to nail down.
If I open DJI's Assistant 2 for Mavic and connect the drone, I see, in device manager, a consistant port, it's comm port 5 with one of the Windows but I don't remember if it is 5 with both. But as soon as I close the Assistant 2 the com port disappears from Device Manager.
Once the comm port is known and pyserial software is started "py setup.py install" using an administrator level command line you are supposed to issue two commands.
1) py comm_og_service_tool.py com5 WM160 GimbalCalib JointCoarse
(guessing com5 is the one I should use) "WM160" is the model number of the MM.
Followed by
2) py comm_og_service_tool.py com5 WM160 GimbalCalib LinearHall
( I have tried both com5 & COM5) .
I have never got past the first one as it crashes saying something about incorrect model or something similar and it presents a list which contains ........ , 'WM160' , ......
Noting the single apostrohies around WM160 in the error message I have tried including those in the command and I still have no luck.
One of the youtube comments led me to
nmbgeek.com
for a Spark, where one person used a Macbook.
I tried a Macbook and I see two USB 'ports' in use, one is consistanly something like /dev/tty.usbmodem2413 , the number of the other 'port' seems to change at random but this was more than I can see under Windows.
I have tried the
./comm_og_service_tool.py /dev/tty.usbmodem2413 WM160 GimbalCalib JointCoarse and the other port too but with no joy. Ditto 'WM160' and noting that the MAcbook user used SPARK rather than WM100 I tried the above with -vv MMINI as well as MMINI in place of WM160. No joy.
I am stuck. In part because I do not know if the commands are failing because they can not find the port and or the Model designation is somehow wrong.
Has any one succeeded with this. If so do you see anything wrong with my approach?
Thanks
There are several Youtubes addressing such problems
&
(this one seems to have the same problem that I detail below.)
showing gimbal recalibrations (or attempts lol) using python and some downloaded software
PYSerial: https://pypi.org/project/pyserial/#files
DJI Tools: https://github.com/o-gs/dji-firmware-
The software needs to know which comm port the drone is connected to and with either Windows 10 or 7 this is proving VERY difficult to nail down.
If I open DJI's Assistant 2 for Mavic and connect the drone, I see, in device manager, a consistant port, it's comm port 5 with one of the Windows but I don't remember if it is 5 with both. But as soon as I close the Assistant 2 the com port disappears from Device Manager.
Once the comm port is known and pyserial software is started "py setup.py install" using an administrator level command line you are supposed to issue two commands.
1) py comm_og_service_tool.py com5 WM160 GimbalCalib JointCoarse
(guessing com5 is the one I should use) "WM160" is the model number of the MM.
Followed by
2) py comm_og_service_tool.py com5 WM160 GimbalCalib LinearHall
( I have tried both com5 & COM5) .
I have never got past the first one as it crashes saying something about incorrect model or something similar and it presents a list which contains ........ , 'WM160' , ......
Noting the single apostrohies around WM160 in the error message I have tried including those in the command and I still have no luck.
One of the youtube comments led me to

DJI Spark Gimbal Calibration - Choice Technology Solutions, LLC
If you find yourself with a tilted or drifting horizon or basically a gimbal that just won't stay level on your DJI Spark this will be your fix.

for a Spark, where one person used a Macbook.
I tried a Macbook and I see two USB 'ports' in use, one is consistanly something like /dev/tty.usbmodem2413 , the number of the other 'port' seems to change at random but this was more than I can see under Windows.
I have tried the
./comm_og_service_tool.py /dev/tty.usbmodem2413 WM160 GimbalCalib JointCoarse and the other port too but with no joy. Ditto 'WM160' and noting that the MAcbook user used SPARK rather than WM100 I tried the above with -vv MMINI as well as MMINI in place of WM160. No joy.
I am stuck. In part because I do not know if the commands are failing because they can not find the port and or the Model designation is somehow wrong.
Has any one succeeded with this. If so do you see anything wrong with my approach?
Thanks
Last edited by a moderator: