Skip to content

Serial Port Assistant

Version Supported OS Package
2026.02.14 Windows Download

1. Overview

  • Use Serial Port Assistant to simulate various embedded platforms sending hexadecimal commands for servo control and data readback.
  • Provides multiple hexadecimal command examples for easier system configuration.
  • When the PC configuration software cannot be installed correctly, this method can be used to verify basic servo functions.

2. Wiring Preparation

  • Download (Serial Port Assistant + Command Generator + Command Examples)
  • Follow the diagram and connect in this order: Bus ServoTTL/USB AdapterComputer, then power on.
[Serial Assistant] Hex Command Servo Control

Notes:

  • Install the required driver in advance: CH340G Driver Download
  • Ensure supply voltage is within 6.0-8.4V (9.0-12.6V); otherwise, voltage protection will prevent operation.
  • Standard AA battery packs are not recommended. Use a regulated power supply or a 2S (3S) Li battery pack.
  • Some regulated power supplies have long startup time and may trigger low-voltage protection. It is recommended to power on first, then connect the servo.
  • Factory default ID is #0 for all servos. During setup, connect only one servo at a time. Connect multiple servos after IDs are changed.
  • Serial wiring order: TX↔RX, RX↔TX, GND↔GND. The same rule applies to MCU serial interfaces such as Arduino and STM32.

3. Common Hex Command Examples

Protocol Documentation

3.1 Command Generator

In the attached sheet below, yellow cells are input fields. Example: Servo ID = 0, Angle = 90°, Time = 1s, Power = 0 (no limit).

[Serial Assistant] Hex Command Servo Control

Generated command:

12 4C 08 07 00 84 03 E8 03 00 00 DF (Servo #0 moves to 90° within 1s)

Generate another command:

12 4C 08 07 00 00 00 E8 03 00 00 58 (Servo #0 moves to 0° within 1s)

3.2 Command Examples

[Serial Assistant] Hex Command Servo Control

Examples here are based on Servo #0. For other IDs, update both the ID and checksum accordingly.

Example for Servo #1: 12 4C 01 01 01 61

4. Using Serial Port Assistant

As shown below, this is the operation workflow in Serial Port Assistant:

[Serial Assistant] Hex Command Servo Control

Demo Video:

5. Status Response Packet Interpretation

5.1 Read Servo Status

You can send commands on the bus servo to read status information.

  • PC software example for reading servo status
Status Response Interpretation
Status Response Interpretation
  • Data field interpretation for read-servo-status example

Request Packet: 0x12 0x4c 0x03 0x02 0x00 0x05 0x68

Field Value
Header 0x12 0x4c
Read Command ID 0x03
Command Length 0x02
Servo ID 0x00
Status Read Register 0x05
Checksum 0x68

Response Packet: 0x05 0x1c 0x03 0x03 0x00 0x05 0x01 0x2d

Field Value
Header 0x05 0x1c
Read Command ID 0x03
Command Length 0x03
Servo ID 0x00
Status Bits 8-bit flags BIT[0]-BIT[7]. In-command: BIT[0]=1; command error: BIT[1]=1; stall error: BIT[2]=1; over-voltage: BIT[3]=1; under-voltage: BIT[4]=1; current error: BIT[5]=1; power error: BIT[6]=1; temperature error: BIT[7]=1. Example: 0x01 means command executing.
Checksum 0x2d

5.2 Data Monitoring

You can send commands on the bus servo to read voltage, current, power, temperature, status, angle, and turns.

  • PC software example for data monitoring
Status Response Interpretation
  • Data field interpretation for monitoring example

Request Packet: 0x12 0x4c 0x16 0x01 0x00 0x75

Field Value
Header 0x12 0x4c
Read Command ID 0x16
Command Length 0x01
Servo ID 0x00
Checksum 0x75

Response Packet: 0x05 0x1c 0x16 0x10 0x00 0xff 0x2e 0x0e 0x00 0xa8 0x00 \ 0x30 0x07 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x63

Field Value
Header 0x05 0x1c
Read Command ID 0x16
Command Length 0x10
Servo ID 0x00
Voltage 0x2e 0xff = 12031mV
Current 0x00 0x0e = 14mA
Power 0x00 0xa8 = 168mW
Temperature 0x07 0x30 = 1840 (ADC value)
Status 0x01 = 1 (command executing)
Angle 0x00 0x00 0x00 0x01 = 1 (0.1°)
Turns 0x00 0x00 = 0
Checksum 0x63