Dobot M1: Python raw communication example


#1

Dear community and Dobot team

I’m searching the internet for a Python raw communication example, but didn’t find anything usable. Can anybody provide code for controlling a Dobot M1 through serial port using the raw protocol (including checksum calculation and some example commands). I found this: https://jacquesjohnston.wordpress.com/2019/01/29/communicating-with-the-dobot-magician-using-raw-protocol/
but it is for the magician…

Do the Dobot M1 and M400/Magician use the same protocol?

Thanks so much for you help!

ramon


#2


I’m sure you can find what you’re looking for in our GitHub.


#3

Thank you for the Link!

I’m looking for a way to interface the OLD M1 Dobot (not the M1 Pro). On your github I have only found a Matlab base example (https://github.com/Dobot-Arm/DobotLink-LabVIEW), which is not suitable for me. I’m looking for a python based example, that uses the raw serial port communication with the robot.

As far as I see the M1Pro has a different and extended interface over TCP/IP which I cannot use for the M1.

I found a python example for micro:bit and magician. (https://github.com/jmio/DOBOTMagician_BBCmicrobit/blob/main/microbit_dobot.py)
Do the magician and m1 share the same protocol?

thanks for any help