基于51单片机数字温度计的设计毕业论文

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

学士学位论文基于51单片机数字温度计的设计姓名:徐萍学号:2009093110院系:信息技术工程学院专业:通信工程指导教师:张丽申请学位:工学学士二○一三年五月郑重声明本人呈交的毕业设计论文,是在导师的指导下,独立进行研究工作所取得的成果,所有数据、图片资料真实可靠。尽我所知,除文中已经注明引用的内容外,本学位论文的研究成果不包含他人享有著作权的内容。对本论文所涉及的研究工作做出贡献的其他个人和集体,均已在文中以明确的方式标明。本学位论文的知识产权归属于培养单位。学生签名:日期:分类号:TP2XX密级:公开UDC:654学校代码:11390玉溪师范学院本科毕业设计(论文)基于51单片机数字温度计的设计BasedOn51Single-chipDesignOfDigitalThermometer作者徐萍学号2009093110申请学位工学学士指导教师张丽学科专业通信工程培养单位玉溪师范学院答辩委员会负责人评阅人2013年5月I基于51单片机数字温度计的设计摘要本文设计了一个基于单片机的数字温度计系统,其采用AT89C51芯片作为控制中心,DS18B20温度传感器为测温元件,LCD1602为显示器件,详细介绍整个设计的硬软件设计过程,其中硬件与单片机的连接过程是核心部分,软件编程中的各个模块设计和系统流程是重点,对每个电路设计过程作了详细介绍。其中,硬件设计部分包括最小系统设计、温度传感电路和报警电路设计、温度控制电路设计及显示电路设计;软件设计部分包括主程序设计、读温度子程序设计、温度转换命令子程序和计算温度子程序设计。根据设计方案,设计出来的温度计能实现温度采集和显示功能,能测量0~100℃之间的温度,测量精度为0.5℃,超过设定上下限报警提示。能根据需要任意设定上下限,使用方便,操作简单,具有高精度、高准确率、体积小和功耗低等优点,有一定的应用情景。关键词:单片机温度传感器数字温度计IIBasedOn51Single-chipDesignOfDigitalThermometerAbstract:Thispaperdesignedasystemofdigitalthermometerbasedonsinglechipmicrocomputer,theAT89C51chipasthecontrolcenter,DS18B20temperaturesensorfortemperaturemeasuringelement,LCD1602todisplaydevice,andintroducesindetailthedesignofhardandsoftwaredesignprocess,includingthehardwareandtheMCUconnectionprocessisthecorepartoftheeachmoduledesignandsystemsoftwareprogrammingprocessisthekey,foreachcircuitdesignprocessisintroducedindetail.Amongthem,thehardwaredesignpartincludestheminimumsystemdesign,temperaturesensingcircuitandalarmcircuitdesign,temperaturecontrolcircuitanddisplaycircuitdesign;Softwaredesignincludesthemainprogramdesign,thereadtemperaturesubroutinedesign,temperatureconversioncommandsubroutineandcalculationsubroutinedesigntemperature.Accordingtodesignscheme,designedthermometercanrealizetemperatureacquisitionanddisplayfunction,canmeasurethetemperatureisbetween0~100℃,themeasurementprecisionof0.5℃,exceedthesetupperandloweralarmprompt.Canaccordingtoneedanysetupperandlower,easytouse,simpleoperation,highprecision,highaccuracy,smallsizeandlowpowerconsumptionadvantages,hasthecertainapplicationsituations.Keyords:singalchipmicrocomputertemperaturesensorsdigitalthermometerIII目录摘要............................................................................................................................................................I目录.....................................................................................................................................................III第一章引言.............................................................................................................................................11.1研究的背景和意义.....................................................................................................................11.2电路工作原理.............................................................................................................................11.3论文结构安排.............................................................................................................................2第二章数字温度计的设计方案..............................................................................................................32.1数字温度计的功能要求.............................................................................................................32.2单片机的选择.............................................................................................................................32.3温度传感器的选择.....................................................................................................................32.3.1水银温度计......................................................................................................................32.3.2传统温度敏感元件..........................................................................................................32.3.3数字温度传感器DS18B20.............................................................................................42.4显示器的选择.............................................................................................................................42.4.1LED显示器......................................................................................................................42.4.2LCD1602液晶显示屏......................................................................................................42.5小结............................................................................................................................................5第三章硬件电路的设计..........................................................................................................................63.1本论文的总体设计思路.............................................................................................................63.2总体硬件电路的设计.................................................................................................................63.3单片机最小系统设计.................................................................................................................73.4温度传感电路和报警电路设计................................................................................................83.5温度控制电路设计...................................................................

1 / 32
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功