You are on page 1of 34

HOUSE AUTOMATION USING MOBILE WITH SECURITY SYSTEM

Under the guidance of Mr. T. VENUGOPAL Assoc. Prof. ECE Department BY


1. 2. 3.

09J81A0424 09J81A0431 09J81A0450

BRIEF OVERVIEW

Embedded system Introduction, Types, Features What is House Automation ? Features of House Automation Principle and operation of House Automation Block Diagram of House Automation About Microcontroller AT89S52 Embedded C and KEIL Operation Applications/Advantages/Disadvantages Conclusion Future scope Bibliography

Embedded system Introduction


An Embedded System is one that has computer hardware with software embedded in it as one of its important components. Its software embeds in ROM (Read Only Memory). It does not need secondary memories as in a computer.

SOFTWARE PROGRAM

What Makes Embedded System Different ?

Real-Time Operation Size Cost Reliability Safety Energy Security

History of Embedded System

The first recognizably modern embedded systems was the Apollo Guidance Computer. It was developed by Charles Stark Draper at the MIT Instrumentation Laboratory in early 1960s. It was built from transistor logic and had a hard disk for main memory. Since these early applications in the 1960s embedded systems have come down in price and there has been a dramatic

CLASSIFICATIONS OF EMBEDDED SYSTEM

1.

Small Scale Embedded System

2.

Medium Scale Embedded System

3.

Sophisticated Embedded System

Components of Embedded System

It has Hardware

Ex: Timers, Processors, I/O Devices, Memory, ports.

It has main application software


which may perform concurrently the series of tasks or multiple tasks.

It has Real Time Operating System

which sets Rules during the Execution of Application program.

Processor - The Heart of Embedded


System

A Processor is considered as the Heart of Embedded System. A Processor is a Part of Central Processing Unit that Performs Calculations and other manipulations such as conversion of Program code into form of Binary code (such as 0s and 1s) which is acceptable by computer being used. Two Main Operations of Processor: Fetch data Execute data

A Typical Figure of Processor

Embedded Software

Software
C C++ dot net

Compiler
Ride Keil

Simulator
Masm

Applications of Embedded System

Household appliances

EX: microwave ovens, television, DVD players and Recorders.

Audio players Integrated systems in Aircrafts and Missiles Cellular Telephones Engine controllers in Automobiles Electronic and Electric Motor controllers Medical Equipments Videogames

House Automation using Mobile Security


Introduction

House automation with mobile refers to the use of computer or mobile and information technology to control home appliances and features (such as windows or lighting). Systems can range from simple remote control of lighting through to complex computer/micro-controller based networks with varying degrees of intelligence and automation. Home automation is adopted for reasons of ease, security and energy efficiency.

Why house automation?

Technology has surged now that it has unlocked your potential to control your appliances with out your physical presence. This project HOUSE AUTOMATION USING MOBILE SECURITY SYSTEM enables us to control Home appliances like Bulbs, Fans, Micro ovens, washing machines, Water Pumps with the Pressing of our Mobile Keys. Consequently, if you dont Remember them to Switch OFF them Before you Leave your House, you can Easily do it through your Mobile

Need for House Automation


Saves Time Saves Money (long run) When: you are in a traffic jam on the high way Self Maintenance What : you set microwave oven in a slow cooking Security mode Makes the Life Easy

Oven

Principle of House Automation


House Automation using Mobile mainly consists of three parts Microcontroller, DTMF(dual tone multiple frequency) decoder and Voice Recording and Play back device. While on a Call, if a Handset Key is pressed, a Tone Analogous to Key pressed is Heard on the other side. This Tone Received (DTMF tone) is Processed by the Micro controller with the Aid of a DTMF decoder. The Decoder further Translates the Tone into corresponding Binary digit and sent to microcontroller to perform corresponding

Block Diagram of House Automation


Power Supply 5v IR pairs Micro Controller AT89S52 Driver Mobile Relay1 Buzzer

DTMF Rx IC

DTMF (Dual Tone Multi Frequency Signaling)

Dual-tone multi-frequency signaling (DTMF) is used for telecommunication signaling over analog telephone lines in communications devices and the switching center. The version of DTMF that is used in push-button telephones for tone dialing is known as Touch-Tone. DTMF tone Dialling system is used by the Push button Keypads in Telephones and Mobile sets to convey the Number or Key dialled by the caller. DTMF uses a combination of two sine wave Tones to represent a key. These Tones are called Row and Column frequencies as they correspond to layout of Telephone Keypad.

DTMF keypad layout

Relay

A relay is an electrical switch that opens and closes under the control of another electrical circuit. The switch is operated by an electromagnet to open or close one or many sets of contacts. A relay is able to control an output circuit of higher power than the input circuit, it can be considered to be, in a broad sense, a form of an electrical amplifier.

A DPDT AC coil relay with "ice cube" packaging

Microcontroller
A microcontroller ( abbreviated as C, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of OTP ROM is also often included on chip, as well as a typically small amount of RAM. Microcontrollers are designed for embedded applications.

Micro controller

Microcontroller AT89S52

The Atmel AT89 series is an Intel 8051-compatible family of 8 bit microcontrollers (Cs) manufactured by the Atmel Corporation. The AT89S52 is a lowpower, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmels high-density non volatile memory technology and is compatible with the industry standard 80C51 instruction set and pin out.

AT89S52 Micro controller

Features of AT89S52 - MCU


Compatible with MCS-51 Products 8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 1000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz Three-level Program Memory Lock 256K Internal RAM 32 Programmable I/O Lines 3 16-bit Timer/Counter Eight Interrupt Sources Full Duplex UART Serial Channel Low-power Idle and Power-down Modes Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer Power-off Flag

Block Diagram of AT89S52 MCU

FIG : BLOCK DIAGRAM OF AT89S52

Pin Description of AT89S52

FIG : PIN DIAGRAM OF AT89S52

Embedded C
Embedded C is a set of language extensions for the C Programming language by the C Standards committee to address commonality issues that exist between C extensions for different embedded systems. Historically, embedded C programming requires nonstandard extensions to the C language in order to support exotic features such as fixed-point arithmetic, multiple distinct memory banks, and basic I/O operations. In 2008, the C Standards Committee extended the C language to includes a number of features not available in normal C, such as, fixed-point arithmetic, named address spaces, and basic I/O hardware addressing. Embedded C use most of the syntax and semantics of standard C, e.g., main() function, variable definition, data type declaration, conditional statements (if, switch. case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc.

Micro vision Keil (IDE)

Keil is a cross compiler. Compilers are programs used to convert a High Level Language to object code i.e source code into object code. A cross compiler is similar to the compilers but we write a program for the target processor (like 8051 and its derivatives) on the host processors (like computer) It means being in one environment you are writing a code for another environment is called cross development. By using this compilers not only can development

Keil C cross compiler


Keil

Software provides software development tools for the family of microcontrollers, they are IDE (Integrated Development environment) Project Manager Simulator Debugger C Cross Compiler , Cross Assembler, Locator/Linker

8051 project development cycle


These are the steps to develop microcontroller project using keil

1. Create source files in C or assembly. 2. Compile or assemble source files. 3. Correct errors in source files. 4. Link object files from compiler and assembler. 5. Test linked application.

OPERATIO a N The project usesareMobile to control the loads. The commands received by the micro controller through
level shifted IC. The DTMF decoder IC is used to decode the DTMF tone from the user. When any digit is pressed by the user, it will be converted into binary code and then the code is given to the microcontroller. When the program is executed, it drives relay from the microcontroller through relay driver IC. Loads are switched ON and switched OFF based on the corresponding command sent from the keypad. As per the program, the loads will be turned ON and OFF through the relays.

Advantages of House Automation

Convenience...

An automated home is about the convenience of saving your time and effort by having your home automatically do routine functions such as watering your grass (but only if it has not rained recently), or turning off all lights, setting the thermostat to economy mode and arming the security system when you retire for the night.

Security...

Home automation is about the security you have knowing that you can look in on your home remotely from anywhere in the world.

Savings...

And its about the energy savings you will enjoy by assigning your home the responsibility of regulating the operation of lights, water heater, HVAC system, entertainment components, appliances and irrigation system so these devices are on only when needed.

Disadvantages

Costs mainly include equipment, components, furniture, and custom installation. Ongoing costs include electricity to run the control systems, maintenance costs for the control and networking systems, including troubleshooting, and eventual cost of upgrading as standards change. Increased complexity may also increase maintenance costs for networked devices. Control system security may be difficult and costly to maintain.

Applications of House Automation in industrialized nations, most homes have In modern construction

been wired for electrical power, telephones, TV outlets (cable or antenna), and a doorbell.

Control of Home Appliances Home Security Alarm Monitoring Control of home robots, using if necessary domotic electric beacon.

Lighting Control System


Motion sensors Magnetic contact sensors for doors / windows Glass break detectors

Pressure sensors
Presence Simulation Detection of fire, gas leaks and water leaks (see fire alarm and gas alarm) Medical alert / teleassistance.

Conclusion

Home Automation makes our life easier, it makes our life more comfortable, it saves our energy, it gives us more security . With a few more changes it can be made a little more advanced for future enhancement. Can be used for High voltage A.C Applications by changing the ratings of the Relay. We can also add some security features in the circuit. Like using password . In future we can add a multimedia camera to this to see what is going inside the home from somewhere. The system can be built using field programmable gate array (FPGA) instead of micro controller so that the system can be programmed easily.

Bibliography

Home automation From Wikipedia, the free encyclopedia www.wikipedia.org www.national.com http://thesai.org/Downloads/Volume1No6/Paper_10Microcontroller_Based_Home_Automation_System_With_Se curity.pdf www.atmel.com www.microsoftsearch.com www.geocities.com

You might also like