欢迎来到天天文库
浏览记录
ID:44556166
大小:1.16 MB
页数:35页
时间:2019-10-23
《温度检测系统设计温度检测系统论文》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、河南工程学院毕业设计基于AT89C52温度检测系统的设计学生姓名王欢欢系(部)电气信息工程系专业电子信息工程蘇指导教师詹自熬2009年6月1日摘要随着现代信息技术的飞速发展,在工业生产中温度的准确测量是一个比较困难的事情从最初的酒精、水银温度计到现在的数字化、集成化的温度检测系统。可见传感器的发展是飞快的。它快速的发展必将带来新一轮的工业化的革命和社会发展的飞跃。本文从硬软件两个方面介绍了基于AT89C52单片机温度自动检测系统的设计。系统硬件由控制电路、温度采集电路、键盘和LED显示电路组成。软件设计从设计思路、软件系统框图出发,先介绍整体的思路后,再逐一分析各模块程序算法的实
2、现,最终编写出满足任务需求的程序。最终通过DS18B20采集温度并显示出来,由此对周围环境的温度进行有效检测与报警。基本上满足了温度检测与报警的要求,具有超调量小,采样值与设定值基本一致,操作简单等优点。本设计创新点在于采用数字式温度传感器DS18B20作为感温元件,占用单片机引脚少,因而可以利用空余引脚通过软件模拟和温度显示。关键词:温度检测AT89C52LED显示器DS18B20温度传感器AbstractWithmoderninformationtechnologytotherapiddevelopmentofindustrialproductionintheaccurate
3、measurementoftemperatureisamoredifficulttaskfromtheinitialalcohol,mercurythermometertothecurrentdigital,integratedtemperaturedetectionsystem.Thedevelopmentofsensorscanbeseenfast.Itsrapiddevelopmentwillbringanewroundofindustrializationandsocialdevelopmentoftherevolutionaryleapforward.Inthispap
4、er,twoaspectsofhardwareandsoftwareintroducedAT89C52single-chipmicrocomputer-basedsystemautomaticallydetectsthetemperatureofthedesign.Systemhardwareismadeofthecontrolmodule,temperatureacquisitionmodule,andkeyboardanddisplaymodules.Softwaredesignideasfromthedesign,software,systemblockdiagram,th
5、efirstintroducedtheideaofawholeandthentoanalyzetheproceduresofthealgorithmmodule,theultimatetaskofpreparingtomeetneeds.DS18B20collectedthroughthefinaltemperatureandshowtheresultingtemperatureofthesurroundingenvironmentforeffectivedetectionandalarm.Tomeetthebasicneedsofthetemperaturedetectiona
6、ndalarmrequirements,withasmallamountofovershoot,samplevaluesarebasicallythesamesettings,theadvantagesofsimpleoperation.ThedesigninnovationistheuseofdigitaltemperaturesensorDS18B20astemperaturecomponents,pinlessoccupiedbysingle-chip,whichcanusethesparepinsthroughsoftwaresimulationandtemperatur
7、edisplay.Keywords:TemperatureMeasuringAT89C52LEDdisplayDS18B20TemperatureSensor目录第一章绪论1第一节系统背景1第二节系统概述1第二章系统方案设计3第一节方案一3第二节方案二3第三节方案论证4第三章硬件电路设计5第一节系统总体设计5第二节各部分硬件电路设计5一、时钟电路设计5二、看门狗电路设计6三、报警与控制电路设计8四、LED显示电路设计9五、温度检测电路设计10第四章软件设计12第一节主程序方案12
此文档下载收益归作者所有