Real-Time Servo Motor Control over Wi-Fi using ESP32 and WebSocket
In the evolving landscape of IoT and robotics, the need for real-time, wireless control systems is more prominent than ever. This paper presents a real-time servo motor control method using the ESP32 microcontroller and WebSocket over Wi-Fi. Unlike traditional HTTP-based systems, WebSocket provides a persistent, low-latency connection ideal for real-time applications. Our implementation uses the ESPAsyncWebServer library on the ESP32 to host a web-based interface for controlling servo motors. The system allows seamless, bi-directional communication between the client and ESP32, enabling users to manipulate servo angles dynamically with minimal delay. This approach simplifies hardware complexity and offers a low-cost and scalable solution for projects involving remote control, home automation, and robotic mechanisms. We evaluate the system's latency, reliability, and scalability, demonstrating its effectiveness in responsive servo control.
Authors
- Tapaswini Sahoo (ORCID: https://orcid.org/0000-0003-1992-8733)
- Subhadarshini Mohanty (ORCID: https://orcid.org/0000-0003-3556-4941)
- Subasish Mohapatra (ORCID: https://orcid.org/0000-0002-3440-7955)
- Jyoti Ranjan Nayak (ORCID: https://orcid.org/0000-0003-0309-8042)
- Ladu Kishore Sahoo
- K Rajtilak
Institutions
- Odisha University of Agriculture and Technology (IN)
- Sri Sri University (IN)
Publication Details
- Published
- 2025-07-25
- DOI
- https://doi.org/10.1109/isac364032.2025.11156646
- Citations
- 1
- Primary Topic
- IoT-based Smart Home Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.73