您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 智能窗帘控制系统的设计研究
I基于单片机的智能窗帘控制系统的设计摘要目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,会对用户造成一定的困扰,本文设计的智能窗帘控制系统可以解决这些问题。本文主要阐述了智能窗帘控制器的设计过程。本设计采用STC89C52单片机为控制核心,介绍了基于单片机的智能窗帘控制系统,主要从硬件结构原理及软件编程方面进行讲解。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了系统整体结构框图、光照传感电路、温度检测电路、系统主控模块电路、电源转换电路、步进电机控制电路、键盘显示电路以及时钟模块电路等相关电路;随后讲述了软件的编写过程,也是采用了分块的模式,主要包括软件主程序设计,步进电机程序设计,显示程序设计,键盘程序设计以及定时程序设计,每一模块都画出了相应的流程图。本设计重点讨论了窗帘自动控制系统的设计过程、硬件选用和软件调试等问题。通过本系统最终实现了利用光照强度以及设置时间来控制窗帘自动开闭的仿真。此外本设计还实现了室内温度检测的功能。关键词:单片机,智能窗帘,定时控制IIDESIGNOFINTELLIGENTCURTAINCONTROLSYSTEMBASEDONMCUABSTRACTAtpresent,thefamilylivingenvironmentoflightingandlightavoidanceproblemmainlyadoptsismanuallyopenandclosethecurtains,manualopeningandclosingisnotonlylaboriousandmanynothuman,willcausesometroubleforusers.Inthispaper,thedesignoftheintelligentcurtaincontrolsystemcansolvetheseproblems.Thispapermainlyexpoundsthedesignprocessoftheintelligentcurtaincontroller.ThisdesignusesSTC89C52microcontrollerasthecore,introducestheintelligentcurtaincontrolsystembasedonMCU,mainlyfromthehardwarestructureandsoftwareprogrammingaspectsoftheexplanation.Hardwareusingblockmodel,carriesontheanalysistothecircuitdesignofthewholesystemaregiven,thesystemoverallstructurediagram,lightsensingcircuit,temperaturedetectioncircuit,systemmaincontrolmodulecircuit,powerconversioncircuit,steppermotorcontrolcircuit,keyboardanddisplaycircuitandclockcircuitmodulecircuit.Subsequentlyintroducesthesoftwareofthewritingprocess,butalsousesablockmode,includingsoftware,themainprogramdesign,programdesignofsteppingmotor,showingdesignprogram,keyboardprogramdesignandprogramtimingdesign,eachmoduledrawflowchart.Thisdesignfocusesonthedesignprocess,hardwareselectionandsoftwaredebuggingofthecurtainautomaticcontrolsystem.IIIThroughthesystem,thesimulationoftheautomaticblindopeningandclosingofthecurtainisrealizedbytheilluminationintensityandthesettingtime.Inaddition,thedesignofindoortemperaturedetectionfunction.Keywords:MCU,intelligentcurtain,timingcontrolIV目录摘要..........................................................................................................................................IABSTRACT.............................................................................................................................II第一章绪论.............................................................................................................................11.1研究的目的及意义.....................................................................................................11.2智能窗帘的国内外研究现状.....................................................................................21.2.1国外研究现状....................................................................................................21.2.2国内研究现状....................................................................................................21.3主要研究内容及章节安排.........................................................................................21.3.1主要研究内容.................................................................................................21.3.2章节安排.........................................................................................................3第二章总体设计方案.............................................................................................................42.1方案选取.....................................................................................................................42.2系统总体设计与工作原理.........................................................................................5第三章硬件设计.....................................................................................................................63.1STC89C52单片机及相关电路...................................................................................63.1.1STC89C52单片机概述..................................................................................63.1.2晶振电路.........................................................................................................73.1.3复位电路.........................................................................................................93.1.4电源电路设计.................................................................................................93.2时钟模块电路...........................................................................................................113.2.1DS1302性能简介.........................................................................................113.2.2DS1302接口电路设计.................................................................................123.3键盘显示电路...........................................................................................................133.3.1键盘电路.......................................................................................................133.3.2显示电路.......................................................................................................143.4光敏传感器电路.......................................................................................................163.5步进电机控制电路.....................................................................
本文标题:智能窗帘控制系统的设计研究
链接地址:https://www.777doc.com/doc-3921628 .html