- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
目 录
TOC \o 1-3 \h \z \u 摘要 I
Abstract II
引 言 1
第一章 绪论 2
1.1 论文研究的背景及意义 2
1.2 国内外研究现状 2
1.3 本文研究内容及结构安排 2
第二章 系统方案论证 4
2.1 系统设计方案 4
2.2 主控模块选型 4
2.3 甲烷检测传感器 5
第三章 硬件电路的设计 6
3.1 单片机 6
3.1.1 单片机最小系统 6
3.1.2 系统时钟电路 6
3.1.3 系统复位电路 7
3.1.4 系统中断 7
3.2 传感器模块电路 8
3.3 电机模块电路图 8
3.4 短信模块电路图 9
3.5 报警模块电路图 10
3.6 步进电机模块电路图 10
第四章 系统软件设计 12
4.1 系统设计软件 12
4.1.1 Altium Designer 12
4.1.2 Keil C51 12
4.2 软件设计流程图 12
4.2.1 主函数流程图 12
4.2.2 传感器模块流程图 13
4.2.3 按键消抖模块流程图 13
第五章 系统测试 15
结 论 17
致 谢 18
参考文献 19
附录 21
PAGE II
基于单片机的智能橱窗控制系统设计
摘要:为了解决无人在家下雨的困扰,本文设计了一套可用于对家庭智能橱窗控制系统的方案。本套设计方案采用51单片机作为系统的主控芯片,通过雨滴传感器对是否下雨进行检测,通过甲烷浓度检测传感器对家庭室内甲烷浓度进行检测,通过步进电机对开关窗帘进行自动模拟,在检测到甲烷浓度过高时可进行报警同时打开通风系统并发送短信给住户。通过方案论证,最终确定了本文方案。在对设计出的硬件进行测试时,通过按键可以对步进电机进行控制模拟窗帘打开和关闭,采用模拟煤气泄漏的方式对甲烷检测模块进行测试。最终测试结果表明,系统可以在下雨时自动关窗,煤气泄漏时开窗、通风并且报警然后通过GSM模块发送短信给住户。
关键词:智能家居;降雨检测;煤气泄露检测;通风系统
Design of intelligent window control system based on single chip microcomputer
Abstract:In order to solve the problem of raining when no one is at home, this article designs a set of solutions that can be used to control the home smart window control system. This design scheme uses 51 single-chip microcomputer as the main control chip of the system. The raindrop sensor is used to detect whether it is raining, the methane concentration detection sensor is used to detect the methane concentration in the home, and the stepping motor automatically simulates the opening and closing of curtains. When the methane concentration is too high, an alarm can be issued and the ventilation system can be turned on and text messages can be sent to the residents. Through the demonstration of the scheme, the scheme of this article is finally determined.When testing the designed hardware, the stepper motor can be controlled to simulate the opening and closing of the curtain through the button, and the methane detection module can be tested by simulating
文档评论(0)