CatchUnit
Catch is a gripper that uses a SG92R servo as a power source. The servo uses a PWM signal to drive the gripper gear to rotate and control the gripper for clamping and releasing operations. The structure adopts a design compatible with Lego 8mm round holes. You can combine it with other Lego components to build creative control structures, such as robotic arms, gripper carts, etc.
Support the following products:
Micropython Example:
import os, sys, io
import M5
from M5 import *
from hardware import *
from unit import CatchUnit
catch = CatchUnit((33, 32))
catch.clamp()
catch.release()
catch.set_duty(30)
catch.set_clamp_percent(50)
UIFLOW2 Example:
class CatchUnit
Constructors
Methods
- CatchUnit.set_duty(duty: int) None
Set the duty cycle.
- 参数:
duty (int) – The duty cycle. from 20 to 54.
UIFLOW2:
