Creating a smart bedroom for children by connecting PIR and LDR sensors to a microcontroller Arduino UNO ATmega328P
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.
Keywords
Full Text:
PDFDOI: http://doi.org/10.11591/ijict.v14i2.pp540-554
Refbacks
- There are currently no refbacks.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The International Journal of Informatics and Communication Technology (IJ-ICT)
p-ISSN 2252-8776, e-ISSN 2722-2616
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).