0% found this document useful (0 votes)
461 views3 pages

IR (Infrared) Remote Control Relay Board With PIC 12F675 Microcontroller

This document discusses using an IR remote control relay board with a PIC 12F675 microcontroller to control home appliances like fans or bulbs. It focuses on the common NEC infrared protocol, which uses a leading pulse, 8-bit address and inverse address, 8-bit command and inverse command, and trailing pulse. For data transmission, a 562.5us pulse represents a 0 and a 1.625ms space represents a 1. An example transmission frame showing the command and address bytes is provided. A schematic diagram of the IR remote control relay board is also included.

Uploaded by

Vimal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
461 views3 pages

IR (Infrared) Remote Control Relay Board With PIC 12F675 Microcontroller

This document discusses using an IR remote control relay board with a PIC 12F675 microcontroller to control home appliances like fans or bulbs. It focuses on the common NEC infrared protocol, which uses a leading pulse, 8-bit address and inverse address, 8-bit command and inverse command, and trailing pulse. For data transmission, a 562.5us pulse represents a 0 and a 1.625ms space represents a 1. An example transmission frame showing the command and address bytes is provided. A schematic diagram of the IR remote control relay board is also included.

Uploaded by

Vimal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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

You might also like