文档详情

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

发布:2017-05-15约1.78万字共40页下载文档
文本预览下载声明
目录 摘要 I Abstract II 目录 III 前言 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 随着时代的进步和发展,已经普及到我们生活、工作,本文主要介绍了一个基于89C51单片机的,详细描述了利用数字温度传感器DS18B20开发测系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,特别是数字温度传感器DS18B20的数据采集过程。对各部分的电路也一一进行了该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与AT89C51结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。 关键词:AT8951 LED数码管 DS18B20 数字温度计 With the era of progress and development, air conditioning has become popular we live, work, greatly improved peoples 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
显示全部
相似文档