IR(infrared) Remote Control Relay Board with PIC 12F675
Microcontroller
Introduction
This little project will demonstrate how you can use your old NEC IR protocol based TV,DVD or VCR
remote control to control you home appliances like fan bulb or virtually anything.
Consumer IR protocols
There are a number of consumer Infrared protocols out there and they have been used for every
single purpose possible i guess, like PDA laptops and other consumer appliances. RC-5 & RC-6 by Phillips
, RCA are few examples of consumer IR protocols.
In this demonstration we will stick the to NEC protocol by NEC corporation,
www.facebook.com/ELECTRONICS.LOVERZ
NEC Infrared Protocol
A 9ms leading pulse burst (16 times the pulse burst length used for a logical data bit)
A 4.5ms space
The 8-bit address for the receiving device
The 8-bit logical inverse of the address
The 8-bit command
The 8-bit logical inverse of the command
Final 562.5µs pulse burst to show end of message transmission.
Bit Timing
Logical '0' – a 562.5µs pulse burst followed by a 562.5µs space, with a total transmit time of 1.125ms
Logical '1' – a 562.5µs pulse burst followed by a 1.6875ms space, with a total transmit time of 2.25
The transmission of 0 and 1 is shown in the image blow
There are four bytes of data bits are being sanded in least significant bit first order the figure blow
shows the format of an NEC IR transmission frame, for a command of 0xB1 (10110001b) and an address
of 0x8D (10001101b) .
Schematic Diagram
For Code Inbox us On Our face book page
www.facebook.com/ELECTRONICS.LOVERZ