Skip to content

Bus Servo SDK User Manual (STM32F103)

版本 GitHub 范例代码
v1.2026.0214 GitHub 点击下载

1. Overview

This SDK is developed for Fashion Star bus servos based on the UART/RS485 protocol.
It targets STM32F103 and provides complete source examples for communication test, angle control, mode switching, parameter configuration, and status readback.

  • MCU: STM32F103C8T6 (or compatible board)
  • IDE: Keil5
  • Downloader/Debugger: ST-Link V2
  • Optional serial logging: USB-to-TTL module (CH340)

3. Typical Wiring

  • UART1 -> UC01/UC04 bus-servo adapter (servo control)
  • UART2 -> USB-to-TTL module (logging, optional)
  • UART3 -> not used in the default examples

4. Development Workflow

  1. Download and unzip the SDK package.
  2. Open the project in Keil5.
  3. Select the correct debugger (ST-Link).
  4. Build and flash firmware to STM32F103.
  5. Power cycle or reset and verify serial output / servo response.

5. What Is Included

  • Driver and protocol encapsulation for UART bus servos
  • Function examples for common control tasks
  • Parameter and status utilities for integration and diagnostics