如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
摘要温度是日常生活、工业、医学、环境保护、化工、石油等领域最常用到的一个物理量。测量温度的基本方法是使用温度计直接读取温度。随着单片机技术的不断发展,单片机在日用电子产品中的应用越来越广泛,利用单片机和温度传感器构成的电子式智能温度计就可以直接测量温度,得到温度的数字值,既简单方便,有直观准确。本设计所介绍的数字温度相对于我们日常所用的温度计更方便,更容易读取温度和更直观,其输出温度采用数字显示,我们用的地方更加的广,可以用于对测温比较准确的场所,在做实验的时候,也可以用于一些相对粗糙的场所例如室外,该设计控制器使用51单片机,测温传感器使用DS18B20,用4位共阳极LED数码管实现温度显示,能准确达到以上要求。现如今自动化、信息化程度越来越高,单片机的应用领域也就越来越广,成为人们生活不可或缺的一部分。随着单片机控制技术的发展,技术越来越成熟,它所给人带来的方便也越来越实际,其中数字温度计就是一个典型的例子,现代人对各方面的需求是更方便更准确,人们对它的要求越来越高,一切向着数字化控制,智能化控制方向发展。这是历史发展的趋势,单片机会成为现代人的生活不可或缺的一大助力。关键字:单片机;温度显示;STC89C52;DS18B203AbstractTemperatureisindailylife,industry,medicine,environmentalprotection,chemical,oil,andotherfieldsofthemostcommonlyusedtoaphysicalquantity.Thebasicwaysofmeasuringtemperatureistouseathermometerdirectlyreadthetemperature.Withthecontinuousdevelopmentofsinglechipmicrocomputertechnology,single-chipcomputerisfindingwiderandwiderapplicationinthedailyelectronicproducts,usingsingle-chipmicrocomputerandtemperaturesensorconsistingofelectronicintelligentthermometercandirectlymeasurethetemperature,temperaturenumericalvalue,bothsimpleandconvenient,intuitiveandaccurate.Thisdesignintroducesthedigitalthermometercomparedwithtraditionalthermometer,iseasytoreading,temperaturemeasuringrange,temperaturemeasurementaccuracy,itsoutputtemperatureadoptsdigitaldisplay,ismainlyusedinplaceoftemperaturemeasurementisaccurate,orscientificresearchlaboratory,thedesignedcontrollerusing51microcontroller,usingDS18B20temperaturesensor,withfourcommonanodeLEDdigitaltubetorealizetemperaturedisplay,istobeabletomeettheaboverequirements.Nowadaysautomation,informationizationlevelishigherandhigher,microcontrollerapplicationsaremoreandmorewidely,becomeanindispensablepartofpeople'slife.Single-chipmicrocomputercontrolisundoubtedlyoneofthetargetof,theconvenienceitbringsisnegative,thedigitalthermometerisatypicalexample,butpeoplemoreandmorehightoitsrequest,formodernpeopletowork,scientificresearch,life,andprovidebetterandmoreconvenientfacilitiesneed,fromthep