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

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

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

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

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

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

基于单片机自动窗帘系统设计 摘要 当前,家庭居住环境采光及避光问题重要采用是手动开闭窗帘,手动开闭不但费力并且诸多方面不够人性化,会对顾客导致一定困扰,本文设计自动窗帘控制系统可以解决这些问题。本文重要阐述了自动窗帘控制设计过程。以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-1- HYPERLINK\l"_Toc"1.1研究目和意义 PAGEREF_Toc\h-1- HYPERLINK\l"_Toc"1.2国内外发展状况 P