陕西理工学院毕业设计
6 总结与展望
6.1 总结
该设计通过分析自动窗帘系统的现状和人们对自动窗帘系统功能的需求,对自动窗帘系统控制器进行总体设计。总体设计采用步进电机为单片机控制元件,执行窗帘开闭的主要任务;以GSM模块来检测窗帘是否执行开关的状态;以光敏电阻为检测元件,提供单片机外界光照变化;以红外检测电路,实现手动控制;以89C52单片机为主控制芯片,控制整个系统运行;此外辅助以按键和显示电路,在各模块的配合下,最终实现自动窗帘控制系统的智能化要求。 6.2 展望
由于Protues仿真过软件中没有无线模块,所以只能在硬件设备上调试无线模块,刚开始调试时给系统上电后,液晶显示正常,电机转动正常,但是无法发出短信,经过不断地修改程序,不断地调试后,也实现了发短信的功能。还有就是无线模块存在不稳定性,信号易受区域影响,所以最好使用11.0592M晶振,因为可以得到精确的波特率,使串口通信的可靠度更高,稳定性更好,实用价值也更高。
毕业设计过程中,由于自我知识储备、实验器材和时间的局限性,完成的不是那么完善。本系统还有几个需要改进的地方:
(1)由于设计硬件的性价比,本次设计使用的都是平常的器件,虽然基本实现了本次设计的要求,但是存在着一定的局限性。如果使用wifi或zigbee技术的话,会大大提高系统的可用性,实用效果会更好,用户无论是否在家都可以无线控制窗帘的开关,当发现温度不高或者室内光线较暗时,用户也可以无线控制窗帘。
(2)在报警模块部分可以加入发光器件,实现声光报警。
通过以上改进措施,智能窗帘才会有很强的实用性,所以该系统将会有更大的应用前景。
第 25 页 共 66页
陕西理工学院毕业设计
致谢
经过这么长时间的忙碌,毕业设计和论文已经接近尾声。在毕业设计的过程中,由于经验的缺乏以及知识的局限性,难免有许多考虑不周全的地方,在选题,设计等方面,如果没有导师的督促指导,没有同学们的支持和帮助,单独完成这个设计,其中还是有一定难度的。在论文完稿之际,我想借此机会对在完成毕业设计期间关心、帮助、支持和鼓励过我的老师、同学以及朋友们致以最诚挚的谢意和最衷心的祝福!
首先我要感谢的是我的导师老师薛转花薛老师,在完成整个毕业设计的过程中,老师给我提供了很大的帮助,在选题、设计以及修改论文的各个环节里老师给我指出了很多错误,提出了很多宝贵意见,对于设计中存在的问题也是耐心的回答和指导,让我能够顺利的完成毕业设计。在此谨向老师致以诚挚的谢意和崇高的敬意。
其次要感谢的是所有在大学四年中教育指导过我的所有老师,你们传授给我的专业知识是我完成本设计的基础,也是日后踏入工作岗位的重要基石,对于老师们一丝不苟,兢兢业业的精神表示衷心的感谢。
最后我还要向所有关心和支持我学习的朋友和同学们表示真挚的谢意!感谢你们对我的关心、关注和支持。
致谢人:
2016年6月1日
第 26 页 共 66页
陕西理工学院毕业设计
参考文献
[1]卢思祺. MCS-51单片机温度控制系统的设计[J]. 科技致富向导,2013,17:25-30. [2]夏志华. 基于单片机的温度控制系统的研究与实现[J]. 煤炭技术,2013,02:191-193. [3]刘印春. 传感器原理[J]. 北京国防科技大学出版社,2009
[4]金泽浩,金健聪,陈铁铭. 基于单片机的温度控制系统设计[J]. 科技致富向导,2014,17:189-286. [5]瞿贵荣.电动窗帘红外遥控电路[J].家庭电子,2009,2:35-36
[6]王丽君,杨伟丰. 电机无线遥控系统设计的研究大众科技[M],2009,11:124-125 [7]陈伯时,阮毅.电力拖动自动控制系统[M].机械工业出版社,2012.1 [8]张小明. 探究基于单片机的温度控制系统[J]. 电子制作,2015,01:271-272. [9]周航慈,朱兆优. 智能仪器原理与设计[M]. 北京:北京航空航天大学出版社,2005
[10]Markus kohler.Vision Based Remote Control in Intelligent Hone Environments[M].Informatik:University of Dortmund
[11]Fabrice VillaumeLAAS du CNRS ,AIRBUS France . Towards Intelligent Control Systems forCommercial Aircraft[M].France: Pierre Fabre AIRBUS France,2010
[12]郭天祥.十天学会单片机和C语言编程[M] 北京;电子工业出版社,2009 [13]林君.简易窗帘模拟控制系统[J].科技信息,2010(25):128-130 [14]张璐璐. 单片机温度测量和控制系统的设计与实现[D].吉林大学,2014. [15]沙占有. 中外集成传感器实用手册[J]. 北京:电子工业出版社,2005 [16]李晓洁. 基于单片机的温度控制系统设计[J]. 城市地理,2014,20:91-92.
第 27 页 共 66页
陕西理工学院毕业设计
附录A 英文文献原文
Design Of Smart Home System Based on GSM
Rongrong Zhang, Xiaoping Zou, Wenhui Huang, Qimu-Surong
Beijing Key Laboratory for Sensor, Beijing Information Science and Technology
University, Beijing, China Email: xpzou2005@gmail.com
Abstrct: This paper introduces a mobile phone short message control method in smart home based on
GSM (Global System for Mobile communications). AT commands and the system structure is illustrated in detail. The hardware system including STC89C51 and TC35i is presented. The software framework is also analyzed clearly in this paper. In addition, some other potential application areas and its direction of development in future are given at last.
Keywords: GSM; Smart Home; STC89C51; Wireless Communication 1. Introduction
As the Internet of things (iot) [1] global coverage, the popular trend of smart home, look for it. All the control and communication method rushed to the area: GSM, WiFi, bluetooth, ZigBee,. They are trying to solve the problem of the intelligent world [2]. In these solutions, GSM mobile phones have a comprehensive way to communicate a prominent position in modern society.
GSM is a kind of digital mobile communication network. In recent years has developed rapidly. With the short message service is a kind of important business based on GSM network. It's simple and efficient performance, and relatively low cost absorb the customers. In addition, the possibility of many types of remote monitoring technology, it must be the most convenient and most popular way in the smart home control, because people can monitor their home anywhere, anytime and anywhere. In this article, I will give you a good smart home solution based on GSM and explain the realization of software and hardware. 2. System Framework
The GSM control system contains the communication part, the control center and the object to be controlled. Figure 1 is the system block diagram.
In this system, GSM module plays the communication role. STC89C516RD+ bears the task of a control center. The relay module connected to home appliances is the object to be controlled. There are several channels of relays on the module. Each connects to a different home appliance.
The GSM module with a smart card is responsible for receiving text messages from the GSM network and transmitting the short message from the local MCU (STC89C516RD+) to the GSM network. It also receives message command from user’s mobile and sends the cor- responding command to the control center STC89C- 516RD+. The controller analysis the command and conducts the relay to open or close the anticipated cannel, such to open or close the related appliance. After this, the control center indicates the GSM module to send feedback message to the user terminal. 3. AT Commands
MCU communicate with GSM module through AT (Attention Commands) [4]. AT command set is the interface standard between TE (terminal equipment) and TA (terminal adaptor), as well as between DTE (data terminal equipment) and DCE (data circuit terminal equipment). In the early 1990s, AT command set
第 28 页 共 66页
陕西理工学院毕业设计
is only used in the operation of modem. With a series of evolution, AT commands are added GSM07.05 standards. Up to now, Most of the GSM modules support this standard. 3.1. The Syntax of Basic AT Commands
Each AT command must begin with “AT” or “at”, and end with
3.2. General AT Commands
The AT commands used in this remote control system are shown in Table 2. [5] 4. Hardware Structure
Figure 2 is the picture of the mobile phone control system. As showed in the picture, there are two boards and a GSM module in the system. The board above is the relay module and the bellow one is a control center board with STC89C516RD+ on it. The GSM module is connected to the center board through a pair of UART ports of STC89C516RD+ controller. Figure 3 is the hardware structure of the system.
Table 1. Basic AT commands syntax.
The
Type
of The Syntax The Describe of of
Command Instruction
Test the implementation status of the command,
Test Command
AT+CXXX=?
and return parameters and parameter range
Return the current value of
Read Command
AT+CXXX? parameters
Write Command Execute Command
Set the user-defined value AT+CXXX=<...> of parameters AT+CXXX
Execute the command
Instruction
第 29 页 共 66页
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库智能家居控制系统的设计 - 图文(7)在线全文阅读。
相关推荐: