Top Banner
IR Home Automation System - Using NEC Protocol and ATMega16 Microcontroller Presented By : Sujit K Nayak
14

IR Based Home Automation

Jan 13, 2017

Download

Engineering

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IR Based Home Automation

IR Home Automation System

- Using NEC Protocol and ATMega16 Microcontroller

Presented By :

Sujit K Nayak

Page 2: IR Based Home Automation

www.ecTech.in

Introduction….

In this project, we have designed an infra red

remote receiver, using which we can

remotely operate all the electrical appliances

at our home.

Page 3: IR Based Home Automation

www.ecTech.in

Components Used…

ATmega 16L : Microcontroller

TSOP 1738 : IR Sensor

ULN2003 : Relay Driver

Relay Board to Interface Home Appliances

16x2 LCD Display

STK 200 Programmer Hardware

12 V Power supply

LM7805 5 Volt regulator and some other commonly used components.

Page 4: IR Based Home Automation

www.ecTech.in

Protocol and Programming Software…

The Protocol used in this Project is NEC.

The Programming Software (i.e Compiler

and Assembler ) we have used is

CodeVision AVR.

Page 5: IR Based Home Automation

www.ecTech.in

The NEC Protocol…

Here, encoder chip used in the remote

controller is HT6221. It is capable of

encoding 16 bit address codes and 8 bit data

codes. It contains 32 keys (K1-K32). The

programmed data/address is transmitted

together with the header bits via an IR(38kHz

carrier) transmission medium.

Page 6: IR Based Home Automation

www.ecTech.in

The NEC Protocol…

Transmission codes

The transmission codes of the HT6221 consists of a 9ms header code, a 4.5ms off code, 16 bit address code (18ms-36ms),8 bit data codes (9ms-18ms), and the inverse code of the 8 bit data codes.

The transmission codes employ the PPM (Pulse Position Modulation) method to represent their two logic states by “0” (1.12ms) and “1” (2.24ms).

Page 7: IR Based Home Automation

www.ecTech.in

NEC Protocol Timing Diagram…

Page 8: IR Based Home Automation

www.ecTech.in

NEC Protocol Timing Diagram…

Page 9: IR Based Home Automation

www.ecTech.in

STK 200.. Programmer

Page 10: IR Based Home Automation

www.ecTech.in

Main Board…

Page 11: IR Based Home Automation

www.ecTech.in

Schematic Diagram …

Page 12: IR Based Home Automation

www.ecTech.in

Conclusion…

Using this Device we can Operate Home

appliances easily and more comfortably.

Page 13: IR Based Home Automation

www.ecTech.in

References…

www.sbprojects.com

www.mcselectronics.com/library

www.en.wikipedia.com/necprotocol

www.sourceforge.net.winlirc

www.atmel.com

Page 14: IR Based Home Automation

www.ecTech.in

Thank U…