单片机之间的短程双向光通信链路的软硬件设计 摘 要随着遥控设备的普及,传统的开/关已经不能满足市场的需求。人们希望电器在体积小、作方便等的基础上能够拥有更多的功能,而红外遥控的广泛应用及单片机技术的成熟,则使得智能红外遥控系统成为了远程遥控控制设备的发展趋势。本设计采用 51 单片机作为遥控发射接收芯片,HS0038 作为红外一体化接收发射管,在此基础上设计了一个简易的智能红外遥控模拟系统。系统包括接收和发射两大部分。另外本系统有多个按键,可用于扩展控制其他电器。本设计方案基于市场的需求,结合红外遥控设计简单、作方便、成本低廉等特点。关键字: 红外遥控; 信号调制; 编码; 解码; AbstractWith the popularity of remote control devices, traditional on/off has not been able to meet the needs of the market. People hope that electric appliances can have more functions on the basis of small size and convenience. The wide application of infrared remote control and the maturity of single-chip technology make the intelligent infrared remote control system become the development trend of remote control devices.This design adopts 51 single-chip microcomputer as the remote control transmitting and receiving chip, and HS0038 as the infrared integrated receiving and transmitting tube. Based on this, a simple intelligent infrared remote control simulation system is designed. The system consists of two parts, reception and transmission. In addition, the system has multiple buttons that can be used to expand and control other appliances. The design scheme is based on the needs of the market, combined with the infrared remote control design is simple, convenient, and low cost. Keywords: Infrared Remote Control; Signal Modulation; Encoding; Decoding。目 录摘 要............................................................2Abstract............................................................31 绪论........................................