




如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
1 摘要 随着现代信息技术的飞速发展,在生产中温度的准确测量是一个比较困难的事情从最初的酒精、水银温度计到现在的数字化、集成化的温度检测系统。可见传感器的发展是飞快的。它快速的发展必将带来新一轮的工业化的革命和社会发展的飞跃。 本文从硬软件两个方面介绍了基于AT89S52单片机温度自动检测系统的设计。系统硬件由控制电路、温度采集电路、键盘和LED显示电路组成。软件设计从设计思路、软件系统框图出发,先介绍整体的思路后,再逐一分析各模块程序算法的实现,最终编写出满足任务需求的程序。最终通过DS18B20采集温度并显示出来,由此对周围环境的温度进行有效检测与报警。基本上满足了温度检测与报警的要求,具有超调量小,采样值与设定值基本一致,操作简单等优点。 本设计创新点在于采用数字式温度传感器DS18B20作为感温元件,占用单片机引脚少,因而可以利用空余引脚通过软件模拟和温度显示。 关键词:温度检测;AT89S52;LED显示器;DS18B20温度传感器 ABSTRACT Withtherapiddevelopmentofmoderninformationtechnology,accuratemeasurementoftemperatureintheproductionisadifficultthingfromtheinitialalcohol,mercurythermometertothepresentdigital,integratedtemperaturedetectionsystem.Visiblesensordevelopmentisfast.Itsrapiddevelopmentwillbringaboutanewroundofindustrialrevolutionandaleapofsocialdevelopment. ThispaperintroducesthedesignofautomaticdetectionsystemoftemperaturebasedonAT89S52fromtwoaspectsofhardwareandsoftware.Thesystemhardwareconsistsofcontrolcircuit,temperatureacquisitioncircuit,keyboardandLEDdisplaycircuit.Softwaredesignfromthedesignideas,softwaresystemblockdiagram,firstintroducedtheoverallidea,andthenonebyonetoanalyzetheimplementationofeachmoduleprogramalgorithm,andultimatelytowriteprogramstomeettheneedsofthetask.FinallythroughtheDS18B20collectiontemperatureanddisplay,thesurroundingenvironmentofthetemperatureforeffectivedetectionandalarm.Basicallymeettherequirementsoftemperaturedetectionandalarm,withasmallovershoot,thesamplingvalueandthesetvalueisbasicallythesame,easytooperateandsoon. ThedesigninnovationistheuseofdigitaltemperaturesensorDS18B20asatemperaturesensor,theuseofsingle-chippin,andthuscanbeusedinthesparepinthroughthesoftwaresimulationandtemperaturedisplay. Keyword:Temperaturedetection;LEDAT89S52display;DS18B20temperaturesensor1 目录 TOC\o"1-3"\h\uHYPERLINK\l_Toc31441引言 PAGEREF_Toc314412 HYPERLINK\l_Toc40231温度采集系统的设计说明 PAGEREF_Toc40232 HYPERLINK\l_Toc260761.1温度控制系统完成的功能 PAGEREF_Toc260762 HYPERLINK\l_Toc272131.2温度采集系统方案 PAGEREF_Toc272132 HYPERLINK\l_Toc171641

王子****青蛙
实名认证
内容提供者


最近下载
最新上传
浙江省宁波市2024-2025学年高三下学期4月高考模拟考试语文试题及参考答案.docx
汤成难《漂浮于万有引力中的房屋》阅读答案.docx
四川省达州市普通高中2025届第二次诊断性检测语文试卷及参考答案.docx
山西省吕梁市2025年高三下学期第二次模拟考试语文试题及参考答案.docx
山西省部分学校2024-2025学年高二下学期3月月考语文试题及参考答案.docx
山西省2025年届高考考前适应性测试(冲刺卷)语文试卷及参考答案.docx
全国各地市语文中考真题名著阅读分类汇编.docx
七年级历史下册易混易错84条.docx
湖北省2024-2025学年高一下学期4月期中联考语文试题及参考答案.docx
黑龙江省大庆市2025届高三第三次教学质量检测语文试卷及参考答案.docx