资源描述:
《片机多点测温系统》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、基于单片机多点测温系统的设计摘 要温度是工业生产中常见的和最基本的工艺参数之一,任何物理变化和化学变化的过程都与温度密切相关,在许多生产过程中常常需要测量和控制几十以至几百个点的数据。如果用常规模拟仪表来完成这些任务,由于检测点太多会使仪表台数相应增多,系统可靠性随之下降,维修困难。测量不精确是其主要方面,在这样的形式下,就需要一种能同时对多点温度进行测量,并能够进行数据传输。本课题用本课题以AT89C51单片机系统为核心,DS18B20智能传感器作为检测仪,通过系统总线及通信协议将采集的数据传送到主控机,进行进一步的存档、
2、处理。主控机负责控制指令的发送,控制各个从机进行温度采集,收集测量数据,并对测量结果(包括历史数据)进行整理、显示和存储。主控机与各从机之间能够相互联系、相互协调,从而达到系统整体统一、和谐的效果,进而达到对多点进行温度监控的目的的系统。关键词:AT89C51单片机;DS18B20智能传感器;温度测量IManagementSystemForBookStorageAbstractThetemperatureiscommonintheindustrialandtechnologicalparametersofthemostbas
3、ic,anyphysicalandchemicaltheprocessofchangeintemperatureiscloselyrelated,inmanyoftheprocessoftenrequiresgagingandcontrolsandhundredsofthedata.Ifyouusearegularinstrumenttofinishthetask,becausedetectionpointtoomuchwilltheinstrumentnumberofunitscorrespondingnumbersyst
4、emreliabilitycontinuetodecline,themaintenanceofdifficulties.Noaccuratesurveyisthemainaspects,insuchform,akindofenergyformoretemperaturemeasurementismadeandcanbeusedfordatatransmission.ThisissuewiththissubjectinamonolithicintegratedcircuitsAT89C51systematthecore,asi
5、ntelligentsensorsDS18B20ignition-coilthroughsystermbusandcommunicationsprotocolwouldcollectdatatomaster,anyrecord,processing.Mastermachineinstructions.responsibleforcontrollingthecontrolofthedifferentfromtakingthecollection,datacollectionmeasuresandthemeasurement(i
6、ncludehistoricaldata)forthedisplayandstorage.Mastermachineandfromtheinterrelationsbetween,harmonyandachieveaunifiedsystem,harmony,andreachformoreforthepurposeofthemonitoringsystem.Keywords:AT89C51microcontroller;SmartSensorDS18B20;TemperaturemeasurementI目 录摘 要IAbst
7、ractII目录III第一章引言11.1单片机发展的概述11.2课题意义11.3开发工具的选择2第二章所用开发工具简介32.1Keil简介32.2Protues简介62.3C51与C语言的异同8第三章系统总体论证分析93.1系统分析93.2系统整体目标103.3系统的实现方案10第四章系统硬件电路的设计124.1系统硬件电路的构成及测量原理124.1.1系统硬件电路设计124.251单片机实验板及相关信息134.2.1单片机控制电路134.3温度采集模块174.3.1DS18B20介绍174.3.2DS18B20内部结构和工
8、作原理194.4系统详细设计204.4.1键盘模块20354.4.2液晶显示模块214.4.3数码管驱动模块22第五章系统软件程序设计245.1 程序设计开发环境245.2软件程序设计245.3相关程序的简单介绍255.3.1DS18B20测温程序设计255.3.2数码管显示程序285.4