Use of suction pump

Preparation before starting

M5Stack series: Make sure the robot is connected to the computer

Other series: Make sure the machine is normal

For the introduction and installation of the suction pump, please refer to Accessories chapter. The robot models that are compatible with the suction pump include myCobot 280, myPalletizer 260 and mechArm 270. Here, the myPalletizer 260 M5Stack robot is used as an example.

Learning content in this chapter

How to use myBlockly to control the suction pump connected to the myPalletizer 260 M5Stack robot

API display

Note: The M5 version and the Raspberry Pi version require different method modules to control the suction pump. The M5 version robot cannot use the Raspberry Pi interface. If the module does not match the model, the program will report an error (as shown below).

  • Method module 1 (for M5 version): Set the bottom pin number status

  • Applicable scope: myCobot 280 series, myPalletizer 260 series and mechArm 270 series

  • Parameter introduction:

This module has two parameters that can be adjusted:

  • Bottom pin number parameter: the specific pin number at the bottom of the device (only the numeric part is taken)
  • Running state parameter: 0 means set to running state, 1 means stop state

  • Purpose: Set the working state of the bottom pin number

  • Method module 2 (for M5 version): Get bottom pin number

  • Applicable scope: myCobot 280 series, myPalletizer 260 series and mechArm 270 series M5 version
  • Parameter introduction:
  • Bottom pin number parameter: the specific pin number at the bottom of the device (only the numeric part is taken)
  • Purpose: Get the working state of the bottom pin number

Simple demonstration

Vertical suction pump V1.0

  • The graphic code is as follows: (for M5 version)

  • Implementation content: The suction pump vibrates and starts working. The suction pump sucks up the object, puts it down after two seconds, and repeats the previous action after another two seconds until the program runs to the end.

Vertical Suction Pump V2.0

  • Graphic code is as follows: (for M5 version)

  • Pin 5/2 controls the solenoid valve and the air release valve respectively

  • Implementation content: First close the solenoid valve and open the air release valve to prepare for starting the suction pump; after two seconds, close the air release valve. After 0.05 seconds, open the solenoid valve, the suction pump vibrates and starts working. The suction pump picks up the object and puts it down after two seconds. Close the air release valve and repeat the previous actions until the program ends.

results matching ""

    No results matching ""