myCobot icon indicating copy to clipboard operation
myCobot copied to clipboard

myCobot 280 M5Stack - Issues with Suction Pump and Basic Pin 5

Open lalado-o opened this issue 1 year ago • 0 comments

As suction pump is correctly connected to the base of robotic arm, when you set basic pin 5 to mode 0 (meaning that the suction pump is turned ON), there is a chance that myCobot would reboot, resulting in forced exit of currently running programs in the robotic arm

The following code is to turn on the suction pump:

mc = MyCobotSocket(ip,port) #  or mc = MyCobot(com_port,baudrate)
time.sleep(1)
mc.set_basic_pin(5,0)

Note that no matter the code, as long as you set the basic pin 5 mode to 0, there is a chance to reboot myCobot

lalado-o avatar Jul 19 '24 01:07 lalado-o