多点温度检测系统设计.docx
摘要
环境温度对工业、农业、商业和人们得日常生活都有很大得影响,而温度得测量也就成为人们生产生活中一项必不可少得工作。随着单片机技术得不断发展,单片机在日用电子产品中得应用越来越广泛,温度传感器DS18B20具有线性优良、性能稳定、灵敏度高、抗干扰能力强、使用方便等优点,广泛应用于冰箱、空调器、粮仓等日常生活中温度得测量和控制。
本设计所介绍得数字温度计使用单片机AT89s52单片机,测温传感器使用DS18B20,用4位共阴极LED数码管以动态方式实现温度显示,分时轮流通电,从而大大简化了硬件线路,同时,采用串口通信方式可大大简化硬件电路和软件程序得设计,节省了I/O口。DS18B20数字温度传感器就就是单总线器件与51单片机组成得测温系统,具有线路简单、体积小等特点,而且在一根通信线上,可以挂接多个DS18B20,因此可以构成多点温度测控系统。
关键词:单片机;多点检测;串口通信
Abstract
Environmentaltemperaturetoindustry,agriculture,merce,andpeoplesdailylifehasalotofinfluence,andthemeasurementofthetemperaturewillbeeanindispensablepeopleproductionandlifeofthework、Alongwiththedevelopmentofthesinglechipmicroputertechnology,microputerinthedailyelectronicproductsismoreandmoreextensiveapplication,thetemperaturesensorDS18B20havegoodlinear,stableperformance,highsensitivity,anti-interferenceabilitystrong,easytouse,widelyusedintherefrigerator,airconditioner,granaries,etcindailylifetemperaturemeasurementandcontrol、
Thedesignofthedigitalthermometerintroducedusesinglechipputer89s52microcontroller,temperaturesensorDS18B20use,withatotalof4cathodetubeLEDdigitaldisplaytorealizedynamicwaytemperature,inturntime-sharingelectricity,whichgreatlysimplifiedthehardwarecircuit,andatthesametime,theserialinterfacemunicationmodecangreatlysimplifiedthehardwarecircuitandsoftwareprogramdesign,savetheI/Oport、DigitaltemperaturesensorDS18B20isthesinglebusdevicesand51SCMposition,temperaturemeasurementsystem,withsimpleline,littlevolumefeatures,butatamunicationsline,canbearticulatedmultipleDS18B20,socanformmulti-pointtemperaturemeasurementandcontrolsystem、
KeyWords:SingleChipMicroputer;Multi-pointdetection;Serialmun-
-ication
目录
TOC\o1-3\h\uHYPERLINK1绪论 PAGEREF_Toc230461
HYPERLINK\l"_Toc33671、1前言 PAGEREF_Toc33671
HYPERLINK1、2研究背景 PAGER