第一范文网 - 专业文章范例文档资料分享平台

红外遥控器编码协议总结

来源:用户分享 时间:2025/5/19 11:31:48 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

36) Philips RC-6 Protocol

RC-6 is, as may be expected, the successor of the RC-5 protocol. Like RC-5 the new RC-6 protocol was also defined by Philips. It is a very versatile and well defined protocol. Because of this versatility its original

definition

is many pages long. Here on

my page I will only summarize

the most important

properties of this protocol.

Features

Different modes of operation, depending on the intended use Dedicated Philips modes and OEM modes

Variable command length, depending on the operation mode Bi-phase coding (aka Manchester coding) Carrier frequency of 36kHz Manufacturer Philips

Modulation

RC-6 signals are modulated on a 36 between 25% and 50%.

Data is modulated using Manchester coding. This means that each bit (or symbol) will have both a mark and space in the output signal. If the symbol is a \half is a space. If the symbol is a \Please note that this is the opposite of the RC-5 protocol!

The main timing unit is 1t, which is 16 times the carrier period (1/36k * 16 = 444With RC-6 a total of 5 different symbols are defined:

s).

μ

kHz Infra Red carrier. The duty cycle of this carrier has to be

The leader pulse, which has a mark time of 6t (2.666ms) and a space time of 2t (0.889ms). This leader pulse is normally used to set the gain of the IR receiver unit.

41

Normal bits, which have a mark time of 1t (0.444ms) and space time of 1t (0.444ms). A \and \

Trailer bits, which have a mark time of 2t (0.889ms) and a space time of 2t (0.889ms). Again a \

The leader and trailer symbols are only used in the header field of the messages, which will be explained in more detail below.

RC-6 Mode 0

I can only describe operation mode 0 because I have never actually seen other modes in use than the one my Philips TV understands. The way I understand it the other modes can vary extremely from mode 0.

Mode 0 is a dedicated Philips Consumer Electronics mode. It allows control of up to 256 independent devices, with a total of 256 commands per device.

The command is a concatenation of different information. I will cover these different components from left to right. Header field

The Header field consists of 3 different components.

First the leader symbol LS is transmitted. Its purpose is to adjust the gain of the IR receiving unit.

This leader symbol is followed by a start bit SB which always has the value \to calibrate the receiver's timing.

The mode bits mb2 ... mb0 determine the mode, which is 0 in this case, thus all three bits will be \

Finally the header is terminated by the trailer bit TR. Please note that the bit time of this symbol is twice as long as normal bits! This bit also serves as the traditional toggle bit, which will

42

be inverted whenever a key is released. This allows the receiver to distinguish between a new key or a repeated key.

Control Field

This field holds 8 bits which are used as address byte. This means that a total of 256 different devices can be controlled using mode 0 of RC-6. The msb is transmitted first. Information Field

The information field holds 8 bits which are used as command byte. This means that each device can have up to 256 different commands. The msb is transmitted first. Signal Free Time

The Signal Free time is a period in which no data may be transmitted (by any device). It is important for the receiver to detect the signal free time at the end of a message to avoid incorrect reception. The signal free time is set to 6t, which is 2.666ms.

43

37) Philips RC-5 Protocol

The RC-5 code from Philips is possibly the most used protocol by hobbyists, probably because of the wide availability of cheap remote controls. The protocol

is well

defined

for different

device

types

ensuring

compatibility

with

your

whole

entertainment system. Lately Philips started using a new protocol called RC-6 which has more features.

Features

5 bit address and 6 bit command length (7 command bits for RC5X) Bi-phase coding (aka Manchester coding) Carrier frequency of 36kHz

Constant bit time of 1.778ms (64 cycles of 36 kHz) Manufacturer Philips

Modulation

The protocol uses bi-phase modulation (or so-called Manchester coding) of a 36kHz IR carrier frequency. All bits are of equal length of 1.778ms in this protocol, with half of the bit time filled with a burst of the 36kHz carrier and the other half being idle. A logical zero is represented by a burst in the first half of the bit time. A logical one is represented by a burst in the second half of the bit time. The pulse/pause ratio of the 36kHz carrier frequency is 1/3 or 1/4 which reduces power consumption.

Protocol

The drawing below shows a typical pulse train of an RC-5 message. This example transmits command $35 to address $05.

44

搜索更多关于: 红外遥控器编码协议总结 的文档
红外遥控器编码协议总结.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c72aqo56qe98mqar1rud16ehs64cxfu011yx_11.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top