摘 要随着电子技术和自动化技术的进展,人们对生活质量的要求越来越高。家用电器产品也在不断的更新换代。从始初的晶体管、到电子管;由模拟到数字;由分立元件到集成电路;从普通向高性能、多功能型;由手动控制向红外线遥控、向智能化进展。此次要设计的就是红外遥控窗帘。它是采纳 89C2051 单片机的最小系统设计,控制一个 220V 的可逆、直流电动机控制窗帘的拉开和关闭。红外遥控的重点就在红外发送和接收及编码与解码问题。所以讨论的重点也就是这些个方面。当今专用的红外发送和接收器件非常多,编码与解码的方法也很多,所以要根据实际的情况来选取合适的发送、接收器件和编码、解码方法。除此之外,还要 了解单片机的接口技术的应用和单片机的抗干扰方法。接口方面主要介绍单片机的串口。抗干扰技术有:指令冗余、拦截技术、软件陷阱的设计、软件“看门狗”技术等。关 键 词 : 遥 控 , 红 外 线 , 编 码 , 抗 干 扰 , 智 能,串 行 口ABSTEACTWith the development of electronic technology and automatic technology, people have more and more high expectations for life quality. The home electric equipment products are in constant update too. From the transistor of the beginning of beginning, to the electron tube ; Imitated it to the figure; From the discrete component to the integrated circuit; From ordinary to high performance , multi-functional type; By manual to control to infrared ray remote control, to intelligent to develop. This one that designed less important is an infrared remote control curtain. It adopt minimum system , 89C2051 of MCU design , control one 220V reversible changing speed the motor control to draw back and shut off the curtain.[27]Infrared focal point of remote control in infrared to send with receiving and code and decode the issue. So focal point that discuss the. A special-purpose one infrared to send and receive device very more, code and method that decode too a lot of nowadays, so will choose suitable sendi...