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

IR Based Home Automation

Embed Size (px)

Citation preview

IR Home Automation System

- Using NEC Protocol and ATMega16 Microcontroller

Presented By :

Sujit K Nayak

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.

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.

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.

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.

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).

www.ecTech.in

NEC Protocol Timing Diagram…

www.ecTech.in

NEC Protocol Timing Diagram…

www.ecTech.in

STK 200.. Programmer

www.ecTech.in

Main Board…

www.ecTech.in

Schematic Diagram …

www.ecTech.in

Conclusion…

Using this Device we can Operate Home

appliances easily and more comfortably.

www.ecTech.in

References…

www.sbprojects.com

www.mcselectronics.com/library

www.en.wikipedia.com/necprotocol

www.sourceforge.net.winlirc

www.atmel.com

www.ecTech.in

Thank U…