会员登录: 用户名/邮件 密码 验 证 码 验证码看不清楚?请点击刷新验证码 保存信息
网站首页 新闻资讯 智能技术 遥控查询 遥控问答 遥控商城 遥控论坛
技术百科频道
智能遥控|遥控技术|资料下载
设为首页 ┊ 收藏本页   
 
赞助商链接
相关百科
 · [编码资料]红外编码格式58 S...
 · [编码资料]红外编码格式57 S...
 · [编码资料]红外编码格式61 R...
 · [编码资料]红外编码格式38 S...
智能技术>遥控技术>编码资料热门点击
 · [编码资料]红外编码格式3—NE...
 · [编码资料]红外编码格式8—Ph...
 · [编码资料]红外编码格式7-ph...
 · [编码资料]红外编码格式9—Ph...
 · [编码资料]红外编码格式1—IT...
 · [编码资料]红外编码格式60 N...
 · [编码资料]红外编码格式2—JV...
 · [编码...
 · [编码资料]红外编码格式12—X...
 · [编码资料]红外编码格式5—Sh...
 · [编码资料]红外编码格式10—P...
 · [编码资料]红外编码格式4—No...
 · [编码资料]红外编码格式69 Z...
 · [编码资料]红外编码格式40 C...
 · [编码资料]红外编码格式58 S...
您的位置:遥控网 > 智能技术 > 遥控技术 > 编码资料 > 正文
[编码资料]红外编码格式7-philips RC-5 Protocol

日期:2007-11-21 23:51:00      来源:www.sbprojects.com   作者:San Bergmans    阅读次数:4681  【 收藏此文 】 
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

RC5 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.

?/H6>
Protocol

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

RC-5 Pulse Train

The first two pulses are the start pulses, and are both logical "1". Please note that half a bit time is elapsed before the receiver will notice the real start of the message.
Extended RC-5 uses only one start bit. Bit S2 is transformed to command bit 6, providing for a total of 7 command bits. The value of S2 must be inverted to get the 7th command bit though!

The 3rd bit is a toggle bit. This bit is inverted every time a key is released and pressed again. This way the receiver can distinguish between a key that remains down, or is pressed repeatedly.
The next 5 bits represent the IR device address, which is sent with MSB first. The address is followed by a 6 bit command, again sent with MSB first.
A message consists of a total of 14 bits, which adds up to a total duration of 25 ms. Sometimes a message may appear to be shorter because the first half of the start bit S1 remains idle. And if the last bit of the message is a logic "0" the last half bit of the message is idle too.

As long as a key remains down the message will be repeated every 114ms. The toggle bit will retain the same logical level during all of these repeated messages. It is up to the receiver software to interpret this auto repeat feature.

PS: I had rather a big error on this page for quite some time. For some mysterious reason the LSB and MSB of the address and command were reversed. I can recall correcting this error before, but somehow an old version of the description must have sneaked its way up to the internet again.

Pre-defined Commands

Philips has created a beautiful list of "standardized" commands. This ensures the compatibility between devices from the same brand.
A very nice feature, often to be missed with other brands, is the fact that most devices are available twice in the table allowing you to have 2 VCRs stacked on top of each other without having trouble addressing only one of them with your remote control.
I can only show a limited list of standard commands, for this list is about all I know right now.

RC-5
Address
Device
$00 - 0 TV1
$01 - 1 TV2
$02 - 2 Teletext
$03 - 3 Video
$04 - 4 LV1
$05 - 5 VCR1
$06 - 6 VCR2
$07 - 7 Experimental
$08 - 8 Sat1
$09 - 9 Camera
$0A - 10 Sat2
$0B - 11 ?/TD>
$0C - 12 CDV
$0D - 13 Camcorder
$0E - 14 ?/TD>
$0F - 15 ?/TD>
$10 - 16 Pre-amp
$11 - 17 Tuner
$12 - 18 Recorder1
$13 - 19 Pre-amp
$14 - 20 CD Player
$15 - 21 Phono
$16 - 22 SatA
$17 - 23 Recorder2
$18 - 24 ?/TD>
$19 - 25 ?/TD>
$1A - 26 CDR
$1B - 27 ?/TD>
$1C - 28 ?/TD>
$1D - 29 Lighting
$1E - 30 Lighting
$1F - 31 Phone
?
RC-5
Command
TV Command VCR Command
$00 - 0 0 0
$01 - 1 1 1
$02 - 2 2 2
$03 - 3 3 3
$04 - 4 4 4
$05 - 5 5 5
$06 - 6 6 6
$07 - 7 7 7
$08 - 8 8 8
$09 - 9 9 9
$0A - 10 -/-- -/--
$0C - 12 Standby Standby
$0D - 13 Mute ?/TD>
$10 - 16 Volume + ?/TD>
$11 - 17 Volume - ?/TD>
$12 - 18 Brightness + ?/TD>
$13 - 19 Brightness - ?/TD>
$20 - 32 Program + Program +
$21 - 33 Program - Program -
$32 - 50 ?/TD> Fast Rewind
$34 - 52 ?/TD> Fast Forward
$35 - 53 ?/TD> Play
$36 - 54 ?/TD> Stop
$37 - 55 ?/TD> Recording

?/P>

2058
顶一下
5
踩一下
打印本页 】 【 关闭窗口
           
上一篇:[编码资料]红外编码格式8—Philips RC-6 Protocol
下一篇:[编码资料]红外编码格式6桽ony SIRC Protocol
  我要评论
   此文禁止评论
友情
链接
申请
更多
 永伟科技 
 可编程遥控器 
 263电脑城 
 谷歌 
 百度搜素 
 中国有线电视技术网 
关于遥控网   |   联系我们   |   服务条款   |   隐私保护   |   广告服务   |   友情链接   |   会员注册   |   网站帮助
Copyright © 2012 clurc.com, All Rights Reserved 版权所有 遥控网
苏ICP备06026393号