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

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

I目录摘要..........................................................................................................IIAbstract.................................................................................................IV目录............................................................................................................I前言...........................................................................................................11绪论........................................................................................................21.1空调的概述..................................................................................21.2空调的发展历史..........................................................................21.3空调的发展趋势..........................................................................41.4系统总体方案及硬件设计..........................................................52系统硬件的选择及其功能特性............................................................62.1AT89C51单片机的结构及其功能..............................................62.1.1AT89C51单片机的结构........................................................62.1.2AT89C51单片机的引脚及其功能.........................................72.1.3时钟震荡器..........................................................................102.1.4闲散节电模式......................................................................112.1.5掉电模式..............................................................................122.1.6程序存储器的加密..............................................................132.2DS18B20温度传感器...............................................................132.2.1DS18B20概述.....................................................................132.2.2DS18B20测温操作.............................................................142.2.3报警操作信号......................................................................152.3LED数码管...............................................................................163硬件电路的设计..................................................................................18II3.1时钟电路....................................................................................183.2显示电路的设计........................................................................193.3按键电路设计............................................................................203.4温度传感器电路........................................................................213.5复位电路的设计........................................................................223.6系统总电路................................................................................224软件系统设计......................................................................................244.1概述............................................................................................244.2主程序流程图............................................................................244.3程序源代码................................................................................25总结.........................................................................................................34致谢.........................................................................................................35参考文献.................................................................................................36摘要随着时代的进步和发展,空调已经普及到我们生活、工作,极大地改善了人们的生活品质。本文主要介绍了一个基于AT89C51单片机的温度检测、调节、控制的空调系统,详细描述了利用数字温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,特别是数字温度传感器DS18B20的数据采集过程。对各部分的电路也一一进行了设计。该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限在通过单片机控制温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生III活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与AT89C51结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。关键词:AT89C51LED数码管DS18B20数字温度计IVAbstractWiththeeraofprogressanddevelopment,airconditioninghasbecomepopularwelive,work,greatlyimprovedpeople'squalityoflife.ThispaperdescribesatemperaturemeasurementbasedonAT89C51microcontroller,regulateandcontroltheairconditioningsystem,adetaileddescriptionoftheuseofdigitaltemperaturesensorDS18B20temperaturemeasurementsystemdevelopmentprocess,focusingonthesensorundertheSCMhardwareconnection,softwareprogramming,andthemodularsystemconductedadetailedanalysisoftheprocess,inparticular,digitaltemperaturesensorDS18B20datacollectionprocess.Onvariouspartsofthecircuitisalsointroducedonebyone.Thesystemcaneasilyachievetherealizationoftemperatureacquisitionanddisplay,andcanbearbitrarilysettheupperandlowertemperaturecontrolthroughmicrocontroller.Itisveryconvenienttouse,withhighprecision,widerange,highsensitivity,smallsize,lowpowerconsumption,suitableforourdailylivesandindustrialandagriculturalproductioninthetemperaturemeasurement,astemperaturecanalsobeembeddedinothersystemsprocessingmoduleinthemainsystemastheotherauxiliaryexpansion.DS18B20combinedwiththerealizationofthesimplestAT89C51temperaturedetectionsystem,thesystemissimple,anti-interferenceability,suitableforharshenvironmentsspottemperaturemeasurement,awiderangeofapplications.Keywords:AT89C51,LEDdigitaltube,DS18B20Temperature,Sensor基于单片机的智能空调控制系统设计1前言随着集成电路技术的发展,单片微型计算机的功能也不断增强,许多高性能的新

1 / 40
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功