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. myBlockly interface display and use of basic functions

myBlockly interface display and use of basic functions

img

serial numberillustrate
1Toolbox bar: Click on a specific category to select different building blocks
2Workspace: You can drag the building blocks of the toolbox to the workspace for use
3Run button: Run the code in the workspace
4The following menu will pop up after clicking: - Save: Save the current workspace - Load: Load the saved workspace - Settings: Enter the settings page, where you can set the language and theme
5After clicking, the control panel will pop up. In the panel, you can quickly control the movement of the robotic arm by clicking "+/-" in the joint control or coordinate control bar. 6 After clicking, you can view the python code generated in the workspace. 7 Center the workspace. 8 Enlarge the workspace. 9 Reduce the workspace.
6Click to view the python code generated by the workspace
7Center the workspace
8Zoom into workspace
9Reduce work area
10Trash can: Drag the building blocks in the workspace here to delete the building blocks; click the trash can at the same time to view and restore the deleted building blocks

Program running

Before officially starting programming, be sure to select the corresponding machine model, otherwise it will easily cause hardware damage.

First connect myCobot 320 M5 to our computer through USB data cable,

img

img

And then we select the initialization model as myCobot 320, the port connected to my computer is COM8, and the baud rate is 115200

The com port number is not fixed, you need to choose according to the actual port number of the individual PC connection How to choose the corresponding port number: by unplugging the usb cable on the side of the M5stack to see if there is any change in the corresponding port number to choose, unplugged in both cases there is a change in the com port is the machine's communication serial port.

img

small case

We use building blocks to implement such a small case: let the robotic arm return to the zero point, and then move a joint 30 degrees.

  • Make sure robot is power on

    Click the Status category in the toolbox, select the Power On building block and drag it to the workspace

    img

img

Click to Run button

img

If the End of program text appears in the popup, the program is finish.

Check whether the device is successfully powered on.

If the joint of the machine cannot be broken by hand, it is successfully powered on

And please click the X button to close pop-up window

img

Let's start with our little case study
  • Click the MDI Control category in the toolbox, select the Set Angle building block and drag it to the workspace

img

img

  • Click the Time category in the toolbox, select the Sleep building block and drag it to the workspace; click the mouse on the input box and change the input value of the building block to 5

img

img

  • Click the MDI Control category in the toolbox again, select the Set Angle building block and drag it to the workspace; at the same time, change the input value of J1 to 30

    img

  • img

  • Click the "Python" option in the upper left corner to view the corresponding Python code, as shown in the figure below.

img

  • Click the Run button to run the code and observe the movement of the robotic arm.

img

  • Program is running

    img

  • The program ends

    img

  • Click the x button in the upper right corner of the run pop-up window to close the pop-up window

Notice:

  • The program to operate the robot arm takes time to complete, so a `sleep' module needs to be connected after one action to give the robot arm time to move before proceeding with the next movement. (You decide the time required based on the situation. By default, the robotic arm is set to run myBlockly for a minimum sleep time of no less than 0.5 seconds.) Otherwise, the robotic arm will not be able to achieve the ideal movement.

  • When the program cannot run, please check whether the small toolbar is disconnected (as shown in the figure below).

img

img

Using the control panel

img

When using the control panel to control the machine, be sure to select the corresponding machine model, otherwise it will easily cause hardware damage.

Here we choose the model myCobot 320 ,Port is COM8,and the baud rate 115200

Note: The port that is actually connected to the computer shall prevail.

img

After selecting the model and port, click the Open button to connect the robotic arm.

img

Read angles and coordinates

  • Click the read angle button to read the machine angle value

  • Click the Read Coordinates button to read the machine coordinates

You can control the movement of the robot arm joints by clicking the mouse, long pressing the -/+ button, and modifying the values.

Program saving and loading

MyBlockly's program is saved in *.json format. Click the blue box in the upper right corner of the interface. When the "Save" option appears, click it to save the program.

img

Also click the blue box and click the "Load" option to import the saved program.

img

myBlockly download and install
Control RGB light panel

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/中文