没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的智能窗帘设计.docx
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 67 浏览量
2023-07-03
15:38:22
上传
评论 1
收藏 1018KB DOCX 举报
温馨提示
试读
38页
基于单片机的智能窗帘设计.docx
资源推荐
资源详情
资源评论
摘要
随着科技的飞速发展,人们对于现在的生活水平,空气环境,居住质量的要
求越来越高。所以智能家居系统慢慢地步入了我们的视线,它主要就是为我们的
生活提供便捷,实现我们理念中的科技家、智慧家、绿色家。而智能窗帘做为智
能家居中的一个模块,它的发展潜能也是无可限量的。
在硬件设计部分,我将 STC89C52 做为设计的核心,我先概述了单片机的运
行特征和主要引脚的使用,首先介绍了有关晶振电路,复位电路的作用和连接图,
再介绍了时钟 DS1302 的特点进行概述,对它的整体排布和连接图进行介绍,再
介绍了步进电路的工作原理和工作参数以及它的结构图,然后介绍了 LCD1602
显示器的各种功能和特性,最后介绍了传感器 TSL2561 的工作原理以及与单片
机的连接。
在软件设计部分,我先对我主程序模块的设计的操作流程图进行介绍,然后
叙述了我自己设计理念,再介绍了步进电机模块、按键模块、手动控制模块、定
时控制模块、光感控制模块的操作流程。
最后通过调试,成功实现了本次毕业设计的手动控制、定时控制、光感强度
控制窗帘开闭的功能。
关键词:智能家居,智能窗帘,DS1302,LCD1602,TSL2561
Abstract
With the rapid development of science and technology, people's demand for the
living standard, air environment and quality of living is getting higher and higher. So
smart home system slowly stepped into our line of sight, it is mainly to provide
convenience to our life, achieve our philosophy of science and technology, intelligent
home, green home. And the intelligent curtain is a module in the intelligent household,
its development potential also is unlimitable.
In the hardware design part, I chose STC89C52 as the main chip of this design. I
first introduced the characteristics of the SCM STC89C52 and the function of the pin,
then introduced the crystal oscillator circuit, the role of the reset circuit and
connection diagram, then introduces the characteristics of DS1302 clock are
summarized, the overall arrangement of it and the connection graph are introduced,
then introduced the stepper circuit working principle and parameters and its structure
diagram, and then introduces the functions and characteristics of LCD1602 display,
finally introduces the connection principle of sensor TSL2561 and microcontroller.
In the part of software design, operation flow chart of the main program module
I I design are introduced, and then describes my own design concept, then introduces
the stepper motor module, key module, manual control module, timing control
module, light control module operating procedures.
Finally, through debugging, the graduation design of manual control, timing
control, light intensity control, curtain opening and closing function.
Keywords: smart home,intelligent curtain, DS1302, LCD1602, TSL2561
目录
第 1 章 引言.........................................................1
1.1 研究背景和意义 ..............................................1
1.2 国内外研究现状 ..............................................1
1.2.1 国外研究现状...........................................1
1.2.1 国内研究现状...........................................2
1.3 主要内容和工作安排 ..........................................2
1.4 本章小结 ....................................................3
第 2 章 总体方案的设计...............................................4
2.1 系统的总体设计规划图 ........................................4
2.2 设计的基本内容 ..............................................4
2.3 设计实现的功能 ..............................................5
2.4 本章小结 ....................................................5
第 3 章 系统硬件部分设计.............................................6
3.1 STC89C52 单片机..............................................6
3.1.1 单片机的概述...........................................6
3.1.2 ST89C52 的引脚功能 .....................................6
3.2 晶振电路 ....................................................7
3.2.1 概述...................................................7
3.2.2 电路图.................................................8
3.3 复位电路.....................................................8
3.3.1 作用...................................................8
3.3.2 电路图 .................................................9
3.4 时钟 DS1302 ..................................................9
3.4.1 概述...................................................9
3.4.2 时钟管脚功能..........................................10
3.4.3 时钟管脚描述..........................................10
3.4.4 时钟电路图............................................11
3.5 步进电机....................................................11
3.5.1 步进电机的结构示意图..................................11
3.5.2 步进电机的工作参数....................................12
3.5.3 步进电机工作原理......................................12
3.5.4 步进电机与单片机的连接................................13
3.6 LCD1602 显示器..............................................14
3.6.1 概述..................................................14
3.6.2 引脚的功能............................................14
3.6.3 显示器与单片机的连接..................................15
3.7 TSL2561 光感传感器..........................................15
3.7.1 概述..................................................15
3.7.2 工作原理..............................................16
3.7.3 电路图................................................16
3.8 硬件总体设计 ...............................................16
3.9 本章总结 ...................................................17
第 4 章 系统软件部分设计............................................18
4.1 主程序模块的设计 ...........................................18
4.2 步进电机模块的设计 .........................................19
4.3 按键模块设计 ...............................................19
4.4 手动控制模块 ...............................................20
4.5 定时控制模块 ...............................................21
4.6 光强控制模块 ...............................................22
剩余37页未读,继续阅读
资源评论
老帽爬新坡
- 粉丝: 83
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
- 基于MATLAB的声纹识别系统设计源码 - VoiceprintRecognition
- 基于Java的微服务插件集合设计源码 - wsy-plugins
- 基于Vue和微信小程序的监理日志系统设计源码 - supervisionLog
- 基于Java和LCN分布式事务框架的设计源码 - tx-lcn
- 基于Java和JavaScript的茶叶评级管理系统设计源码 - tea
- IMG_5680.JPG
- IMG_0437.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功