Journal of Blockchain, Nfts and Metaverse Technology
Vol. 4 No. 2 (2026): August 2026

Development of an Arduino-Based Automatic Air Conditioner Temperature Control System Using the ON-OFF Method with Hysteresis

Lela Nurlaela (Department of Computer Science, Swadharma Institute of Technology and Business, Jakarta, Indonesia)
Usanto S (Department of Information Systems, Swadharma Institute of Technology and Business, Jakarta, Indonesia)
Christine Sientta Dewi (Department of Information Systems, Swadharma Institute of Technology and Business, Jakarta, Indonesia)
Muhammad Rendhy Sabara (Department of Electronics Engineering, Swadharma Institute of Technology and Business, Jakarta, Indonesia)



Article Info

Publish Date
19 Nov 2026

Abstract

Air conditioners (ACs) are among the largest consumers of electricity in buildings, so automatic control is needed to improve energy efficiency while keeping room temperature stable. Conventional ON-OFF control, however, causes relay chattering when the temperature fluctuates around the setpoint, which accelerates the wear of relay contacts and the compressor. This study develops an Arduino Uno-based automatic AC temperature control system that uses the ON-OFF method with a hysteresis band of ±1 °C to reduce the switching frequency of the relay. A research and development (R&D) approach was followed through requirements analysis, hardware and software design, implementation, and testing. The system comprises an Arduino Uno, a DHT22 temperature sensor, a relay module, a 16×2 I2C LCD, a buzzer, and setpoint push buttons. Calibration against a digital thermometer yielded a mean absolute error of 0.24 °C and a root mean square error of 0.26 °C. In a cooling test from 30 °C to a setpoint of 24 °C, the room temperature entered the hysteresis band after about 15 min and settled near the setpoint within about 25 min, after which it remained inside the ±1 °C band. Compared with conventional ON-OFF control, hysteresis reduced relay switching from 21 to 11 times per hour, a reduction of 47.6%, which improves control stability and is expected to extend the service life of the relay and compressor. The system is simple and low-cost and can be applied to microcontroller-based building automation.

Copyrights © 2026






Journal Info

Abbrev

sana

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Engineering Library & Information Science

Description

This Journal scope includes, but is not limited to, the following areas: Blockchain architecture, protocols, and security Non-fungible tokens (NFTs) and their applications in the creative industries, gaming, and more Metaverse technology and virtual worlds, including the development and governance ...