This paper presents the design and implementation of an Internet of Things (IoT)-based smart home model that integrates voice control and environment-based automation. The proposed system uses an ESP32 microcontroller as the main IoT communication module and an Arduino Mega 2560 for local hardware control. Several sensors and modules, including a DHT22 temperature-humidity sensor, MQ-4 gas sensor, rain sensor, and RFID authentication module, are integrated to support environmental monitoring, safety detection, and automated device operation.
The system communicates with the E-Ra IoT platform to provide real-time monitoring and remote control through a web-based interface, while voice commands are implemented using Google Assistant. A physical prototype was developed and tested under normal operating conditions. Experimental results show that the system operates reliably and responds quickly to control commands, with an average response time of less than 1 second for basic device operations. The proposed model demonstrates the feasibility of building a low-cost and flexible smart home system suitable for research, educational applications, and small-scale residential environments.
In this article, the primary purpose is to design and implement a remote light control example that makes use of the Arduino IDE platform for programming, the MQTT protocol, and an ESP32 microcontroller, which has a dual-core CPU as well as Wi-Fi and Bluetooth capabilities. This aspect is related to the Internet of Things (IoT), which allows any fundamental device to be linked and become a smart device via the application of the Internet. As a result, these devices can be operated from a significantly long-distance, eliminating the need to physically interact with the switches to turn them on or off. The first part of the paper is a discussion of the fundamental theory that is provided to examine the potential of remote control methods, followed by a short overview of the Arduino integrated development environment (IDE), MQTT communication protocol, and PWM technique to regulate the brightness of lights. The second section is devoted to hands-on work, such as setting up an environment connection over the Internet, compiling and designing a printed circuit board (PCB).
Publication Information
Publisher
Thu Dau Mot University, Viet Nam
Editor-in-Chief
Assoc. Prof. Nguyen Van Hiep Thu Dau Mot University
Editorial Board
Assoc. Prof. Le Tuan Anh Thu Dau Mot University
PhD. Nguyen Quoc Cuong Thu Dau Mot University
PhD. Doan Ngoc Xuan Thu Dau Mot University
PhD. Nguyen Khoa Truong An Thu Dau Mot University
Assoc. Prof. Nguyen Thanh Binh Thu Dau Mot University
PhD. Le Thi Thuy Dung Thu Dau Mot University
PhD. Ngo Hong Diep Thu Dau Mot University
PhD. Nguyen Duc Dat Duc Ho Chi Minh City University of Industry and Trade
Assoc. Prof. Nguyen Van Duc Animal Husbandry Association of Vietnam
PhD. Nguyen Thi Nhat Hang Department of Education and Training of Binh Duong Province
PhD. Nguyen Thi Cam Le Vietnam Aviation Academy
PhD. Trần Hạnh Minh Phương Thu Dau Mot University
M.A. Pham Van Thinh Thu Dau Mot University
PhD. Nguyen Thi Lien Thuong Thu Dau Mot University