Skip to content

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

@kkluiae

Description

@kkluiae

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions