/wifi-servo-bridge

ESP32 controlling servos over Wifi

Primary LanguageC++zlib LicenseZlib

Wifi Servo Bridge Build Status

Sample firmware and hardware showing of how to utilize ESP32 for driving servo motors controlled over Wifi.

Wifi Servo Bridge 2021-09-15

Quickstart

mc firmware make -C firmware

See also dedicated firmware README

Usage

  • Connect both MCU as well as Servo power to the Wifi Servo Bridge PCB
  • Wait until the boot LED is no longer lit up. If the LED starts blinking fast, connecting to Wifi causes trouble
  • Use the following commands to read and write servo positions. Replace wifi-servo-bridge with the Wifi Servo Bridge's actual IP (will be displayed on serial connection)
curl -X GET http://wifi-servo-bridge/v2/servo/A/	# Read angle of servo E
curl -X PUT http://wifi-servo-bridge/v2/servo/B/90	# Move servo B to angle 90°
curl -X PUT http://wifi-servo-bridge/v2/servo/E/180	# Move servo E to angle 180°
curl -X PUT http://wifi-servo-bridge/v2/servo/F/0	# Move servo F to angle 0°