基于单片机的智能空调控制系统设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录

摘要.......................................................................................................... II Abstract ................................................................................................. I V 目录............................................................................................................ I 前言.. (1)

1绪论 (2)

1.1空调的概述 (2)

1.2空调的发展历史 (2)

1.3空调的发展趋势 (4)

1.4系统总体方案及硬件设计 (5)

2系统硬件的选择及其功能特性 (6)

2.1 AT89C51单片机的结构及其功能 (6)

2.1.1 AT89C51单片机的结构 (6)

2.1.2AT89C51单片机的引脚及其功能 (7)

2.1.3时钟震荡器 (10)

2.1.4闲散节电模式 (11)

2.1.5掉电模式 (12)

2.1.6程序存储器的加密 (13)

2.2 DS18B20温度传感器 (13)

2.2.1 DS18B20概述 (13)

2.2.2 DS18B20测温操作 (14)

2.2.3报警操作信号 (15)

2.3 LED数码管 (16)

3硬件电路的设计 (18)

3.1时钟电路 (18)

3.2显示电路的设计 (19)

3.3按键电路设计 (20)

3.4温度传感器电路 (21)

3.5复位电路的设计 (22)

3.6系统总电路 (22)

4软件系统设计 (24)

4.1概述 (24)

4.2主程序流程图 (24)

4.3程序源代码 (25)

总结 (34)

致谢 (35)

参考文献 (36)

摘要

随着时代的进步和发展,空调已经普及到我们生活、工作,极大地改善了人们的生活品质。本文主要介绍了一个基于A T89C51单片机的温度检测、调节、控制的空调系统,详细描述了利用数字温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,特别是数字温度传感器DS18B20的数据采集过程。对各部分的电路也一一进行了设计。

该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限在通过单片机控制温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生

活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与A T89C51结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。

关键词:AT89C51 LED数码管DS18B20 数字温度计

Abstract

With the era of progress and development, air conditioning has become popular we live, work, greatly improved people's quality of life.This paper describes a temperature measurement based on AT89C51 microcontroller, regulate and control the air conditioning system, a detailed description of the use of digital temperature sensor DS18B20 temperature measurement system development process, focusing on the sensor under the SCM hardware connection, software programming, and the modular systemconducted a detailed analysis of the process, in particular, digital temperature sensor DS18B20 data collection process.On various parts of the circuit is also introduced one by one.

The system can easily achieve the realization of temperature acquisition and display, and can be arbitrarily set the upper and lower temperature control through microcontroller. It is very convenient to use, with high precision, wide range, high sensitivity, small size, low power consumption, suitable for our daily lives and industrial and agricultural production in the temperature measurement, as temperature can also be embedded in other systems processing modulein the main system as the other auxiliary expansion.DS18B20 combined with the realization of the simplest AT89C51 temperature detection system, the system is simple, anti-interference ability, suitable for harsh environments spot temperature measurement, a wide range of applications.

Key words: AT89C51,LED digital tube,DS18B20 Temperature,Sensor

相关文档
最新文档