Connecting M1 through python


Hi, I’ve set up the M1 to operate using a separate python script. I am having issues with using the HOME functions in my script. Can anyone help me with homing the dobot without using M1 Studio. Or is there a way to see what I should pass into SetHOMECmd() in order to use the command in python


There is no need to use the HOME command, but if you want to use the offline function without using m1studio, I can recommend it to you.You need a db62 expansion board, connected to the chassis of m1, like this.

After triggering in11, other signals can be used. Including reset signal, stop signal, start signal, etc.

best regards!


I do need the HOME CMD, the robot must go home in order to reliably execute my script. I don’t need to connect offline using the expansion board since its already connected using my python script. How do I execute the SetHOMECmd(), when I try the robot throws an error and needs rebooting.