SlideShare a Scribd company logo
1 of 35
1
CERTIFICATE
This is certify that the work presented in the project report entitled “HOME
AUTOMATION USING USING BLUETOOTH SECURITY” in partial fulfillment of
the requirement for the award of Degree of Bachelor of Technology in ELECTRICAL
ENGINEERING of RAJASTHAN INSTITUTE OF ENIGINEERING AND
TECHNOLOGY is an authentic work carried out under my supervision and guidance.
To the best of my knowledge the content of this project work not from a basis for the
award of any previous Degree to anyone else.
DATE:-
2
ACKNOWLEDGEMENT
I have taken efforts in this project. However, it would not have been possible without the
kind support and help of many individuals and organizations. I would like to extend my
sincere thanks to all of them.
I am highly indebted to MISS.GARIMA VERMA (assistant professor) for their
guidance and constant supervision as well as for providing necessary information
regarding the project & also for their support in completing the project.
I would like to express my gratitude towards my parents & member of (Organization
Name) for their kind co-operation and encouragement which help me in completion of
this project.
I would like to express my special gratitude and thanks to industry persons for giving me
such attention and time.
My thanks and appreciations also go to my colleague in developing the project and people
who have willingly helped me out with their abilities.
NAME:-AAKASH KUMAR
ROLL NO:-15EREEE001
BRANCH:-ELECTRICAL ENGINEERING
.
3
CANDIDATE’S DECLARATION
We hereby declare that the work which is being presented in this Project entitled,
“HOME AUTOMATION USING BLUETOOTH SECURITY” submitted
RAJASTHAN INSTITUTE OF ENGINEERING AND TECHNOLOGY in the
partial fulfillment of the requirements for the award of the degree of BEACHLOR OF
TECHNOLOGY in ELECTRICAL ENGINEERING, is an authentic record of my
own work carried out from OCT.2018 to DEC.2018 under the supervision of MISS.
GARIMA VERMA, ASSISTANT PROFESSOR of ELECTRICAL
ENGINEERING DEPARTMENT.
4
TABLE OF CONTENTS
S.NO. PERTICULARS PAGE NO.
Acknowledgement I
Certificate Ii
Declaration Iii
Abstract 1
Chapter-1
Introduction 2
1.1 Project Aim 3
1.2 Project objective 3
1.3 Project scope and limitation 3
1.4 Description of the project 3
Chapter-2
2 Hardware requirement 4
2.1 Software requirement 4
Chapter-3
3 Description of Hardware required 5
3.1 Arduino Uno 5
3.1.1 Hardware 6
3.1.2 Pin Description 10
3.1.3 Communication 11
3.2 ATMEGA 328 12
3.2.1 Specification 12
3.2.2 Key parameters 13
3.2.3 Application 13
5
3.3 HC-05 Bluetooth Module 14
3.3.1 Use the HC-05 Bluetooth 15
3.3.2
3.3.3
Bluetooth module circuit connection
Application
15
16
3.3.3 Bluetooth interfacing with ARDUINO UNO 16
3.4 4-channel relay module 17
3.4.1 Principal 17
3.4.1 Pin Description 19
3.4.3 Features 19
Chapter-4
4 Coding 20
Chapter-5
5 DESIGN & IMPLEMENTATION 24
5.1 Technical Specification for this project 26
Chapter-6
6 PROS & CONS of HOME AUTOMATION 27
6.1 APPLICATION OF THIS PROJECT 29
CONCULISION 30
6
Abstract
We are living in 21st century where automation of any form i.e. home or industrial plays
an important role in human life. When it comes to industrial automation, the concept is
applied to large machines or robots which help in increasing the efficiency in terms of
production, energy and time. Home automation on the other hand involves automating the
household environment. This is possible because of the smartphones and internet that we
are widely using. Home automation can be again divided in to just controlling the
appliances using a smartphone from a remote location and another type filled with
sensors and actuators which controls the lighting, temperature, door locks, electronic
gadgets, electrical appliances etc. using a “Smart” system.
The main objective of this project is to develop a home automation system using an
Arduino board with Bluetooth being remotely controlled by any Android OS smart
phone. As technology is advancing so houses are also getting smarter. Modern houses are
gradually shifting from conventional switches to centralized control system, involving
remote controlled switches. Presently, conventional wall switches located in different
parts of the house makes it difficult for the user to go near them to operate. Even more it
becomes more difficult for the elderly or physically handicapped people to do so. Remote
controlled home automation system provides a most modern solution with smart phones.
In order to achieve this, a Bluetooth module is interfaced to the Arduino board at the
receiver end while on the transmitter end, a GUI application on the cell phone sends
ON/OFF commands to the receiver where loads are connected. By touching the specified
location on the GUI, the loads can be turned ON/OFF remotely through this technology.
The loads are operated by Arduino board through up to - isolators and thyristors using
triacs.
7
Chapter-1
INTRODUCTION
Nowadays, we have remote controls for our television sets and other electronic systems,
which have made our lives real easy. Have you ever wondered about home automation
which would give the facility of controlling tube lights, fans and other electrical
appliances at home using a remote control? Off-course, Yes! But, are the available
options cost-effective? If the answer is No, we have found a solution to it. We have come
up with a new system called Arduino based home automation using Bluetooth. This
system is super-cost effective and can give the user, the ability to control any electronic
device without even spending for a remote control. This project helps the user to control
all the electronic devices using his/her smartphone. Time is a very valuable thing.
Everybody wants to save time as much as they can. New technologies are being
introduced to save our time. To save people’s time we are introducing Home Automation
system using Bluetooth. With the help of this system you can control your home
appliances from your mobile phone. You can turn on/off your home appliances within the
range of Bluetooth.
8
1.1 Project Aim
The aim of the project is to design and construct a home automation system that will
remotely switch on or off any household appliances connected to it, using a
microcontroller, voice dial on phone, or Bluetooth based android application.
1.2 Project Objective
The objective of this project is to implement a low cost, reliable and scalable home
automation system that can be used to remotely switch on or off any household appliance,
using a microcontroller to achieve hardware simplicity, low cost short messaging service
for feedback and voice dial from any phone to toggle the switch state.
1.3 Project scope and limitation
This project work is complete on its own in remotely and automatically switching on or
off of an electrical appliance not limited to household appliances and sends a feedback
message indicating the new present state of the appliance.
1.4 Description of the Project
This project is one of the important Arduino Projects. Arduino based home automation
using Bluetooth project helps the user to control any electronic device using Device
Control app on their Android Smartphone. The android app sends commands to the
controller – Arduino, through wireless communication, namely, Bluetooth. The Arduino
is connected to the main PCB which has FOUR relays as shown in the block diagram.
These relays can be connected to different electronic devices. As per the block diagram,
Device 1 – Buzzer, Device 2- Fan, Device 3 – Lights. When the user presses on the ‘On’
button displayed on the app for the device 1, the Buzzer is switched on. This Buzzer can
be switched off, by pressing the same button again. Similarly, when the user presses on
the ‘On’ button displayed on the app for the device 2, the fan is switched on. The fan can
be switched off, by pressing the same button again. This project of home automation
using Bluetooth and Arduino can be used for controlling any AC or DC devices. In the
demonstration, we have used DC Fan and DC Bulb. To drive this DC Fan and Light, a 9V
battery is connected.
9
Chapter-2
2.1 Hardware Requirement
The list of components mentioned here are specifically for controlling 4 different loads.
 Arduino Uno with ATmega328P microcontroller
 HC – 05 Bluetooth Module
 4-channel relay module
 Connecting wires
 9 V Power supply
 Smartphone or tablet (Bluetooth enabled)
2.2 Software Requirement
 Arduino 1.6.9 compiler
 Android application
10
Chapter-3
Description of Hardware Required
3.1 Arduino Uno:-
Arduino is open-source computer hardware and software company, project and user
community that designs and manufactures ingle-board microcontrollers and
microcontroller kits for building digital devices and interactive objects that can sense and
control objects in the physical and digital world. The project's products are distributed as
open-source hardware and software, which are licensed under the GNU Lesser General
Public License (LGPL) or the GNU General Public License (GPL), permitting the
manufacture of Arduino boards and software distribution by anyone. Arduino boards are
available commercially in preassembled form or as do-it-yourself (DIY) kits. Arduino
board designs use a variety of microprocessors and controllers. The boards are equipped
with sets of digital and analog input/output (I/O) pins that may be interfaced to various
expansion boards or breadboards (shields) an other circuits. The boards feature serial
communications interfaces, including Universal Serial Bus (USB) on some models, which
are also used for loading programs from personal computers. The microcontrollers are
typically programmed using a dialect of features from the programming languages C and
C++. In addition to using traditional compiler tool chains, the Arduino project provides an
integrated development environment (IDE) based on the Processing language project. The
Arduino project started in 2003 as a program for students at the Interaction Design
Institute Ivrea in Ivrea, Italy, aiming to provide a low-cost and easy way for novices and
professionals to create devices that interact with their environment using sensors and
actuators. Common examples of such devices intended for beginner hobbyists include
simple robots, thermostats and motion detectors. The Arduino Uno is a microcontroller
board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be
used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a
power jack, an ICSP header, and a reset button. It contains everything needed to support
the microcontroller; simply connect it to a computer with a USB cable or power it with an
AC-to-DC adapter or battery to get started. The Uno differs from all preceding boards in
that it does not use the FTDI USB-to- serial driver chip. Instead, it features the
Atmega8U2 programmed as a USB-to- serial converter.
11
3.1.1 Hardware
Arduino is open-source hardware. The hardware reference designs are distributed under a
Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino
website. Layout and production files for some versions of the hardware are also available.
Although the hardware and software designs are freely available under copy left licenses,
the developers have requested the name Arduino to be exclusive to the official product
and not be used for derived works without permission. The official policy document on
use of the Arduino name emphasizes that the project is open to incorporating work by
others into the official product. Several Arduino-compatible products commercially
released have avoided the project name by using various names ending in-duino.
An early Arduino board with an RS-232 serial interface (upper left) and an Atmel
ATmega8 microcontroller chip (black, lower right); the 14 digital I/O pins are at the top,
the 6 analog input pins at the lower right, and the power connector at the lower left.
Most Arduino boards consist of an Atmel 8-bit AVR microcontroller (ATmega8,
ATmega168, ATmega328, ATmega1280, ATmega2560) with varying amounts of flash
memory, pins, and features. The 32-bit Arduino Due, based on the Atmel SAM3X8E was
introduced in 2012.
The boards use single or double-row pins or female headers that facilitate connections for
programming and incorporation into other circuits. These may connect with add-on
modules termed shields. Multiple and possibly stacked shields may be individually
addressable via an I²C serial bus. Most boards include a 5 V linear regulator and a 16
MHz crystal oscillator or ceramic resonator. Some designs, such as the Lily Pad, run at 8
MHz and dispense with the onboard voltage regulator due to specific form-factor
restrictions.
Arduino microcontrollers are pre-programmed with a boot loader that simplifies
uploading of programs to the on-chip flash memory. The default bootloader of the
Arduino UNO is the optiboot bootloader. [28] Boards are loaded with program code via a
serial connection to another computer. Some serial Arduino boards contain a level shifter
circuit to convert between RS-232 logic levels and transistor–transistor logic (TTL) level
signals. Current Arduino boards are programmed via Universal Serial Bus (USB),
implemented using USB-to-serial adapter chips such as the FTDI FT232. Some boards,
such as later-model Uno boards, substitute the FTDI chip with a separate AVR chip
containing USB-to-serial firmware, which is reprogrammable via its own ICSP header.
12
Other variants, such as the Arduino Mini and the unofficial Boarding, use a detachable
USB-to-serial adapter board or cable, Bluetooth or other methods. When used with
traditional microcontroller tools, instead of the Arduino IDE, standard AVR in-system
programming (ISP) programming is used.
An official Arduino Uno R2 with descriptions of the I/O locations. The Arduino board
exposes most of the microcontroller's I/O pins for use by other circuits. The Decimal,
Duemilanove, and current Uno provide 14 digital I/O pins, six of which can produce
pulse-width modulated signals, and six analog inputs, which can also be used as six
digital I/O pins. These pins are on the top of the board, via female 0.1-inch (2.54 mm)
headers. Several plug-in application shields are also commercially available. The Arduino
Nano, and Arduino-compatible Bare Bones Board and Boarduino boards may provide
male header pins on the underside of the board that can plug into solderless breadboards.
Many Arduino-compatible and Arduino-derived boards exist. Some are functionally
equivalent to an Arduino and can be used interchangeably. Many enhance the basic
Arduino by adding output drivers, often for use in school-level education, to simplify
making buggies and small robots. Others are electrically equivalent but change the form
factor, sometimes retaining compatibility with shields, sometimes not. Some variants use
different processors, of varying compatibility.
13
14
Some Technical Specification of Arduino Uno is:-
1. Microcontroller ATmega328P
2. Operating Voltage 5V
3. Input Voltage (recommended) 7-12V
4. Input Voltage (limits) 6-20V
5. Digital I/O Pins 14
6. Analog Input Pins 6
7. DC Current per I/O Pin 40 Ma
8. DC Current for 3.3V Pin 50 mA
9. Flash Memory 32 KB of which 0.5 KB used by bootloader
10. SRAM 2 KB
11. EEPROM 1 KB
12. Clock Speed 16 MHz
3.1.2 Pin Description
Pin Category Pin Name Details
Power Vin, 3.3V, 5V, GND Vin: Input voltage to Arduino
when using an external power
source.
5V: Regulated power supply
used to power microcontroller
and other components on the
board.
3.3V: 3.3V supply generated
by on-board voltage regulator.
Maximum current draw is
50mA.
GND: ground pins.
Reset Reset Resets the microcontroller.
15
Analog Pins A0 – A5 Used to provide analog input in
the range of 0-5V
Input/output Pins Digital Pins 0 – 13 Can be used as input or output
pins.
Serial 0(Rx), 1(TX) Used to receive and transmit
TTL serial data.
External Interrupts 2 2, 3 To trigger an interrupt.
PWM 3, 5, 6, 9, 11 Provides 8-bit PWM output.
SPI 10 (SS),
11 (MOSI),
12 (MISO) and
13 (SCK)
Used for SPI communication.
Inbuilt LED 13 To turn on the inbuilt LED.
TWI A4 (SDA), A5 (SCA) Used for TWI communication
AREF AREF To provide reference voltage
for input voltage.
16
3.1.3 Communication
Arduino can be used to communicate with a computer, another Arduino board or other
microcontrollers. The ATmega328P microcontroller provides UART TTL (5V) serial
communication which can be done using digital pin 0 (Rx) and digital pin 1 (TX). An
ATmega16U2 on the board channels this serial communication over USB and appears as
a virtual com port to software on the computer. The ATmega16U2 firmware uses the
standard USB COM drivers, and no external driver is needed. However, on Windows, an
.inf file is required. The Arduino software includes a serial monitor which allows simple
textual data to be sent to and from the Arduino board. There are two RX and TX LEDs on
the Arduino board which will flash when data is being transmitted via the USB-to-serial
chip and USB connection to the computer (not for serial communication on pins 0 and 1).
A Software Serial library allows for serial communication on any of the Uno's digital
pins. The ATmega328P also supports I2C (TWI) and SPI communication. The Arduino
software includes a Wire library to simplify use of the I2C bus.
17
Arduino Uno to ATmega328 Pin Mapping
When ATmega328 chip is used in place of Arduino Uno, or vice versa, the image below
shows the pin mapping between the two.
3.2 ATmega328
The ATmega328 is a single-chip microcontroller created by Atmel in the megaAVR
family (later Microchip Technology acquired Atmel in 2016). It has a modified Harvard
architecture 8-bit RISC processor core.
3.2.1 Specifications
The Atmel 8-bit AVR RISC-based microcontroller combines 32 kB ISP flash memory
with read-while-write capabilities, 1 kB EEPROM, 2 kB SRAM, 23 general purpose I/O
lines, 32 general purpose working registers, three flexible timer/counters with compare
modes, internal and external interrupts, serial programmable USART, a byte-oriented 2-
wire serial interface, SPI serial port, 6-channel 10-bit A/D converter (8-channels in TQFP
and QFN/MLF packages), programmable watchdog timer with internal oscillator, and
five software selectable power saving modes. The device operates between 1.8-5.5 volts.
The device achieves throughput approaching 1 MIPS per MHz
18
3.2.2 Key parameters
Parameter Value
CPU type 8-bit AVR
Performance 20 MIPS at 20 MHz
Flash memory 32 kB
SRAM 2 kB
EEPROM 1 kB
Pin count 28 or 32 pin: PDIP-28, MLF-28, TQFP-32, and MLF-
32
Maximum operating frequency 20 MHz
Number of touch channels 16
Hardware QTouch Acquisition No
Maximum I/O pins 23
External interrupts 2
USB Interface No
USB Speed –
3.2.3 Applications
As of 2013 the ATmega328 is commonly used in many projects and autonomous systems
where a simple, low-powered, low-cost micro-controller is needed [citation needed].
Perhaps the most common implementation of this chip is on the popular Arduino
development platform, namely the Arduino Uno and Arduino Nano models.
19
3.3 HC-05 Bluetooth Module
HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed
for transparent wireless serial connection setup. Serial port Bluetooth module is fully
qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with complete
2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04-External single chip
Bluetooth system with CMOS technology and with AFH (Adaptive Frequency Hopping
Feature). It has the footprint as small as 12.7mmx27mm. Hope it will simplify your
overall design/development cycleHC-05.
The HC-05 is a very cool module which can add two-way (full-duplex) wireless
functionality to your projects. You can use this module to communicate between two
microcontrollers like Arduino or communicate with any device with Bluetooth
functionality like a Phone or Laptop. There are many android applications that are already
available which makes this process a lot easier. The module communicates with the help
of USART at 9600 baud rate hence it is easy to interface with any microcontroller that
supports USART. We can also configure the default values of the module by using the
command mode. So if you looking for a Wireless module that could transfer data from
your computer or mobile phone to microcontroller or vice versa then this module might
be the right choice for you. However do not expect this module to transfer multimedia
like photos or songs; you might have to look into the CSR8645 module for that.
20
3.3.1 Use the HC-05 Bluetooth module
The HC-05 has two operating modes, one is the Data mode in which it can send and
receive data from other Bluetooth devices and the other is the AT Command mode where
the default device settings can be changed. We can operate the device in either of these
two modes by using the key pin as explained in the pin description.
It is very easy to pair the HC-05 module with microcontrollers because it operates using
the Serial Port Protocol (SPP). Simply power the module with +5V and connect the Rx
pin of the module to the TX of MCU and TX pin of module to Rx of MCU as shown in
the figure below
3.3.2 HC-05 Bluetooth Module Circuit Connections
During power up the key pin can be grounded to enter into Command mode, if left free it
will by default enter into the data mode. As soon as the module is powered you should be
able to discover the Bluetooth device as “HC-05” then connect with it using the default
password 1234 and start communicating with it. The name password and other default
parameters can be changed by entering into the application.
21
3.3.3 Applications
1. Wireless communication between two microcontrollers
2. Communicate with Laptop, Desktops and mobile phones
3. Data Logging application
4. Consumer applications
5. Wireless Robots
6. Home Automation
3.3.4 HC-05 Bluetooth Module Interfacing with Arduino UNO
HC-05 is a Bluetooth device used for wireless communication with Bluetooth enabled
devices (like smartphone). It communicates with microcontrollers using serial
communication (USART). Default settings of HC-05 Bluetooth module can be changed
using certain AT commands. As HC-05 Bluetooth module has 3.3 V level for RX/TX and
microcontroller can detect 3.3 V level, so, there is no need to shift TX voltage level of
HC-05 module. But we need to shift the transmit voltage level from microcontroller to
RX of HC- 05 module.
22
3.4 4-channel relay module
This is a 5V 4-channel relay interface board, and each channel needs a 15-20mA driver
current. It can be used to control various appliances and equipment with large current. It
is equiped with high-current relays that work under AC250V 10A or DC30V 10A. It has
a standard interface that can be controlled directly by microcontroller
3.4.1 Principle
From the picture below, you can see that when the signal port is at low level, the signal
light will light up and the optocoupler 7817c (it transforms electrical signals by light and
can isolate input and output electrical signals) will conduct, and then the transistor will
conduct, the relay coil will be electrified, and the normally open contact of the relay will
be closed. When the signal port is at high level, the normally closed contact of the relay
will be closed. So you can connect and disconnect the load by controlling the level of the
control signal port.
.
FIG.:- RELAY
23
24
3.4.2 Pin Description
Input:
VCC: Positive supply voltage
GND: Ground
IN1--IN4: Relay control port
Output:
Connect a load, DC 30V/10A,AC 250V/10A
3.4.3 Features:
1. Size: 75mm (Length) * 55mm (Width) * 19.3mm (Height)
2. Weight: 61g
3. PCB Color: Blue
4. There are four fixed screw holes at each corner of the board, easy for install and
fix. The diameter of the hole is 3.1mm
5. High quality Single relay is used with single pole double throw, a common
terminal, a normally open terminal, and a normally closed terminal
6. Optical coupling isolation, good anti-interference.
7. Closed at low level with indicator on, released at high level with indicator off
8. VCC is system power source, and JD_VCC is relay power source. Ship 5V relay
by default. Plug jumper cap to use
9. The maximum output of the relay: DC 30V/10A, AC 250V/10A
25
Chapter-4
Sketch for Displaying Data Received Via Bluetooth on Serial Monitor
CODEING
/*
Relay IN1 connected to PinOut2Arduino
Relay IN2 connected to PinOut3Arduino
Relay IN3 connected to PinOut4Arduino
Relay IN4 connected to PinOut5Arduino
--->you can connected to relay module 4 channel
Serial data sending from Arduino Bluetooth Relay 4CH.apk
Data '1'-'4' to on is Relay 1-4
Data 'A'-'D' to off be Relay 1-4
Data '9' to on ALL CH 1-4
Data 'I' to off ALL CH 1-4
*/
#include <SoftwareSerial.h>
SoftwareSerial mySerial (10, 11); //Pin10 RX, Pin 11 TX connected to--> Bluetooth TX,
RX
#define relay1 2
#define relay2 3
#define relay3 4
#define relay4 5
26
Char Val;
Void setup () {
PinMode (relay1, OUTPUT);
PinMode (relay2, OUTPUT);
PinMode (relay3, OUTPUT);
PinMode (relay4, OUTPUT);
DigitalWrite (relay1, HIGH);
DigitalWrite (relay2, HIGH);
DigitalWrite (relay3, HIGH);
DigitalWrite (relay4, HIGH);
mySerial.begin (9600);
Serial.begin (9600);
}
Void loop () {
//cek data serial from bluetooth android App
If (mySerial.available () >0) {
Val = mySerial.read ();
Serial.println (Val);
}
//Relay is on
If (Val == '1' ) {
27
DigitalWrite (relay1, LOW) ;}
else if( Val == '2' ) {
DigitalWrite (relay2, LOW) ;}
else if( Val == '3' ) {
DigitalWrite (relay3, LOW) ;}
Else if (Val == ‘4’) {
DigitalWrite (relay4, LOW) ;}
//relay all on
Else if (Val == '9') {
DigitalWrite (relay1, LOW);
DigitalWrite (relay2, LOW);
DigitalWrite (relay3, LOW);
DigitalWrite (relay4, LOW);
}
//relay is off
else if( Val == 'A' ) {
DigitalWrite (relay1, HIGH) ;}
else if (Val == ‘B’) {
digitalWrite (relay2, HIGH) ;}
else if (Val == ‘C’) {
digitalWrite (relay3, HIGH) ;}
else if (Val == ‘D’) {
28
digitalWrite (relay4, HIGH) ;}
//relay all off
else if( Val == 'I' ) {
DigitalWrite (relay1, HIGH);
digitalWrite (relay2, HIGH);
digitalWrite (relay3, HIGH);
digitalWrite (relay4, HIGH);
}
}
29
Chapter-5
5. Design And Implementation
A low cost and efficient smart home system is presented in our design. This system has
two main modules: the hardware interface module and the software communication
module. At the heart of this system is the Arduino Mega 626P microcontroller which is
also capable of functioning as a micro web server and the interface for all the hardware
modules. All communication and controls in this system pass through the microcontroller.
Designing the Circuit
30
31
CIRCUIT DAIGRAM
5.1 Technical Specification for this project
1) A smartphone or an Android mobile which should have the android app installed in it.
2) Bluetooth receiver module – Our project will be connected to the smartphone using
Bluetooth technology.
3) Controller or the main processing circuit- In this project, Arduino Uno is the main
controlling / processing unit. Also, this project can be developed using PIC18F4550,
AVR ATmega32 and 8051 series like: 89s51, 89c51, 89s52, 89v51RD2.
4) LCD Display – The Liquid Crystal Display is optional but shows important messages
like device status once command is received from Bluetooth.
5) Relays to control devices – We have used 12volt Single push single throw relays.
6) Output devices – For the demo purpose, we connected a DC devices to a relay (12 volt
DC bulb). You can connect any AC/DC devices to the remaining 3 relays. Also, Device 6
is a Buzzer.
32
Chapter-6
6. Pros of Home Automation
1. Security
Tap your finger to turn on the lights when you get home so you worried about what’s
hiding in the shadows, or in your pathways. Or automate to turn on when you aren’t
home to look like you are to ward off potential robbers. Door locks are another
automated home product that can increase your home security.
2. Energy Efficiency
Increase your home’s energy efficiency by remotely powering off systems and
appliances when they aren’t in use. In addition to the standard home automation products
that give you active control, some products actively monitor systems and arm the
homeowner with knowledge, insight and guidance to achieve greater control and energy
efficiency.
3. Savings
Home automation literally pays off. When you are able to use home systems and
appliances only when needed, the savings will be apparent in the first utility bill. No more
wasting money on lights left on when you aren’t home, or spending money on gas to
drive home because you forgot to lock the door. Monetary savings are apparent, but
you’ll also be saving time. No wasted trips home, no running through the house turning
everything off, no time spent worrying about what was or wasn’t turned off.
4. Convenience
Don’t you hate having to rely on neighbors to watch your house when you’re gone? With
home automation, convenient control of your home is at your fingertips. You don’t have
to trust someone else with your most valued possessions.
33
Cons of Home Automation
1. Cost of Intelligence
Installing state-of-the-art features inside home results in a higher price tag for the
property. The cost of an intelligent home that makes our lives convenient is high because
some of the technology is relatively new. The cost of living expenses such as utilities,
maintenance and repair of the technology can be expensive as well.
2. Technology Learning Curve
Owning a smart home means having to learn how to use your home. Unlike traditional
homes, smart home technology requires you to adapt to the innovations within your living
area such as security systems, air units and a remote that controls your entire house. For
the technology-savvy family, the smart home will help achieve convenience faster, but for
others, it will take reading manuals and learning how-to before the benefits of
convenience pay off.
3. Video Surveillance
Video surveillance can be a wonderful tool in heightening security and deterring crime,
but when the technology falls into the wrong hands, issues of privacy can occur. Security
sensors within the doors and walls of a smart home use wireless technology to transfer
signals to a central control unit that notifies emergency officials of any foreign activity.
34
6.1 Applications Of This Project
1. Using this project, we can turn on or off appliances remotely i.e. using a phone or
tablet.
2. The project can be further expanded to a smart home automation system by
including some sensors like light sensors, temperature sensors, safety sensors etc. and
automatically adjust different parameters like room lighting, air conditioning (room
temperature), door locks etc. and transmit the information to our phone
3. Additionally, we can connect to internet and control the home from remote location
over internet and also monitor the safety. Future Development of the project.
4. Arduino based device control using Bluetooth on Smartphone project can be
enhanced to control the speed of the fan or volume of the buzzer etc.
5. Home automation and Device controlling can be done using Internet of Things –
IOT technology.
6. We can replace Bluetooth by GSM modem so that we can achieve device controlling
by sending SMS using GSM modem.
35
Conclusion
The home automation system has been experimentally proven to work satisfactorily by
connecting sample appliances to it and the appliances were successfully controlled from a
wireless mobile device. We learned many skills such as soldering, wiring the circuit and
other tools that we use for this project and was able to work together as a team during this
project. The Bluetooth client was successfully tested on a multitude of different mobile
phones from different manufacturers, thus proving its portability and wide compatibility.
Thus a low-cost home automation system was successfully designed, implemented and
tested.

More Related Content

What's hot

Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDAshish Kumar Thakur
 
Solar tracking system
Solar tracking systemSolar tracking system
Solar tracking systemReejasunil
 
Gsm based home automation
Gsm based home automationGsm based home automation
Gsm based home automationMainak Sinha
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportSimarjot Singh Kalsi
 
Presentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUPresentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUSouvik Kundu
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOparameshwar koneti
 
Smart door lock
Smart door lockSmart door lock
Smart door lockaswin5432
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266smit bakori
 
Wireless power transmission
Wireless power transmissionWireless power transmission
Wireless power transmissionrakeshkk
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 
PIR sensing with arduino
PIR sensing  with  arduinoPIR sensing  with  arduino
PIR sensing with arduinochetan kadiwal
 
1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoTIEEE MIU SB
 
Home automation using IoT literature review ppt
Home automation using IoT literature review pptHome automation using IoT literature review ppt
Home automation using IoT literature review pptTanujkumar101
 
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONBLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONVarun Divekar
 

What's hot (20)

Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
 
Solar tracking system
Solar tracking systemSolar tracking system
Solar tracking system
 
Gsm based home automation
Gsm based home automationGsm based home automation
Gsm based home automation
 
Home automation
Home automationHome automation
Home automation
 
Home automation ppt
Home automation pptHome automation ppt
Home automation ppt
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
 
Smart street light system
Smart street light systemSmart street light system
Smart street light system
 
Presentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUPresentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCU
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
 
Smart door lock
Smart door lockSmart door lock
Smart door lock
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
 
Wireless charging ppt
Wireless charging pptWireless charging ppt
Wireless charging ppt
 
Wireless power transmission
Wireless power transmissionWireless power transmission
Wireless power transmission
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
PIR sensing with arduino
PIR sensing  with  arduinoPIR sensing  with  arduino
PIR sensing with arduino
 
1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT
 
Home automation using IoT literature review ppt
Home automation using IoT literature review pptHome automation using IoT literature review ppt
Home automation using IoT literature review ppt
 
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONBLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
 

Similar to PROJECT REPORT ON Home automation using by Bluetooth

home/office automation
home/office automationhome/office automation
home/office automationAdiLende
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724PAVINRAJ5
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxRafayNaveed4
 
Connecting Home Appliances via Bluetooth using IoT
Connecting Home Appliances via Bluetooth using IoTConnecting Home Appliances via Bluetooth using IoT
Connecting Home Appliances via Bluetooth using IoTIRJET Journal
 
Smart homes for a better living using bluetooth
Smart homes for a better living using bluetoothSmart homes for a better living using bluetooth
Smart homes for a better living using bluetootheSAT Publishing House
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation SystemAI Publications
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Surveydbpublications
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Surveydbpublications
 
BLUETOOTH BASED HOME AUTOMATION SYSTEM
BLUETOOTH BASED HOME  AUTOMATION SYSTEMBLUETOOTH BASED HOME  AUTOMATION SYSTEM
BLUETOOTH BASED HOME AUTOMATION SYSTEMSaif Shaikh
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationdangthanhlinh
 
Project Report Webcasa Final(1)
Project Report Webcasa Final(1)Project Report Webcasa Final(1)
Project Report Webcasa Final(1)Abhijeet Rawat
 
IRJET- Smart Home: Speech Recognition based Home Automation using IoT
IRJET-  	  Smart Home: Speech Recognition based Home Automation using IoTIRJET-  	  Smart Home: Speech Recognition based Home Automation using IoT
IRJET- Smart Home: Speech Recognition based Home Automation using IoTIRJET Journal
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
 
A Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyA Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyIRJET Journal
 
IRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET Journal
 
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET Journal
 
IRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET Journal
 

Similar to PROJECT REPORT ON Home automation using by Bluetooth (20)

home/office automation
home/office automationhome/office automation
home/office automation
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
 
Connecting Home Appliances via Bluetooth using IoT
Connecting Home Appliances via Bluetooth using IoTConnecting Home Appliances via Bluetooth using IoT
Connecting Home Appliances via Bluetooth using IoT
 
Smart homes for a better living using bluetooth
Smart homes for a better living using bluetoothSmart homes for a better living using bluetooth
Smart homes for a better living using bluetooth
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation System
 
Report
ReportReport
Report
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Survey
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Survey
 
BLUETOOTH BASED HOME AUTOMATION SYSTEM
BLUETOOTH BASED HOME  AUTOMATION SYSTEMBLUETOOTH BASED HOME  AUTOMATION SYSTEM
BLUETOOTH BASED HOME AUTOMATION SYSTEM
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomation
 
Project Report Webcasa Final(1)
Project Report Webcasa Final(1)Project Report Webcasa Final(1)
Project Report Webcasa Final(1)
 
Fan speed control using applications
Fan speed control using applicationsFan speed control using applications
Fan speed control using applications
 
IRJET- Smart Home: Speech Recognition based Home Automation using IoT
IRJET-  	  Smart Home: Speech Recognition based Home Automation using IoTIRJET-  	  Smart Home: Speech Recognition based Home Automation using IoT
IRJET- Smart Home: Speech Recognition based Home Automation using IoT
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
A Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation TechnologyA Short Review on the Perspective of Home Automation Technology
A Short Review on the Perspective of Home Automation Technology
 
IRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial Intelligence
 
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
 
IRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth Technology
 

Recently uploaded

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

PROJECT REPORT ON Home automation using by Bluetooth

  • 1. 1 CERTIFICATE This is certify that the work presented in the project report entitled “HOME AUTOMATION USING USING BLUETOOTH SECURITY” in partial fulfillment of the requirement for the award of Degree of Bachelor of Technology in ELECTRICAL ENGINEERING of RAJASTHAN INSTITUTE OF ENIGINEERING AND TECHNOLOGY is an authentic work carried out under my supervision and guidance. To the best of my knowledge the content of this project work not from a basis for the award of any previous Degree to anyone else. DATE:-
  • 2. 2 ACKNOWLEDGEMENT I have taken efforts in this project. However, it would not have been possible without the kind support and help of many individuals and organizations. I would like to extend my sincere thanks to all of them. I am highly indebted to MISS.GARIMA VERMA (assistant professor) for their guidance and constant supervision as well as for providing necessary information regarding the project & also for their support in completing the project. I would like to express my gratitude towards my parents & member of (Organization Name) for their kind co-operation and encouragement which help me in completion of this project. I would like to express my special gratitude and thanks to industry persons for giving me such attention and time. My thanks and appreciations also go to my colleague in developing the project and people who have willingly helped me out with their abilities. NAME:-AAKASH KUMAR ROLL NO:-15EREEE001 BRANCH:-ELECTRICAL ENGINEERING .
  • 3. 3 CANDIDATE’S DECLARATION We hereby declare that the work which is being presented in this Project entitled, “HOME AUTOMATION USING BLUETOOTH SECURITY” submitted RAJASTHAN INSTITUTE OF ENGINEERING AND TECHNOLOGY in the partial fulfillment of the requirements for the award of the degree of BEACHLOR OF TECHNOLOGY in ELECTRICAL ENGINEERING, is an authentic record of my own work carried out from OCT.2018 to DEC.2018 under the supervision of MISS. GARIMA VERMA, ASSISTANT PROFESSOR of ELECTRICAL ENGINEERING DEPARTMENT.
  • 4. 4 TABLE OF CONTENTS S.NO. PERTICULARS PAGE NO. Acknowledgement I Certificate Ii Declaration Iii Abstract 1 Chapter-1 Introduction 2 1.1 Project Aim 3 1.2 Project objective 3 1.3 Project scope and limitation 3 1.4 Description of the project 3 Chapter-2 2 Hardware requirement 4 2.1 Software requirement 4 Chapter-3 3 Description of Hardware required 5 3.1 Arduino Uno 5 3.1.1 Hardware 6 3.1.2 Pin Description 10 3.1.3 Communication 11 3.2 ATMEGA 328 12 3.2.1 Specification 12 3.2.2 Key parameters 13 3.2.3 Application 13
  • 5. 5 3.3 HC-05 Bluetooth Module 14 3.3.1 Use the HC-05 Bluetooth 15 3.3.2 3.3.3 Bluetooth module circuit connection Application 15 16 3.3.3 Bluetooth interfacing with ARDUINO UNO 16 3.4 4-channel relay module 17 3.4.1 Principal 17 3.4.1 Pin Description 19 3.4.3 Features 19 Chapter-4 4 Coding 20 Chapter-5 5 DESIGN & IMPLEMENTATION 24 5.1 Technical Specification for this project 26 Chapter-6 6 PROS & CONS of HOME AUTOMATION 27 6.1 APPLICATION OF THIS PROJECT 29 CONCULISION 30
  • 6. 6 Abstract We are living in 21st century where automation of any form i.e. home or industrial plays an important role in human life. When it comes to industrial automation, the concept is applied to large machines or robots which help in increasing the efficiency in terms of production, energy and time. Home automation on the other hand involves automating the household environment. This is possible because of the smartphones and internet that we are widely using. Home automation can be again divided in to just controlling the appliances using a smartphone from a remote location and another type filled with sensors and actuators which controls the lighting, temperature, door locks, electronic gadgets, electrical appliances etc. using a “Smart” system. The main objective of this project is to develop a home automation system using an Arduino board with Bluetooth being remotely controlled by any Android OS smart phone. As technology is advancing so houses are also getting smarter. Modern houses are gradually shifting from conventional switches to centralized control system, involving remote controlled switches. Presently, conventional wall switches located in different parts of the house makes it difficult for the user to go near them to operate. Even more it becomes more difficult for the elderly or physically handicapped people to do so. Remote controlled home automation system provides a most modern solution with smart phones. In order to achieve this, a Bluetooth module is interfaced to the Arduino board at the receiver end while on the transmitter end, a GUI application on the cell phone sends ON/OFF commands to the receiver where loads are connected. By touching the specified location on the GUI, the loads can be turned ON/OFF remotely through this technology. The loads are operated by Arduino board through up to - isolators and thyristors using triacs.
  • 7. 7 Chapter-1 INTRODUCTION Nowadays, we have remote controls for our television sets and other electronic systems, which have made our lives real easy. Have you ever wondered about home automation which would give the facility of controlling tube lights, fans and other electrical appliances at home using a remote control? Off-course, Yes! But, are the available options cost-effective? If the answer is No, we have found a solution to it. We have come up with a new system called Arduino based home automation using Bluetooth. This system is super-cost effective and can give the user, the ability to control any electronic device without even spending for a remote control. This project helps the user to control all the electronic devices using his/her smartphone. Time is a very valuable thing. Everybody wants to save time as much as they can. New technologies are being introduced to save our time. To save people’s time we are introducing Home Automation system using Bluetooth. With the help of this system you can control your home appliances from your mobile phone. You can turn on/off your home appliances within the range of Bluetooth.
  • 8. 8 1.1 Project Aim The aim of the project is to design and construct a home automation system that will remotely switch on or off any household appliances connected to it, using a microcontroller, voice dial on phone, or Bluetooth based android application. 1.2 Project Objective The objective of this project is to implement a low cost, reliable and scalable home automation system that can be used to remotely switch on or off any household appliance, using a microcontroller to achieve hardware simplicity, low cost short messaging service for feedback and voice dial from any phone to toggle the switch state. 1.3 Project scope and limitation This project work is complete on its own in remotely and automatically switching on or off of an electrical appliance not limited to household appliances and sends a feedback message indicating the new present state of the appliance. 1.4 Description of the Project This project is one of the important Arduino Projects. Arduino based home automation using Bluetooth project helps the user to control any electronic device using Device Control app on their Android Smartphone. The android app sends commands to the controller – Arduino, through wireless communication, namely, Bluetooth. The Arduino is connected to the main PCB which has FOUR relays as shown in the block diagram. These relays can be connected to different electronic devices. As per the block diagram, Device 1 – Buzzer, Device 2- Fan, Device 3 – Lights. When the user presses on the ‘On’ button displayed on the app for the device 1, the Buzzer is switched on. This Buzzer can be switched off, by pressing the same button again. Similarly, when the user presses on the ‘On’ button displayed on the app for the device 2, the fan is switched on. The fan can be switched off, by pressing the same button again. This project of home automation using Bluetooth and Arduino can be used for controlling any AC or DC devices. In the demonstration, we have used DC Fan and DC Bulb. To drive this DC Fan and Light, a 9V battery is connected.
  • 9. 9 Chapter-2 2.1 Hardware Requirement The list of components mentioned here are specifically for controlling 4 different loads.  Arduino Uno with ATmega328P microcontroller  HC – 05 Bluetooth Module  4-channel relay module  Connecting wires  9 V Power supply  Smartphone or tablet (Bluetooth enabled) 2.2 Software Requirement  Arduino 1.6.9 compiler  Android application
  • 10. 10 Chapter-3 Description of Hardware Required 3.1 Arduino Uno:- Arduino is open-source computer hardware and software company, project and user community that designs and manufactures ingle-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control objects in the physical and digital world. The project's products are distributed as open-source hardware and software, which are licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL), permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form or as do-it-yourself (DIY) kits. Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards or breadboards (shields) an other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs from personal computers. The microcontrollers are typically programmed using a dialect of features from the programming languages C and C++. In addition to using traditional compiler tool chains, the Arduino project provides an integrated development environment (IDE) based on the Processing language project. The Arduino project started in 2003 as a program for students at the Interaction Design Institute Ivrea in Ivrea, Italy, aiming to provide a low-cost and easy way for novices and professionals to create devices that interact with their environment using sensors and actuators. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats and motion detectors. The Arduino Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started. The Uno differs from all preceding boards in that it does not use the FTDI USB-to- serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to- serial converter.
  • 11. 11 3.1.1 Hardware Arduino is open-source hardware. The hardware reference designs are distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino website. Layout and production files for some versions of the hardware are also available. Although the hardware and software designs are freely available under copy left licenses, the developers have requested the name Arduino to be exclusive to the official product and not be used for derived works without permission. The official policy document on use of the Arduino name emphasizes that the project is open to incorporating work by others into the official product. Several Arduino-compatible products commercially released have avoided the project name by using various names ending in-duino. An early Arduino board with an RS-232 serial interface (upper left) and an Atmel ATmega8 microcontroller chip (black, lower right); the 14 digital I/O pins are at the top, the 6 analog input pins at the lower right, and the power connector at the lower left. Most Arduino boards consist of an Atmel 8-bit AVR microcontroller (ATmega8, ATmega168, ATmega328, ATmega1280, ATmega2560) with varying amounts of flash memory, pins, and features. The 32-bit Arduino Due, based on the Atmel SAM3X8E was introduced in 2012. The boards use single or double-row pins or female headers that facilitate connections for programming and incorporation into other circuits. These may connect with add-on modules termed shields. Multiple and possibly stacked shields may be individually addressable via an I²C serial bus. Most boards include a 5 V linear regulator and a 16 MHz crystal oscillator or ceramic resonator. Some designs, such as the Lily Pad, run at 8 MHz and dispense with the onboard voltage regulator due to specific form-factor restrictions. Arduino microcontrollers are pre-programmed with a boot loader that simplifies uploading of programs to the on-chip flash memory. The default bootloader of the Arduino UNO is the optiboot bootloader. [28] Boards are loaded with program code via a serial connection to another computer. Some serial Arduino boards contain a level shifter circuit to convert between RS-232 logic levels and transistor–transistor logic (TTL) level signals. Current Arduino boards are programmed via Universal Serial Bus (USB), implemented using USB-to-serial adapter chips such as the FTDI FT232. Some boards, such as later-model Uno boards, substitute the FTDI chip with a separate AVR chip containing USB-to-serial firmware, which is reprogrammable via its own ICSP header.
  • 12. 12 Other variants, such as the Arduino Mini and the unofficial Boarding, use a detachable USB-to-serial adapter board or cable, Bluetooth or other methods. When used with traditional microcontroller tools, instead of the Arduino IDE, standard AVR in-system programming (ISP) programming is used. An official Arduino Uno R2 with descriptions of the I/O locations. The Arduino board exposes most of the microcontroller's I/O pins for use by other circuits. The Decimal, Duemilanove, and current Uno provide 14 digital I/O pins, six of which can produce pulse-width modulated signals, and six analog inputs, which can also be used as six digital I/O pins. These pins are on the top of the board, via female 0.1-inch (2.54 mm) headers. Several plug-in application shields are also commercially available. The Arduino Nano, and Arduino-compatible Bare Bones Board and Boarduino boards may provide male header pins on the underside of the board that can plug into solderless breadboards. Many Arduino-compatible and Arduino-derived boards exist. Some are functionally equivalent to an Arduino and can be used interchangeably. Many enhance the basic Arduino by adding output drivers, often for use in school-level education, to simplify making buggies and small robots. Others are electrically equivalent but change the form factor, sometimes retaining compatibility with shields, sometimes not. Some variants use different processors, of varying compatibility.
  • 13. 13
  • 14. 14 Some Technical Specification of Arduino Uno is:- 1. Microcontroller ATmega328P 2. Operating Voltage 5V 3. Input Voltage (recommended) 7-12V 4. Input Voltage (limits) 6-20V 5. Digital I/O Pins 14 6. Analog Input Pins 6 7. DC Current per I/O Pin 40 Ma 8. DC Current for 3.3V Pin 50 mA 9. Flash Memory 32 KB of which 0.5 KB used by bootloader 10. SRAM 2 KB 11. EEPROM 1 KB 12. Clock Speed 16 MHz 3.1.2 Pin Description Pin Category Pin Name Details Power Vin, 3.3V, 5V, GND Vin: Input voltage to Arduino when using an external power source. 5V: Regulated power supply used to power microcontroller and other components on the board. 3.3V: 3.3V supply generated by on-board voltage regulator. Maximum current draw is 50mA. GND: ground pins. Reset Reset Resets the microcontroller.
  • 15. 15 Analog Pins A0 – A5 Used to provide analog input in the range of 0-5V Input/output Pins Digital Pins 0 – 13 Can be used as input or output pins. Serial 0(Rx), 1(TX) Used to receive and transmit TTL serial data. External Interrupts 2 2, 3 To trigger an interrupt. PWM 3, 5, 6, 9, 11 Provides 8-bit PWM output. SPI 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK) Used for SPI communication. Inbuilt LED 13 To turn on the inbuilt LED. TWI A4 (SDA), A5 (SCA) Used for TWI communication AREF AREF To provide reference voltage for input voltage.
  • 16. 16 3.1.3 Communication Arduino can be used to communicate with a computer, another Arduino board or other microcontrollers. The ATmega328P microcontroller provides UART TTL (5V) serial communication which can be done using digital pin 0 (Rx) and digital pin 1 (TX). An ATmega16U2 on the board channels this serial communication over USB and appears as a virtual com port to software on the computer. The ATmega16U2 firmware uses the standard USB COM drivers, and no external driver is needed. However, on Windows, an .inf file is required. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. There are two RX and TX LEDs on the Arduino board which will flash when data is being transmitted via the USB-to-serial chip and USB connection to the computer (not for serial communication on pins 0 and 1). A Software Serial library allows for serial communication on any of the Uno's digital pins. The ATmega328P also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus.
  • 17. 17 Arduino Uno to ATmega328 Pin Mapping When ATmega328 chip is used in place of Arduino Uno, or vice versa, the image below shows the pin mapping between the two. 3.2 ATmega328 The ATmega328 is a single-chip microcontroller created by Atmel in the megaAVR family (later Microchip Technology acquired Atmel in 2016). It has a modified Harvard architecture 8-bit RISC processor core. 3.2.1 Specifications The Atmel 8-bit AVR RISC-based microcontroller combines 32 kB ISP flash memory with read-while-write capabilities, 1 kB EEPROM, 2 kB SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible timer/counters with compare modes, internal and external interrupts, serial programmable USART, a byte-oriented 2- wire serial interface, SPI serial port, 6-channel 10-bit A/D converter (8-channels in TQFP and QFN/MLF packages), programmable watchdog timer with internal oscillator, and five software selectable power saving modes. The device operates between 1.8-5.5 volts. The device achieves throughput approaching 1 MIPS per MHz
  • 18. 18 3.2.2 Key parameters Parameter Value CPU type 8-bit AVR Performance 20 MIPS at 20 MHz Flash memory 32 kB SRAM 2 kB EEPROM 1 kB Pin count 28 or 32 pin: PDIP-28, MLF-28, TQFP-32, and MLF- 32 Maximum operating frequency 20 MHz Number of touch channels 16 Hardware QTouch Acquisition No Maximum I/O pins 23 External interrupts 2 USB Interface No USB Speed – 3.2.3 Applications As of 2013 the ATmega328 is commonly used in many projects and autonomous systems where a simple, low-powered, low-cost micro-controller is needed [citation needed]. Perhaps the most common implementation of this chip is on the popular Arduino development platform, namely the Arduino Uno and Arduino Nano models.
  • 19. 19 3.3 HC-05 Bluetooth Module HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup. Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology and with AFH (Adaptive Frequency Hopping Feature). It has the footprint as small as 12.7mmx27mm. Hope it will simplify your overall design/development cycleHC-05. The HC-05 is a very cool module which can add two-way (full-duplex) wireless functionality to your projects. You can use this module to communicate between two microcontrollers like Arduino or communicate with any device with Bluetooth functionality like a Phone or Laptop. There are many android applications that are already available which makes this process a lot easier. The module communicates with the help of USART at 9600 baud rate hence it is easy to interface with any microcontroller that supports USART. We can also configure the default values of the module by using the command mode. So if you looking for a Wireless module that could transfer data from your computer or mobile phone to microcontroller or vice versa then this module might be the right choice for you. However do not expect this module to transfer multimedia like photos or songs; you might have to look into the CSR8645 module for that.
  • 20. 20 3.3.1 Use the HC-05 Bluetooth module The HC-05 has two operating modes, one is the Data mode in which it can send and receive data from other Bluetooth devices and the other is the AT Command mode where the default device settings can be changed. We can operate the device in either of these two modes by using the key pin as explained in the pin description. It is very easy to pair the HC-05 module with microcontrollers because it operates using the Serial Port Protocol (SPP). Simply power the module with +5V and connect the Rx pin of the module to the TX of MCU and TX pin of module to Rx of MCU as shown in the figure below 3.3.2 HC-05 Bluetooth Module Circuit Connections During power up the key pin can be grounded to enter into Command mode, if left free it will by default enter into the data mode. As soon as the module is powered you should be able to discover the Bluetooth device as “HC-05” then connect with it using the default password 1234 and start communicating with it. The name password and other default parameters can be changed by entering into the application.
  • 21. 21 3.3.3 Applications 1. Wireless communication between two microcontrollers 2. Communicate with Laptop, Desktops and mobile phones 3. Data Logging application 4. Consumer applications 5. Wireless Robots 6. Home Automation 3.3.4 HC-05 Bluetooth Module Interfacing with Arduino UNO HC-05 is a Bluetooth device used for wireless communication with Bluetooth enabled devices (like smartphone). It communicates with microcontrollers using serial communication (USART). Default settings of HC-05 Bluetooth module can be changed using certain AT commands. As HC-05 Bluetooth module has 3.3 V level for RX/TX and microcontroller can detect 3.3 V level, so, there is no need to shift TX voltage level of HC-05 module. But we need to shift the transmit voltage level from microcontroller to RX of HC- 05 module.
  • 22. 22 3.4 4-channel relay module This is a 5V 4-channel relay interface board, and each channel needs a 15-20mA driver current. It can be used to control various appliances and equipment with large current. It is equiped with high-current relays that work under AC250V 10A or DC30V 10A. It has a standard interface that can be controlled directly by microcontroller 3.4.1 Principle From the picture below, you can see that when the signal port is at low level, the signal light will light up and the optocoupler 7817c (it transforms electrical signals by light and can isolate input and output electrical signals) will conduct, and then the transistor will conduct, the relay coil will be electrified, and the normally open contact of the relay will be closed. When the signal port is at high level, the normally closed contact of the relay will be closed. So you can connect and disconnect the load by controlling the level of the control signal port. . FIG.:- RELAY
  • 23. 23
  • 24. 24 3.4.2 Pin Description Input: VCC: Positive supply voltage GND: Ground IN1--IN4: Relay control port Output: Connect a load, DC 30V/10A,AC 250V/10A 3.4.3 Features: 1. Size: 75mm (Length) * 55mm (Width) * 19.3mm (Height) 2. Weight: 61g 3. PCB Color: Blue 4. There are four fixed screw holes at each corner of the board, easy for install and fix. The diameter of the hole is 3.1mm 5. High quality Single relay is used with single pole double throw, a common terminal, a normally open terminal, and a normally closed terminal 6. Optical coupling isolation, good anti-interference. 7. Closed at low level with indicator on, released at high level with indicator off 8. VCC is system power source, and JD_VCC is relay power source. Ship 5V relay by default. Plug jumper cap to use 9. The maximum output of the relay: DC 30V/10A, AC 250V/10A
  • 25. 25 Chapter-4 Sketch for Displaying Data Received Via Bluetooth on Serial Monitor CODEING /* Relay IN1 connected to PinOut2Arduino Relay IN2 connected to PinOut3Arduino Relay IN3 connected to PinOut4Arduino Relay IN4 connected to PinOut5Arduino --->you can connected to relay module 4 channel Serial data sending from Arduino Bluetooth Relay 4CH.apk Data '1'-'4' to on is Relay 1-4 Data 'A'-'D' to off be Relay 1-4 Data '9' to on ALL CH 1-4 Data 'I' to off ALL CH 1-4 */ #include <SoftwareSerial.h> SoftwareSerial mySerial (10, 11); //Pin10 RX, Pin 11 TX connected to--> Bluetooth TX, RX #define relay1 2 #define relay2 3 #define relay3 4 #define relay4 5
  • 26. 26 Char Val; Void setup () { PinMode (relay1, OUTPUT); PinMode (relay2, OUTPUT); PinMode (relay3, OUTPUT); PinMode (relay4, OUTPUT); DigitalWrite (relay1, HIGH); DigitalWrite (relay2, HIGH); DigitalWrite (relay3, HIGH); DigitalWrite (relay4, HIGH); mySerial.begin (9600); Serial.begin (9600); } Void loop () { //cek data serial from bluetooth android App If (mySerial.available () >0) { Val = mySerial.read (); Serial.println (Val); } //Relay is on If (Val == '1' ) {
  • 27. 27 DigitalWrite (relay1, LOW) ;} else if( Val == '2' ) { DigitalWrite (relay2, LOW) ;} else if( Val == '3' ) { DigitalWrite (relay3, LOW) ;} Else if (Val == ‘4’) { DigitalWrite (relay4, LOW) ;} //relay all on Else if (Val == '9') { DigitalWrite (relay1, LOW); DigitalWrite (relay2, LOW); DigitalWrite (relay3, LOW); DigitalWrite (relay4, LOW); } //relay is off else if( Val == 'A' ) { DigitalWrite (relay1, HIGH) ;} else if (Val == ‘B’) { digitalWrite (relay2, HIGH) ;} else if (Val == ‘C’) { digitalWrite (relay3, HIGH) ;} else if (Val == ‘D’) {
  • 28. 28 digitalWrite (relay4, HIGH) ;} //relay all off else if( Val == 'I' ) { DigitalWrite (relay1, HIGH); digitalWrite (relay2, HIGH); digitalWrite (relay3, HIGH); digitalWrite (relay4, HIGH); } }
  • 29. 29 Chapter-5 5. Design And Implementation A low cost and efficient smart home system is presented in our design. This system has two main modules: the hardware interface module and the software communication module. At the heart of this system is the Arduino Mega 626P microcontroller which is also capable of functioning as a micro web server and the interface for all the hardware modules. All communication and controls in this system pass through the microcontroller. Designing the Circuit
  • 30. 30
  • 31. 31 CIRCUIT DAIGRAM 5.1 Technical Specification for this project 1) A smartphone or an Android mobile which should have the android app installed in it. 2) Bluetooth receiver module – Our project will be connected to the smartphone using Bluetooth technology. 3) Controller or the main processing circuit- In this project, Arduino Uno is the main controlling / processing unit. Also, this project can be developed using PIC18F4550, AVR ATmega32 and 8051 series like: 89s51, 89c51, 89s52, 89v51RD2. 4) LCD Display – The Liquid Crystal Display is optional but shows important messages like device status once command is received from Bluetooth. 5) Relays to control devices – We have used 12volt Single push single throw relays. 6) Output devices – For the demo purpose, we connected a DC devices to a relay (12 volt DC bulb). You can connect any AC/DC devices to the remaining 3 relays. Also, Device 6 is a Buzzer.
  • 32. 32 Chapter-6 6. Pros of Home Automation 1. Security Tap your finger to turn on the lights when you get home so you worried about what’s hiding in the shadows, or in your pathways. Or automate to turn on when you aren’t home to look like you are to ward off potential robbers. Door locks are another automated home product that can increase your home security. 2. Energy Efficiency Increase your home’s energy efficiency by remotely powering off systems and appliances when they aren’t in use. In addition to the standard home automation products that give you active control, some products actively monitor systems and arm the homeowner with knowledge, insight and guidance to achieve greater control and energy efficiency. 3. Savings Home automation literally pays off. When you are able to use home systems and appliances only when needed, the savings will be apparent in the first utility bill. No more wasting money on lights left on when you aren’t home, or spending money on gas to drive home because you forgot to lock the door. Monetary savings are apparent, but you’ll also be saving time. No wasted trips home, no running through the house turning everything off, no time spent worrying about what was or wasn’t turned off. 4. Convenience Don’t you hate having to rely on neighbors to watch your house when you’re gone? With home automation, convenient control of your home is at your fingertips. You don’t have to trust someone else with your most valued possessions.
  • 33. 33 Cons of Home Automation 1. Cost of Intelligence Installing state-of-the-art features inside home results in a higher price tag for the property. The cost of an intelligent home that makes our lives convenient is high because some of the technology is relatively new. The cost of living expenses such as utilities, maintenance and repair of the technology can be expensive as well. 2. Technology Learning Curve Owning a smart home means having to learn how to use your home. Unlike traditional homes, smart home technology requires you to adapt to the innovations within your living area such as security systems, air units and a remote that controls your entire house. For the technology-savvy family, the smart home will help achieve convenience faster, but for others, it will take reading manuals and learning how-to before the benefits of convenience pay off. 3. Video Surveillance Video surveillance can be a wonderful tool in heightening security and deterring crime, but when the technology falls into the wrong hands, issues of privacy can occur. Security sensors within the doors and walls of a smart home use wireless technology to transfer signals to a central control unit that notifies emergency officials of any foreign activity.
  • 34. 34 6.1 Applications Of This Project 1. Using this project, we can turn on or off appliances remotely i.e. using a phone or tablet. 2. The project can be further expanded to a smart home automation system by including some sensors like light sensors, temperature sensors, safety sensors etc. and automatically adjust different parameters like room lighting, air conditioning (room temperature), door locks etc. and transmit the information to our phone 3. Additionally, we can connect to internet and control the home from remote location over internet and also monitor the safety. Future Development of the project. 4. Arduino based device control using Bluetooth on Smartphone project can be enhanced to control the speed of the fan or volume of the buzzer etc. 5. Home automation and Device controlling can be done using Internet of Things – IOT technology. 6. We can replace Bluetooth by GSM modem so that we can achieve device controlling by sending SMS using GSM modem.
  • 35. 35 Conclusion The home automation system has been experimentally proven to work satisfactorily by connecting sample appliances to it and the appliances were successfully controlled from a wireless mobile device. We learned many skills such as soldering, wiring the circuit and other tools that we use for this project and was able to work together as a team during this project. The Bluetooth client was successfully tested on a multitude of different mobile phones from different manufacturers, thus proving its portability and wide compatibility. Thus a low-cost home automation system was successfully designed, implemented and tested.