Zum Inhalt springen

+49 1626571232

info@openelab.io

🚀 Kostenloser Versand ab 50€ in der EU / 80€ weltweit

How to use the Xiaomi CyberGear Micromotor's Host Computer

12 Dec 2024 0 Kommentare

The CyberGear Host Computer Software is designed to debug and control the CyberGear micromotor using CAN communication. To set up the micromotor for debugging, it can be connected to a PC via a CAN-to-serial converter. Below is a step-by-step guide on how to set up and use the host computer software for debugging and controlling the CyberGear micromotor.

YourCee USB-TTL/RS232/RS485/CAN Serial

YourCee USB-TTL/RS232/RS485/CAN Serial

View Product
Xiaomi CyberGear Micro Motor Connection Cable

Xiaomi CyberGear Micro Motor Connection Cable

View Product
STM32F103 Development Board

STM32F103 Development Board

View Product

 

Software and Driver Requirements

  • The CyberGear debugging software, CyberGear Debugger_20231101.exe, is specifically tailored for the CyberGear micromotor.

  • The download link for the software is not included here to manage version control effectively. To download the software, please scan the QR code found in the product's manual. If you encounter the software in Chinese, you can download it, but please note that there may be compatibility issues with different versions.

     

Driver Installation

  • Before using the debugging tool, install the CH340 driver to ensure the proper functionality of the device.

  • By default, the micromotor operates in AT mode.

    

CAN-to-Serial Tool

  • The debugging software is compatible with specific CAN-to-serial tools. It is recommended to use YourCee's USB-CAN module for seamless communication.

  • The tool follows the serial protocol:

    • Frame Header: 41 54

    • Frame End: 0D 0A

    

 

Debugging Capabilities

The CyberGear Host Computer Software supports basic debugging for single-joint motion and includes:

  • Motion Modes: JOG (Jogging)

  • Oscilloscope Functions: Visual feedback and analysis

For systems involving multiple joints (such as robots), the software provides limited debugging capabilities. Users may need to develop custom controllers for advanced debugging and multi-joint systems.

 

Steps to Use the Host Computer

Step 1: Locate the Debugger

  • Find the executable file CyberGear Debugger_20231101.exe on your PC.

Step 2: Connect the Micromotor

  • Connect the micromotor to the PC using the recommended CAN-to-serial tool.

  • Ensure the CH340 driver is installed, and the micromotor is powered on.

Step 3: Interface Overview

  • Open the CyberGear Debugger to access the user-friendly interface. Here, you can configure the control parameters and motion modes.

 

Control Modes

The software provides several control modes for the precise operation of the micromotor:

Zero Mode

The motor slowly returns to its mechanical zero position.

Operational Control Mode

  • Parameters: Torque, Position, Speed, Kp, and Kd.

  • The motor operates based on target commands, providing real-time feedback.

Current Mode

  • Set the current value (Iq) and sinusoidal operation mode.

  • The motor runs according to the set current, amplitude, and frequency.

Speed Mode

  • Set the target speed and sinusoidal operation mode.

  • The motor operates either continuously or in a point action mode, depending on the speed, amplitude, and frequency settings.

Position Mode

  • Set the target position and sinusoidal operation mode.

  • The motor moves continuously or in a point action mode to the desired position with a defined amplitude and frequency.

 

Notes and Recommendations

  • Single Joint Debugging: Fully supported by the software.

  • Multi-Joint Systems: The software provides limited support. Users may need to develop custom controllers for advanced debugging.

  • Environment: Ensure a stable PC setup and follow the recommended guidelines for optimal performance.

 

FAQS

How do I burn firmware into a motor?

Stlink Flashing Process

 

Motor parameter table refresh failure?

Generally, it is due to firmware version problems. Please update the firmware to the latest version.

 
The motor can't connect to the Host Computer?

Download the latest version of the host computer (V0.0.6) and the original version of the host computer to connect the motor.

 

Check whether the CANH and CANL of the motor and the power supply are reversed, whether the power supply is 24V and whether the contact of the CAN line is good, and measure the communication status with a multimeter.

 

Download UART-CAN, open CanMiniIMU.exe in the UART-CAN folder, click Setup Module, configure the baud rate as 921600, can baud rate as 1000000, re-power on the motor, if you can receive commands after powering on the motor, it means the communication is successful.

 

Click the Help tool of CanMiniIMU.exe, click Firmware upgrade, and upgrade the TTL-CAN_N32_10010_1_5.bin file.

  

Featured Articles

Vorheriger Beitrag
Nächster Beitrag

Hinterlasse einen Kommentar

Alle Blog-Kommentare werden vor der Veröffentlichung geprüft

Jemand kaufte vor kurzem ein

Danke fürs Abonnieren!

Diese E-Mail wurde registriert!

Shoppen Sie den Look

Wähle Optionen

Bearbeitungsoption
Benachrichtigung wieder vorrätig
this is just a warning
Anmeldung
Einkaufswagen
0 Artikel
RuffRuff App RuffRuff App by Tsun