Compatible models: myCobot 320, myCobot Pro 630
Gripper
Controller
Introduction
-
Traditional industrial suction cups need to absorb the flat surface of the material. In more and more working conditions, the suction surface is easy to damage the panel or components. The soft-touch gripper pinches the edge to grab the panel easily and without trace or damage, ensuring that the product surface is flawless. , Improve the yield rate.
-
The modular design of the soft-touch gripper is light in weight and can be freely arranged and combined according to the size of the panel.
-
The clamping force of traditional cylinders is generally large, and the force is difficult to control. The edge of the clamping panel is easy to pinch and warp. The single-finger clamping force of the flexible gripper is precise and controllable, and will not pinch fragile workpieces.
working principle
- The flexible gripper is an innovative bionic flexible gripper developed by researchers to imitate the shape of the starfish's arms and legs. The "fingers" of the soft claw are made of flexible polymer silicone material, which can be bent and deformed by inflation. It can adaptively cover the target object like a starfish, and can complete the flexible and non-destructive grasping of special-shaped and fragile objects. Pick.
Applicable object
- Objects of any shape within a reasonable size
1 Installing:
-
Pneumatic Circuit Connection and Pressure Adjustment: Start by adjusting the positive pressure before connecting to the soft mechanical grip (the outlet can temporarily be blocked with a fingertip, ensure the positive pressure is strictly less than 100KPA to avoid potential finger injury).
-
For connecting and adjusting the pneumatic circuit: First, set the positive pressure before connecting to a soft mechanical grip. Temporarily block the outlet with a fingertip to prevent air escape, ensuring the positive pressure is strictly below 100KPA to avoid potential injury to the finger.
-
Connect to Air Source: Attach the air source to port 6 (inlet), ensuring the pressure is above 0.4MPA and flow exceeds 40L/MIN.
-
Connect Soft Mechanical Grip: Link the soft mechanical grip to port 4 (outlet).
-
Power Up: Supply power to connection 5.
-
Adjust Positive Pressure: Use the toggle switch to select positive pressure. Adjust the regulator as per the gauge until desired pressure is reached.
-
Switch to Negative Pressure: For negative pressure adjustment, pull up the regulator cap, turn to set, then push down to lock.
Special Reminder
Installation and use
-
gripper mounted:
-
Electrical Connections:
- Two connection cables are issued, one for power and one for control.
- At the base of the robot arm, for the power supply, connect the red wire to the 24V connector and the black wire to the GND connector. For the control wires, connect red to OUT1 and black to OUT2:
- Pneumatic controller terminal, power supply wire red connects to pneumatic controller 24V, black connects to pneumatic controller GND, control wire red connects to IN1, black connects to IN2:
Be careful to connect to the "Positive Voltage" side, if the power supply is successful the display will light up. You can test the connection manually to see if it is working properly by switching the air compressor on and pressing the button on the pneumatic controller, pressing it to the left (positive pressure) will contract the gripper and pressing it to the right (negative pressure) will open the gripper.
-
Software-driven testing:
To test if the gripper are available after installation, use myBlockly. myblockly download
- After confirming that the structural and electrical connections are complete, start the arm and open the myblockly software when the graphical interface appears.
- Modify the baud rate to 115200:
- Find
Base
in the list on the left and select theSet Pin Out
module: - Set
pin number
to1
andoutput
to0
: - Find
Time
and select theSleep
module: - Set the time as desired, here it is set to
1s
: - Repeat the above steps for the final setup as follows:
- Final code:
from pymycobot.mycobot import MyCobot import time mc = MyCobot('/dev/ttyAMA0', 115200) mc.set_basic_output(1, 0) time.sleep(1) mc.set_basic_output(2, 1) time.sleep(1) mc.set_basic_output(1, 1) time.sleep(1) mc.set_basic_output(2, 0) time.sleep(1)
- Click on the green run button in the top right corner to see the gripper close-open once.
-
Programming Development:
Programming the gripper using python python environment download
-
Create a new python file:
Right click on the desired file path to create a new python file:
The file name can be changed as needed
-
The code is as follows:
from pymycobot.mycobot import MyCobot import time # Initialise a MyCobot object mc = MyCobot("COM3", 115200) # Controls gripper closed-open: # Using the gripper status interface 0 is open, 1 is closed mc.set_basic_output(1, 0) time.sleep(1) mc.set_basic_output(2, 1) time.sleep(1) mc.set_basic_output(1, 1) time.sleep(1) mc.set_basic_output(2, 0) time.sleep(1) # For more information on using the interface, see the python API.
-
Save the file and close it, right-click on an empty space in the folder to open a command line terminal
Input:
python FlexGripperPro.py
gripper can be seen closed-open
-