欢迎来到天天文库
浏览记录
ID:55036477
大小:2.52 MB
页数:74页
时间:2020-04-26
《智能窗帘设计(步进电机).doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、毕业论文┊┊┊┊┊┊┊装┊┊┊┊┊┊┊订┊┊┊┊┊┊┊线┊┊┊┊┊┊┊二O一一年六月智能窗帘设计轮机工程学院内容摘要随着人们生活水平的提高,智能窗帘已成为现代人们的室内家居的一部分,它使人们的生活更加便捷,改善了人们日常生活的质量。传统的窗帘需要手动,但一些大型写字楼、高档办公室、展览馆的窗帘多、长且重,手动比较困难,所以本设计解决了此问题,实现了全自动。主要设计理念是通过检测窗外光线强弱,控制百叶窗摆动角度,调节室内光照,创造舒适的工作生活环境。论文设计的核心控制选用的是MCS-51单片机,光线采集选用光敏电阻。由于单片机只能读入数字信号,
2、所以模拟信号处理采用ADC0809八路八位转换器。转换成数字信号后,根据数据大小相应地驱动电机,调节其转动角度。电机选用比较容易进行角度调节的步进电机,单片机与步进电机之间的连接采用ULN2003达林顿驱动器。本文分为四部分:第一部分总述基于MCS-51单片机的智能窗帘设计思想及结构内容;第二部分主要介绍MCS-51单片机结构特点及单片机的C语言编程-C51;第三部分详细论述了信号处理系统的设计,包括光线的采集和AD转换;第四部分详细论述了步进电机控制系统的设计。第五部分展示了硬件电路实体。通过此次毕业设计,使我进一步熟悉MCS-51单片机和
3、步进电机的工作原理及应用,对于C51程序设计的编写也较熟练了,锻炼了独立思考与团队合作的能力。关键词:MCS-51单片机;ADC0809;步进电机;ULN2003驱动器ABSTRACTWithpeople’slivingstandardsimproved,theSmartcurtainshavebecomeapartofpeople'sindoorfurniturenow.Ithasmadepeople'slivingmoreconvenient,hasimprovedthequalityofpeople'sdailylives.Thetra
4、ditionalcurtainneedtomanual,butsomelargeofficebuildings、high-endoffice、exhibitionhall,theircurtainsarelarge,longandheavy,it’sdifficulttomanual.Therefore,thisdesigncansolvethisproblemandachieveafullyautomatic.Themainlyconceptsofthedesignisthroughdetecttheintensityofoutdoorli
5、ght,tocontroltheangleoftheelectricmotor.Adjusttheindoorlighttocreateacomfortableworkingenvironment.ThecorecontrollingofthisthesisdesignisMCS-51Microcontroller.Photoresistorgatherthelight.BecauseMCUcanonlyreadthedigitalsignal,soanalogsignalprocessinguseconverterADC0809.Accor
6、dingtothedatatodrivethemotor,adjustitsangleofrotationafterconvertedintodigitalsignal.Steppingmotorisselected,becauseitiseasertocontrol.Theconnectingofthemicrocontrollerandsteppingmotor,weuseULN2003driver.Thethesisisdividedintofourchapters:Chapteroneoverviewthedesignofsmartc
7、urtainbyusedofMCS-51microcontroller,andthecontentandstructure.ThesecondchapterintroducesthestructuralcharacteristicsofMCS-51microcontrollerandmicrocontroller-C51.Thethirdchapterdescribesthesignalprocessingdesign,lightcollectionandADconversion.Thefourthchapteristheintroducti
8、onofthesteppingmotorcontroldesign.Thefifthchaptershowthethingsinactualuseofhardwar
此文档下载收益归作者所有