Smart Home AutoMation
Smart Home AutoMation
on
“Smart Home Automation”
Submitted by
Soumitrey S. Khare
Nakul S. Patil
Varun D. Wagh
Sanskar S. Mali
ZES’s
ZEAL POLYTECHNIC, PUNE-41
1
Certificate
This is to certify that Mr. Khare Soumitrey Sudhir from ZEAL POLYTECHNIC having Enrollment No.
2009880063 has completed Semester VI Project Report having title Smart Home Automation a group
consisting of 4 persons under the guidance of the faculty Guide Prof. Swapnil Nikam.
Date:
2
Certificate
This is to certify that Mr. Patil Nakul Sudhir from ZEAL POLYTECHNIC having Enrollment No.
2009880051 has completed Semester VI Project Report having title Smart Home Automation a group
consisting of 4 persons under the guidance of the faculty Guide Prof. Swapnil Nikam.
Date:
3
Certificate
This is to certify that Mr. Wagh Varun Dnyandev from ZEAL POLYTECHNIC having Enrollment No.
20098800659 has completed Semester VI Project Report having title Smart Home Automation a group
consisting of 4 persons under the guidance of the faculty Guide Prof. Swapnil Nikam.
Date:
4
Certificate
This is to certify that Mr. Mali Sanskar Suresh from ZEAL POLYTECHNIC having Enrollment No.
2009880037 has completed Semester VI Project Report having title Smart Home Automation a group
consisting of 4 persons under the guidance of the faculty Guide Prof. Swapnil Nikam.
Date:
5
ACKNOWLEDGEMENT
I express my deep sense of admiration and gratitude to project guide Prof. Swapnil Nikam,
Lecture, Department of Electrical Engineering, Zeal Polytechnic, Narhe, Pune, for his invaluable
encouragement, helpful suggestions and supervision throughout the course of this work. His willingness,
patience and optimistic attitude could lead to completion of this project work. I am also thankful to for moral
support Prof. Mandale R.K.
Date:
6
Index
Page.
Sr. No Content
No
1. Abstract 8.
2. Introduction 9.
6. Software 32.
9. Advantages 39.
7
1. Abstract
Home automation system achieved great popularity in the last decades and it increases
the comfort and quality of life. In this project an overview of current and emerging home
automation systems is discussed. Nowadays most home automation systems consist of a
smartphone and microcontroller. A smart phone application is used to control and monitor the
home appliances using different type of communication techniques. In this project the working
principle of different type of wireless communication techniques such as Wi-Fi, Bluetooth, and
GSM are studied and their features are compared with each other so the users can choose
their own choice of technology to build home automation system. More over in this research
work the survey of different home automation systems is discussed and their advantages.
The modern home automation system gives security and blissful life at residence. That
is why the popularity of using home automation technology is increasing day by day. Our
paper proposed the design and implementation of home automation, monitoring, and home
security through the bluthooth. Our system focuses on the residence to make a smart wireless
home security system that sends an email with a picture to the homeowner if any trespass
enters into the residence and also gives an alarm if any fire accident happened. Our system
can control and monitor the house temperature, humidity, flame condition and all home
devices from anywhere. To update data our system takes just 3 seconds. As a result, a
concern person can take necessary steps rapidly. Our system can be controlled via many
ways like the smartphone, voice control and electrical switch. Our proposed method has a
small cost design, user flexible interface and simple installation in a house. Through Bluthooth
technology, the user can minimize the wastage of electrical power by proper monitoring and
controlling.
8
2. Introduction
(Fig. 2.1)
Home Automation enables you to use your home's Lighting, Heating and home
appliances (such as washing machines, dishwashers and tumble driers) more conveniently
and efficiently. And, at the same time giving you greater levels of comfort and security. Home
automation or domestics is building automation for a home, called a smart home or smart
house. A home automation system will monitor and/or control home attributes such as
lighting, climate, entertainment systems, and appliances. It may also include home security
such as access control and alarm systems. When connected with the Internet Home
9
automation has high potential for sharing data between family members or trusted individuals
for personal security and could lead to energy saving measures with a positive environmental
impact in the future. While there are many competing vendors, there are increasing efforts
towards open-source systems. However, there are issues with the current state of home
automation including a lack of standardized security measures and deprecation of older
devices without backwards compatibility. Home automation can quickly bring the future in to
our homes by incorporating security, climate, and household gadgets and transforms our
regular home into a futuristic smart home. These smart home systems can be used for simple
or elaborate tasks by integrating devices and gadgets inside and outside of your home. A
simple definition for home automation is the ability to do tasks automatically and monitor or
change status remotely. Common tasks include turning off lights when no one is in the room,
locking doors via smartphone, automates air condition systems that can sense and memorize
temperature settings and appliances that help you reduce the time you spend in the kitchen.
Home Automation is automation of home, housework or household activity. In
otherwards it refers to use of IT/computer to control home appliances. It integrates electrical
devices in a house with each other. For example: It can include centralized control of lighting,
appliances, security lock of gates & doors to provide improved convenience, comfort, energy,
efficiency and safety. In today's IT world, home automation is being popular due to easiness,
flexible means of viewing/monitoring and controlling the appliances and other things
according to users’ comfort and needs. The challenging parties in simplicity and cost of
installing them in home and varies with increasing number of services to be monitored and
controlled. This project named 'HOME AUTOMATION’ is idea of home automation using
Arduino. The popularity of home automation has been increasing greatly in recent years due
to considerable affordability and simplicity through smartphone and tablet connectivity.
10
3. Literature Review
➢ Home automation is the automatic control of electronic devices in your home. These
devices are connected to the Internet, which allows them to be controlled remotely. With
home automation, devices can trigger one another so you don't have to control them
manually via an app or voice assistant.
➢ Security - We all lead busy lives, with almost all members of a home heading off to
work or school. This means our empty homes become vulnerable to attacks if the right
measures aren’t taken.
➢ Management - A home automation system helps you manage your home well.
➢ The benefits of home automation include safety, convenience, control, comfort, and
energy savings.
➢ Home automation increases safety and security by letting you create a chain reaction
from one single event such as someone walking up to your porch.
➢ Home automation is convenient and creates comforting routines that can improve
peace of mind.
11
➢ It can save energy by programming your lights and thermostat to turn off automatically
when you’re not at home.
12
4. Block Diagram
13
5. HARDWARE COMPONENTS
14
Arduino UNO Power Overview:
• External power supply voltage: 7V to 12V DC
• USB power or externally via barrel jack connector
Pin Function
vin Voltage from external power jack
5V 5V output from on-board voltage regulator chip
3.3V 3.3V output from on-board voltage regulator chip
Gnd 3 pins for ground
IOREF Tied to 5V, tells Arduino shields voltage level from which Arduino board
operates
Reset From RESET pin on MCU, tied to VCC through 10K resistor, pull to GND
to reset
15
• It has Two-wire Interface COM
• Pin A4 is SDA pin for data • Pin A5 is SCL pin for clock.
Features:
The key features of Arduino include:
• The Microcontroller boards are capable of detecting signals (analog or digital)
from different sensors and convert the input into an output by triggering a
response such as activating a motor, turning a LED on or off, and many other
actions.
Advantages:
Arduino boards are widely used in making different engineering projects and different
applications.
The Arduino software is simple and adequate for projects and it runs on Windows,
Mac, and Linux.
Arduino is utilized in schools to make low cost scientific instruments in order to verify
16
the principles of chemistry and physics. Arduino is preferred over other
microcontrollers because:
• Simpler working process due to its friendly programming environment and
USB availability.
• It is inexpensive.
• It uses a Cross-platform application.
• It has a clear and simple programming environment.
• It has an open source and extensible software.
• It has an open source and extensible hardware.
Sample Code:
void setup()
{
pinMode(LED_PIN, OUTPUT); // Configure pin 13 to be a digital output.
}
void loop()
{
digitalWrite(LED_PIN, HIGH); // Turn on the LED.
delay(1000); // Wait 1 second (1000 milliseconds).
digitalWrite(LED_PIN, LOW); // Turn off the LED.
delay(1000); // Wait 1 second.
}
17
5.2. Relay Channel:
A Relay is a simple electromechanical switch. While we use normal switches to close
or open a circuit manually, a Relay is also a switch that connects or disconnects two circuits.
But instead of a manual operation, a relay uses an electrical signal to control an
electromagnet, which in turn connects or disconnects another circuit.
18
energizing of relay.
The 4 Channel Relay Module is a convenient board which can be used to control high
voltage, high current load such as motor, solenoid valves, lamps and AC load. It is designed
to interface with microcontroller such as Arduino, PIC and etc. The relay module function is
mainly to switch electrical devices and systems on or off. It also serves to isolate the control
circuit from the device or system being controlled. Home automation relays are trigger devices
that will activate another appliance. This could be a light fixture or a garage door. You can
use smart home automation relay modules in many different situations to make your home
more interconnected.
19
relay is the switch which can interrupt this flow of electricity. It does this by opening up some
contacts which breaks the circuit.
Pin Configuration:
20
5. Normally Open (NO) The other end of the load is either connected to NO or
NC. If connected to NO the load.
Features:
1. Relay COIL voltage for turning ON: 12V
2. Maximum current allowed trough each POLE pins: 1A
3. Operate Time (Time taken for each POLE to move second position after powering
COIL):6ms
4. Release Time (Time taken for each POLE to return to Initial position after withdrawing
power from COIL): 4ms
5. Maximum load the relay can handle: 60 Watt
Applications:
1. A relay circuit is used to realize logic functions. They play a very important role in providing
safety critical logic.
2. Relays are used to provide time delay functions. They are used to time the delay open and
delay close of contacts.
3. Relays are used to control high voltage circuits with the help of low voltage signals. Similarly
they are used to control high current circuits with the help of low current signals.
4. They are also used as protective relays. By this function all the faults during transmission
and reception can be detected and isolated.
21
5.3 Bluetooth Module:
HC 05 Bluetooth module is a module that allows wireless communication between
microcontrollers or between a microcontroller and a device with Bluetooth capability.
Description of pins:
1. Enable - This pin is used to set the Data Mode or and AT command mode (set high).
23
5.4. LED:
An LED or a Light Emitting Diode is semiconductor device that emits light due to
Electroluminescence effect. An LED is basically a PN Junction Diode, which emits light when
forward biased. Light Emitting Diodes are almost everywhere i.e., LEDs in Cars, Bikes, Street
Lights, Home Lighting, Office Lighting, Mobile Phones, Televisions and many more.
24
2. Small Size
3. Fast Switching
4. Physically Robust
5. Long Lasting
Because of these advantages, LEDs have become quite popular among a large set of
people Electronics Engineers, Electronic Hobbyists and Electronics Enthusiasts often work
with LEDs for various projects. As mentioned in the introduction, an LED is a semiconductor
light source. It consists of a PN Junction Diode and when voltage is applied to the LED,
electrons and holes recombine in the PN Junction and release energy in the form of light
(Photons). The light emitted by an LED is usually monochromatic i.e., of single color and the
color is dependent on the energy band gap of the semiconductor.
Light Emitting Diodes can be manufactured to emit all the wavelengths of visible
spectrum i.e. from Red (620nm to 750nm) to blue – violet (380nm to 490nm). The electrical
symbol of an LED is similar to that of a PN Junction Diode. The following image shows a Red
LED along with symbols of PN Junction Diode and LED.
25
(Fig. 5.5. LED Bulb)
LEDs run on direct current (DC), whereas mains current is alternating current (AC) and
usually at much higher voltage than the LED can accept. LED lamps can contain a circuit for
converting the mains AC into DC at the correct voltage. These circuits contain rectifiers,
capacitors, and may have other active electronic components, which may also permit the lamp
to be dimmed. In an LED filament lamp, the driving circuit is simplified because many LED
junctions in series have approximately the same operating voltage as the AC supply.
Specification:
• Wattage: 0.5 Watt
• Long Life Up to: 30000 Hours
26
• Material Plastic
• No Mercury Content, No UV Radiation
• Instant Start
Features:
1. Energy Saving the LEDs are extremely efficient low energy light sources.
2. Light gains. In 2005 the white LEDs reached outputs of over 30 lumens Watt and color
versions 50 lumens/Watt. The light gains continue to grow-doubling about every two years.
3.Long operational life up to 50,000 hours.
4. Compact light source no other lamp possesses such small dimensions for a comparative
light output.
5. No radiation: the LEDs do not emit ultraviolet (UV) or infrared (IR) radiation. They do not
radiate heat in the direction of the illuminated object-they can be used to illuminate materials
that fade easily like food, works of art etc.
6. Durable lamps: The LEDs are durable against impact and vibration.
7. Dimmable LEDs the LEDs can be dimmed.
8. Color lamps Color light can be produced effectively-over two million colors.
Applications:
• LED lamps used in Display lighting.
• LEDs used in display case, museum and shop lighting.
• LED lamps used in underwater lighting.
• LEDs used in outside lighting.
• LED lamps used in sign lighting.
27
5.6. Jumper Wire:
A jump wire (also known as jumper wire, or jumper) is an electrical wire, or group of them
in a cable, with a connector or pin at each end (or sometimes without them-simply "tinned"),
which is normally used to interconnect the components of a breadboard or other prototype or
test circuit, internally or with other equipment or components, without soldering.
There are different types of jumper wires. Some have the same type of electrical connector
at both ends, while others have different connectors. Some common connectors are Solid tips-
are used to connect on/with a breadboard or female header connector. The arrangement of the
elements and case of insertion on a breadboard allows increasing the mounting density of both
components and jump wires without fear of short-circuits. The jump wires vary in size and color
to distinguish the different working signals.
1. Crocodile clips- are used, among other applications, to temporarily bridge sensors, buttons
and other elements of prototypes with components or equipment that have arbitrary
connectors, wires, screw terminals, etc.
2. Banana connectors are commonly used on test equipment for DC and low-frequency AC
signals.
28
3. Registered jack - are commonly used in telephone (RJ11) and computer networking (RJ45).
4. RCA connectors-are often used for audio, low-resolution composite video signals, or other
low-frequency applications requiring a shielded cable.
5. RF connectors-are used to carry radio frequency signals between circuits, test equipment,
and antennas.
Specifications:
Housing Material PVC
Metal Material Copper
No. of Metal Single
Diameter of Copper Wire 0.6mm
Diameter of Insulation Level 1.3mm
Height (mm) 8mm
No. of Wire Each Strip 14 Wire
Color Multi Color Mixed
Features:
1. Durable
2. Quality assured
3. 9 Different colors availability
4. Economical
29
5.7. Adapter:
An (electrical) adapter or adaptor is a device that converts attributes of one electrical device
or system to those of an otherwise incompatible device or system. Some modify power or signal
attributes, while others merely adapt the physical form of one electrical connector to another.
An AC adapter, also called a "power cube" or "recharger" is a small power supply that
changes household electric current from mains voltage (either 120 or 230 volts AC) to low
voltage suitable for consumer electronics.
Specifications:
• Accessories Screwdriver and USB connecting cable and power adapter and power cord
• Power adapter AC input 100-240V DC output 12V 2.0A
• Material: Aluminum
• Dimension: 187(L) 108(W) 31(H) mm
30
• Weight 216gm
Applications:
• Power supplies for LCD computers monitors.
• Power supplies for TV.
• Power adapter and chargers for range of audio applications.
• Power adapter and chargers for cell and mobile phones.
• Power Supplies for Major supplies.
31
6. Software
But not all people can make the applications. They require some medium to get their
business on an application or an app. One way is to hire app developers. It can prove to be
costly for some new business setters or the businessmen can be living in some remote part
of the country where app developers are not present. Hence, to make app development
easier MIT provides us with the MIT app inventor. This is a platform that makes app
development easy for anyone who knows to code or not. App Inventor is a cloud-based tool,
by which you can build Android applications using a web browser. This website offers all the
support you’ll need to learn how to build your own apps.
32
6.2. Arduino Software:
The Arduino software (IDE) is an open-source software, which is used to program the
Arduino boards, and is an integrated development environment, developed by Arduino. Allow
to write and upload code to Arduino boards. And it consisted of many libraries and a set of
examples of mini-projects. Arduino software (IDE) is compatible with different operating
systems (Windows, Linux, Mac OS X), and supports the programming languages (C/C++),
and Embedded C. The Arduino software is easy to use for beginners or advanced users. It
uses to get started with electronics programming and robotics, and build interactive
prototypes. So, Arduino software is a tool to develop new things. and create new electronic
projects, by Anyone (children, hobbyists, engineers, programmers, … etc).
A standard API which is also known as the Arduino Programming Language is inspired
by the Processing language and used with a modified version of the Processing IDE. In
addition to using traditional compiler toolchains, the Arduino project provides an integrated
development environment (IDE) and a command line tool developed in Go. The Arduino
project began in 2005 as a tool for students at the Interaction Design Institute Ivrea,
Italy,[3] 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.
33
7. Smart Home Automation Coding:
34
35
36
37
8. Circuit Diagram
38
9. Advantages
• The main advantage of “Home Automation by using mobile application is that the
physically challenged & disabled people”.
• Home automation is very handy (easy to use).
• Save Electrical Energy.
• You can control your home’s temperature from anywhere.
• You can see who’s at your door without getting up.
• You can receive alerts if there’s a water leak or another issue.
• You can turn off all the lights in your home with one click.
• Improved quality of life.
• Increased property value.
10. Disadvantage
39
11. Project Images
40
41
42
11. Conclusion
Home automation using Bluetooth was discussed in this paper. In all techniques,
researchers addressed control of device using Bluetooth and internet/wired.
Researchers are used various type of microcontroller to control the appliances. Mostly
people, However, the researcher Not addressed if the person forgot to switch off the
devices. Researchers need to address this problem also. Further, the work can be
extended in the following way. Monitor the erson heartbeat, when person sleep,
heart rate drops to 45-55 bps. If the heart rate lies between the ranges, we can
automatically turn off the device which is, attached to the mobile. This technique
gives complete automation of the home appliances.
43