基于单片机的空调温控器

  • 格式:doc
  • 大小:1.45 MB
  • 文档页数:32

下载文档原格式

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

摘要

在自动控制领域中,温度检测与控制占有很重要地位。温度测控系统在工农业生产、科学研究和在人们的生活领域,也得到了广泛应用。因此,温度传感器的应用数量居各种传感器之首。目前,温度传感器正从模拟式向数字集成式方向飞速发展。

本论文概述了温控器的发展及基本原理,介绍了温度传感器的原理及特性。分析了各种温度传感器的优劣。在此基础上描述了系统研制的理论基础,温度采集等部分的电路设计,并对测温系统的一些主要参数进行了讨论。同时在介绍温度控制系统功能的基础上,提出了系统的总体构成。针对测温系统温度采集、接收、处理、显示部分的总体设计方案进行了论证,进一步介绍了单片机在系统中的应用,分析了系统各部分的硬件及软件实现。

本控制电路是以AT89C51单片机为控制核心。整个系统硬件部分包括温度采样电路,自激式A/D转换器,按键电路,驱动电路,时序电路,和8段译码器,LED数码显示器。在配合用汇编语言编制的程序使软件实现,实现空调温度智能转换的基本功能。本控制电路成本低廉,功能实用,操作简便,有一定的实用价值。本文从3个方面展开论述,首先是硬件电路的描述;接着软件部分的设计;最后实现功能。

关键词:AT89C51单片机温度控制 LED数码显示

ABSTRACT

In the field of automatic control, temperature detection and control of a very important position. Temperature monitoring and control system, have been widely used in the industrial and agricultural production, scientific research and in the field of people's lives. Therefore, the number of temperature sensor applications of various sensors of the first home. At present, the temperature sensor is moving from analog to digital integrated direction in the rapid development.

This paper provides an overview of temperature controller and the basic principles of development, introduced the principle of temperature sensor and characteristics. Analysis of the merits of the various temperature sensors. On this basis describes the theoretical basis for system development, acquisition, such as temperature part of the circuit design, measurement and some of the key parameters of the system are discussed. At the same time, introducing the function of the temperature control system based on the overall composition of the system. Temperature measurement system for collecting, receiving, processing, display part of the overall design of the demonstration program, and further introduced the single-chip applications in the system, analysis of the various parts of the system hardware and software.

This paper describes a single-chip microcomputer AT89C51 as the core temperature of the air-conditioning control system. The system is measured in the general environment to determine the value of the temperature conditions, the use of single-chip microcomputer to control air-conditioning refrigeration and heating system to achieve the required temperature. Preliminary plan is to issue under the ordinary temperature, the system design and choice of devices is also on this basis. Key words: AT89C51single-chip Temperature Control LED display

目录

第1章引言 (1)

第2章系统总体设计方案 (2)

2.1 课题背景 (2)

2.2 单片机选择与论证 (2)

2.3 显示器件选择与论证 (2)

2.4 所选器件的分析 (3)

2.5 空调温控器的功能设计 (4)

2.6 理论分析与计算 (7)

2.7 数模转换器 (8)

第3章系统硬件设计 (10)

3.1 显示电路 (10)

3.2 权电路 (11)

3.3 输出电路 (11)

3.4 按键电路 (12)

3.5 驱动电路 (12)

3.6 温度采集电路 (13)

3.7 压缩机驱动电路 (15)

3.9 A/D转换电路 (16)

3.10 温度采集 (17)

第4章系统软件设计 (18)

4.1 软件设计思路 (18)

4.2 程序流程框图 (19)

4.3 AD590数据通信概述 (21)

4.4程序内容编写 (22)

结论 (26)

参考文献 (27)

附录 (28)

致谢 (30)