This Rust based driver is for controlling servo motors using an ESP32.
- ESP32
- Servo Motor
- 5V DC power Supply
- Breadboard
- Jumper Wires
| ESP32 Pin | Connection |
|---|---|
| GND | 5V Power Supply GND |
| GPIO 2 | Servo Motor Signal Pin |
| Servo Pin | Connection |
|---|---|
| +5V | +5V from external power supply |
| GND | External Power supply GND |
| Signal | ESP32 GPIO 2 |
Connect the ESP32 to the host then run the following command to build, run, and monitor
cargo run --release