Bus Servo SDK User Manual (MicroPython / ESP32)
| 版本 | GitHub | 范例代码 |
|---|---|---|
| v1.2026.0214 | 点击下载 |
1. Overview
MicroPython examples for ESP32-based control of Fashion Star bus servos.
2. ESP32 UART Resources
| Function | GPIO |
|---|---|
| UART0 Tx | GPIO 1 |
| UART0 Rx | GPIO 3 |
| UART1 Tx | GPIO 10 |
| UART1 Rx | GPIO 9 |
| UART2 Tx | GPIO 17 |
| UART2 Rx | GPIO 16 |
UART2 is recommended for servo control.
3. Wiring
Connect ESP32 UART2 to the UC01/UC02 adapter board UART pins (Tx/Rx crossed), then connect power and ground correctly.
4. Quick Start
- Flash MicroPython firmware to ESP32.
- Copy SDK scripts/examples to the board.
- Configure serial port and servo ID.
- Run communication and angle-control examples.