Smart Home Control Using Labview

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 26

Smart Home Control

Using LabVIEW
Capstone Project (EEE4099)
Angalaeswari (Internal Guide)
By
Sai Chaitanya (16BEE1156)
Narasimha Reddy (16bee1097)
K Siddhartha  (16bee1202)
Introduction

Smart home is a setup that uses information technology to monitor


the environment, control the electric appliance and communicates
with the outer world. 
This system is based on LabVIEW software and can act as a
security guard of the home. The system can monitor the
temperature, humidity, lighting, fire & burglar alarm, gas density
of the house and have infrared sensor to guarantee the family
security.
Motivation
• Tried to implement in our project is to implement a smart house
technology which incorporates the applications of IOT and
provide the necessary security features to tackle the theft issues
face by major households.

• What really motivated us to implement this project is to provide


a smart house interface which can be easily understood and
implemented and make a few changes, if necessary. This
project  incorporated through  the usage of LabVIEW which can
be programmed graphically.

• A smart house can do regular things in a comfortable way


without consuming much time. Technology transforms the way
we live and interact with our environment. 
Design Approach

• The reason why we use PIR sensor is that it is inexpensive and


it can easily be integrated with the Arduino.

• The reason why we use PIR sensor is that it is inexpensive and


it can easily be integrated with the Arduino.

• The sensors are linked and processed according to the specified


program, and then logical output to the whole power system in
the house. 
Abstract
This project is solely based on the IOT application of Smart
Home. 
This is the day and age of smart devices. Companies are looking to
transform the way humans interact with the environment. So
digital technologies such as IOT is gaining popularity across the
globe.  
Trying to implement a model which uses less hardware
components and focusses more on the implementation using
software. Also trying to implement this model without using a
simulation software such as MATLAB.
Objective
The main objective of this project is to implement 5 subsystems namely:

Internal Lighting System

External Lighting System

Burglar Alarm

Temperature 

Smoke Detector

The other main objective is to monitor the sensor data on the front panel of
LabVIEW.
LabVIEW

The main purpose of using LabVIEW is it gives accurate and


precise desired values. 
And the other main advantage is the lack of code blocks. If anyone
is interested in working with other simulation softwares such as
MATLAB for monitoring the sensor data, then they are expected to
code in MATLAB. 
But with the help of LabVIEW, they will be able to incorporate
graphical programming technique and monitor the sensor data
continuously. 
LabVIEW

The whole project has been initially designed using my rio for
interfacing the sensors with LabVIEW. But due to cost constraints
and my rio being too expensive for common use, we have decided
to use Arduino and wireless transmission RF link for interfacing
the sensors.
Arduino UNO has been used to gather input via sensors and
process this input into a set of actions.
We have used ZigBee for the wireless transmission of the sensor
data.
Design Specifications
Hardware And Software
Requirements
LabVIEW software 

Arduino UNO Board

LM35 sensor (temperature)

PIR sensor (Burglar and lighting)

MQ2 sensor (smoke detector) 

LDR sensor (external lighting)

ZigBee transmitter and receiver modules

Relay unit
Block Diagram
Working

The Home side of the model comprises of all the sensor units
connected to the Arduino. And it gathers input via the sensors and
process this input into a set of actions.
This sensor data is sent to the Control side using a pair of ZigBee
modules. The transmission range of ZigBee is unto 100 metres.
On the Control side front, we are monitoring the sensor data
continuously. We can control the switching on and off actions of
the external and internal lighting systems. 
Module 1 (External and Internal Lighting subsystem)

• This internal lighting subsystem comprises of PIR motion


sensor along with light bulb load and LabVIEW software.

• This subsystem corresponds to the automatic lighting inside the


house when the motion sensor detects any movement.

• This data is continuously monitored by the LabVIEW. So, this


sensor data is sent to the LabVIEW side via the transmitter and 
receiver modules of ZigBee.
Module 2 (Temperature subsystem)

• Temperature subsystem is mainly deployed in smart houses to


determine the temperature of the living space. The sensor which
is primarily used in this subsystem is LM35 which is called the
temperature sensor.

• The sensor which is primarily used in this subsystem is LM35


which is called the temperature sensor.

• Temperature sensor plays a very important role in determining


the temperature of the living space.

• This data istransmitted to the LabVIEW side via the transmitter


and the receiver modules of theZigBee.
Module 3 (Smoke Detector Subsystem)

• This subsystem is mainly used to detect the smoke which is the


result of a fire breakout in the house. 

• Smoke can be a result of LPG leakage as well. The main sensor


which is used in this subsystem is the MQ2 smoke detector
sensor.

• This sensor is directly integrated to the Arduino which is pre-


equipped with code which corresponds to that particular sub-
system.
Module 4 (Burglar Subsystem)

• PIR motion sensor is mainly used for this purpose. PIR sensor
can be placed near a window or a door. The Arduino is pre-
equipped with relevant code corresponding to the subsystem.

• Whenever the PIR sensor detects movement within its operating


range, it sends a signal to the Arduino.

• The reason why we use PIR sensor is that it is inexpensive and


it can easily be integrated with the Arduino.
Hardware
LM35 Sensor
LM35 is a basic temperature sensor that can be used for
experimental purpose.It gives the readings in centigrade(degree
Celsius)since its output voltage is linearly proportional to
temperature.
LM35 Sensor

One of the most important characteristic of LM35 is that it draws


just 60 microamps from its supply and acquires a low self-heating
capacity.
LM35 shows high voltage values than thermocouples and may not
need that the output voltage is amplified.
PIR Sensor
A PIR or a Passive Infrared Sensor can be used to detect presence of human
beings in its proximity. 

A  PIR sensor detects the infrared light radiated by a warm object. It consists
of pyro electric sensors which introduce changes in their temperature (due
to incident infrared radiation) into electric signal.

The range of PIR sensor ranges from 5 metres to 12 metres. This sensor is
directly connected to the buzzer.

When the sensor detects any object or a human presence within the range,
then the sensor sends a high to low signal to the buzzer.
MQ2 Sensor
MQ2 gas sensor is an electronic sensor used for sensing the
concentration of gases in the air such as LPG, propane, methane,
hydrogen, alcohol, smoke and carbon monoxide.

MQ2 gas sensor is also known as chemiuresistor. It contains a


sensing material whose resistance changes when it comes in
contact with the gas. This change in the value of resistance is used
for the detection of gas.

This sensor is directly connected to the exhaust fan. When this sensor
detects smoke within its range of operation, it sends a high to low
signal to the exhaust fan.
LabVIEW Front Panel
LabVIEW Block Diagram
Result
Summary

LabVIEW continuously monitors the sensor data. This can be


observed from the front panel. We can also control the switching
ON and OFF operation of the LED via LabVIEW.
Date and Time are also indicated on the front panel. All the
components are working perfectly fine and we have achieved the
desired results.
References

Sleman A; Alafandi, M Moeller,”Integration of Wireless Fieldbus


and Wired Fieldbus for Health Monitoring”,Consumer Electronics,
2009. ICCE '09. Digest of Technical Papers International
Conference on 10-14 Jan. 2009 Page(s):1 - 2 

You might also like