Esp32-Based Relay Timing System For Powering Internet Network Devices
Abstract
Abstract The continuous use of internet network devices can cause wastage of electricity, especially in environments that do not require 24-hour connectivity. This study aims to design and implement an automation system for setting the on and off time of network devices using an ESP32 microcontroller and a DS3231 RTC module. The system works by reading the time in real-time and activating or deactivating the relay according to the programmed time logic. Testing was carried out for 12 hours with the time parameters on at 18.00 and off at 06.00. The results showed that the relay was on and off on time without delay, indicating that the system was running stably and accurately. The research method used a Research and Development (R&D) approach to design a prototype and test it in real conditions. This system is effective in saving network device power and can be further developed with remote control features. Keywords: Esp32, RTC DS3231, Relay, timer, auto power, network
References
N. Cameron, “ESP32
Microcontroller,” Apress eBooks, pp.
–54, Jan. 2023, doi:
https://doi.org/10.1007/978-1-4842-
-8_1.
B. Ermanda and U. Latifa,
“KENDALI RELAY OTOMATIS
DILENGKAPI TIMER DAN
DETEKSI SUHU MENGGUNAKAN
RTC DS3231,” Aisyah Journal Of
Informatics and Electrical
Engineering (A.J.I.E.E), vol. 5, no. 2,
pp. 120–126, Aug. 2023, doi:
https://doi.org/10.30604/jti.v5i2.139.
M. Friman and K. V. Waller, “A TwoChannel Relay for Autotuning,”
Industrial & Engineering Chemistry
Research, vol. 36, no. 7, pp. 2662–
, Jul. 1997, doi:
https://doi.org/10.1021/ie970013u.
M. Ryan, Suwasti Broto, Yani
Prabowo, and TW Wisjhnuadji,
“PENGGUNAAN ANTENA GRID
UNTUK OPTIMASI JARINGAN
INTERNET: PENGGUNAAN
ANTENA GRID UNTUK OPTIMASI
JARINGAN INTERNET,” Prosiding
Seminar Nasional Teknologi
Informasi, Mekatronika, dan Ilmu
Komputer , vol. 1, 2022, Accessed:
Aug. 11, 2025. [Online]. Available:
http://prosiding.sentimeter.nusaputra.a
c.id/index.php/prosiding/article/view/3
R. Patwary, “Purposes of using home
router,” Urn.fi, 2024, doi:
http://www.theseus.fi/handle/10024/85
A. Maier, A. Sharp, and Y. Vagapov,
“Comparative analysis and practical
implementation of the ESP32
microcontroller module for the
internet of things,” IEEE Xplore, Sep.
, 2017.
https://ieeexplore.ieee.org/abstract/doc
ument/8101926/ (accessed Aug. 11,
.
/abstract/document/8101926/



