yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
myCobot 320 Arm📖
1.Product Feature
  • 1.Functional Parameters
  • 2.Controller Parameters
  • 3.Structural Parameters
  • 4.Electronic Parameters
  • 5.Coordinate System
  • 6.Introduction of Adaptive Gripper
  • 7.Introduction of force-controlled gripper
2.Common Problem
  • 1.how to ask
  • 2.driver
  • 3.software
  • 4.hardware
3.First Install and Use
  • 1.Product Standard List
  • 2.Product Unboxing Guide
  • 3.Power-on Test Guide
4.Basic Application
1. miniRoboFLow
  • 1. miniRoboFLow
  • 2. Drag & Play
  • 3. Joint Calibration
  • 4. Computer Connect
  • 5. Robot Information
2.1 myblockly
  • 1. What is myBlockly
  • 2. Preparations before using myBlockly
  • 3. myBlockly download and install
  • 4. myBlockly interface display and use of basic functions
  • 5. Control RGB light panel
  • 6. Control the robotic arm to return to the origin
  • 7. Control single joint movement
  • 8. Control multiple joints
  • 9. Use of adaptive grippers
  • 10. Use of force-controlled grippers
  • 11. Q&A
  • 12. API
3. Firmware Description
  • 1.Firmware Description
  • 2.Burn Firmware
2.2 myStudio
  • 1. myStudio
  • 2. myStudio environment setup
  • 3. Install driver
  • 4. Burn and update firmware
5.Mobile APP control
  • Mobile APP control
6.SDK Development
1.Development Environment Construction
  • 1.Development Environment Construction
2.Python
  • 1.What is Python
  • 2.Environment Building
  • 3.Python API usage instaructions
  • 4.TCP IP
  • 5.Drag to teach
  • 6.Use Cases
  • 7.Use of adaptive grippers
  • 8.Use of force-controlled grippers
3.ROS1
  • 1.ROS
  • 2.Environment Building
  • 3.ROS basics
  • 4.Rviz use
  • 5.Basic function case
  • 6.Use of adaptive grippers
  • 7.Use of force-controlled grippers
4.ROS2
  • 1.ROS2 introduction
  • 2.Environment Building
  • 3.ROS2 basics
  • 4.Rviz2 use
  • 5.Basic function case
5.C Sharp(C#)
  • 1.C#
  • 2.Environmental construction
  • 3.Mechanical control
  • 4.myCobot API
  • 5.Use Cases
  • 6.Use of adaptive grippers
6.c plus plus (C++)
  • 1.C++
  • 2.CPlus Download
  • 3.build
  • 4.API
  • 5.example
7.Arduino
  • 1.Arduino
  • 2.Arduino Download
  • 3.API
  • 4.example
  • 5.Use of adaptive grippers
8.Serial communication
  • 1.Serial communication
  • 2.Use of force-controlled grippers
7.Documents Download
  • 1.Product Brochure
  • 2.Software and Source Code
  • 3.System lnformation
Download
  • 3D_Model_File
  • Android Mobile APP
  • Manual
Download ZIP

Welcome to myCobot 320 Arm repository

4.myCobot API

myCobot API

1 Prerequisite for controlling the robotic arm

1.1 MyCobot (string port, int baud=115200)

Function: Instantiate MyCobot Return value: None Parameter Description: Parameter 1: Serial Port Number ("COM *" on Windows (such as COM30) Parameter 2: Baud Rate (default is 115200) Note: If you want to call the following API, you need to first instantiate

1.2 Open() Function: Open serial port Return value: None Parameter Description: None Attention: To communicate with the robotic arm, you need to first open the serial port

1.3 Close() Function: Close serial port Return value: None Parameter Description: None Note: It is best to close the serial port at the end of the program

Overall Status of 2 Robots

2.1 PowerOn(); Function: Power on the robotic arm Return value: None Parameter Description: None Note: After powering on the robotic arm, it will not be possible to manually move the arm 2.2 PowerOff() Function: The robotic arm loses power Return value: None Parameter Description: None Attention: After powering on the robotic arm, if you want to manually move it, you can use this API to make the robotic arm lose power

3 Input Program Control Mode MDI Mode and Robot Control (Manual Data Input)

3.1 SendOneAngle(int jointNo, int angle, int speed) Function: Send single joint angle Return value: None Parameter Description: Parameter 1: Joint Number (1-6), Parameter 2: Angle (Range: -170 ° -170 °), Parameter 3: Speed (0-100) Use case: Click to view。

3.2 GetAngles() Function: Obtain all joint angles Return value: Returns an int type array, int [], length: 6 Parameter Description: None Use case: Click to view。

3.3 SendAngles (int [] angles, int speed) Function description: Send all joint angles Return value: None Parameter Description: Parameter 1: All joint angles (range: -170 ° -170 °), Parameter 2: Speed (0-100) Use case: Click to view。

3.4 GetCoords() Function: Obtain all coordinates Return value: Returns an int type array, int [], length: 6 Parameter Description: None Use case: Click to view。

3.5 SendCoords(int[] coords, int speed, int mode) Function: Send multi parameter coordinates Return value: None Parameter Description: Parameter 1: All coordinates (X, Y, and Z values range from -300 to 300.00 units in mm RX, RY, RZ, value range -180), Parameter 2: Speed (0 to 100), Parameter 3: Mode (0- angular, 1- linear) Use case: Click to view。

3.6 SendOneCoord(int coord, int value, int speed) Function: Send single parameter coordinates Return value: None Parameter Description: Parameter 1: Coordinate Number (1-6 (x, y, z, rx, ry, rz)), Parameter 2: Coordinate (X, Y, Z value range -300-300.00 units mm RX, RY, RZ, value range -180-180), Parameter 3: Speed (0-100) Use case: Click to view

4 Atom End IO control Atom IO Control

4.1 SetDigitalOut(byte pin_number, byte pin_signal) Function: Set the high and low levels of output IO Return value: None Parameter Description: Parameter 1: Pin Number (Atom Output Pin Number), Parameter 2: State (0- Low Level, 1- High Level) Use case: Click to view

4.2 GetDigitalIn(byte pin_number) Function: Get input IO status Return value: Pin status (0- low level, 1- high level) Parameter Description: Pin Number (Atom Input Pin Number) Use case: Click to view

4.3 SetGripperMode(byte mode) Function: Set Gripper Mode Return value: None Parameter Description: Parameter 1: mode:1-transparent mode, 0-IO mode

4.4 setGripperValue(byte angle, byte speed) Function: Control adaptive gripper Return value: None Parameter Description: Parameter 1: Claw opening and closing angle (0-100, 0- closed, 100- maximum opening angle), Parameter 2: Claw opening and closing speed (0-100) Use case: Click to view

4.5 SetElectricGriper (byte open) Function: Control electric gripper Return value: None Parameter description: Claw switch status (0- off, 1- on)

4.6 getGripperValue () Function: Obtain adaptive gripper angle Return value: int type, returns the gripper angle (0- closed, 100- maximum open angle) Parameter Description: None Use case: Click to view

5 Base M5Stack basicIO control M5Stack-basic IO Control

5.1 SetBasicOut(byte pin_number, byte pin_signal) Function: Set the high and low levels of output IO Return value: None Parameter Description: Parameter 1: Pin Number (Basic Output Pin Number), Parameter 2: State (0- Low Level, 1- High Level) Use case: Click to view

5.2 GetBasicIn(byte pin_number) Function: Get input IO status Return value: Pin status (0- low level, 1- high level) Parameter Description: Pin Number (Basic Input Pin Number) Use case: Click to view

Mechanical control
Use Cases

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文