Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lalado-o opened this issue Jul 19, 2024 · 0 comments
Open

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

lalado-o opened this issue Jul 19, 2024 · 0 comments

Comments

@lalado-o
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant