Remote control protocols
STFPC320
15.4
NEC remote control protocol
This remote control protocol uses pulse distance modulation. Each bit consists of a high
level of fixed time T, followed by a low level that varies in width. A space that is T represents
a logic “0” and a space that is 3T represents a logic 1. T is 0.56 ms.
The LSB is transmitted first as shown in Figure 31.
Figure 30. Pulse distance modulation
Logic 0
Logic 1
T = 0.56 ms
T
T
T
3T
Figure 31. The transmitted waveform for NEC protocol
108 ms
First frame
108 ms
Repeat frame
Note:
First frame
Repeat frame
9 ms
4.5 ms
8-bit Address
Inverted 8-bit
address
8-bit command
Inverted 8-bit
command
LSB
MSBLSB
MSBLSB
MSBLSB
MSB
0.56 ms
9 ms
2.25 ms
The above waveform is on the transmitted side. The received data by the STFPC320 after
the photo-diode is inverted from above.
54/78