其他分享
首页 > 其他分享> > NEC Infrared Transmission Protocol

NEC Infrared Transmission Protocol

作者:互联网

文章目录

注:由于担心参考链接可能失效,故此将链接指向的文档转载至此。如果因此侵删了您的权利,请联系我,我将在收到通知之后删除相应的内容。

NEC Infrared Transmission Protocol

The NEC IR transmission protocol uses pulse distance encoding of the message bits. Each pulse burst (mark – RC transmitter ON) is 562.5µs in length, at a carrier frequency of 38kHz (26.3µs). Logical bits are transmitted as follows:

When transmitting or receiving remote control codes using the NEC IR transmission protocol, the WB_IRRC performs optimally when the carrier frequency (used for modulation/demodulation) is set to 38.222kHz.

When a key is pressed on the remote controller, the message transmitted consists of the following, in order:

The four bytes of data bits are each sent least significant bit first. Figure 1 illustrates the format of an NEC IR transmission frame, for an address of 00h (00000000b) and a command of ADh (10101101b).

在这里插入图片描述

Figure 1. Example message frame using the NEC IR transmission protocol.

Notice from Figure 1 that it takes:

REPEAT CODES

If the key on the remote controller is kept depressed, a repeat code will be issued, typically around 40ms after the pulse burst that signified the end of the message. A repeat code will continue to be sent out at 108ms intervals, until the key is finally released. The repeat code consists of the following, in order:

Figure 2 illustrates the transmission of two repeat codes after an initial message frame is sent.

在这里插入图片描述

Figure 2. Example repeat codes sent for a key held down on the transmitting remote controller.

参考

NEC Infrared Transmission Protocol

标签:Protocol,burst,Transmission,NEC,pulse,ms,message,bit
来源: https://blog.csdn.net/qq_29761395/article/details/118652862