基于STC89C52单片机的数字温度计-单片机课程设计.doc
上传人:天马****23 上传时间:2024-09-12 格式:DOC 页数:32 大小:2.2MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于STC89C52单片机的数字温度计-单片机课程设计.doc

基于STC89C52单片机的数字温度计-单片机课程设计.doc

预览

免费试读已结束,剩余 22 页请下载文档后查看

10 金币

下载此文档

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

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

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

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

通信***班,***基于STC89C52单片机的数字温度计单片机课程设计报告项目名称专业班级学生姓名指导教师年月日PAGE\*MERGEFORMATIII摘要随着时代的进步和发展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术,本文主要介绍了一个基于STC89C52单片机的测温系统,详细描述了利用数字温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。实验结果表明,DS18B20与STC89C52结合可以实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。关键词:温度检测;单片机;数字温度传感器;温度采集;AbstractWiththeprogressanddevelopmentofthisepoch,Single-chipMicrocomputer(SCM)technologyhasspreadintovariousfields---ourlives,work,scientificresearchesandsoon,becomingacomparativelymaturetechnology.Thisarticlewasmainlywrittentointroduceatemperaturemeasurementsystem(TMS)basedonSTC89C52SCM.It’swithadetaileddescriptionofthedevelopmentprogressofTMSusingdigitaltemperaturesensor,puttingemphasisonanalyzingthehardwareconnectionofthesensorundertheSCM,softwareprogrammingandeachmoduleprogress.Thissystemcanconvenientlyachievethetemperaturedatacollectionanddisplay,andcanbearbitrarilysetupperandloweralarmtemperature.It’squiteeasytouse,withhighaccuracy,widerange,highsensitivity,smallsize,lowpowerdissipation,etc.Thus,it’ssuitableforourdailylifeandindustrialandagriculturalproduction’stemperaturemeasurement,andalsocanbeusedastemperatureprocessingmodulesembeddedinothersystems,asanauxiliaryexpansionofothermainsystems.Experimentalresultsshowthat,theintegrationofDS18B20andSTC89C52canachievethesimplestTMS,whichhassimplestructure,stronganti-jammingcapability,suitableforconductingin-situtemperaturemeasurement,allaboveleadingthistohavebroadprospectsofapplications.Keywords:Temperaturemeasurement;Single-chipMicrocomputer(SCM);DigitalTemperaturesensor;Temperaturedatacollection目录TOC\o"1-3"\h\uHYPERLINK\l_Toc13796摘要PAGEREF_Toc13796IHYPERLINK\l_Toc19613AbstractPAGEREF_Toc19613IIHYPERLINK\l_Toc18981第1章绪论PAGEREF_Toc189811HYPERLINK\l_Toc182771.1背景PAGEREF_Toc182