1、空调温度控制单元设计 1 摘摘 要要 本文设计了一个典型的智能电子系统,即单片机控制空调温度系统。首先 介绍了单片机在各个领域的应用及发展, 将传统温度控制和使用单片机控制温度 进行了比较,然后根据设计要求以 AD590 为采集器、89S51 为处理器,以空调 机为执行器件, 通过单片机汇编语言实现对室内温度的控制来完成设计任务所提 出的温度控制要求。 本论文在温度控制系统的硬件设计进行了简单的介绍的基础 上,重点对其软件单元设计部分进行了详细的分析:通过使用汇编语言对 A/D 转换电路、显示电路等进行实时控制。 关键词关键词 :单片机 空调机 温度采集 A/D 转换 汇编。 空调温度控制单元
2、设计 2 Abstract In this paper, a typical design of intelligent electronic systems, that is, single-chip temperature control air-conditioning system. Single-chip first introduced in various fields of application and development of traditional single-chip temperature control and the use of temperature c
3、ontrol were compared, and then to AD590 in accordance with design ideas for the collector, 89S51 for the processor to the device for the implementation of air conditioners through the single-chip assembly language to achieve control of room temperature to complete the design task by the temperature
4、control requirements. In this paper, the temperature control system hardware design brief. Software design with emphasis on some of its detailed analysis carried out: through the use of assembly language , to achieve A / D conversion ,real-time control circuit and so on. Key Words :Single-chip,air-c
5、onditioning,temperature acquisition A / D conversion,compilation. 空调温度控制单元设计 3 目目 录录 摘摘 要要. AbstractAbstract. 目目 录录. 第第 1 1 章章 绪论绪论.1 1.1 单片机的应用1 1.2 温度控制系统的发展及意义1 1.3 课题的背景2 1.4 本次设计的要求2 第第 2 2 章章 特殊器件介绍特殊器件介绍.6 2.1 温度传感器 AD590.6 2.2 AT89S51 单片机.10 2.3 光电耦合器 MOC304012 第第 3 3 章章 硬件单元硬件单元13 3.1 硬件各单元方案设计与选择.13 3.2 单元电路设计16 第第 4 4 章章 软件设计方案软件设计方案19 4.1 系统软件设计说明19 4.2 主程序流程19 4.3 A/D 转换子程序