Вы находитесь на странице: 1из 7

International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

Bluetooth Based Home Automation and Security System Using


ARM9
D.NARESH1, B.CHAKRADHAR2, S.KRISHNAVENI3
1
M.Tech, Dept of ECE, CMR College of Engineering &Technology, Hyderabad, AP-India,
2
Assist Prof, Dept of ECE, CMR College of Engineering &Technology, Hyderabad, AP-India.
3
Assist Prof, Dept of ECE, CMR College of Engineering &Technology, Hyderabad, AP-India.

Abstract:-Today we are living in 21st century where automation is playing important role in
human life. Home automation allows us to control household appliances like light, door, fan, AC
etc. It also provides home security and emergency system to be activated. Home automation not
only refers to reduce human efforts but also energy saving and time efficiency. The main
objective of home automation and security is to help handicapped and old aged people who will
enable them to control home appliances and alert them in critical situations.
This paper put forwards the design of home automation and security system using ARM7
LPC2148 board. The design is based on a standalone embedded system board ARM7 LPC2148
at home. Home appliances are connected to the ARM7 and communication is established
between the ARM7 and ARM9 with Bluetooth device. The home appliances are connected to the
input / output ports of the embedded system board and their status is passed to the ARM7. We
would develop an authentication to the system for authorized person to access home appliances.
The device with low cost and scalable to less modification to the core is much important. It
presents the design and implementation of automation system that can monitor and control home
appliances via ARM9 S3C2440A board.

Keywords:- Smart Home; Smart Environment; Bluetooth Module; Embedded Systems; ARM7-MDK kit;
wince6.0;ARM9 with GUI.

I. INTRODUCTION these systems. Due to the advancement of


The “Home Automation” concept has wireless technology, there are several
existed for many years. The terms “Smart different of connections are introduced such
Home”, “Intelligent Home” followed and as GSM, WIFI, ZIGBEE, and Bluetooth.
has been used to introduce the concept of Each of the connection has their own unique
networking appliances and devices in the specifications and applications. Among the
house. Home automation Systems (HASs) four popular wireless connections that often
represents a great research opportunity in implemented in HAS project, Bluetooth is
creating new fields in engineering, being chosen with its suitable capability.
architecture and computing (Huidobro and Bluetooth with globally available
Millan, 2004). HASs becoming popular frequencies of 2400Hz is able to provide
nowadays and enter quickly in this emerging connectivity up to 100 meters at speed of up
market. However, end users, especially the to 3Mbps depending on the Bluetooth device
disabled and old aged due to their class [1]. In addition, a Bluetooth master
complexity and cost, do not always accept device is able to connect up to 7 devices in a

ISSN: 2231-5381 http://www.ijettjournal.org Page 4052


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

“Piconet” [2]. This paper will describe the As discussed earlier we are developing
approach which we are implementing to graphical user interface(GUI) application by
control various home appliances with using visual basics .net. The application
ARM7 processor. consists of main function like light
From the overall papers reviews, HAS controlling, Door controlling, etc. When the
according to [3-10] never mentioned about application starts user is first authenticated,
the existing physical electrical switches in if user is authorized he will be navigated to
their system. Without the switches on the main screen. The main screen has a list of all
wall, the designed system limited the control functions among which user can select any
only at the GUI. This issue brings one function which he want to control. After
inconvenient to the people in the house. This selecting a function he would be able to see
designed system remains the physical a current status of a particular device. If user
switches with the modified low voltage wishes, he can enable or disable intended
activating method, in order to provide safer device.
physical control to the user compared to the The system is programmed to auto on/off
conventional high voltage switches. The lights during late night hours. If room
Bluetooth connection in this system is temperature goes very high or low user can
established by Bluetooth module that manually adjust fan/AC as per user
directly receives/ transmits commands requirement.
from/to ARM9/ARM7. C. MDK-ARM
The MDK(microcontroller Development Kit)-
ARM is a complete software development
II. IMPLEMENTATION
environment for ARM7™ and
A. Wince6.0
For this home automation and security ARM9™processor-based devices. MDK-
system we are targeting ARM9 S3C2440A ARM is specifically designed for
platform since it has huge market and open microcontroller applications, it is easy to
source. Wince6.0 is a operating system learn and use, yet powerful enough for the
which is used for ARM9 devices that most demanding embedded applications.
includes middleware and key applications. MDK-ARM is available in four editions:
The Wince6.0 OS is based on
MDK-Lite, MDK-Basic, MDK-Standard,
WindowsCE.net 5.0Standard. The ARM9
provides the tools and APIs necessary to and MDK-Professional. All editions provide
begin developing applications on the a complete C/C++ development
Wince6.0 platform. environment and MDK-Professional
B. Software Design includes extensive middleware libraries.

ISSN: 2231-5381 http://www.ijettjournal.org Page 4053


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

Figure 1 ARM7 LPC2148 kit

Figure 2ARM9 S3C440A kit

The Kiel MDK board provides input and USB Connector - It is the hardware port in
output pins that you can implement through the kit through which the USB device is
the use of attachments called "shields". With attached to the embedded kit.
an Micro controller devices and the ‘ARM Embedded Device - It consists of individual
MDK’, you can use whatever sensors and embedded kits along with respective home
actuators you require to create your own appliance.
accessories. This may include a LED In this project we are implementing ARM9
outputs, and temperature and light sensors. Wince6.0 based device control with the help
of blue tooth. For this one ARM9 is required
in the transmitter section. In the receiver
III. BLOCK DIAGRAM section two devices are interfaced to
Micro controller Device - It is the device microcontroller with Bluetooth module.
through which application interacts with User responsibility is to develop one
home applians. application software(GUI) in ARM9 with
VB.net which is used to send the commands

ISSN: 2231-5381 http://www.ijettjournal.org Page 4054


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

with the help of Bluetooth. In the receiver


side Bluetooth module is interfaced to the
controller to transreceive the data from the
ARM9 processor. Based on that data
microcontroller will decide the devices
operation like on/off the devices and
lock/unlock the door.

TRANSMITTER:

ARM9 WITH APPLICATION


SOFTWARE (GUI)
GUI display Bluetooth
Dongle

RECIEVER:

DC Relay1 U A Power
motor L R supply
N M
2 7
Bulb Relay2 0
L
0
3 P
C
2
Fan Relay3
1
4
8
Bluetooth
Module

Figure 3:Block diagram of Bluetooth Based Home Automation and Security System Using ARM9

IV.SOFTWARE DEVELOPMENT

A.Graphical User Interface (GUI) The most important feature of our


Module application is to hide several processes from

ISSN: 2231-5381 http://www.ijettjournal.org Page 4055


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

the user while allowing some degree of


interaction with the application. By using
the GUI package, we were able to customize
the application to include a variety of user
interface elements such as text boxes, choice
groups, alert messages, lists and command
buttons. Figure 3 illustrates some designs for
the graphical user interface.

Figure 4:ARM9 GUI for controlling home appliances

B.Communication Module
The Serial Port Profile (SPP) is the
Bluetooth profile that realizes the
RFCOMM connection between two devices.
The RFCOMM protocol is an emulation of
the RS-232 2011 IEEE 15th International
Symposium on Consumer Electronics 978-
1-61284-842-6/11/$26.00©2011 IEEE

C.The Program Flow chart


Upon the execution of the program, it first
checks if Bluetooth is already enabled on the
ARM9. If Bluetooth is enabled, the device
and service discovery process will run. The
software will check if there are already
predefined devices stored in the ARM9s
memory. 2011 IEEE 15th International
Symposium on Consumer Electronics 978-
1-61284-842-6/11/$26.00©2011 IEEE

ISSN: 2231-5381 http://www.ijettjournal.org Page 4056


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

If they do exist, they will be listed down for


the user to select one. The program then Main menu
checks to see if the selected device is in window
range. It will then verify if the device is a
Bluetooth transceiver (ARM7-MDK board).
Now if there are no devices stored in
list of Options Exit
memory, the program will search for devices
Bluetooth-enabled devices within the area.
Once discovered, these devices will be
displayed on the screen and also stored in User select Search for Bluetooth End of
enable device program
memory. Once it is confirmed that the devices
device is indeed a transceiver, the software
will store the unique addresses of all the
controller modules connected to it, in this
Change
case ARM7-MDK. If the address of a status
controller module has not been saved, then it
will be designated a number i.e.MDK- yes no
LAMP. Otherwise, it will be given its saved
name and will prompt the user to enter the Send data
pairing password for ARM7-MDK board. command
toARM7-MDK
Upon entering the correct password, the
program stores all connected controller
modules names inside the ARM9 memory, Figure 5. Program Flowchart for Main
then only the Main Menu user interface will Menu Window of the GUI.
be displayed.
The Main Menu displays three options: V. CONCLUSION
Options, List of Lamps and Exit. A List of In conclusion, this low cost system is
Lamps is a combination of one or more designed to improve the standard living in
lights which have been preset to a certain home. The remote control function by
status or state. These states are either ON or ARM9 provides help and assistance
OFF. There are two options to choose from especially to disabled and elderly. In order
in the List of Lamps interface: they are to provide safety protection to the user, a
either LAMP ON or LAMP OFF. When the
low voltage activating switches is replaced
certain instruction has been chosen, the
software will send data to the ARM7-MDK current electrical switches. Moreover,
transceiver, which in turn will send the data implementation of wireless Bluetooth
to the controller modules. connection in control board allows the
The List of Lamps option in the Main Menu system installation in more simple way. The
will display the entire controller modules control board is directly installed beside the
saved in memory. The user can modify the
electrical switches thereby the switching
lights status from here. Options will display
instructions on how to use the software. connection is controlled by relay.
Lastly, Exit will let the user end the Furthermore, flexible types of connections
program. are designed as backup connections to the
system. The connected GUIs are
synchronized to the control board. They

ISSN: 2231-5381 http://www.ijettjournal.org Page 4057


International Journal of Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep 2013

indicate the real-time switches status. The


system is designed in user-friendly interface. [5] Muhammad Izhar Ramli, Mohd Helmy
The easy to use interface on Window and Abd Wahab, Nabihah, “TOWARDS
wince6.0 GUI provides simple control by SMART HOME: CONTROL
the elderly and disabled people. For future ELECTRICAL DEVICES ONLINE”
,Nornabihah Ahmad International
work, the Window GUI will be implemented Conference on Science and Technology:
with speech recognition voice control. The Application in Industry and Education
wince6.0 GUI will be implemented as a (2006)
remote Bluetooth microphone to the [6] Al-Ali, Member, IEEE & M. AL-
Window GUI. All the voice signal inputs to Rousan,“Java-Based Home Automation
the ARM9 will be transmitted to the System R.” IEEE Transactions on Consumer
Window GUI for signal processing. Also, Electronics, Vol. 50, No. 2, MAY 2004
the push buttons implemented in low voltage [7] Pradeep.G, B.Santhi Chandra,
activating switches will be replaced by M.Venkateswarao, “Ad-Hoc Low Powered
802.15.1 Protocol Based Automation
capacitive sensing switches. All the future
System for Residence using Mobile
work is expected without spend extra cost, Devices”, Dept.of ECE, K L University,
even one cent from the current system. Vijayawada, Andhra Pradesh, India IJCST
Vo l. 2, SP 1, December 2011
VI .REFERENCES
[8] E. Yavuz, B. Hasan, I. Serkan and K.
[1] N. Sriskanthan and Tan Karand. Duygu. “Safe and Secure PIC Based Remote
“Bluetooth Based Home Automation Control Application for Intelligent Home”.
System”. Journal of Microprocessors and International Journal of Computer Science
Microsystems, Vol. 26, pp.281-289, 2002. and Network Security, Vol. 7, No. 5, May 20
[2] Amul Jadhav, S. Anand, Nilesh [9]
Dhangare, K.S. Wagh “Universal Mobile http://googleblog.blogspot.in/2011/05/androi
Application Development (UMAD) On d-momentum-mobile-and-more-at.html
Home Automation” [10]
Marathwada Mitra Mandal’s Institute of http://developer.android.com/about/index.ht
Technology, University of Pune, India ml
Network and Complex Systems ISSN 2224- [11] http://research.microsoft.com/en-
610X (Paper) ISSN 2225-0603 (Online) Vol us/projects/homeos/
2, No.2, 2012
[12]
[3] Rana, Jitendra Rajendra and Pawar, http://source.android.com/tech/accessories/i
Sunil N., Zigbee Based Home Automation ndex.html
(April 10, 2010). Available at SSRN:
http://ssrn.com/abstract=1587245 or [13]
http://dx.doi.org/10.2139/ssrn.1587245 http://developer.android.com/guide/topics/co
nnectivity/usb/accessory.html#manifest
[4] R.Piyare, M.Tazil” Bluetooth Based
Home Automation System Using Cell [14]
Phone”, 2011 IEEE 15th International http://source.android.com/tech/accessories/a
Symposium on Consumer Electronics oap/aoa.html

ISSN: 2231-5381 http://www.ijettjournal.org Page 4058

Вам также может понравиться