登录

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

注册

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

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 电气工程及其自动化 > 正文

基于单片机智能空调温度系统的设计

 2023-08-07 10:08  

论文总字数:18880字

摘 要

随着社会的进步,人们的生活水平在不断的提高,空调逐渐占据了人们的生活,成为了人们生活中不可或缺的生活用品。但是在平时的使用中却发现一些问题,比如空的房间因为没有人关闭空调而使得空调不停工作。或者在空调在制冷制热的时候,即便房间内的温度已经到达人体适宜的温度,空调却还是不停地工作。

本文,主要是根据单片机为基础的智能空调温度的控制,首先热释电红外传感器RE200B会检测房间里面是否有人来控制这个空调的开关,如果房间里没有人,那么空调就会自动关闭;如果检测到房间内是有人的那么空调就不会关闭,接着根据单片机起初设定的温度进行调节,使用数字式温度传感器DS18B20测量到的当前室内的温度进行调节,由控制继电器的开关来控制压缩机的升温以及降温,使得房间内的温度适宜。而这个设计可以在单片机的作用下控制空调,根据房间有没有人来控制空调的开关。也可以控制室内的温度,比正常的空调更能控制室内的温度,并且在一定程度上可以将资源最大化。无论是我国还是世界上别的国家都在努力进行资源节约型环境友好型社会的创造。所以,这个设计有利于资源节约型环境友好型社会的创建。

关键词:智能 数字式温度传感器DS18B20 热释电红外传感器RE200B

Abstract: With the progress of society, people"s living standard is improving constantly. Air conditioning has gradually occupied people"s life and become an indispensable daily necessities in people"s life. However, some problems are found in normal use, such as the fact that empty rooms work because the air conditioning is not turned off, or when the room is heated, even if the room has reached the right temperature for the human body, it still keeps working. In this paper, it is mainly based on the temperature control of intelligent air conditioning based on single chip microcomputer. First of all, the pyroelectric infrared sensor RE200B will check if there is someone in the room to control the switch of the air conditioning, if there is no one in the room,The air conditioning is automatically turned off; if the room is found to be occupied, the air conditioning will not be turned off and then adjusted according to the temperature initially set by the single chip microcomputer.The current indoor temperature measured by the digital temperature sensor (DS18B20) is adjusted, and the temperature of the compressor is controlled by the switch of the control relay, which makes the temperature in the room suitable.

This design can control the air conditioning under the action of single chip microcomputer, so as to control the indoor temperature, than the normal air conditioning can control the indoor temperature, and to a certain extent can maximize the resources. At present, both China and other countries in the world are striving to create a resource-conserving and environment-friendly society.Therefore, this design is conducive to the establishment of a resource-conserving environment-friendly society.

keywords: intelligence Digital temperature sensor DS18B20 Pyroelectric infrared sensor RE200B

目 录

1绪论 1

1.1课题背景与意义 1

1.2国内的发展 1

1.3课题的主要任务 2

1.4课题的发展前景 2

2 方法论证与设计 3

2.1温度传感器的选择 3

2.2红外线探测部分 4

2.3显示部分 5

2.4 按键部分 5

3 硬件设计 7

3.1 系统框图 7

3.2 主控部分 7

3.2.1 CPU 8

3.2.2 存储器 8

3.2.3 I/0端口 9

3.2.4 总线 12

3.2.5 MCS-51单片机引脚功能 12

3.3 温度检测单元 13

3.3.1 DS18B20的特点 13

3.3.2 DS18B20的外形和内部结构 14

3.3.3 单片机和DS18B20的连接电路 14

3.3.4 DS18B20的使用方法 15

3.4 驱动电路单元 15

3.5红外线检测部分 16

3.6 液晶显示单元 18

4 软件设计 19

4.1 系统方案流程图 19

4.2 温度检测程序设计 19

4.3 键盘扫描程序设计 20

5 仿真 21

5.1 仿真软件简介 21

5.2 仿真 21

5.3程序调试过程中遇到的问题及解决办法 22

结 论 24

参考文献 25

致 谢 26

附录 27

1绪论

1.1课题背景与意义

剩余内容已隐藏,请支付后下载全文,论文总字数:18880字

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

企业微信

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