Bus Servo SDK User Manual (Arduino ESP32)
| 版本 | GitHub | 范例代码 |
|---|---|---|
| v1.2026.0214 | 点击下载 |
1. Hardware Preparation
1.1 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 |
Use UART2 as the control UART for bus servos.
1.2 Wiring
Connect ESP32 UART2 to the UC01/UC02 adapter UART pins with Tx/Rx crossed and shared ground.
2. Demo Workflow
- Open Arduino examples in the SDK.
- Select ESP32 board profile.
- Compile and upload.
- Verify servo communication and control response.