如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
徐州工程学院毕业设计(论文)-摘要温度的检测与控制是工业生产过程中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的测试与控制得到更快的开发,本文设计了一种基于AT89C51的温度检测及报警系统。该系统将多个单总线温度传感器DS18B20并接在控制器的一个端口上,对各个传感器温度进行循环采集,将采集到的温度值与设定值进行比较,当超出设定的上限温度时,通过ISD1420语音电路给出语音提示及报警信号。文中给出了单根数据线上扩展多个温度传感器的设计方法,并给出了系统实现的硬件原理图及软件流程图。经实验测试表明,该系统测量精度高、抗干扰能力强、报警及时准确,具有一定的参考价值。该系统设计和布线简单,结构紧凑,体积小,重量轻,抗干扰能力强,性价比高,扩展方便,在大型仓库,工厂,智能化建筑等领域的多点温度检测中有广阔的应用前景。关键词:数字温度传感器;单总线;通信协议;DS18B20;AT89C2051;LED显示器;报警信号AbstractTemperaturedetectionandcontrolofindustrialproductionprocess,oneofthemoretypicalapplications,withsensorsinproductionandlifeismorewidelyused,usinganewsingle-busdigitaltemperaturesensortoachievethetestandcontrolthetemperaturemorerapidlydevelopment,thispaperisdesignedbasedonAT89C51temperaturedetectionandalarmsystems.Thesystemwillbemorethanasingle-bustemperaturesensorDS18B20andconnectedtoaportonthecontroller,thetemperaturesensorsoneachloopcollection,thetemperaturewillbecollectedtocomparewiththesetvalue,whenthetemperatureexceedstheupperlimitset,throughtheISD1420voicecircuitgivesvoicepromptsandalarmsignal.Inthispaper,asingledatalinesextendmultipletemperaturesensordesignmethodsandgivesthesystemimplementationofhardwareandsoftwareflowdiagram.Theexperimentaltestsshowthatthishighaccuracy,stronganti-interferenceability,alarmtimelyandaccurate,withacertainreferencevalue.Thesystemdesignandlayoutsimpleandcompactstructure,smallsize,lightweight,anti-jammingcapability,cost-effectivetoexpandconvenience,inlargewarehouses,factories,constructionandotherareasofintelligentmulti-pointtemperaturemeasurementinawiderangeofapplicationsprospects.KeywordsdigitaltemperaturesensorsinglebuscommunicationprotocolsDS18B20AT89C2051LEDdisplayalarmsignal目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc249689258"1绪论1HYPERLINK\l"_Toc249689259"1.1课题背景1HYPERLINK\l"_Toc249689260"1.2温度检测与及报警系统的国内外状况1HYPERLINK\l"_Toc249689261"1.3温度参数、温度检测和语音报警3HYPERLINK\l"_Toc249689262"1.3.1温度参数3HYPERLINK\l"_Toc249689263"1.3.2温度检测3HYPERLINK\l