登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

基于单片机的智能窗帘设计毕业论文

 2020-06-07 09:06  

摘 要

自动控制技术是现代电子科学技术的重要组成部分,对现代家居生活有着重要的影响作用,推动了生活水平的提高。目前,人们在家庭使用的窗帘绝大多数都是靠拉动来实现开闭的,这样的窗帘在操作方面也会不那么方便,比较费时费力。而本设计中的智能窗帘采用了STC89C52芯片,加上了外部时钟芯片、步进电机、电机驱动、温度采集芯片、光敏电阻等,将这些电路模块结合在一起,设计了这样一个智能窗帘控制系统,可以实现窗帘的自动开关,同时,还设计了手动按键开关窗帘和遥控按键开关窗帘功能,有效地实现了智能控制的多样化、灵活性。单片机需要通过编程来对各个模块实现有效的控制,所以本系统的设计应用了适量的编程,同时在系统设计前期,需要用到Protiel和Protues来分别绘制原理图和仿真图。

自动窗帘的设计由多个模块构成,其中包括单片机最小系统、LCD1602液晶显示模块、电源模块、步进电机控制模块、DS1302时钟模块、键盘模块、光照检测模块等模块组成。着重区去研究了窗帘自动控制系统需要实现的功能、需要的硬件以及软件编程需求,用户在使用这个系统时,可以方便快捷的控制窗帘开启的幅度大小,有效控制室内光线强弱;同时能够实现光强检测、设置定时来控制窗帘自动开关。具有温度测量和报警功能。

关键字:单片机STC89C52;自动化;智能窗帘;

ABSTRACT

Automatic control technology is an important part of modern electronic science and technology, has an important influence on modern home life, and promotes the improvement of living standard. At present, most of the curtains used by the people in the home are closed by hand. This kind of curtains will be time consuming in terms of production and will be less convenient in terms of operation, and will be time consuming and laborious. The intelligent curtains in the design of the STC89C52 chip, coupled with the external clock chip, stepper motor, motor drive, temperature acquisition chip, photoresistor, etc., these circuit modules are well together, the design of such a smart Curtain control system, you can achieve automatic switching curtains, at the same time, also focused on the design of the manual button switch curtains and remote control button switch curtain function, effectively achieve the intelligent control of the diversification and flexibility. SCM needs to be programmed to achieve effective control of each module, so the system design and application of a large number of programming, and in the early system design, the need to use Protiel and Protues to draw the schematic and simulation map.

The design of the automatic curtain is composed of several modules, including the minimum system of the MCU, the LCD1602 liquid crystal display module, the power module, the stepping motor control module, the DS1302 clock module, the keyboard module and the light detection module. Focusing on the area to study, discussed the curtain automatic control system needs to achieve the function, the need for hardware and software programming needs, users in the use of this system, you can quickly and easily control the size of the curtain opening, effective control of indoor light intensity; Can achieve light intensity detection, set the timing to control the curtain automatic switch. With temperature measurement and alarm function.

Key words: single chip STC89C52; automation; intelligent curtains;

目 录

摘 要 I

ABSTRACT II

目 录 III

第一章 绪论 1

1.1课题研究背景及意义 1

1.2设计思想及基本功能 2

1.3基本内容安排 2

第二章 智能窗帘的方案设计 4

2.1智能窗帘的整体方案 4

2.1.1总体结构设计 4

2.1.2 系统框图 5

2.2 不同模块的方案设计 6

2.2.1单片机芯片设计与论证 6

2.2.2按键控制模块设计与论证 6

2.2.3时钟模块设计与论证 7

2.2.4温度采集模块设计与论证 7

2.2.5显示模块模块设计与论证 7

2.3 本章小结 8

第三章 智能窗帘硬件电路设计 9

3.1 STC89C52单片机最小系统 9

3.1.1 晶振电路 10

3.1.2 复位电路 10

3.2时钟模块电路设计 11

3.3温度检测器模块电路设计 11

3.4键盘模块电路设计 12

3.5液晶显示电路设计 12

3.6光敏传感器电路设计 13

3.7步进电机控制电路设计 14

3.8 蜂鸣器报警电路的设计 14

3.9 电源电路设计 15

3.10 本章小结 15

第四章 智能窗帘软件设计 17

4.1 软件构成框图 17

4.2 主程序流程图 18

4.3 子程序流程图 19

4.3.1初始化程序流程图 19

4.3.2温度检测程序流程图 20

4.3.3 A/D转换流程图 21

4.3.4 显示程序流程图 22

4.3.5 按键程序流程图 22

4.3.6 电机驱动程序流程图 23

4.3.7 时间设置程序流程图 24

4.4 本章小结 25

第五章 仿真与实物调试 26

5.1 PROTUES仿真 26

5.2 实物调试 28

5.3 本章小结 31

结 语 32

参 考 文 献 33

致谢 35

附录 电路原理图 36

第一章 绪论

1.1课题研究背景及意义

在信息化技术和网络技术飞速发展的今天,智能产品逐渐走进了人们的生活,融入到生活中去了,智能产品在生活中有着举足轻重的作用。智能产品的发展是建立在计算机技术和网络技术的基础上,将两者结合运用,从而实现了技术到产品的复杂过程。智能产品大大改变了人们的生活方式,为人们提供了优质的服务。本文介绍了自动窗帘控制系统的硬件电路设计和软件构成,最大程度满足各类人对窗帘开闭的各种需求,为家居生活提供了很大的便利。

在信息化发展迅猛的今天,由于人们更加追求家庭生活的优质化,智能产品在生活中被广泛应用,也让智能产品与人们的工作、生活密不可分。人们更加追求生活的品质,需要一个舒适、安全的环境,需要的就是解放双手,放松自我,实现生活的智能化、简单化,当然有了这些24小时不休息的智能产品的保驾护航,生活就更加的安全、可靠。智能产品在信息的交流方面是非常快速且准确的,能帮助人们更加合理地去安排自己的时间,有效地加强家居生活的安全性能,因此人们可以节约大量时间、资金、精力去做更有意义的事情,大大优化人们的生活方式。

单片机之所以被应用的这么广泛是有原因的,其有很多的优点:体积小,占用空间,使用方便;功耗低,节约能源的功能等。其在很多领域都有应用,比如:大型工厂器件、医院的医疗设备、公司的管理设备等等,这些产品都为人们的生活提供了极大的便利。

相关图片展示:

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图