Bluetooth Based Smart Home - For Disabled and Aged: Designed and Developed By

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 15

BLUETOOTH BASED SMART HOME

- for DISABLED AND AGED


[For S60 mobiles]

BLUE-HOME

Designed and Developed by,


J. BINU

1
INTRODUCTION

The mobile phones are great boon to the humanity. To make it more served, we have
developed the mobile application BLUETOOTH BASED SMART HOME- in short
BLUE-HOME. As the title implies, this application is designed in a motive to help the
disabled and aged persons. This application is a fully automated application.

A short video showing the application during operation is available


online at: http://www.youtube.com/watch?v=_yBhcYFnj3w

GENERAL WORKING:

To explain the working of this hardware more clearly, consider the Television as an
example. After switching the Television ON, the entire control of the TV comes in our
hand through the remote. Similarly, here the entire control of the house comes in the
hands through the mobile phone.

With this application a disabled user can


Monitor and operate six home appliances.
Make themselves secure with the help of motion sensor.
Give alarm to the guardian at times of emergency.
Check indoor and outdoor temperatures (Status updated on mobile
for every 1 second) - or use this option as a digital thermometer.
Enable/Disable Automatic AC control
Enable/Disable Automatic Room light control
Monitor three windows/doors.(Status updated on mobile for every 1
second)
At first, this application is installed in the NOKIA S60 mobile phone. When the user
wants to control a home appliance, he needs to open the application, and select the
particular option. When the option is selected, the corresponding device gets operated via
Bluetooth.

2
FEATURES OF APPLICATION:
There are number of automations used in day to day life. The features of BLUE HOME
are-
Blue Home is entirely controlled with the mobile phone via Bluetooth.
It can control up to six home appliances.
Not alone controlling, but also helps to monitor the status of the doors,
windows, lights and even the indoor and outdoor temperatures. We can get the
updated details for every one second automatically in the mobile phone without
users enquiry.
There is an inbuilt motion sensor which gives high protection in the
security requirement areas. When anybody enters the secured area, a voice
message alerts from the mobile phone. So, this application gives its hand in
security.
If the temperature goes below or above the preset level, it adjusts the A.C
machine accordingly.
If the door or window is opened without users knowledge, it gives a voice
message to the user.
The application will continuously monitor the light intensity. If the light
intensity of the room decreases, ie., when it becomes night, the application
automatically switches ON the light and at dawn, it switches OFF the light.
Low cost (Hardware costs app 30USD)
Low power consumption.
Supports all Symbian OS mobile phones
Easy GUI.

3
WORKING WITH BLUEHOME

This mobile application can be said as an embedded mobile application, as it contains


both the hardware and software. To make this circuit to work, we need the set up to be
arranged as discussed below.
SOFTWARE SETUP
1. Install the latest Install the Python interpreter (PythonForS60) and then the Script
Shell
2. Copy the 7 audio files into e:\\python\\ in the card memory.
3. Push your BlueHome.py script to your phone via bluetooth or PC suite (goes to
the message inbox)
4. Open the received message and install it as "Python script" (message handler
recognizes python files and starts the python installer)
5. Make sure the Hardware is in ON position.
6. Start the Series 60 python interpreter application on your phone (snake icon) ->
7. Press "options" -> select "Run script" -> select "BlueHome" and press ok
8. Pair the hardware with the mobile phone with the default password 1234.
9. Run the Blue Home script, so that it can connect to the hardware through
Bluetooth.
10. Now you can control and monitor all the devices and sensors.

4
HARDWARE MODEL

5
HARDWARE DETAILS

6
7
Communication
through
Bluetooth

LCD Display

Temperature
Sensor 1 & 2

Light
Blue Sensor
Tooth Microcontroller
Module Motion
Sensor

Door
Sensors 1,2&3

Light Fan Heater T.V A.C ALARM

8
The hardware is a PCB board which we designed and prepared entirely through the PCB
manufacturing process. From the relays, the wires are taken and they are connected to
corresponding home appliance. The point to be noted is that the cost of the hardware is
very less (approximately $30).

As said before, this application is installed in the NOKIA S60 mobile phone. When the
user wants to control a home appliance, he needs to open the application and select the
particular option. When the option is selected it will be conveyed from the mobile phone
via Bluetooth to the hardware section. What happens in the hardware section? It is
discussed from block by block.

BLUETOOTH MODULE

What is mobiles Bluetooth?


Bluetooth is an instant technology for short-range wireless connections and
communications. This Bluetooth communications happens by an inbuilt device called as
Bluetooth module. Each and every mobile phone of S60 series do have an inbuilt
Bluetooth module inside. This Bluetooth module gets activated when the user switches
the Bluetooth ON option.

Bluetooth in Hardware section:


In the hardware section, we have a separate Bluetooth module connected which support
SPP profile on it. This Bluetooth module will receive the information which is send from
the mobile phone; (Perhaps both the modules are paired with each other, as like
paralleling two Bluetooth enabled mobile phones) After receiving the information, it
passes that information immediately to the Microcontroller to which it is connected.

9
MICROCONTROLLER

A microcontroller is just a single IC chip, which can do any magic with the loaded
software. This application is designed with ATMELs 8 bit AVR microcontroller -
ATMEGA8. The specifications of this microcontroller can be downloaded from
http://atmel.com/dyn/products/product_card.asp?part_id=4585 The complete control of
the device in the hardware side is only by the microcontroller and its software. The
software of the microcontroller is written in the BASIC language. In BLUE-HOME,
when the microcontroller receives the information from Bluetooth module, it
immediately operates the particular device associated with the function. From the figure,
we can find that the microcontroller is connected with five home appliances and seven
sensors. Some of the sensors are also directly interconnected with the appliances through
microcontroller.

SENSORS
The microcontroller is connected with seven sensors. The details from these seven
sensors automatically get updated to the mobile through the microcontroller and
Bluetooth module. ie, these details are not related to the user enquiry. The entire
operations of the sensors are controlled by the microcontroller. The sensors are:
Indoor Temperature sensor
Outdoor temperature sensor
Light sensor
Motion or PIR sensor
Three Door sensors
Let us discuss about the sensors one by one.

10
Temperature sensor 1 & 2:
There are two temperature sensors connected to the microcontroller. One sensor is used to
sense the Indoor temperature, and the other is used to sense the outdoor temperature in
centigrade. The screen shot clearly explains the operation.

For each 2 seconds, the microcontroller picks both the temperatures (Temp1 and Temp
2 in screen shot) and passes it to the mobile phone via Bluetooth, without any enquiry
from the user. So, it can be said as the automated message which changes for every two
seconds.
At the same time the microcontroller will be continuously checking the indoor
temperature. When the indoor temperature goes below a preset level, (set by the user)
say here 35 centigrade, the microcontroller automatically switches ON the A.C machine.
If it goes above the preset level, it switches OFF the A.C machine, which will surely help
the disabled and aged one. The user can also change this option if it is not necessary, by
switching OFF the alarm option. (Refer- screen shot)

11
Light sensor:
This Light sensor continuously calculates the light intensity of the room and passes it to
microcontroller. The microcontroller updates the light intensity in the mobile for every 2
seconds (Refer screen shot). When the light intensity goes below a preset level set by the
user, the microcontroller automatically switches ON the light. This option is also enable
or disabled by the user. (Refer screen shot)

Motion sensor:
The motion sensor is added in the circuit mainly for the purpose of security for the
disabled and aged. This sensor continuously checks for the human IR rays, which can be
only detected from the human body. To detect this, a PIR sensor is connected to the
hardware and is left out in the unsecured area. When any human movement is detected in
the sensor, it informs to the microcontroller. The microcontroller immediately displays
Motion: Detected in the mobile phone and alarms with a voice Motion Detected.
(Refer video and screenshot)

12
Door sensor
This sensor is also for the security purpose. This switch can be called as a magnetic
sensor or reed switch. It is used to check whether any door/ window is opened or closed.
If the closed door suddenly opens without the knowledge of the user, it alarms the user
with a voice signal Door1 opened and displays DOOR1: Opened in the mobile
(Refer video and screenshot). It is designed that the user can connect three
windows/doors with the sensor.

NOTE: The voice alarm functions can be enabled or disabled for each and every sensor
individually. To enable or disable the alarm function, just select the sensor tab, scroll to
the particular option and press the Enter key. If it is already in the disabled mode, it can

13
be identified by a [X] near to it. Just pressing the option once again will enable it. (Refer
Screenshot)

HOME APPLIANCES:
As said before, the BLUE-HOME can automate any six home appliances. These home
appliances are controlled by the user alone, and they are not as like sensors. The control
of the home appliance lies entirely on the users decision.
Each and every appliance is connected to the hardware through relays. When the
microcontroller wants to switch ON or OFF a device, it energizes the corresponding relay
and the relay activates/deactivates the particular device associated with the relay.

For an example, When the user wants to switch ON a light, he needs to just select the
option LIGHT: ON and press the OK button in the mobile. (Refer screenshot) When
the option is selected, the mobile phone sends this information via Bluetooth to the
hardware. In the hardware side, the Bluetooth module receives it and passes it to
microcontroller. When the microcontroller receives the information, it energizes the relay
which is associated with Light. Then, the light turns ON.

Similar operation happens to whatever appliance we connect with the hardware. It may
be a Television, Fridge, Fan, A.C, heater and so on.

14
ALARM FUNCTIONS
Master alarm
We have a master control. The user can enable/disable all the alarms at a same time.
Volume
The volume of all the alarms can be adjusted as LOW, MID or HIGH with this option

Low temp and high temp


These are the temperature Limits for automatic A.C control which is discussed in the
temperature sensor section. Here, the limits of high and low temperature to switch ON the
A.C can be adjusted.
Light Limit
With this option the light gets automatically controlled in the Light sensor area.

FUTURE ENHANCEMENTS:

1. GPRS can be added so that we can automate and monitor the home appliances
from anywhere in the world.
2. The number of home appliances to be controlled can be increased.
3. The door cam facility can be included
4. Security can be improved by including video facility
5. Scheduled timing operation can be included

We hope, this will surely help the disabled and aged. Thank you.

15

You might also like