没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的温湿度控制仪的设计电气工程与自动化.doc
0 下载量 190 浏览量
2023-07-06
02:08:02
上传
评论
收藏 4.5MB DOC 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/88006265/0001-e8200fb326cb1d34ac8f7dd77fcf330d_thumbnail-wide.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
28页
基于单片机的温湿度控制仪的设计电气工程与自动化.doc
资源推荐
资源详情
资源评论
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![](https://csdnimg.cn/release/download_crawler_static/88006265/bg1.jpg)
毕 业 论 文(设计)
课 题 基于单片机的温湿度控制仪的设计
学生姓名
院 部 电气工程学院
专业班级
指导教师
二 ○ 一 六 年 六 月
![](https://csdnimg.cn/release/download_crawler_static/88006265/bg2.jpg)
目 录
摘 要 ....................................................................I
Abstract ...................................................................II
第 1 章 绪论 ..............................................................- 1-
1.1 选题背景 .........................................................- 1 -
1.2 研究的意义 .......................................................- 1 -
1.3 相关技术的发展状况 ...............................................- 1 -
第 2 章 总体方案 .........................................................- 2 -
2.1 系统控制结构组成 .................................................- 3 -
2.2 性能指标(设计要求) .............................................- 3 -
2.2.2 设计要求 .......................................................- 3 -
2.3 中央处理单元 CPU .................................................- 5 -
2.3.1 单片机的使用 ...............................................- 5 -
2.3.2 温度传感器的选择 ...........................................- 5 -
2.3.3 湿度传感器的选择 ...........................................- 6 -
第 3 章 硬件设计 .........................................................- 6 -
3.1 系统的基本构成 ...................................................- 7 -
3.2 硬件设计的总体方案 ...............................................- 7 -
3.3 主要硬件电路设计 .................................................- 7 -
3.3.1 温度检测电路设计 ............................................- 7 -
3.3.2 湿度检测电路设计 ..........................................- 12 -
3.3.3 按键输入控制模块 ...........................................- 13 -
3.3.4 显示部分的原理图及说明 .....................................- 14 -
第 4 章 软件设计 ........................................................- 16 -
4.1 软件设计的总体方案 ..............................................- 16 -
4.2 温度传感器的流程 ................................................- 16 -
4.3 主程序流程图 ....................................................- 17 -
4.3 WRITE 子程序 ....................................................- 18 -
4.4 READ 子程序 .....................................................- 18 -
结 论 ..................................................................- 20 -
致 谢 ..................................................................- 21 -
参考文献 ...............................................................- 22 -
附录 1 .................................................................- 23 -
![](https://csdnimg.cn/release/download_crawler_static/88006265/bg3.jpg)
插图清单
图 2-1T 法脉宽测量 ....................................................- 3 -
图 2-2M 法测量转速脉冲................................................- 4 -
图 3-1 系统原理框图 ...................................................- 6 -
图 3-2AT89C52 引脚图和实物图 .........................................- 7 -
图 3-3 单片机控制系统 .................................................- 8 -
图 3-4 时钟电路 ........................................................- 9 -
图 3-5 复位电路 .......................................................- 9 -
图 3-6 电源电路 .......................................................- 10-
图 3-7 霍尔元件与磁钢图 ..............................................- 11 -
图 3-8(a)开关型霍尔传感器构成图 ....................................- 11 -
图 3-8(b)开关型霍尔传感器工作特性 ..................................- 11 -
图 3-9 测速电路 .......................................................- 13 -
图 3-10 信号处理电路 ..................................................- 13 -
图 3-11 电机驱动电路 .................................................- 14 -
图 3-12 数码管结构图 .................................................- 15 -
图 3-1374LS138 和 CD4511 .............................................- 16 -
图 3-14 数码管显示电路 ...............................................- 17 -
图 3-15 矩阵键盘实物图 ................................................- 17 -
图 3-168255 引脚图 ...................................................- 18 -
图 3-17 按键电路 .....................................................- 19 -
图 4-1 软件总体框图 ..................................................- 20 -
图 4-2 主程序流程图 ...................................................- 21 -
图 4-3 定时/计数中断程序流程图 ........................................- 22 -
图 4-4 速度控制程序流程图 ............................................- 23 -
图 4-5 速度值设定程序流程图 ..........................................- 24 -
图 4-6 键盘扫描程序流程图 .............................................- 25 -
![](https://csdnimg.cn/release/download_crawler_static/88006265/bg4.jpg)
铜陵学院毕业论文(设计)
I
基于单片机的湿度控制器设计
摘 要
人类的生存和平时所要进行的一些活动都与温度和湿度有着相当大的关系。伴随着经
济时代的发展,我们的生活都与温湿度有着非常深的的关联。我们在平时的生产生活中,
温度和湿度的测量理所当然变成了运用较为广泛的测量活动,所以我们经常可以在市场上
发现各式各样的温湿度测量仪器。
本设计主要由温度检测、湿度检测、LED 显示电路,键盘电路这几个几部分组成,本
次设计选用的是 AT89S52 单片机,温度芯片 DS18B20、传感器 HS1101 的温湿度控制系统
组成。从而简单方便的实现两路温湿度的循环检测和可以同时做到控制温湿度的上下限,
温湿度传感器可以将完成将出现改变的环境数值显示在数码管上的任务。本设计选用了
DS18B20 温度传感器来进行温度测量,此次测量的特点为精度性高和较高的重复性;选用
了 HS1101 电容式相对湿度传感器来进行湿度测量;运用 LED 控制驱动器 ULN2003 驱动
了 6 个数码管。从而可以达到简单的实现温度、湿度的实时控制。
本次设计的最完美的地方就是操作起来轻松方便,硬件设计,软件设计也不是很难,
比较容易去掌握。整个系统的制作时间不长,调试简易,运行流畅。但是此次设计也存在
着不少的问题点,因为时间的关系,本设计还剩余一部分未完成的设计,希望下次时间充
裕时,能将此次设计未完成的部分进行完善。
关键词:湿度检测;温度检测;单片机 AT89S52;LED 显示
![](https://csdnimg.cn/release/download_crawler_static/88006265/bg5.jpg)
单片机的温湿度自动控制仪的设计
II
Humidity Controller Based on Single Chip
Abstract
Human survival and usually some of the activities to be carried out both with temperature
and humidity have a significant relationship. With the development of economy, our lives are
related to the temperature and humidity has a very deep association. Our production and life in
peacetime, to measure the temperature and humidity naturally become more widespread use of
measurement campaigns, so we often can find a wide range of temperature and humidity
measuring instrument on the market.
This design mainly by the temperature detection, humidity detection, LED display circuit,
keyboard circuit composed of several parts, this design choice is AT89C51 microcontroller chip
temperature DS18B20, sensor HS1101 temperature and humidity control system. So easy to
achieve both temperature and humidity cycle testing and can achieve both the upper and lower
temperature and humidity control, temperature and humidity sensors can be completed by the
environment has changed the value displayed on the digital tasks. The design uses the DS18B20
temperature sensor for temperature measurement, the measure is characterized by high accuracy
aand high repeatability; selected HS1101 capacitive relative humidity sensor for humidity
measurement; use LED control driver ULN2003 drives 6 digital tube. Which can achieve a
simple real-time control of temperature and humidity.
The perfect place to design is easy and convenient to operate, hardware design, software
design is not hard.
Relatively easy to master. Production time for the entire system is not long, simple
debugging, running smoothly. But the design also exist many problems, because of time, this
design also did not complete the remaining part of the design, we hope the next time there is
enough time, can the design of the unfinished part perfect.
Keywords: humidity detection; temperature detection; microcontroller AT89S52, LED display
剩余27页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
xinkai1688
- 粉丝: 349
- 资源: 8万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)