Smart Home System Using Internet Of Things (Iot) Based On Arduino Mega And Esp32

Muttaqin Hardiwansyah, Monika Faswia Fahmi, Puteri Nurul Ma’rifah, Achmad Zain Nur, Safriudin Rifandi, Muhhammad Iyan Putra Pratama

Abstract


Smart Home systems based on the Internet of Things (IoT) offer modern solutions to enhance efficiency, comfort, and security in managing household appliances. This research aims to develop a smart home system using Arduino Mega as the main controller and the ESP32 module as a Wi-Fi network connector. The system is designed to control devices such as lights, fans, automatic doors, and a plant watering system through an Apache-based web server connected to a MySQL database. The methods used include the design of a smart home miniature hardware prototype, the development of a web interface for manual and automatic control, as well as the integration of a voice command feature based on Google Text-to-Speech. Testing was conducted by measuring Quality of Service (QoS) parameters such as delay, throughput, packet loss, and jitter, along with functional testing of devices through manual, automatic, and voice command operations. The results show that the system can operate properly with an accuracy rate of 100%, an average delay of 4–5 seconds for device control, and an average QoS index of 1.5. Some minor delays were observed, mainly due to the use of a web server and internet connection. With affordable development costs, this system provides a practical solution for small-scale IoT-based smart home implementation.

Keywords


Smart Home, Internet of Things, Arduino Mega, ESP32, Web Server, MySQL Database, Quality of Service

Full Text:

PDF

References


A. Mulyana, S. Rahmawati, R. Rahman, and Z. Nur Permatasari, “ALAT PENGONTROL PERANGKAT ELEKTRONIK BERBASIS IOT MENGGUNAKAN BLYNK DAN GOOGLE ASSISTANT,” JCS-TECH, vol. 2, no. 1, pp. 30–35, May 2022, doi: 10.54840/jcstech.v2i1.24.

W. Istiana and R. P. Cahyono, “SISTEM KEAMANAN PINTU RUMAH BERBASIS Internet Of Things (IoT) Dengan ESP8266,” vol. 2, 2022.

K. Ikhsan and B. Setyawan, “Rancang Bangun Smart Home Berbasis Internet Of Things (IOT) Menggunakan Arduino Mega 2560,” vol. 12, 2024.

A. M. Nando and E. Fitriani, “Smart Home Menggunakan PLC Outseal Berbasis Internet Of Things,” AMPERE, vol. 8, no. 1, pp. 22–31, Jun. 2023, doi: 10.31851/ampere.v8i1.9314.

R. H. Harefa and H. Gunawan, “Perancangan Smart Agriculture System Berbasis Internet of Things,” vol. 4, no. 1, 2024.

S. Supiyandi, C. Rizal, M. Iqbal, M. N. H. Siregar, and M. Eka, “Smart Home Berbasis Internet of Things (IoT) Dalam Mengendalikan dan Monitoring Keamanan Rumah,” josh, vol. 4, no. 4, pp. 1302–1307, Jul. 2023, doi: 10.47065/josh.v4i4.3822.

P. K. A. Windesi, M. R. Sampebua, and R. M. Kmurawak, “IOT-BASED HOME AUTOMATION USING NODEMCU ESP8266,” J. Ris. Inform., vol. 4, no. 4, pp. 391–396, Sep. 2022, doi: 10.34288/jri.v4i4.431.

B. Balaji, R. Priya, and R. Revathy, “Domestic Automation System Using Internet of Things and Arduino,” in 2020 International Conference on System, Computation, Automation and Networking (ICSCAN), Pondicherry, India: IEEE, Jul. 2020, pp. 1–4. doi: 10.1109/ICSCAN49426.2020.9262421.

Adi Winarno and M. Affandi, “Design and Construction of Smart House Prototype Based Internet of Things (Iot) Using Esp8266,” Buana Electrical, Science & Technology, vol. 4, no. 1, pp. 11–14, Mar. 2022, doi: 10.36456/best.vol4.no1.5447.

Saravana Kumar. K, Mohamed Faizal, Dheena. A, and Dr. N. Muruganantham, “SMART HOME USING IOT,” International Journal of Scientific Development and Research (IJSDR), vol. 6, no. 4, p. 1, Apr. 2021.

P. Macheso, T. D. Manda, S. Chisale, N. Dzupire, J. Mlatho, and D. Mukanyiligira, “Design of ESP8266 Smart Home Using MQTT and Node-RED,” in 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), Coimbatore, India: IEEE, Mar. 2021, pp. 502–505. doi: 10.1109/ICAIS50930.2021.9396027.

S. Sarishma, S. Chamoli, S. Sangwan, and V. Fore, “Smart Home Automation using ESP8266 and Internet of Things,” SSRN Journal, 2020, doi: 10.2139/ssrn.3701427.

I. Setyowati, D. Novianto, and E. Purnomo, “Preliminary design and soil moisture sensor yl-69 calibration for implementation of smart irrigation,” J. Phys.: Conf. Ser., vol. 1517, no. 1, p. 012078, Apr. 2020, doi: 10.1088/1742-6596/1517/1/012078.

W. Adhiwibowo, A. F. Daru, and A. M. Hirzan, “Temperature and Humidity Monitoring Using DHT22 Sensor and Cayenne API,” JT, vol. 17, no. 2, pp. 209–214, Jan. 2020, doi: 10.26623/transformatika.v17i2.1820.

P. Madhavi, S. V. Satyanarayana, N. Shirisha, N. Chandana, M. Amulya, and M. Ankitha, “Automatic Night Lamp Using LDR,” IJERA, vol. 15, no. 1, pp. 97–100, Jan. 2025, doi: 10.9790/9622-150197100.

I. R. Nugraha, W. H. N. Putra, and E. Setiawan, “A Comparative Study of HTTP and MQTT for IoT Applications in Hydroponics,” J. RESTI (Rekayasa Sist. Teknol. Inf.), vol. 8, no. 1, pp. 119–126, Feb. 2024, doi: 10.29207/resti.v8i1.5561.

ETSI, “Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON); End to End Quality of Service in TIPHON Systems; Part 1: General Aspects of Quality of Service (QoS),” vol. 2.




DOI: https://doi.org/10.21107/triac.v13i1.34079

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Jurnal Teknik Elektro dan Komputer TRIAC

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License
Indexed by: