Sunteți pe pagina 1din 6

Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)

IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

A User-Friendly Low-Cost Mobile App Based Home


Appliance Control And Circuit Breaker
Hasan U. Zaman, Rafiunnisa, Arafat Muhammad Shams
Department of ECE, North South University, Dhaka, Bangladesh
hasan.zaman@northosuth.edu, arafat.shams21@gmail.com, rafinisa2012@gmail.com

Abstract— Along with the constant improvement of different gas leakage, because the methane gas sensor will help them
electronic devices, the safety of technicians has also become a turn off the gas stoves if they mistakenly keep gas stoves on. In
matter of great concern, as the lives of technicians are at risk the absence of this safety system, the turned on gas stove may
while they work by switching off the circuit breakers, because fill up the kitchen with gas and when the stove is turned on, it
even after the circuit breaker has been turned off, someone can can cause a fire explosion.
unknowingly turn it on while the technician is still working.
There must be a system for ensuring security for the technicians.
Also, people do not like having to walk to switches all the time to II. EXISTING SYSTEMS
turn on/off appliances such as fan/light/air conditioner. It results There had been a great amount of home automation and
in wasted energy because of unnecessarily keeping appliance on. power efficiency related work as they are becoming easy to
To solve these problems, we came up with a system with afford and also available to many engineers to work with. In
password controlled circuit breakers and wireless control of addition to that, internet of things made it easier for us to work
home appliances using an Android app. It replaces the with electronic devices and android based mobile phone
traditional circuit breaker on/off system with a password
applications. Different types of home security devices are
controlled system, where nobody can turn on the circuit breaker
implemented that supports RFID and also wireless data
without the password. Remote control of the home appliances
helps the user save electricity. It also enhances the quality and
communications facility. Many Bluetooth controlled mobile
comfort of life. The system also includes a home security applications has also been made which can only support one or
mechanism against illegal intrusion using a password controlled two purposes. Many of the systems are made to control the
door lock system and a mechanism for detecting dangerous gas brightness of light and also many are there to control the speed
leakages. The system is built using an Arduino mega of fan. Some are implemented to make the entrance of the
microcontroller, a Bluetooth module, a matrix 4x4 keyboard, a home secure with video monitoring options. Most of them
methane gas sensor and an Android mobile application. The focused either on home automation or the security.
whole system can be made compact in an integrated system.
Most of the existing systems do not provide any facility of
Keywords— Arduino, BT, Mobile Phone App, Fire Alarm, password controlling the circuit breaker in a compact way like
Automated Door Lock, Password Controlled Circuit Breaker our one and also they do not support the home automation and
security in one system [1]. Most of them are already
implemented systems that do not provide low cost maintenance
I. INTRODUCTION facility and are not user friendly.
As the electrical components are being upgraded day by
day, the safety of electricians has also become an important Some existing systems use Dual Tone Radio frequency for
issue along with it. Generally, electricians turn off the main implementing the systems, which is not feasible because
line of the circuit breaker before working on any home sometimes it gets interrupted by other wireless frequency
appliance. So, it is very important for them to make sure that signals [2].
nobody else turns it back on when the electrician is working on Many existing systems use GSM technology which can
any of the home appliances. At the same time the people at interrupt its activity for lack of networks as in remote areas the
home also want a comfortable life. After researching about mobile network is not that strong and also they may not be
these requirements of people, we came up with a solution. We available all the time for different types of service works.
are confident that our system will be able to serve a wide Along with these there is always a risk of not having the proper
variety of people and make the life of the users easy and amount of service efficiency in case of GSM network because
comfortable. they do not have the easy and convenient design like Bluetooth
In the designed system, two categories of people will be communication [3]. The amount of power consumption by the
benefited. One benefitted group will be the electricians who GSM based devices are also high compared to Bluetooth
will be able to turn off the circuit breaker by using a password devices used in the designed system.
controlled interface with a display while working on electrical Therefore, there is a real necessity of a system that can
home appliances. Another category is the general group of avoids these shortcomings and is more useful to users.
users who will be able to control the home appliances by using
the mobile app. They will also be able to avoid the dangers of

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 203


Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)
IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

III. PROPOSED SOLUTION Fig. 1. Mobile Application Interface of the system

Our proposed solution uses HC-05 Bluetooth module, If the entered password is found correct against the stored
because Bluetooth connections are generally not interrupted by password, the main line will be turned on. Fig. 1 shows the
other wireless signals. The designed system integrates the mobile application interface of the system. The mobile
multiple feature in one by combining password controlled application has buttons to control the electrical home
circuit breakers for technician safety, remote control of home appliances. These buttons work as push buttons.
appliances using a convenient mobile app, avoidance of illegal
intrusion into the home and detection of dangerous leakage.
Overall, the system is easy to use and low cost. Usage of this
system will help develop smart homes of the future.

IV. SYSTEM DESIGN


This home automation system consists of two main
hardware components: the cell phone and the Arduino BT
board. The cell phone hosts the Python script which enables the
user to access the home appliances and also the control
commands for the appliances. This Python script
communicates with the Arduino BT board and sets up an ad-
hoc communication protocol between the two devices, which
allows controlling the behavior of the Arduino BT board.
Table I shows the list of components used in the system and
their prices.

TABLE I. COMPONENTS’ PRICE LIST

No. Name Cost (BDT)


1 Relays 600
Fig. 2. Process design block diagram of the project
2 Arduino Board 1300
3 Mobile Phone 5000 Fig. 2 shows the block diagram of the system and the
4 Buzzer 50 interconnection and signal flow between sub-blocks of the
5 Breed Board 50 system. The Bluetooth receiver sends signal to the decoder and
the decoder sends signal to the microcontroller. The statuses of
6 Keypad 200
activities that happens in the microcontroller are shown with a
7 Methane Gas Sensor 300 LCD display.
8 Wires 150
Total 7650
= US $92.70

Arduino Mega has been used as the main component of this


system. A 4x4 keyboard has been used for the convenience of
entering password. The entered password is checked with the Fig. 3. Methane gas sensor.
password stored in the system. The stored password can be
changed by the admin only by using the proper admin Fig. 3 shows the methane gas sensor that has been used to
password. ensure the safety of the home.
The main design features of the system have been described
here.

A. Password and Main Power On/Off


Whether the main line is active or not depends on the
acceptance of the password, but ultimately the connectivity to
the home appliances depends on the relays. The statuses of the
relays decide if the electrical components are on or off. If the
main line is turned on it will be indicated by a red light [4]. The
same way if the main line is off, the red indicator light will turn
off.

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 204


Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)
IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

B. Bluetooth Connection Establishment D. Bluetooth Module Operation


The block diagram in Fig. 2 shows the way the system After the BT module is turned on, the mobile phone
works. As this diagram shows, the system works by application connects with the BT Module and the connection
implementing connection with the Bluetooth module. When the between the Arduino and the mobile phone is established. After
Bluetooth module gives clearance for the connection, the that, the mobile phone application gets the accessibility to
mobile phone application can be used to control the system [5]. control the electrical home appliances.

V. OPERATION OF THE SYSTEM E. Status Display of the Switches


The operation of the system happens by interfacing the The LCD display shows the state of the switches. The
Bluetooth module with the mobile phone application along keypad is also combined with the functionality of the mobile
with the voltage regulator and the methane gas sensor [6]. phone application activities. When the code receives the signal
from the keypad of the password controlling option, the system
A. Pin Connection and signal transfer finds its way out to work with the commands simultaneously.
Pin 3 is connected with the BT Module and the other pins F. Door Lock System
are mostly connected to the methane gas sensor. The relay
modules are connected with pin number 6 and 7. Signal Android application is used to enter the password and a
transfer happens by communicating through these connections. relay to lock or unlock the electric door, which is indicated by a
lamp. Any wrong attempt to open the door (by entering the
wrong password) will issue an alert, indicated by a lamp.
B. Keypad Operation
In this project, the keypad is used for entering the G. Gas Sensor Signal Operations
password. The necessary inputs for selecting the types of users
are also selected with the help of the keypad. Pin 5 and 6 are When the methane gas sensor gets any kind of signal of
used in controlling the system. They also help make the system presence of methane gas, the buzzer connected to port4 turns
communicate with the Bluetooth module and the mobile phone on, which is coded at the same way on the microchip of the
application. Arduino board and it works according to it.

C. LCD Screen Operation H. Home Appliances Operations


The LCD display shows the current state of all types of The 12V DC motor is powered by a 12V power adaptor. It
switches and relays [7]. All of these result in a compact and is also controlled by the relays which are connected with the
handy system which is also user friendly at the same time. At Arduino board. They wait for the command from the Arduino
first, the command goes from the mobile phone application. which is used to access the circuit by anyone [8].

Fig. 5. The display is asking for the prompt from the user

Fig. 5 shows that the display is showing the status of the


electrical components. The system is able to find a way to
control the necessity of the power connection of the display by
itself. It also figures out the connectivity of the system and the
overall condition of the system. The necessary work functions
Fig. 4. Flowchart of the operation process are coded in the embedded system to provide the best possible
response time which is further discussed in the results and
discussion section of this paper. The project works in a unified

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 205


Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)
IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

way to serve the users and make their lives comfortable along silencing button is added just beside the keyboard. If the
with the available facilities that it offers. methane gas sensor turns on and the need of the alarm finishes,
the buzzer can be silenced by the silencing button.
After a password is entered, the system verifies it. It also
allows updating the password through the admin mode [9].
From the flowchart in Fig. 4, we can see that after the VII. DESIGN SETUP
application starts, with a static IP Address the application, with The Arduino controlled home appliance system works with
the help of mobile phone, tries to establish connection with the fire alarm sensor and a set of relays along with keypad for
Bluetooth module. After successfully establishing connection password control of the system. The system also have the
with the Bluetooth module, it stays in “idle” mode and waits electrical components connected to it, so the command signals
for the command from the user. can go to the receiver [10]. The system takes the command
When the user enters any command, it is passed to the from the mobile phone with the help of the mobile phone
electrical components for execution. The system automatically application. The electrical home appliances are connected with
checks whether the user wants to enter the system as a regular the different switches of the relays along with the Arduino
user or as an admin. The system checks the facilities available board.
for that type of particular user. Thus the functionality and Fig. 7 shows the electrical circuit diagram of the system.
operation of the system help the user get a proper indication of Here the circuit diagram shows that connection among the
the functionalities available to them. relays, HC-05 Bluetooth module and the Arduino mega along
Fig. 6 shows that to change the password, it is necessary to with the electrical home appliances.
enter the system as an admin. By entering the old password the
admin can update the system with the new password and thus
the system works with the new password for the next time.

Fig. 7. Connectivity diagram of the system

A. Use of Efficient Connection


The mobile phone application is connected with the system
via a Bluetooth module. The system serves the user in an
Fig. 6. Step by step password entering process efficient way with swift response. The system also works with
the built in I2C connection protocol. I2C connection uses pin2
and pin3. The system is equipped with a buzzer connection.
VI. METHODOLOGY The buzzer is turned on by a signal from the Arduino board.
The designed project has the capability of turning on or off
the main circuit breaker of a home with the help of a 4x4 B. Methane Gas Sensor and BT Module
matrix keyboard. It also has the BT board used for Bluetooth
The Arduino board is connected the methane gas sensor.
connectivity of the mobile application with the Arduino board.
There is also connectivity with the HC05 BT Module and the
The Bluetooth module has a capability of connecting within 0
keypad of the Arduino system.
to 100 meters, along with a 2.4 Mbps data transfer rate and 32
GHz. We have connected the home appliances with the
Arduino board through a relay. The user is allowed to control C. Use of Alarm Silencing Button
the home appliances via the mobile application. The system works properly along with the silencing button
described in the previous section. It is connected with the
We have also added a LCD screen which displays the status Arduino boards’ different pin number along with the
of different home appliances. This particular system is made in corresponding coding in the memory of the microcontroller
a way so that the keypad for entering the password for turning
off the circuit breaker is easily accessible by the electrician. A

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 206


Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)
IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

which is embedded in the Arduino Mega’s main memory TABLE II. COMPONENTS’ RESPONSE TIME
system. Particulars a. Light b. Fan c. Door lock
(Milliseconds)
VIII. RESULTS AND DISCUSSON
Input time 150 200 250
The slow and inefficient response of the traditional Response time ~ 250 ~ 250 ~ 260
switching system can be diminished with the help of the
proposed home automation system. The loss of power
consumption can be reduced by using this automatic system Table II shows the response time of the electrical
and also the response time has been improved a lot by efficient components and we see that the light and the fan are respondin
coding work. We researched thoroughly for interfacing the 250 ms but the door lock responds in 260 ms. All the electrical
components to achieve quickest and optimal functionality of components respond fast enough to have a comfortable control
the system. The response of the relay switches have been of the system.
excellent.

Fig. 9. A full phase view of the project structure

Fig. 9 shows a frontal view of the project. We see that the


password pressing keypad is on the left side of the main
structure of the project. The miniature furniture models are also
Fig. 8. Circuit is on with relays and light shown inside the structure.
Fig. 8 shows that by turning on the relays, it turns on the
electrical components and the light is also on. One drawback of IX. CONCLUSION
the system is that it is unable to work outside home or offices. The designed system provides a complete solution for
That is, if someone tries to connect their mobile phone automatic control of home appliances and technician safety
application with the system from outside the home, it will not using password based operation of the circuit breaker. The
be able to connect with the system buzzer based gas safety system makes the environment even
Combination of the GSM mobile network would make the safer. Its inclusion of secure admin mode makes the system
system able to work from outside the home but the amount of easy to use. The microcontroller based control of the whole
power consumption would increase quite a bit. This particular system makes it easy to build and cost effective. Efficient
system also fulfills our purpose sufficiently. microcontroller coding has resulted in fast response time. As a
whole, the designed system should help people achieve a more
secure, convenient and comfortable life style in this modern
A. Adopts User Friendly Functionality
era. This system should be especially helpful to elderly and
The designed system offers a user friendly environment disabled people.
along with the device facilities and the electrical components.
X. FUTURE WORK
B. Compact Design
The system incorporates the process of controlling the all
the electrical components in a compact way. The system can be enhanced to make it work with both
GSM and Bluetooth connection simultaneously. That is, a
C. Disabled people’s helping hand controller can be added for checking the available connections.
The designed system will be very convenient for disabled If the Bluetooth connection is available, it will work with the
people to use, because the mobile app control feature will give Bluetooth connection. If the Bluetooth connection is not
them the ability control the home environment without having available it will work with GSM connection. This way it will
to reach the switches. be able to work under all conditions.
Voice control can also be added with this system, so the
D. Faster Response Capability user does not have to press any button to issue commands
This system provides fast response time which is shown in rather just say the commands. The system can also be used to
Table II. The data indicate that innovative home automation is work with other home appliances of the exterior portion of the
possible with the available resources. home. It can also be enhanced to connect itself with a
predefined mac address of the Bluetooth module.

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 207


Proceedings of the Second International Conference on Computing Methodologies and Communication (ICCMC 2018)
IEEE Conference Record # 42656; IEEE Xplore ISBN:978-1-5386-3452-3

ACKNOWLEDGEMENT
We are grateful to our course instructor Dr. Hasan U.
Zaman for his cordial help to make this project successful.
TechShopBD and RoboTechShop were also helpful in
providing use with the necessary components on a timely basis.

REFERENCES
[1] Zageshweri, “All in all Bluetooth Communication”, in Electronics
Components System, Vol 87, N.Z. Publications 1997, pp. 128-155
[2] A.R.Jackson, “Home Automation in an User Friendly Procedure”, in All
Abou Electronics, Vol 92, Tokyo Publications 1990, pp. 130-195
[3] Enzo Ferucio, “Making Life Easy”, in Electronics Hub, Vol 52, PT
Publications 1990, pp. 167-198
[4] Michael John, “Communication Procedure In an Easy Way”, in
Discovering Electronics, Vol 92, Tokyo Publications 1990, pp. 130-195
[5] Biswajit, “Home Automation for Disabled People”, in Beginners
Electronics, Vol 92, Tokyo Publications 1990, pp. 230-295
[6] Taio Jackson, “ Automation in Real Life ”, We are engineers , Vol 94,
T.R. Publications 1980, pp. 350-395
[7] D. Costa, “Bluetooth for Life”, in Wireless World, Vol 25, MZ
Publications 1989, pp. 20-25
[8] Sanjay, “Automatic Life”, in Growing Electronics, Vol 45, Euro Tech
Publications 1965, pp. 20-25
[9] John, “ Automation In Domestic Life”, in New Born Technician, Vol 43,
Abahoni Publications 1940, pp. 250-265
[10] Jackson, “Home Automation for Growing World”, in Electronics
Rockers, Vol 34, P.R. Publications 1956, pp. 240-275

978-1-5386-3452-3/18/$31.00 ©2018 IEEE 208

S-ar putea să vă placă și