资源描述:
《基于单片机的窗帘自动控制系统的设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、基于单片机的窗帘自动控制系统的设计基于单片机的窗帘自动控制系统设计摘要单片机是现代自动控制系统的核心器件之一,一直广泛应用在各种自动化,智能化仪器设备上,已成为当代科技领域的有力工具,人们生活的得力助手。本课题所设计的基于单片机的窗帘自动控制系统,主要实现的功能是实现窗帘根据光照强度,自动拉开与闭和的功能.即早上光照强度达到一定数值时,窗帘自动拉开;晚上,当光照度低于一定数值时,窗帘自动闭合;另外本设计中还设计了手动开关功能,可通过控制按钮自行控制窗帘的拉开和闭合;以及当晚上家中无人时,窗子可自动开关外,还会定时点亮一盏电灯,以保证安
2、全。本设计的特点就是结构简洁、低功耗、功能稳定、价格低廉、抗干扰能力强的自动窗帘,非常人性化,且分非常宜于家庭使用。而且对系统的硬件和软件作了详细的介绍,硬件采用8051单片机作为控制芯片,由AD0809采集信号,步进电机作为控制机构;采运用protel绘图软件绘制原理电路图,采用单片机汇编语言进行编程。整个过程为:光敏电阻作为检测装置,检测信号经电桥路放大,送给A/D0809,经模数转换后,送至单片机,单片机通过汇编语言控制步进电机的正反转,最终实现窗帘的自动控制。关键词:自动窗帘,控制系统,单片机I基于单片机的窗帘自动控制系统设计
3、AbstractSCMisthecoreofmodernautomaticcontrolsystemofthedevice,anditHasbeenwidelyusedinvariousautomation,intelligentdevices,hasbecomeacontemporaryscienceandtechnologyapowerfultoolforscientificandtechnologicalareas,peoplelivingontherunalong.Automaticcontrolsystemisoneofth
4、eSCM’stypicalapplications,Thetopic-ThedesignofthecurtainonSCM'sautomaticcontrolsystemwillrealizethefunctionofachievingcurtainsunderthelightintensity,automaticallyopenedandclosed。whenlightintensityreachedacertainvaluesinThemorning,Curtainopenedautomatic;Atnight,whenlight
5、fallsbelowacertaindegreeofvalues,Curtainautomaticallyclosed.Inaddition,Thedesignalsofeaturesthedesignofthemanualswitch,Thecontrolbuttonstocontrolthecurtainsopenedandcustoms.Thedesignfeaturesofthestructureissimple,low-power,featurestability,lowprices,thestronganti-interf
6、erencecapabilityofautomaticcurtains,veryhuman,andveryappropriateforhomeuse.Andalsoforthehardwareandsoftwaresystemsindetail,Hardwareusedasacontrolchipmicrocontroller8051,AcquisitionsignalsfromAD0809,asasteppingmotorcontrolagencies.Protel-usemappingsoftwaremappingprincipl
7、ecircuit,UsingSCMassemblylanguageprogramming,Thewholeprocess:Photosensitiveresistancetestingopticalsignal,Signalbridgecircuittoenlarge,gaveA/D0809,withanalog-digitalconversion,senttothemicrocontroller,SCMthroughassemblylanguagepositiveandthesteppermotorcontrol。Theultima
8、terealizationofautomaticcontrolcurtain.Keywords:AutoCurtain,,AutomaticControlSystem,Single-ChipMicrocomputerII