Overview
Learn how to control servo motors with an ESP32 microcontroller using various methods, including direct control, I2C communication, and WiFi. Explore the ESP32's 16 PWM outputs and built-in wireless capabilities for remote control applications. Discover how to interface a servo with the ESP32 using the ESP32Servo Library and work through code examples that emulate Arduino functionality. Connect a PCA9685 PWM controller to the ESP32 via I2C to drive multiple servo motors simultaneously. Finally, implement a web-based interface for controlling servo motors over WiFi, showcasing the ESP32's versatility in robotics and automation projects.
Syllabus
- Introduction
- Servo Motors & ESP32
- Hookup & ESP32Servo Library
- Sweep Sketch
- Improved Sweep Sketch
- Knob Sketch
- ESP32 & PCA9685 -
- WiFi Web-based Servo Control
Taught by
DroneBot Workshop