Development of Arduino Lighting System For Classroom Used
Development of Arduino Lighting System For Classroom Used
Abstract
This project proposes a smart lighting system based on human presence. Pyroelectric Infrared (PIR Sensor) will be utilized to
detect the human presence and the Light Dependent Resistor (LDR Sensor) will be used to measure the surrounding light
intensity which will manage to fix the lamp light based on the surrounding light intensity. The dimmer principle is based on
Pulse Width Modulation (PWM) which will control the light intensity. In this system dual modes are used, which is auto and
manual modes. In the manual mode, the system will be controlled using mobile app which will be connected through
Bluetooth to the system. Meanwhile, for auto mode, the system will operate based on the human presence in the place.
Arduino Uno. These operations are possible with only an presence is detected in the room, the lights will turn off
Arduino Uno. In addition, research was conducted using a for in a minute. The delay time setting depends on it
vacancy sensor (Ajay et al., 2016), which is a direct needs. Thus, due to that, the new lighting system is
replacement for standard wall switches. These sensors are proposed in this paper.
combined with passive infrared technology to detect the
presence of personnel in the room as well as voltage Table 1: Differences between ordinary room and light system
switching in a single package. If a room is left empty for room
5-10 minutes, this system will turn off the lights. These
sensors are mounted on the ceiling and have a 180 and Ordinary Room Light System Room
360 degree filed view, covering an area of up to 1000 The switch is on the wall The light system is used as a
square feet. However, these sensors have some remote control
Brightness cannot be composed Brightness can be adjusted
drawbacks, including limited range (one sensor may not according to the surroundings
cover an entire room) and the need for a lot of additional A switch is required to turn off or Automated systems to runs
wiring in the case of wired sensors. on by manually sensors.
Thus, due to that, this project was built to reduce the
limitation happen in previous paper and will be used for
classroom application, where it can detect people and turn 2. Methodology
on the lights automatically. Not only that, the lights will
go off if the user leaves the classroom. Moreover, this The architecture of the proposed system is shown in
project can detect the surrounding brightness and adjust Fig. 1. In this paper, two major components will be used,
the brightness of the lights with the surroundings replace which are hardware and software.
the light switch by using a smartphone.
The proposed project also uses an Arduino system and A. Hardware
MIT app inventor to work. Compared to a traditional
classroom, the proposed project has an automatic system The main hardware components required for this
and can control the brightness. The limitation for the project include Arduino microcontroller, PIR sensor,
traditional room is the brightness of the lights in the room Bluetooth module (HC-05), LED strip 5630, LDR sensor,
cannot be controlled and adjust the brightness with the Transistor (TIP120), Power supply 12V, cables and
surroundings. For example, if it is raining, the room will jumper wires. The overall circuit connection is shown in
look a little brighter and if it is noon, the lights will be a Fig. 1 below and component labelling are shown in Table
little bit dimmer. This function cannot be found in a 1.
normal classroom, which is user with the brightness of the
atmosphere.
The light switch in the room is opened and closed
manually with another view, that is, it does not have an
automatic system. The automatic system can facilitate us
so that we can open the lamp automatically. This is the
problem author have and want to solve it. No remote
control. This problem causes the user to always go to the
place of the switch to open or close the lamp. If there is a
remote-control system, the user only needs to use the
control to open or close the lamp in any place.
The project is suitable in rooms that use manual
switches and need to control the brightness of the lamp,
including: i. Classrooms, ii. Laboratory and iii. Meeting
Room. As mention in Table 1, for the ordinary or
Fig. 1. Overall diagram connection components with Arduino
traditional room, normally, the switch is stick on the wall,
UNO
it may cause the inconvenience of the room user to switch
on or off the light compared to the light system, which Table 1: Label component of proposed design
able to remote control the light as can determine by the
room user. Furthermore, the lack of the ordinary room A Light Dependent Resistor (LDR Sensor)
that mostly cannot be adjusted brightness of the room B Bluetooth Module HC-05
compare to the light system which able to adjust C Pyroelectric Infrared (PIR Sensor)
surrounding brightness by remote way. Furthermore, in a D Led Strip 5V
E NPN Transistor (TIP120)
common room the light required room user to turn off or
F Arduino UNO
on else the light will remain idle compare to the light
system, the room will run automatic mode when it set. B. Software
The lights will turn on or off depending human presence
via PIR motion sensor in the room. Whenever no human
8 Yong et al. / Borneo Engineering & Advanced Multidisciplinary International Journal
a) Prototype of Project
(a)
9 Yong et al. / Borneo Engineering & Advanced Multidisciplinary International Journal
In Fig. 5, the user uses the MIT App to control the front From the Table 3, its shows that, by controlling the
and rear lights. Additionally, the user choose the desired brightness of the light intensity, it may result in how
light level. much current of the lamp are uses, and the greater the
current, the greater the brightness of the lamp. Most
rooms are not able to use automatic systems and control
the brightness of the lights. Therefore, in this project,
Arduino Classroom Light Up System has been produced
to overcome the problem. This project is able to facilitate
use because it has two systems, automatic and manual.
Arduino inventor to perform functions such as sensors,
Bluetooth adapters and so on.
Among the advantages of using this Arduino UNO
board is that programming is easier to do. In addition, the
inputs and outputs available on the Arduino UNO board
are also compatible with what is used. Furthermore, this
Arduino also has many inputs and outputs. Therefore, if
there are improvements on this project, the addition of the
Fig. 5: Simulation project to control the front, rear and level pin number can be done on the Arduino board without
lights changing a new board.
supported, which makes this important research viable Rajesh., John, A., & Maddipati, R. (2021, August 15).
and effective. Introduction to arduino uno. The Engineering
Projects. Retrieved April 1, 2022, from
References https://www.theengineeringprojects.com/2018/06/intr
oduction-to-arduino-uno.html.
Kamthe, M. A., Kole., Nalawade, A. N., & Choudhari, A. Reddy, T. I., Nalluri, A., Bhamidipati, K., & Lakshmi, M.
R. (2020). Automatic Room Light Controller Using S. (2017). Home automation of lights & fans using
Arduino and PIR Sensor, IJESC Department of ECE IoT. International Journal of Pure and Applied
MITSOE, Pune, India, 10(5). Mathematics, 116(5), 127-131.
LiSee, I. (2021, July 2). Pir Sensor: Overview, Said, M. S., Abdullah, A., & Basir, M. S. S. M. (2022).
applications and projects. Latest Open Tech from Solar Powered Automatic Dissolved Oxygen
Seeed. Retrieved April 22, 2022, from Optimiser for Caged Fish Farm in Tumpat, Kelantan.
https://www.seeedstudio.com/blog/2019/08/03/pir- In Proceedings of the 11th International Conference
sensor-introduction-and-how-pir-motion-sensor- on Robotics, Vision, Signal Processing and Power
works-with-arduino-and-raspberry-pi/. Applications (pp. 222-227). Springer, Singapore.
Mia. (2022, March 4). Tip120 Darlington NPN transistor: Sanchez, A. (2017, July 7). 5050 LED light strip -
Pinout, datasheet, circuit [video]. Electronic instructions. WYZworks. Retrieved March 22, 2022,
Components Distributor. Retrieved April 22, 2022, from https://wyzworks.freshdesk.com/support/
from https://www.apogeeweb.net/circuitry/TIP120- solutions/articles/19000049496-5050-led-light-strip-
darlington-npn-transistor.html. instructions.
Mybotic., & Instructables. (2017, September 27). LDR Shimi, S. L. (2018, January). Implementation of smart
Sensor Module Interface with Arduino. Instructables. class room using WAGO PLC. In 2018 2nd
Retrieved March 28, 2022, from International Conference on Inventive Systems and
https://www.instructables.com/LDR-Sensor-Module- Control (ICISC) (pp. 807-812). IEEE.
Users-Manual-V10/. Thiessa, E. (2020). HC-05 Bluetooth module analysis.
Rahman, A. M., Al-Shaaili, S. A. D., Al-Shaaili, Al- Arxterra. Retrieved April 6, 2022, from
Moatasem., & Al-Shaaili, W. (2021). Smart Street https://www.arxterra.com/hc-05-bluetooth-module-
Lighting System. International Journal of Advanced analysis/.
Research in Electrical, Electronics and Tiwari, A. K., Raj, P., & Justice Kumar, M. (2016).
Instrumentation Engineering (IJAREEIE). 10(5), Ashish Tiwary,“Motion Detection Using Pir
1452-1456. Sensor”. International Journal of Scientific
doi.org/10.15662/IJAREEIE.2021.1005015. Development and Research (IJSDR).