Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Decoding Of Infrared Remote Control

Software

Infrared Remote Control Software

This Infrared Remote Control Software project based on Microchip 16C57 microcontroller is a
reference guide to decode infrared remote control signals from television, VCR, air conditioner
or other home appliances handset that uses NEC 6121 infrared format. Once one is able to
understand how to decode an IR signal of a certain format, decoding another format can be easily
done as the flow chart is more or less the same except the timing of the new format.

The NEC 6121 format is based on pulse width timing in determining whether the data
transmitted is "1" or "0". The data "1" is determined by the pulse width timing from one
risingedge to the next rising edge of 2.24ms. The data "0" is determined by the pulse width
timing from one rising edge to thenext rising edge of 1.12ms.

Most of the transmitter are modulated using a frequency of 32.75 kHz, 35.0 kHz, 36.0 kHz, 36.7
kHz, 38 kHz, 39 kHz, 40 kHz, 41.7 kHz, 48 kHz, and 56.8 kHz. The ones that are commonly
used are 38 kHz and 40 kHz. In order to decode the received signals, the corresponding
demodulating receiver must be used.

For instance, if a modulating frequency at the transmitterused is 40 kHz, then the receiver
demodulating frequency used should be 40 kHz as well. Modulating the data is a betterdesign as
this will make the data integrity better and less susceptible to noise. The demodulating receivers
can be obtainedfrom suppliers such as Vishay, LiteOn, Sharp or Kodenshi.

One word of caution when using the IR remote control is that it is easily affected by lighting
devices that emits the infrared frequency. One such example is the fluorescent tube which emits
the infrared frequency in its operation.

When this type of lights is operating, the receiver may not be able to receive the signal from the
transmtter due to interference from the signals emitted by the flurescent tube. In situation like
this, confirm this by switching off the lights when controlling the device.

You may want to consider using RF frequency as a solution in this particular location. Another
way is to place a filter in front of the receiver to narrow the infrared window but this solution
will compromise the angle and operating distance of the infrared transmitter.
The infrared remote control software project provides the flow chart and source code and can be
downloaded from Microchip website.

You might also like