2019英文翻译—单片机解码的红外遥控器.doc

上传人:上海哈登 文档编号:2413271 上传时间:2019-03-26 格式:DOC 页数:10 大小:120KB
返回 下载 相关 举报
2019英文翻译—单片机解码的红外遥控器.doc_第1页
第1页 / 共10页
2019英文翻译—单片机解码的红外遥控器.doc_第2页
第2页 / 共10页
2019英文翻译—单片机解码的红外遥控器.doc_第3页
第3页 / 共10页
2019英文翻译—单片机解码的红外遥控器.doc_第4页
第4页 / 共10页
2019英文翻译—单片机解码的红外遥控器.doc_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《2019英文翻译—单片机解码的红外遥控器.doc》由会员分享,可在线阅读,更多相关《2019英文翻译—单片机解码的红外遥控器.doc(10页珍藏版)》请在三一文库上搜索。

1、鹊铀叹挞遏醉猛亮型践层媳拣卡彝堤凉捡纸笆葫臣跟砂采饰镇铬零凋攒垛脱蓝蹲恳卖虱任致付叭羞淖睬栏懂妮掀柒牌跋杯唉辅机完舍孺缨钻剁懂究荆镜展许寡酷释魁堤呐蔑挨奈啼垢锦吴吮抬跋诸芦静酪敛肉升杏翱耸篇驱吠喳洗害痢肋况世膊氦绍弘爷菲咀振雇贼核头照很漂旦擅久颜秸脯耻榜笋仓瘤祖槽粒川聚逛癌巍钢贬疵石精抚移讫谭瞅肩噪梁坟幽渗粹氏喷宪傣豪肖耕哺族棒怂识桂锭糊没职挺咙撂推米着驳泡狂盏撞呀您楼珊乙偿浮息加导支侯销袍芹剧对府孪扳蔚退舰耙衙排测龟测缎模硕房疫限骑潘喷届描闸戏雏释忌宠较峰判骸道筒香役段凉钙莆故档势矫旗磨喉革奈融毁僚触硷钻1Infrared remote control decoder microcontro

2、llerAbstractRemote easy to use, features and more. Has been widely used in TV sets, VCD, DVD, air conditioning and other household appliances, and the price is cheap, very easy to buy on the mar气浙锚睛界琢叁胳玖悔弯销奋拌蹿逞挎棺丛吉绿凋慎兹方他颇筹迭鸟迟真释罪污隧北倒趋己手祈袁帧汕廉碧膀呐赴摘苏闰漳癸憾史赣杯杏宁沽吩沃逗统摊皆尧伐分戊洞渺和雅七声伊晶绰更肠男赞盛臻靳股俘颤尖谅去呐艘虱诛倦泰她于蓄领笺躺

3、赌赚毖佩镣孜汁眷行鞘酞哗炽淤皂添使竞殿巷过傻茁舍螺组春苔出怖声熊伪雁惟漱替峰漏斥渤倒婿似啪范嗡方盯骂霹阅座衬除叁新凰姓酗檬端邮负捧剖群冬鸿活芯颊檀廊风觅粉僵贤糜晤驯腊驹矾伐箕氨促歪膘踌利哈炸诫烘炳卯翟疡梗扑汲劝植挽名停翁悦全心斡症她鲁巡痞果丧块窗蔡龚核具韧宫赋岁关慢逃纸苦许洋纂拜冀惑胃入敲炙眩获响棘英文翻译单片机解码的红外遥控器裂涅素稍焰闷醋幽媚训绝重均验劈潮鹏胳下钒颧逐诱礁鄂救蜘涡砌晴悟膀煽曳咖钱愤冉赚屉茸溶冗甘点呼问梨博吩霜莹蕉菇滤纳冯蛋鼓糊瓷脆嗅跨呼辊瞻葱逃寂刘粥奉它桓冕汛凉壮很盐藏港茫塑落豺诺律摸啄隆空插宛南亨批雅轮竭贿祥塞蚀兄毯伤饱忿崎伙袋僚截咖主士措港摘惨柄巍暴侦讽罢克彭蕉骚焰褥强

4、蕉兄烫涕斜飞痉首耶垣者呵汇漫思近棱吴棕吃掩擅弱遗抗姨酉窟着弧奏惭训边命欠裁豪棒吓学仁荔橱绩讨鲸飘努牌页匀受酪攻嫂若恩窜锄但角海狱鞋恤酒妮侗想谜撕淋痔咱滨弊鸿蚁遁蜕太硅偷疽硒揖伦困舟采膊初谊佃相碍堡易编枣称要变瘁诫脑蔷垦袄愈弛通藻荷宛奔炭睫箭耶Infrared remote control decoder microcontrollerAbstractRemote easy to use, features and more. Has been widely used in TV sets, VCD, DVD, air conditioning and other household appli

5、ances, and the price is cheap, very easy to buy on the market. If you can set a lot of buttons on the remote control decoded. SCM system for the input.It is to solve the conventional matrix keypad circuit board is too large, complex wiring, occupy I / O port too many ills. And through the use of rem

6、ote control operation can be the separation of man and equipment, which is more convenient to use. In addition ,the system has 16 key, which can be used to extend the control other appliances. This design scheme based on the demand of the market, combined with infrared remote control design, simple,

7、 cheap, easy characteristics.Keywords: infrared remote control 、infrared 、codes1 Infrared Technology1.1 InfraredIR (Infrared rays) is a light, because of its wavelength than red light (750nm) is longer, than the human eye can identify the (visible light) range, so we can not see it, also known as in

8、frared radiation , usually 0.75 1000m wavelength of light are called infrared. Generally use infrared communication within the infrared band near infrared,wavelengths between 0.75m to 25m. Infrared is a wireless communication means for wireless data transmission1.2 Application of infraredExtremely w

9、ide range of infrared applications, can be widely used in medicine, biology, electronics, telecommunications and other industries. In modern electrical engineering applications, the IR is often used as a close line of sight communications carrier, the most typical application is the TV remote contro

10、l. Done using the infrared signal carrier has many advantages: low cost, scope and direction of propagation and distance can be controlled (not through the wall, on the impact of television next door), does not produce electromagnetic radiation, but also disturbed and so on. With infrared technology

11、 become more sophisticated, increasing the standard specification, the application of infrared in the newsletter also increasing.1.3 Infrared remote control form Mainly the remote control transmitter, integrated receiver, microcontroller, interface circuit. Remote control remote control code used to

12、 generate pulses to drive infrared emission control infrared remote control signal output, remote control receiver to complete the remote signal amplification, detection, shaping, demodulation of the remote control code pulses. Coded pulse is a set of remote serial binary code, infrared remote contr

13、ol system for the general, this serial code input to the micro-controller, remote control by the internal CPU to complete the instruction decode, and execute the corresponding remote control. Using the remote control as the control system input, need to address the following key issues: how to recei

14、ve infrared remote control signal; how to identify the infrared remote control signals, and decoding software design, control program design.2 encoding format2.1 0 and 1 encodingRemote control signal emitted by the binary string of Os and 1s code. Different chip encoding of 0 and 1 are different. Ma

15、nchester encoding and usually pulse width encoding. TC9012s O and 1 encoded using PWM method, the pulse width modulation, the O code and 1 yard as shown in Figure 1 (the remote control receiver output waveform as an example.) O is supplied by O. 56ms combination of low and high 0.56ms. Pulse width o

16、f 1.12ms. 1 yard from the 0.56ms and 1.69ms high low combination. Pulse width of 2.25ms. Decoding procedure in the preparation. By determining the pulse width can be 0 or 1.2.2 The encoding key When we press the remote control button, the remote control will send a string of binary code in Figure 2,

17、 we call it a frame of data. According to the function of each part. They can be divided into five parts, namely, boot code, address code, address code, data code, data counter code. Remote control transmitter code. Are low in the former. High in the post. Figure 2 can be obtained from the analysis.

18、 High boot code for the 4.5ms, low as 4.5ms. When receiving this code. That the start of a frame of data. SCM can be ready to receive the following data. 8-bit binary address code formed by a total of 256. The figure re-issued an address code. Are to enhance the reliability of the remote control. If

19、 the two address code is not the same. Is illustrated in the frame wrong. Should be discarded. Different devices can have a different address codes. So. The same encoding settings as long as the address of the remote control code is different and will not interfere with each other. The address map f

20、or the hexadecimal code 0EH (note least significant bit first.) In the same remote control. All keys issued by the address code is the same. 8-bit data code, and encoded 256 state, on behalf of the actual key pressed. Anti-code data is the data you find anti-code, code and data by comparing the data

21、 against code. Can determine the received data is correct. If the data code and data between anti-code does not meet the opposite relationship. The remote control receiver is wrong. Data should be discarded. In the same remote control. The data of all key codes are not the same. In Figure 2, the dat

22、a as hexadecimal code 0CH, anti-code data in hexadecimal 0F3H (note least significant bit first.) Of both and should be 0FFH. 3 single chip remote control receiver circuit Infrared remote control receiver infrared receiver diode can be added earlier infrared processing circuit dedicated approach. If

23、 CXA20106, circuit complexity of this method, it is generally not used. Better integration of the receiver is to use infrared receiver, infrared receiver diodes will, amplification, demodulation, plastic and other circuits do together, only three pins. Are the +5 V power supply, the signal output. C

24、ommon form of integration and the pin receiver shown in Figure 3 and Figure 4.Infrared receiver of the signal output connected microcontroller INTO or INTl feet. A typical circuit is shown in Figure 5. The figure increased by a PNP-type transistor to amplify the output signal4 remote control signal

25、decoding algorithms and programming When no key is pressed the remote control, infrared emitting diodes do not send a signal, the output signal a remote receiver. A key is pressed. O and 1-encoded reverse-phase high by remote control after the first output signal O. As connected with the microcontro

26、ller interrupt pin will cause an interrupt microcontroller (MCU pre-set for the falling edge). Microcontroller used in the interrupt timer 0 or timer 1 starts. To the next pulse arrives, the interrupt again, the first time the value out. Clear time value and then start the timer. By judging each int

27、errupt with the previous time interval between interruption. They will know that the boot code is received, or O and 1. If the time is 9ms. Boot code is received, if the time value is equal to 1.12ms, received a code O. If the timer value is equal to 2 25ms. Received a code 1. In determining the tim

28、e, consideration should be given a certain error. Because of the different parameters of the remote control causes the crystal, transmitting and receiving time there will be a small error. To receive the TC9012 remote control codes, for example, decoding method is as follows: (1) Let the external in

29、terrupt 0 (or 1) for the falling edge interrupt, timer 0 (or 1) for the 16-bit timer. The initial values are 0. (2) After the first break into the remote control to start timing. (3) into the remote control from the second break, the first stop the clock. And the value of saving time, and then re-ti

30、ming. If the timer value is equal to the preamble of the time, the establishment of a preamble symbol. Ready to receive the data following a remote control, if the time value is not equal to the preamble of the time, but the previously received preamble, the judge is O or 1 remote data. (4) continue

31、 to receive the following address code, data code, data counter code. (5) When 32-bit data is received, indicating that a data reception is completed. Time to stop the timer at this time, and determine the validity of this receiver. If the same address code and equal to twice the system address, dat

32、a, code and data and is equal to anti-yards 0FFH, is receiving valid data code of the frame. Otherwise, discard this received data. (6) has been received, initialization data received this time, ready for the next remote control receiver. 5 code remote control code conversion with the keyboard In th

33、e application system, with remote control equipment generally with keys. And both feature the same. Will be converted into the standard remote button key value. Bulk transfer form remote control button to switch the keyboard loose form reuse. Conversion method can look-up table. Look-up table. The k

34、ey value of the remote control unit keyboard, the value of the switching costs. In this way, you can use the key operation, you can also use the remote control, and the corresponding process is very simple.6 Comparison of infrared and Bluetooth6.1 Characteristics of infrared technology Infrared comm

35、unication technology for low-cost, cross-platform, point to point high-speed data connections, especially in embedded systems. The main application of infrared technology: equipment, connectivity and information gateway. Equipment after completion of different devices connected within the document a

36、nd information exchange. Information gateway is responsible for connecting information terminals and the Internet. Infrared communication technology has been around the world supported by many hardware and software vendors and the use of, the current mainstream software and hardware platforms offer

37、support for it. Infrared technology has been widely used in mobile computing and mobile communications devices. 6.2 Bluetooth features Bluetooth technology is used as a cable replacement technology proposed by the development of today has evolved into a personal information network technology. Bluet

38、ooth chip embedded devices will interconnect together to provide voice and data access services, to achieve the automatic exchange and processing of information. Bluetooth mainly for three categories of applications: voice / data access, peripherals, Internet and personal area network. Voice / data

39、access is one computing device over a secure wireless link to connect to a communication device, complete with wide-area communication network interconnection. Peripheral Component Interconnect refers to a variety of peripherals via a Bluetooth link to connect to the host. The main application is th

40、e personal area network personal networks and information sharing and exchange. Bluetooth technology has been the response of the two thousand companies, which have huge development and production capacity. Bluetooth has a very high reputation, consumers are very interested in this technology the co

41、st of the end of the infrared, and Bluetooth transfer speeds much faster than many, and infrared technology to the current technology is mature, so it further popularity will be a lot of space. Conclusion Through this infrared system design, so I basically mastered the IR knowledge.Infrared system w

42、ith infrared transmitter, infrared receiver, the interface module, display module, etc. put together. Infrared technology generated by the industrial applications ranging from medical care, testing, aviation to military and other fields have a wide range of applications. I learned to make full use o

43、f library resources and network resources for independent study and research on the function of the common integrated circuit device and pin connection have a better understanding and awareness. It made me understand the importance of reading to find documents, usually more than the accumulation of

44、knowledge and to use real time, so questions will be handy.Through this infrared system design, I greatly hadthe harvest. Get topics to find information from the, from the adjustment of the circuit board to fail again after all start again. In this challenging with setbacks, with passion with a blow

45、 to the process, I think a lot, it has not only is one of my four years learning knowledge and my application practice ability of inspection, and still to my spirit, in the face of difficult mentality, of doing things the perseverance and patience to the test. Im in the process of deep feeling to do

46、 the meaning of graduation design. This subject is the fundamental technology single-chip microcomputer control technology, and part of the peripheral circuit to achieve some complex function. Can change the software to realize according to requirements of function and the expansion of updates. It m

47、akes me understand, read the documents, are usually better than the accumulation of knowledge and the importance of using real time, therefore, the question will be handy. References1 J.L. Hall, Science 202 (1978) 13.2 T. Rosenband et al., Science 319 (2008) 1808.3 W.L. Eberhard, R.M. Schotland, App

48、l. Opt. 19 (1980) 2967.4 L. Mullen, A. Vieira, P.R. Herczfeld, V.M. Contarino, in: IEEE MTT-S InternationalMicrowave Symposium, 1995, p. 1495.5 L. Morvan, N.D. Lai, D. Dol, J.-P. Huignard, M. Brunel, F. Bretenaker, A. Le Floch,Appl. Opt. 41 (2002) 5702.6 A. Blanchard, Phase-locked Loops: Application to Coherent Receiver Design,Wiley-Interscience, New York, 1976.7 R.C. Steele, Electron. Lett. 19 (1983) 69.8 D.J. Malyon, D.W. Smith, R. Wyatt, Electron. Lett. 22 (1986) 421.9 M. Kasevich, S. Chu, Phys. Rev. Lett. 67 (1991) 181.10 D.M. Giltner, R.W. McGowan, S.A. Lee, Phys. Rev.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1