Blue Based Home Automation
Blue Based Home Automation
Blue Based Home Automation
This Project presents the overall design of Home Automation System (HAS) with
low cost and wireless remote control. This system is designed to assist and provide
support in order to fulfill the needs of elderly and disabled in home. Also, the smart
home concept in the system improves the standard living at home. The main
control system implements wireless Bluetooth technology to provide remote access
from PC/laptop or smart phone. The design remains the existing electrical switches
and provides more safety control on the switches with low voltage activating
method. The switches status is synchronized in all the control system whereby
every user interface indicates the real time existing switches status. The system
intended to control electrical appliances and devices in house with relatively low
cost design, user friendly interface and ease of installation. Due to the
advancement of wireless technology, there are several different of connections are
introduced such as GSM, WIFI, ZIGBEE, and Bluetooth. Each of the connection
has their own unique specifications and applications. Among the four popular
wireless connections that often implemented in HAS project, Bluetooth is being
chosen with its suitable capability. Bluetooth with globally available frequencies of
2400Hz is able to provide connectivity up to 100 meters at speed of up to 3Mbps
depending on the Bluetooth device class.
Bluetooth wireless connection enabled the system communicates with graphical
user interface (GUI) on PC/laptop or smart phone without cable. The target home
appliances are controlled by the system Main Control Board. In order improve the
standard living in home, this system provides three different types of physical
control methods to the Main Control Board. The first physical control method is by
pressing on the modified Low Voltage Activating Switches. The conventional high
voltages switches will be replaced by the modified 5 Volt push buttons as the
activating switches. The low voltage switch eliminates the risk of dangerous
electrical shock by wet hand. The second and third control methods are performed
as wireless remote control to the appliances. The second control method is by
clicking on Window GUI on PC/laptop by using mouse or touch pad. The system
is directly installed beside the conventional electrical switches on the wall. The
Bluetooth wireless connection enabled the system communicates with graphical
user interface (GUI) on PC/laptop or smart phone without cable. The target home
appliances are controlled by the system Main Control Board. In order improve the
standard living in home, this system provides three different types of physical
control methods to the Main Control Board. The first physical control method is by
pressing on the modified Low Voltage Activating Switches. The conventional high
voltages switches will be replaced by the modified 5 Volt push buttons as the
activating switches. The low voltage switch eliminates the risk of dangerous
electrical shock by wet hand. The second and third control methods are performed
as wireless remote control to the appliances. The second control method is by
clicking on Window GUI on PC/laptop by using mouse or touch pad. This method
provides facility to the computer user to control the home appliances without walk
to the switches on the wall. Third control method is done by Android GUI installed
in Smart Phone. The user can easily touch on the screen of the phone to control the
home appliances. This portable method is able to assist the disabled people who
have problem with locomotion difficulty.
Chapter 1
INTRODUCTION
Due to the advancement of wireless technology, there are several different of
connections are introduced such as GSM, WIFI, ZIGBEE, and Bluetooth. Each of
the connection has their own unique specifications and applications. Among the
four popular wireless connections that often implemented in HAS project,
Bluetooth is being chosen with its suitable capability. Bluetooth with globally
available frequencies of 2400Hz is able to provide connectivity up to 100 meters at
speed of up to 3Mbps depending on the Bluetooth device class.
The system is directly installed beside the conventional electrical switches on the
wall. The Bluetooth wireless connection enabled the system communicates with
graphical user interface (GUI) on PC/laptop or smart phone without cable. The
target home appliances are controlled by the system Main Control Board. In order
improve the standard living in home, this system provides three different types of
physical control methods to the Main Control Board. The first physical control
method is by pressing on the modified Low Voltage Activating Switches. The
conventional high voltages switches will be replaced by the modified 5 Volt push
buttons as the activating switches. The low voltage switch eliminates the risk of
dangerous electrical shock by wet hand. The second and third control methods are
performed as wireless remote control to the appliances. The second control method
is by clicking on Window GUI on PC/laptop by using mouse or touch pad.
This method provides facility to the computer user to control the home appliances
without walk to the switches on the wall. Third control method is done by Android
GUI installed in Smart Phone. The user can easily touch on the screen of the phone
to control the home appliances. This portable method is able to assist the disabled
people who have problem with locomotion difficulty.
Advantages of Bluetooth based Home Automation
1. The user can control his/her appliances without physical
interface.
2. It can be easily interfaced with other embedded micro
chips like RF module, GSM module, PC because it is
designed with a micro chip (AT89S52).
3. It is reprogrammable.
4. It makes the size of the system to be small.
BACKGROUND OF STUDIES
The present study relates to a Bluetooth based Home Automation device
and pertains particularly to an improved the stress of starting and
stopping your home appliances.
STATEMENT OF PROBLEMS
Bluetooth based Home Automation is a device good for banking hall,
shopping mall, food joint, beer pallor, schools, hospital and many
other places like that for controlling the appliances at those places.
In the past, many types of equipment have been proposed but
they have not functioned properly because of the
deficiencies such as in ability to send information to far
distance, how large the system maybe, non-reliability of
the system and the cost of buying it.
Ultrasonic
Adler, et al, (1982), explains about how to make an Ultrasonic Remote Control for
Home Receivers. Electromagnetic signaling systems can be designed to bridge the
short distance involved, but their signals do not remain confined between the walls
of buildings or apartments. Because the distance between receivers in adjacent
apartments may easily be less than the viewing distance in a single large home,
individual receivers must operate on different frequencies this is inconvenient in
manufacture and installation.
Infrared
Maureen Kaine-Krolak, et al, (1995), studies about infrared to make an
Introduction to Infrared Technology, Applications in the Home, Classroom,
Workplaces and Beyond. Infrared technology increasingly present in mainstream
applications, but there is several disadvantage by using the method, receiver and
transmitter must be almost directly aligned. Main problem is the signal will lose if
blocked by common material, people wall, plant and etc.
Xbee
Gill, K, et al, (2009), created about a Zigbee-Based Home Automation System. A
ZigBee based home automation system and Wi-Fi network are integrated through a
common home gateway as shown in Figure 2.1 . The home gateway provides
network interoperability, a simple and flexible user interface and remote access to
the system. This system demonstrates the feasibility and effectiveness of the
proposed system. The ZigBee (IEEE 802.15.4) is a new technology that permits
the implementation of Wireless Personal Area Networks (WPAN). It is very
suitable for wireless sensor networks due to the very low power consumption.
System allows home owners to monitor and control connected devices in the home,
through a variety of controls, including a ZigBee based remote control, and any
Wi-Fi enabled device which supports by Java. Lili, Y, Y.Shuang-Hua et al, (2006),
research about the Safety and Security of Remote Monitoring and Control of
intelligent Home Environments in Systems, Man and Cybernetics. Safety and
security are two most important issues in the remote monitoring and control of
intelligent home environments. The outdoor part is a mobile phone (or a PDA)
equipped with a specially designed GUI (Graphic User Interface). The indoor part
includes a broadband modem, a home portal (or called home server), and a
wireless home network. The broadband modem maintains a permanent internet
connection.
METHODOLOGY BLOCK DIAGRAM
The block diagram of the circuit shows principle of operation to achieve a desired
output. The block diagram could also be said to be the circuit in a simplified form.
It can also be explain as, the function of the circuit and shows component
relationship with each other.
LOAD 2
BLUETOOTH LOAD 3
MODULE
FILTRATION
After rectification, the dc obtained is usually filled with ripples which are very
harmful to the electronic devices that will use it especially the microcontroller.
This calls for the filtration of the rectified output to produce a smooth voltage. The
smoother the voltage the more lasting is the ICs. When a full wave or bridge
rectifier is connected to a capacitor, the peak to peak ripple is cut in half. When a
full wave voltage is applied to the RC circuit, the capacitor discharges half a cycle.
Therefore, the peak-to-peak ripple is half the size it would be with a half rectifier.
The peak –to- peak ripples voltage;
VR = I, fC I = dc load current, f - frequency, C - capacitance
To get a good filtration, it is advisable to use a capacitor of voltage about twice the
value of the expanded input voltage. In this work, a capacitor of 50V at 3300 µf
was used.
REGULATION
After the stepping down the voltage using transformer, rectification by the rectifier
and filtration by the capacitor, the voltage is ready to be used though the
faithfulness of the voltage cannot be predicted. In order to make the voltage
constant, a regulator is needed. A zener diode could be used for this purpose
however, but in this work 7805 IC regulator was used.
MICROCONTROLLER UNIT
The microcontroller unit is made up of the crystal oscillator that is connected to the
X1 and X2 which is pin18 and 19 of MCU, The Bluetooth module communicates
with the 8051 using serial communication. Tx pin of the Bluetooth module is
connected to Rx pin of the microcontroller (pin10) and Rx pin of the Bluetooth
module is connected to Tx pin of the microcontroller. Output pin of the Bluetooth
is connected to P3.0 and P3.1 of the microcontroller and the microcontroller is
monitoring for low voltage that is zero at the pin and whenever an intruder crosses
the sensor the pin will be low. The baud rate used for serial communication in this
project is 9600. So the crystal needs to be exactly 11.0592 MHz for getting this
baud rate. Port 2.0, Port 2.1, Port 2.2 and Port 2.3 of the microcontroller is used for
controlling the loads.
Relay
Relay is basically an electromagnetic switch which can be turn on and off by an
applying the voltage across its contacts. In this project used a 12V 3-channel relay.
THE CIRCUIT DIAGRAM OF THE BLUETOOTH BASED HOME
APPLIANCE CONTROLLER
DESCRIPTION OF COMPONENTS
1. Transformer
2. Capacitor
3. AT89S52
4. Transistor
5. Bridge rectifier
6. Resistor
7. Bluetooth Module
8. Crystal oscillator
9. Buzzer
10. Lm7805
11. LED
TRANSFORMER
Capacitor
1. Variable
2. Electrolytic
3. Fixed capacitor
4. Trimmer
5. Polarized
6. Non polarized
Microcontroller
A microcontroller (also MCU or µC) is a computer-on-a-chip. A
microcontroller (also microcontroller unit, MCU or µC) is a small computer on
a single integrated circuit consisting of a relatively simple CPU combined with
support functions such as a crystal oscillator, timers, watchdog timer, serial and
analog I/O etc. It is a type of microprocessor emphasizing self-sufficiency and
cost-effectiveness, in contrast to a general-purpose microprocessor (the kind
used in a PC). In addition to all arithmetic and logic elements of a general
purpose microprocessor, the microcontroller usually also integrates additional
elements such as read-only and read-write memory and input/output interfaces.
Microcontrollers are used in automatically controlled products and devices,
such as automobile engine control systems, remote controls, office machines,
appliances, power tools and toys. Microcontrollers are complete computer
systems on a chip, typically combining an arithmetic logic unit (ALU),
memory, timer/counters, serial port, input/output ports (I/O) and a clock
oscillator.
Microcontroller Advantages
• Highly integrated and powerful – thousands of transistors on a single chip. •
Can be used to replace a handful of discreet logic chips.
Microcontroller Disadvantages
TRANSISTOR
1. As a generator
2. As a linear amplified to boast an electrical signal.
3. As automatic switches devices
The types of a bipolar transistor that exist are the PNP and the
NPN where N denotes negative and P denotes positive. See the
diagram below.
Bridge Diode
The diode is a two terminal that has anode and cathode region. On
a diode, one can easily differentiate a positive terminal (anode) by
the dark part of the diode while the side with white color is the
cathode. The diode from the rectifier, form a junction between a
sample of P-type and one of the N-type semiconductors. This
combination possesses the property of a rectifier.
Crystal Oscillator
This crystal is an electrical device which when energy is applied, emits pulses at a
fixed frequency. One can find crystals of virtually any frequency depending on the
application requirements. The more common crystal frequencies are 12 MHZ and
11.059 MHz with 11.059 MHZ the most common and that was the one used in this
project. The crystal oscillator is unstable and has 11.095 MHz for clocking the
microcontroller for 11.095 million times per second.
RESISTOR
Colour 1st band 1st 2nd band 2nd 3rd band 4th band
figure figure multiplier tolerance
Black 0 0 None
Brown 1 1 0 1%
Red 2 2 00 2%
Orange 3 3 000
Yellow 4 4 000 -
Green 5 5 00000
Blue 6 6 000000
Violet 7 7 0000000
Grey 8 8 0000000
White 9 9 00000000
Gold - - 5%
Silver - - 10%
No colour - - 20%
There are various shapes, sizes and voltages (0.25W and 0.5W) of
resistors but the most employed type is the 0.25W.
VOLTAGE REGULATOR
Voltage regulator is an
regulator is needed and it can be tolerated by the electrical equipment using that
voltage. The image below shows the picture and circuit symbol of a voltage
regulator.
1 RESISTOR 1 10 20
2 CAPACITOR 1 50 80
3 TRANSISTOR 1 40 60
4 DIODE 1 50 40
TOTAL 3720
References
1. Kortuem, G., Kawsar, F., Fitton., D., Sundramoorthy, V.: Smart objects as
building blocks for the internet of things. Internet Computing, IEEE, vol. 14, no.1,
44--51 (2010)
2. Piyare, R., Tazil, M.: Bluetooth based home automation system using cell
phone. In Consumer Electronics (ISCE), 2011 IEEE 15th International Symposium
on, pp. 192-195.(2011)
3. Wikipedia. Home automation, http://en.wikipedia.org/wiki/Home_automation
4. Liu, Y.: Study on smart home system based on Internet of things technology. In
Informatics and Management Science IV. vol. 207, W. Du, Ed., ed: Springer
London, 73--81 (2013)
5. Al-Qutayri, M.A., Jeedella, J.S.: Integrated Wireless Technologies for Smart
Homes Applications. In Smart Home Systems, M. A. Al-Qutayri, Ed., ed: InTech
(2010)
6. Yan, M., Shi, H.: SMART LIVING USING BLUETOOTH-BASED ANDROID
SMARTPHONE. International Journal of Wireless & Mobile Networks (IJWMN),
vol. 5, no.5, pp. 65--72 (2013)
7. Park, B.: Mobile IP-based architecture for smart homes. International Journal of
Smart Home, vol. 6, no.1, 29--36 (2012)
8. Perumal, T., Sulaiman, M.H., Sharif, K.Y., Leong, C.Y.: Development of an
embedded smart home management scheme. International Journal of Smart Home,
vol. 7, no.2, 15--26 (2013)