西安建筑科技大学华清学院本科毕业设计(论文)题目基于单片机的智能窗帘设计学生姓名学号院(系)机械电子工程专业自动化指导教师时间2012年6月7日基于单片机的智能窗帘设计设计说明书自动控制在现代家居中有着较好的发展前景。目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,可能对用户造成一定的困扰,窗帘控制系统可以解决这些问题。本文综述了窗帘控制系统的设计与制作过程,介绍了设计制作一个完整的窗帘控制系统需要做的理论分析以及其制作过程。自动窗帘控制系统核心采用的是单片机AT89C51,设计了红外遥控、按键等外围电路,在keilC环境下编写了系统各模块的程序,整个系统在各模块的配合下可实现红外控制、定时控制等功能。该设计在Protues环境中进行了仿真,验证了设计的正确合理性。最后依据设计的原理图,搭建了实物系统,经过调试,系统基础完成了设计所要求的功能。关键字:单片机,自动控制,AT89C51,Protues第页1DesignofIntelligentCurtainbasedonmicrocontrollerDesignDescriptionElectronicsandautomaticcontrolisanimportantbranchofinformationscience,andtheynowhaveabetterprospect.Now,Accordingtotherequirementsoflivingenvironments,thisdesignmadefulluseoftheSCMcontrollingsystemofAT89C51,followedbythesensor,keyboardanddisplayinterfacecircuitandthesignalconditioningcircuit.Basedonthedifferentcontrollingmode,werealizetocontrolthecurtainmachinebymutualtransformationofsemiautomaticandautomaticcontrollingandinfraredremoter.Focusingonthecurtainduringautomaticcontrolsystemdesign,hardwareandsoftwaredebuggingprocessandotherissues,thesystemcanberealizedthroughtheilluminationintensityinaccordancecontrolthecurtainsdown..KeyWords:SCM,Automaticcontrol,AT89C51,Protues第页2目录1.绪论.............................................................................................................................................51.1课题背景及意义.............................................................................................................51.2设计思想及基本功能...................................................................................................61.3说明书基本内容安排.....................................................................................................62.系统设计.....................................................................................................................................82.1系统方案确定..................................................................................................................82.2核心芯片结构原理介绍................................................................................................92.2.1中央控制器——AT89C51..........................................................................................92.2.2时钟芯片DS1302.....................................................................................................102.2.3红外控制PT2262.....................................................................................................122.2.4步进电机驱动L298N芯片.......................................................................................132.3硬件电路原理设计........................................................................................................142.3.1显示电路..................................................................................................................142.3.2红外遥控电路.........................................................................................