Infotronik : Jurnal Teknologi Informasi dan Elektronika
Vol 10 No 1 (2026): Vol 10 No 1 Tahun 2026

An IoT-Based System for Monitoring Electricity Usage in Student Dorm Rooms Using the ESP32

muhammad syaifuddin (Universitas Islam Lamongan)
Zainal Abidin (Universitas Islam Lamongan)
Rifky Aisyatul Faroh (Universitas Islam Lamongan)



Article Info

Publish Date
05 Aug 2026

Abstract

Real-time monitoring and control of electrical energy usage is essential in effective power consumption management, especially in environments such as boarding houses or rental rooms. This study designs and implements an Internet of Things (IoT)-based system using the ESP32 microcontroller integrated with the PZEM-004T sensor, relay module, and OLED display. The ESP32 is selected for its built-in WiFi connectivity and efficient data processing capabilities. The PZEM-004T sensor is used to measure electrical parameters such as voltage, current, power, and energy (kWh). The relay module functions as an electronic switch that controls the flow of electricity to appliances either automatically or manually via the Blynk application. Meanwhile, the OLED screen locally displays energy consumption information for each room. The system is capable of independently monitoring and displaying power usage per room while also estimating electricity costs based on a predefined kWh tariff. With the help of the Blynk app, users can remotely access real-time data and control electrical devices as needed. Each room is equipped with one sensor, one relay, and one OLED display, all connected to a single ESP32 unit, allowing efficient multi-point monitoring. Testing results indicate that the system performs accurately and responsively. This implementation is expected to help boarding house residents better manage their energy usage, promote awareness of energy efficiency, and reduce unnecessary electricity expenses.

Copyrights © 2026






Journal Info

Abbrev

infotronik

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering

Description

Jurnal Infotronik dengan Nomor ISSN: 2549-7748 (online); 2548-1942 (print) adalah jurnal berkala ilmiah yang diterbitkan secara bersama-sama oleh Fakultas Teknik dua kali setahun (Juni-Desember). Jurnal ini bertujuan mempublikasikan hasil penelitian orisinal dan mengembangkan konsep, teori, ...