预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共32页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

河南工程学院毕业设计基于AT89C52温度检测系统的设计学生姓名王欢欢系(部)电气信息工程系专业电子信息工程技术指导教师詹自熬2009年6月1日河南工程学院毕业设计PAGEIII摘要随着现代信息技术的飞速发展,在工业生产中温度的准确测量是一个比较困难的事情从最初的酒精、水银温度计到现在的数字化、集成化的温度检测系统。可见传感器的发展是飞快的。它快速的发展必将带来新一轮的工业化的革命和社会发展的飞跃。本文从硬软件两个方面介绍了基于AT89C52单片机温度自动检测系统的设计。系统硬件由控制电路、温度采集电路、键盘和LED显示电路组成。软件设计从设计思路、软件系统框图出发,先介绍整体的思路后,再逐一分析各模块程序算法的实现,最终编写出满足任务需求的程序。最终通过DS18B20采集温度并显示出来,由此对周围环境的温度进行有效检测与报警。基本上满足了温度检测与报警的要求,具有超调量小,采样值与设定值基本一致,操作简单等优点。本设计创新点在于采用数字式温度传感器DS18B20作为感温元件,占用单片机引脚少,因而可以利用空余引脚通过软件模拟和温度显示。关键词:温度检测AT89C52LED显示器DS18B20温度传感器AbstractWithmoderninformationtechnologytotherapiddevelopmentofindustrialproductionintheaccuratemeasurementoftemperatureisamoredifficulttaskfromtheinitialalcohol,mercurythermometertothecurrentdigital,integratedtemperaturedetectionsystem.Thedevelopmentofsensorscanbeseenfast.Itsrapiddevelopmentwillbringanewroundofindustrializationandsocialdevelopmentoftherevolutionaryleapforward.Inthispaper,twoaspectsofhardwareandsoftwareintroducedAT89C52single-chipmicrocomputer-basedsystemautomaticallydetectsthetemperatureofthedesign.Systemhardwareismadeofthecontrolmodule,temperatureacquisitionmodule,andkeyboardanddisplaymodules.Softwaredesignideasfromthedesign,software,systemblockdiagram,thefirstintroducedtheideaofawholeandthentoanalyzetheproceduresofthealgorithmmodule,theultimatetaskofpreparingtomeetneeds.DS18B20collectedthroughthefinaltemperatureandshowtheresultingtemperatureofthesurroundingenvironmentforeffectivedetectionandalarm.Tomeetthebasicneedsofthetemperaturedetectionandalarmrequirements,withasmallamountofovershoot,samplevaluesarebasicallythesamesettings,theadvantagesofsimpleoperation.ThedesigninnovationistheuseofdigitaltemperaturesensorDS18B20astemperaturecomponents,pinlessoccupiedbysingle-chip,whichcanusethesparepinsthroughsoftwaresimulationandtemperaturedisplay.Keywords:TemperatureMeasuringAT89C52LEDdisplayDS18B20TemperatureSensor目录TOC\o"1-3"\h\uHYPERLINK\l_Toc2576第一章绪论PAGEREF_Toc25761HYPERLINK\l_Toc14809第一节系统背景PAGEREF_Toc148091HYPERLINK\l_Toc20370第二节系统概