Sie sind auf Seite 1von 30

Government Science college

Hassan

Home Automation Using IOT


Students Name
Revathi H Y
Thejaswini C R
3rd BCA 6th sem
Govt Science College
Guide Name
Hassan
Sumati Behera
Dept of Comp Science
Govt Science College
Hassan
“Home automation using IOT”
CONTENTS
• Existing System

• Proposed System

• How The System Looks

. Android design

. Modular classification

. System architecture

. Block diagram of home automation

. Software Requirements in Embedded

. Hardware Components

. Software Required in Android


EXISTING SYSTEM
• While people are pursuing ever-growing high quality of their lives today.
This leads to more and more facilities and home appliances poured into
their buildings. How to control and manage these versatile facilities and
appliances in a house?

• Usually conventional wall switches are located in different corners of a


house and, thus necessitate the need of manual operations like pressing to
turn the loads on or off. It becomes very difficult for the elderly or
physically handicapped people to operate them. How to help them?
PROPOSED SYSTEM
The proposed home automation system has the capabilities to control
the following components in users home and monitor the following
alarms:

Temperature

Fire and smoke detection· Light level· The proposed home


automation system can control· the following appliance: Lights
on/off/dim· Fan on/off· On/off different appliance·
How the system looks
ANDROID DESIGN
MODULAR CLASSIFICATION
• Fan Module

ON

Fan Android
Phone

OFF

• Lights Module

ON

Lights Android
Phone

OFF
• Motor Module

ON

Android
MOTOR
Phone

OFF

• Heater Module

ON

HEATER Android
Phone

OFF
SYSTEM ARCHITECTURE
SOFTWARE REQUIREMENTS
EMBEDDED
 CVAVR cross compiler: CodeVisionAVR is a C
cross-compiler, Integrated Development Environment
and Automatic Program Generator designed for the
Atmel AVR family of microcontrollers.

AVR studio programmer: For burning


programming to microcontroller 

Embedded C: Embedded C is extensive and


contains many advanced concepts. The range of
modules covers a full introduction to C, real-time and
embedded systems concepts through to the design and
implementation of real time embedded.
HARDWARE COMPONENTS REQUIRED
Power Supply 5v DC - 7805
Micro controller - (atmega48)
Crystal - 4MHz
RS232 - - Serial Communication
LCD
Lm35 - Temperature sensor
Mq5 - Lpg sensor
GSM Modem
Micro controller atmega48
The microcontroller is at the core of every embedded module. The
ATmega168 is a low-power CMOS 8-bit microcontroller based on the AVR
enhanced RISC architecture

1/24/18
PIN Diagram Of Micro Controller Of ATmega48

The microcontroller is at the core of every embedded module. The ATmega168 is


a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC
architecture
LM 7805(VOLTAGE REGULATOR)

 Fixed voltage regulator with input 6v to 30v


Gives regulated output of 5vdc used as power
supply for microcontroller and other devices.
Temperature
sensor(LM35)
• The LM35 series is the temperature
sensor
• The range of LM35 is -55°C to
150°C. Temperature sensor ,
whose output voltage is linearly
proportional to the celsius
temperature
GSM MODEM
Modem stands for Modulation and demodulation.
For long distance data transfers using
communication lines such as a telephone, serial
data communication requires a modem to
modulate (convert 0s and 1s to signals like audio
tones) and demodulate (convert from audio tones
to 0s and 1s).
GSM modem is used for wireless data transfer.
The AT command set is the industry standard set
of commands used for setting up and
communicating with a modem. The AT commands
set of the most GSM mobile phones are same.
The GSM Terminal is ideal for embedded
applications. Modem can communicate serially by
RS232
Lpg gas sensor(mq5)
Gas Sensor(MQ5) module is useful
for gas leakage detection (in home
and industry). It is suitable for
detecting H2, LPG, CH4, CO,
Alcohol. Due to its high sensitivity
and fast response time,
measurements can be taken as soon
as possible. The sensitivity of the
sensor can be adjusted by using the
potentiometer.
RELAYS

 Relay is an electrically operated switch.


Relays allow one circuit to switch a second
circuit which can be completely separate from
the first.
 Relays can switch AC and DC, transistors can
only switch DC. Relays can switch higher
voltages than standard transistors.
OUTPUTS
SOFTWARE REQUIREMENTS
ANDROID

Generally, Android is a software stack for mobile


devices that includes an operating system,
middleware and key applications
Android is based on JAVA and all its applications
are developed in JAVA
The JAVA VM, known as Dalvik, is highly
customized and optimized for mobile devices
Android SDK offers rich tools for android
application development and many useful APIs

Development Environment

• IDE – Eclipse
• Eclipse plug-in - ADT
• Software Development
E
Kit (SDK)
• Android Emulator
• Debugger
FLOW DIAGRAM FOR EMBEDDED
CODE
THANK YOU

Bewerten