← Back to Publications List

Wi-Fi Enabled Smart Multi-Plug for Home Automation using ESP32 Microcontroller

Students & Supervisors

Student Authors
Md. Farhat Anjam
Bachelor of Science in Computer Science & Engineering, FACULTY OF SCIENCE & TECHNOLOGY
Anika Sultana Anu
Bachelor of Science in Computer Science & Engineering, FACULTY OF SCIENCE & TECHNOLOGY
Jannat Jarin
Bachelor of Science in Computer Science & Engineering, FACULTY OF SCIENCE & TECHNOLOGY
Fatematuz Johora Chadni
Bachelor of Science in Computer Science & Engineering, FACULTY OF SCIENCE & TECHNOLOGY
Supervisors
Muhibul Haque Bhuyan
Professor, Faculty, FACULTY OF ENGINEERING

Abstract

This work presents a comprehensive Internet of Things (IoT)-constructed home automation structure to provide remote control and monitoring capabilities for household electrical appliances. The system architecture integrates an ESP32 microcontroller as the central processing unit, interfaced with a 4-channel relay module that enables switching control of multiple electrical devices through a standard multiplug configuration. Environmental monitoring is achieved through a DHT22 sensor that continuously measures temperature and humidity, with an integrated safety mechanism that activates a buzzer alarm when temperature thresholds are exceeded, protecting the system from potential overheating conditions. The human-machine interface consists of a web-based application established utilizing distinctive web technologies comprising HTML, CSS, and JavaScript, enabling users to remotely control relay states through any internet-connected device. Communication between the web interface and the ESP32 hardware is facilitated by MQTT (Message Queuing Telemetry Transport) protocol using HiveMQ broker services, ensuring reliable and low-latency data transmission. The system integrates advanced scheduling functionality through individual relay timers, allowing users to program automatic shutoff sequences for connected appliances, thereby enhancing energy efficiency and safety. Security features include a robust authentication scheme requiring username and password credentials for system access, with provision for user-configurable credential management. Real-time sensor data is continuously transmitted to the web interface, providing users with environmental monitoring capabilities alongside device control functions. This integrated approach demonstrates the practical implementation of IoT principles in residential automation, combining hardware interfacing, wireless communication protocols, web development technologies, and user authentication systems into a cohesive smart home solution.

Keywords

Environmental Monitoring MQTT Protocol ESP32 Microcontroller IoT-Based Home Automation Web-Based Interface.

Publication Details

  • Type of Publication:
  • Conference Name: 6th Annual Paper Meet (IEB-EE APM2025)
  • Date of Conference: 13/12/2025 - 13/12/2025
  • Venue: IEB Council Hall, Ramna, Dhaka
  • Organizer: IEB-EED