⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 菲利普rc5红外遥控协议.mht

📁 制作范例:一个简单实用的PC遥控器2 需要的话请去下载
💻 MHT
📖 第 1 页 / 共 4 页
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject: Untitled Document
Date: Tue, 26 Oct 2004 09:18:04 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	boundary="----=_NextPart_000_000B_01C4BB3C.B2BD5180";
	type="text/html"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C4BB3C.B2BD5180
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://users.pandora.be/davshomepage/rc5.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Untitled Document</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META=20
content=3D"pic16f84 i2c rc5 JVC panasonic daewoo sony infrared remote =
protocol code"=20
name=3Dkeywords>
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 vLink=3D#9900ff link=3D#00ff00 bgColor=3D#cccccc>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D607 border=3D0>
  <TBODY>
  <TR>
    <TD width=3D607 height=3D50><FONT size=3D5><B><FONT =
color=3D#333333>Phillips RC5=20
      infrared remote protocol =
page</FONT></B></FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D3 cellPadding=3D0 width=3D640 border=3D0>
  <TBODY>
  <TR>
    <TD width=3D634><FONT size=3D2>Most audio and video systems are =
equipped with=20
      an infrared remote control.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>A common used standard protocol for =
infrared=20
      data communication is the RC5 code, originally</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>developed by Phillips. This code has =
an=20
      instruction set of 2048 different instructions and is divided into =
32=20
      address</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>of each 64 instructions. Every kind =
of=20
      equipment use his own address,</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>so this makes it possible to change =
the volume=20
      of the TV without change the volume of the hifi.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The transmitted code is a dataword =
wich=20
      consists of 14 bits and is defined as:</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2></FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>2 startbits for the automatic gain =
control in=20
      the infrared receiver.</FONT> </TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>1 toggle bit (change everytime when a =
new=20
      button is pressed on the ir transmitter)</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>5 address bits for the=20
  systemaddress</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>6 instructionbits for the pressed=20
  key</FONT></TD></TR>
  <TR>
    <TD width=3D634>&nbsp;</TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2><IMG height=3D291=20
      src=3D"http://users.pandora.be/davshomepage/diagrams/rc5dia.JPG"=20
      width=3D445></FONT></TD></TR>
  <TR>
    <TD width=3D634>&nbsp;</TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The RC5 code uses the bifase =
modulation technic=20
      which means that every bit consists of 2 parts which are never the =

      same.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>So a bit is always a high/low or a =
low/high=20
      transisition. By the RC5 code a 1 is a low high =
transisition</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>and a 0 is high low transisition. For =
all the=20
      bits the most significant bit is transmitted =
first.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>Remember also that the outputsignal =
of the=20
      integrated receivers is inverted: </FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>Detecting an IR signal the output of =
the=20
      integrated receiver will be 0V.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The duration time of each bit is =
equal to 1,778=20
      ms, and the total time of a full rc5 code is 24,778 =
ms.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The space between two transmitted =
codes is 50=20
      bit times or 88,889ms.</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>To improve noise rejection the pulses =
are=20
      modulated at a carrier frequence</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The carrier frequency of the rc5 code =
is 36 kHz=20
      so take always a receiver with a response </FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>frequency of 36 kHz. =
</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>There are plenty of Detectors for =
receiving the=20
      bitstream of an IR remote control but the best </FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>I ever used is the TSOP1836 of =
VISHAY. (<A=20
      =
href=3D"http://users.pandora.be/davshomepage/datasheets/tsop1836.pdf"=20
      target=3D_blank>Datasheet</A> available on my =
site).</FONT></TD></TR>
  <TR>
    <TD width=3D634><FONT size=3D2>The TSOP1836 is a 3 pin device that =
receives=20
      the infrared bursts and gives out the demodulated bitstream at the =

      output.</FONT></TD></TR>
  <TR>
    <TD width=3D634 height=3D11><A=20
      href=3D"http://users.pandora.be/davshomepage/index.htm" =
target=3D_parent><FONT=20
      size=3D2>Back to =
homepage</FONT></A></TD></TR></TBODY></TABLE></BODY></HTML>

------=_NextPart_000_000B_01C4BB3C.B2BD5180
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Location: http://users.pandora.be/davshomepage/diagrams/rc5dia.JPG

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsK
CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBD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7YOTFJCyKt6WBC5piWEPGTAA
AYGfgQPr+K0iUL3vhS1odOdz5c8bHO8LvUZvZqGsqBbWkLFQ7aVZadj155qU/K99QXZ9fNW5UBay
pZvK6FkPzAdNF7stdX29x7jKFS+8x83Wn5+lIeNwutSV2xe6vr6qnzlNCW18x7Qe8PPlUbaD+krB
9IvDZDVltKstOR1N5qU/K99QXZ9fP1n1H6a+rpDSV8WdznN6/t+1UKR9ymqqpATVX+WTVCo+WrgR
msojv43xyX1pC+lD2hSOVlcTyy6+sHD8/CjLz5hsURaWnhM6sVEgdp1FlSkB4/OZ+RG/rMq3y8fa
v2NoZFU0rpbc2nRt5Ru6Ko30B9MSwW5B55XM38+W7U3t6Yt7w7XrPEwdm+s7rqyZXRUd0On8PCQv
KqLXojC3NPpFUdwZ2q4HadRZXvUPH5zPyI39Zn1U3pl1SeaGLzDP1HZFnVjZ0ZeQir+AAA0+41EL
6aOR4WdXvX8icj8+Wb5e2D38a1suOSaywuBUlr17YqHjbL79rFr6LNlkQH059a/eYWRXtNvsbZSm
i8SCzzVxe6tgzMfxt+hzMnMmPm74j8p1GNdtbvPnOjdzaPF3PnKaEyfnLxsiIgc41+8gvpDD0u+x
pDVmNsvv2kdUxZssiA+nPr6yvDKq+j3bJlNG51nVhZ8DtgIy9AAAIpK4qSocIpK4rKhFJXFSVDlF
JVFpU4/H6IpK4rKnKKSuKkpfpxFJXFZU5RSVxUlL9OPyKyuKkqDmKSqLSpx+RWVxUlQcxSVRaVOP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -