Skip to content

dcortesav/esp32-web-based-servo-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Web Based Servo Control

A web-based servo motor controller for ESP32 using WebSockets.

Overview

This project enables remote control of two servo motors through a web interface. The ESP32 board hosts a WebSocket server that receives commands from a browser and controls the servos in real-time.

Features

  • Web server with WebSocket support
  • Real-time control of 2 servo motors
  • Browser-based user interface
  • Low-latency communication via WebSockets

Hardware Requirements

  • ESP32 development board
  • 2x Servo motors
  • Power supply (appropriate for your servos)
  • Connecting wires

Wiring

Connect your servo motors to the ESP32 GPIO pins as defined in the code. Typical connections:

  • Servo 1: Signal wire to GPIO pin (check code for pin number)
  • Servo 2: Signal wire to GPIO pin (check code for pin number)
  • Power and ground for both servos. Do not forget to link servos and esp32 grounds.

Installation

  1. Install the Arduino IDE or Platformio on VSCode with ESP32 board support
  2. Install required libraries
  3. Upload the code to your ESP32 board
  4. Connect to the ESP32's WiFi. Check/configure credentials in the code
  5. Open the web interface in your browser

Usage

  1. Power on the ESP32
  2. Connect to the network
  3. Navigate to the ESP32's IP address in your browser
  4. Use the web interface to control the servo positions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages