Skip to content
Flash your ESP32 with a ServoMote sketch

ESP32 setup

ServoMote provides three sample Arduino sketches for different hardware setups. All implement the same BLE protocol, so the app works identically with each one.

Choosing a sketch

SketchHardwareChannelsBest for
Direct GPIOESP32 + servos on GPIO pins3Simple projects with a few servos
PCA9685ESP32 + Adafruit PCA9685 PWM driver16Projects needing many servos
M5Stack 8ServoESP32 + M5Stack 8Servo unit8Compact setup with M5Stack ecosystem

Requirements

  • Arduino IDE — to compile and upload the sketches
  • ESP32 board support — install via Arduino Board Manager
  • An ESP32 development board (any variant with BLE support)

General setup

  1. Install the Arduino IDE
  2. Add ESP32 board support (search for "esp32" in the Board Manager)
  3. Download the sketch for your hardware from GitHub
  4. Open the sketch in Arduino IDE
  5. Select your ESP32 board and port
  6. Upload the sketch

Once uploaded, the ESP32 starts advertising as "ServoMote" over BLE and is ready to accept connections.

Custom implementations

The BLE protocol is straightforward — see the BLE protocol reference for details. You can implement it on any ESP32 with BLE support, using any servo driver hardware.