• sales

    +86-0755-88291180

RoArm-M2-S User Guide

Overview

RoArm-M2-S is a 4DOF smart robotic arm designed for innovative applications. Adopts lightweight structure design with a total weight of less than 850g and an effective payload of 0.5kg@0.5m, it can be flexibly mounted on various mobile platforms. Adopts a 360°omnidirectional base combined with three flexible joints to create a workspace with a 1-meter diameter.

The joint direct-drive design enhances repositioning precision and also improves structural reliability, with innovative dual-drive technology doubling the shoulder joint torque. The onboard ESP32 MCU main control module supports multiple wireless control modes and provides control interfaces and rich communication protocols for easily connecting to various devices. Compatible with ROS2 and various host computers, supports various wireless and wired communication modes.

Comes with an expansion plate, and supports customizing the EoAT(End of Arm Tooling) to meet innovative application requirements. Provides a user-friendly and cross-platform WEB application that integrates a simple and visualized coordinate control mode, making it easier to get started. Comes with rich graphic and video tutorials to help you learn and use it quickly.

RoArm-M2-S achieves an excellent balance between lightweight, user-friendliness, expandability, and open innovation, it is a multifunctional robotic arm that integrates intelligent control, human-machine interaction, and customizable development. Ideal for applications that require a combination of flexibility, expandability, and user-friendliness.

Features

  • Expandability: Comes with various expandable components, and supports multifunctional EoAT (End of Arm Toolings) customization to meet different innovative application needs.
  • Omnidirectional Workspace: The base, with 360° rotation, combined with flexible joint movements, creates a workspace with a diameter of up to 1 meter, enabling versatile movement in all directions.
  • Easy to use: Offers cross-platform web applications and coordinate control modes to reduce user difficulties, making it easy for users to operate the robotic arm.
  • Open-source Code: The control code and communication interface documentation for RoArm-M2-S are open-source, facilitating secondary development for users.
  • Lightweight Structure: Utilizes carbon fiber and 5052 aluminum alloy, resulting in a body weighing less than 850g, making it easy to install on various mobile platforms.
  • Joint Direct-Drive Design: Uses 12-bit high-precision magnetic encoders to obtain joint angles, ensuring a repeat positioning accuracy of 0.088°, thereby enhancing structural reliability.
  • Dual-Drive Technology: Innovative dual-drive technology increases the torque of the robotic arm's shoulder joint, improving the overall load capacity of the robotic arm.
  • Powerful Main Control: Utilizes the ESP32 main control MCU, supporting various control interfaces and wireless communication protocols.
  • Multi-platform Support: Compatible with ROS2 and various host computers, supporting multiple wireless and wired communication methods, providing flexibility for different development and control requirements.
  • Rich Tutorials: Offers rich graphic and video tutorials covering various functionalities to help users quickly get started and use the robotic arm, thereby accelerating the realization of innovative applications.

Product Video


How to Use

Precautions

Before use, please learn the following:

1. RoArm-M2-S is pre-assembled before shipment, but it is not recommended to disassemble it due to a significant number of servos.
2. The working voltage range of RoArm-M2-S is 7-12.6V. It is recommended to use the 12V 5A power supply, or you can use a 3S lithium battery. It is strictly forbidden to use a power supply that exceeds this working voltage range.
3. It may bring you potential risks that the torque of RoArm-M2-S is large. When using the product, avoid having sensitive areas such as eyes and head within the range of servo movement.
4. Keep this product away from children to prevent injury. And the product can not be subjected to violent impact.
5. For safety reasons, the default demos have a relatively slow speed for the robotic arm's operation. You can refer to subsequent tutorials to change this speed, but excessively low speed may cause shaking when the robotic arm reaches certain positions.

Introduction


  1. The two images above show the markings for various parts of the robotic arm and the commonly used interfaces.
  2. To use, connect the provided 12V 5A power cable to the power interface on the robotic arm, turn on the power switch, and the product's joints will automatically move to the center position.
  3. After powering on, the OLED screen will display the following information:
    • The first line indicates that the WiFi is in AP mode, and the WiFi hotspot is named RoArm-M2.
    • The second line indicates that the STA mode is turned off. When WiFi is in STA mode, the router will assign an IP address, which will be displayed.
    • The content of the third line is the MAC address of the device, which is unique and used for ESP-NOW communication. Please refer to RoArm-M2-S ESP-NOW Control for specific usage.
  4. After powering on, use a smartphone or computer to connect to RoArm-M2-S's WiFi: RoArm-M2, with the password 12345678. Once connected to the WiFi, open the Google Chrome browser and enter 192.168.4.1 in the address bar to access the web-based control interface. From there, you can use the web interface features to control the robotic arm.

Web Usage

Key Function

AngleCtrl: Servo Angle Control

The number displayed above each column of buttons represent the angles to which each joint has rotated, displayed in radians. The labels for each joint can be found on the image in #Introduction. All displayed numbers are updated only after the button is released, and the specific update process is explained below.

1. "B L" and "B R" at the first column control the rotation of the base joint, with a rotation range of 360°. When the product is powered on, the base joint will automatically rotate to the middle position, and the number on the button is 0.

  • Keep clicking on "B L", the base joint turns left at 180°, and the value updates from 0 to 3.14.
  • Then, keep clicking on "B R", the base joint turns right at 360°, and the value updates from 3.14 to -3.14.

2. "S D" and "S U" at the second column control the rotation of the shoulder joint, with a rotation range of 180°. When the product is powered on, the shoulder joint will automatically rotate to the middle position, and the number on the button is 0.

  • Keep clicking on "S D", the shoulder joint rotates forward at 90°, and the value updates from 0 to -1.57.
  • Then, keep clicking on "S U", the shoulder joint rotates reversely at 180°, and the value updates from -1.57 to 1.57.

3. "E D" and "E U" at the third column control the rotation of the elbow joint, with a rotation range of 225°. When the product is powered on, the elbow joint will automatically rotate to the middle position, and the number on the button is 1.57.

  • Keep clicking on "E D", the elbow joint will rotate downward at 90°, and the value will change from 1.57 to 3.14.
  • Then keep clicking on "E U", the elbow joint will rotate reversely at 225°, and the value will change from 3.14 to -1.11.

4. "H+ DG" and "H- UG" at the fourth column control the rotation of the end joint. The end joint is divided into "clamp" and "wrist" joints, depending on the end effector's configuration. When the product is powered on, the end joint will automatically rotate to the middle position, and the number on the button is 3.14.

  • When in "gripper" joint mode, the rotation range is 135°.
    • Pressing "H+ DG" will make the "gripper" joint grab, which is the default closed state.
    • Pressing "H- DG" will make the "gripper" joint open, with a maximum opening angle of 135°, and the value will change from 3.14 to 1.08.
  • When in "wrist" joint mode, the rotation range is 270°.
    • Keep clicking on "H+ DG", the "wrist" joint will rotate downward at 135°, and the value will change from 3.14 to 5.20.
    • Then, keep clicking on "H- DG", the "wrist" joint will rotate upward at 270°, and the value will change from 5.20 to 1.08.

INIT: reset all joints to the middle position they were in when the product was powered on.

Torque: Torque Lock Control

  • Clicking "Torque OFF" means the torque lock is off, then you can manually rotate the joints when the robotic arm is powered on;
  • Clicking "Torque ON" means the torque lock is on, then you can't manually rotate the joints after the robotic arm is powered on.

Note: if one of the joints or all the joints of the robotic arm receives other rotation commands after the torque lock is turned off, the torque lock will be turned on automatically.

DEFA: Dynamic External Force Adaptation Control

  • Clicking "DEFA ON" means that the Dynamic External Force Adaptation (DEFA) function is enabled. When DEFA is turned on, if external forces cause the robotic arm to move, it will automatically return to its original position before the external force is applied.
  • Clicking "DEFA OFF" to disable this function, means that the robotic arm will not automatically return to its original position when external forces are applied.

LED: LED Control

Clicking "LED OFF" to turn off LED lights, and clicking "LED ON" to turn on LEDs.

HORIZONTAL DRAG

Please refer to Horizontal Drag Instructions for more details.

VERTICAL DRAG

Please refer to Vertical Drag Instructions for more details.

COORDCTRL: Robotic Arm End Joint End Point Coordinate Control

X, Y, and Z respectively represent the X axis, Y axis, and Z axis of the "Clamp/Wrist" EoAT (End of Arm Tooling) of the robotic arm. T represents the rotation angle of the EoAT (Different joints have different rotation angles, as you refer to "ANGLECTRL H+DG"), and all of these four parameters are adjusted by "+ -".
INIT: reset all EoAT to the middle position they were in when the product was powered on.

FEEDBACK INFORMATION

Input JSON command to communicate with the robotic arm and the feedback of JSON command will be displayed here. The following Below is the commonly used JSON commands shortcut input of the robotic arm. Click the "INPUT" next to the command, it will be automatically input into the input box. For details about the control meaning of the JSON command, see RoArm-M2-S JSON Command Meaning.

Product Initialization

Users who need to quickly restore their product to the factory program can use the ESP32 download tool for RoArm-M2-S that we provide.

1. Click here to download, unzip it and double-click "flash_download_tool_3.9.5.exe" to open. Then, two windows pop up. The UI interface of the download tool is for operation, and the other window is the terminal to display the working status of the download tool.
2. In the "DOWNLOAD TOOL MODE" interface, select "Chip Type" as ESP32, and "WorkMode" as Factory, and the relative path will be used when calling the binary file, so you don't need to manually enter the binary file path, click OK.


3. Enter the "ESP32 FLASH DOWNLOAD TOOL", you can upload the demo for the eight robotic arms at the same time on the right. Connect the driver board on the robotic arm to the PC with a USB cable, and click on "COM" to select the new COM (here is "COM3"). "BAUD" is for setting the download speed, the higher the value, the faster the speed, and ESP32 can use up to 921600.


4. After the selection, click on "START" to start uploading the demo, after the upload is completed, "IDLE" will change to "FINISH". Then, the driver board can be disconnected from the USB connection with the computer. Insert the 12V 5A power cable into the 12V DC port of the robotic arm driver board, and then you can control RoArm-M2-S after powering on.


RoArm-M2-S Tutorial Directory

RoArm-M2-S User Tutorial


Resource

Robotic Arm Drawing

Robotic Arm STEP Model

Open-source Demo

Software

Driver Board Schematic

VirtualBox ROS2 Image

RoArm-M2-S ROS2 Package

FAQ

Question:1. No response when controlling the robotic arm using Web, JSON commands, or ROS2?

 Answer:

First, check if the robotic arm is powered on. Refer to the power interface markings in the Product Introduction section for guidance. After plugging in the power interface, ensure that the power switch on the driver board is turned on. Next, verify which USB port is inserted into the robotic arm. It should be inserted into the left USB port for serial communication; the right USB port is for laser radar data. If after completing these checks the robotic arm still cannot be controlled, please consult technical support.


Question:2. After re-uploading the demo to the product, the connected WIFI prompts "wrong password" or is not accessible, how to solve the problem?

 Answer:

During re-burning the program, send the command {"T":604} to clear the NVS area, then reboot the robot arm, delete the WiFi and connect it again.


Support

Monday-Friday (9:30-6:30) Saturday (9:30-5:30)

Mobile: +86  13434470212

Email: services01@spotpear.com