International Journal of Informatics and Communication Technology (IJ-ICT)
Vol 14, No 2: August 2025

Creating a smart bedroom for children by connecting PIR and LDR sensors to a microcontroller Arduino UNO ATmega328P

Mustafa, Ragmi M. (Unknown)
Mustafa, Kujtim R. (Unknown)
Ramadani, Refik (Unknown)



Article Info

Publish Date
01 Aug 2025

Abstract

Intelligent electronic systems are increasingly prevalent in modern society. The development of smart bedrooms for young children, especially those with developmental disabilities, it is based on the responses of passive infrared (PIR) and light dependent resistor (LDR) sensors. The PIR sensor detects children’s movement during the night, triggering the microcontroller to send a bit of 1 to the microcontroller pin connected to an electromagnetic relay, which then switches on a 220 VAC light to illuminate the bedroom. This only occurs if the LDR sensor has high resistance, indicating that the environment is completely dark. The functionality of this intelligent system mainly depends on the program code (sketch) uploaded to the Arduino UNO microcontroller module. The microcontroller is programmed to perform specific functions based on the sensors data. It is based on the responses of PIR and LDR sensors. The PIR sensor detects children’s movement during the night, triggering the microcontroller to send a bit of 1 to the microcontroller pin connected to an electromagnetic relay, which then switches on a 220 VAC light to illuminate the bedroom. This only occurs if the LDR sensor has high resistance, indicating that the environment is completely dark.

Copyrights © 2025






Journal Info

Abbrev

IJICT

Publisher

Subject

Computer Science & IT

Description

International Journal of Informatics and Communication Technology (IJ-ICT) is a common platform for publishing quality research paper as well as other intellectual outputs. This Journal is published by Institute of Advanced Engineering and Science (IAES) whose aims is to promote the dissemination of ...