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

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

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

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

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

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

摘要环境温度对工业、农业、商业和人们的日常生活都有很大的影响,而温度的测量也就成为人们生产生活中一项必不可少的工作。随着单片机技术的不断发展,单片机在日用电子产品中的应用越来越广泛,温度传感器DS18B20具有线性优良、性能稳定、灵敏度高、抗干扰能力强、使用方便等优点,广泛应用于冰箱、空调器、粮仓等日常生活中温度的测量和控制。本设计所介绍的数字温度计使用单片机AT89s52单片机,测温传感器使用DS18B20,用4位共阴极LED数码管以动态方式实现温度显示,分时轮流通电,从而大大简化了硬件线路,同时,采用串口通信方式可大大简化硬件电路和软件程序的设计,节省了I/O口。DS18B20数字温度传感器是单总线器件与51单片机组成的测温系统,具有线路简单、体积小等特点,而且在一根通信线上,可以挂接多个DS18B20,因此可以构成多点温度测控系统。qtr2rMB。vBEaehC。关键词:单片机;多点检测;串口通信AbstractEnvironmentaltemperaturetoindustry,agriculture,commerce,andpeople'sdailylifehasalotofinfluence,andthemeasurementofthetemperaturewillbecomeanindispensablepeopleproductionandlifeofthework.Alongwiththedevelopmentofthesinglechipmicrocomputertechnology,microcomputerinthedailyelectronicproductsismoreandmoreextensiveapplication,thetemperaturesensorDS18B20havegoodlinear,stableperformance,highsensitivity,anti-interferenceabilitystrong,easytouse,widelyusedintherefrigerator,airconditioner,granaries,etcindailylifetemperaturemeasurementandcontrol.Bjp0KSJ。IUAlwum。Thedesignofthedigitalthermometerintroducedusesinglechipcomputer89s52microcontroller,temperaturesensorDS18B20use,withatotalof4cathodetubeLEDdigitaldisplaytorealizedynamicwaytemperature,inturntime-sharingelectricity,whichgreatlysimplifiedthehardwarecircuit,andatthesametime,theserialinterfacecommunicationmodecangreatlysimplifiedthehardwarecircuitandsoftwareprogramdesign,savetheI/Oport.DigitaltemperaturesensorDS18B20isthesinglebusdevicesand51SCMcomposition,temperaturemeasurementsystem,withsimpleline,littlevolumefeatures,butatacommunicationsline,canbearticulatedmultipleDS18B20,socanformmulti-pointtemperaturemeasurementandcontrolsystem.xhyt9ru。lC9dxsE。KeyWords:SingleChipMicrocomputer;Multi-pointdetection;Serialcommun-kHM0fJ5。QxGgKZa。-ication目录TOC\o"1-3"\h\uHYPERLINK\