IR Communication.ppt
《IR Communication.ppt》由会员分享,可在线阅读,更多相关《IR Communication.ppt(14页珍藏版)》请在麦多课文档分享上搜索。
1、IR Communication,October 27, 2004,Sources,Lindsay, Andy. IR Remote for the Boe-Bot. v 1.0 2004.,How Does a TV Remote Work?,On a button press, the remote flashes its IR LED on/off at 38.5 kHz to broadcast a code for that button. The code is produced by controlling the brief amounts of time the IR LED
2、 flashes on and off. It flashes a signal to indicate the start of transmission. For a SONY TV, the remote has to broadcast IR for 2.4 ms o indicate start. The message that follows consists of a combination of 1.2 ms (binary-1) and 0.6 ms (binary-0) broadcasts. The IR detector on the Boe-Bot sends lo
3、w signals that match the time pattern broadcast by the remote.,How Does the TV Dectector Work?,In many cases IR detector/receiver on your Boe-Bot is the same detector found in many TVs and VCRs. This detector sends a low signal whenever it detects IR flashing on/off at 38.5 kHz and a high signal the
4、 rest of the time. When the IR detector sends low signals, the processor inside a TV or VCR measures how long each of the low signals lasts. These are used to figure out which key was pressed on the remote. BASIC Stamp 2 can be programmed to detect, measure, store, and interpret the sequence of low
5、pulses it receives from the same IR detector.,Timing Diagram,This message consists of thirteen negative pulses that the BASIC Stamp can easily measure. 1: the start pulse, which lasts for 2.4 ms. 2-13: will either last for 1.2 ms (binary-1) or 0.6 ms (binary-0). 2-8: indicates which key is pressed.
6、9-13: indicate if the message is being sent to a TV, VCR, CD, DVD player, etc. Pulses are transmitted in least significant bit first fashion. the first data pulse is bit-0. the next data pulse is bit-1 Etc. If you press and hold a key on the remote, the same message will be sent over and over again
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IRCOMMUNICATIONPPT
