预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共116页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGE\*MERGEFORMAT-107- 2020年4月19日 基于单片机的自动窗帘系统毕业设计 文档仅供参考 基于单片机的自动窗帘系统设计 摘要 当前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不但费力而且很多方面不够人性化,会对用户造成一定的困扰,本文设计的自动窗帘控制系统能够解决这些问题。本文主要阐述了自动窗帘控制的设计过程。以AT89C51单片机为控制核心,以光敏电阻和雨滴传感器为传感器件,以步进电机为执行器件。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了系统整体框图、显示电路、检测电路、系统总控制模块、等相关电路;随后说明系统软件的编写过程,同样采用的是分块的模式,且每一个模块都给出了相应的流程图。 本设计利用单片机实现了半自动控制、自动控制、定时控制的相互转换,智能的控制窗帘的动作。经过调试,时钟控制、手动开关窗帘、自动开关窗帘等控制方面的设计基本达到了预期效果。具有较强的实用价值。 关键词:单片机,自动窗帘,步进电机,自动控制。 Systemdesignbasedonsinglechipmicrocomputerautomaticcurtain Abstract Now,accordingtotherequirementsoflivingenvironments.Thispaperdescribestheprocessofintelligentcurtaincontroller.ThisdesignusesAT89C51microcontrollerasthecontrol,introducemicrocontroller-basedopticalcurtaincurtainsystem,themainstructuralprincipleofthehardwareandsoftwareprogrammingtoexplain.Inthedesignformonolithicintegratedcircuits,andperipheraltoexpandthebasicthetheoriesofknowledgewasfairlycomprehensivepreparation.Blockthemodelofhardwareused,thecircuitdesignoftheentiresystemtoanalyzetheoverallblockdiagramofthesystemaregiven,displaycircuit,photoelectricswitchcircuit,systemcontrolmodule,powerconversioncircuits,protectioncircuitsandotherrelatedcircuit;thendescribesthesoftwarethepreparationprocess,butalsobythesub-blockpattern,witheachmoduletodrawacorrespondingflowchart. Inthispaper,usetheAT89C51microcontroller,accordingtotheirdifferentmodes,toachievesemi-automaticcontrol,automaticcontrol,timingcontroloftheconversionandintelligentmotioncontrolcurtains.Debuggingbysimulation,clockcontrol,manualswitchcurtains,thecurtainsautomaticallyswitchthebasicdesignofsuchcontroltoachievethedesiredeffect,withastrongpracticalvalue. Keywords:SCM、intelligentcurtain、steppingmotor、automaticcontrol. 目录 TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc"摘要 PAGEREF_Toc\hI HYPERLINK\l"_Toc"Abstract PAGEREF_Toc\hIII HYPERLINK\l"_Toc"第1章绪论 PAGEREF_Toc\h