基于单片机的仓库温度多点检测系统设计摘要多点温度检测在各个仓库、药库、运输集装箱等场所广泛应用。本仓库多点检测中的主要控制核心模块用AT89C52,并有4个DS18B20温度传感器、LCD1602显示器、和一个风机组成系统。4个传感器放于仓库的4个不同的位置,显示器显示4个传感器的温度,并放在仓库的门外,用一个继电器控制风机的开启和关闭。通过试验测试表明,系统基本到达要求。关键词温度检测显示温度调节AT89C52单片机Designofwarehousetemperaturemulti-pointdetectionsystembasedonsinglechipmicrocomputerAbstract:Multipointtemperaturedetectioniswidelyusedinvariouswarehouses,pharmacystore,transportcontainersandotherplaces.ThemaincontrolcoremoduleofthewarehousemultipointdetectionisAT89C52,andhas4DS18B20temperaturesensors,LCD1602monitorsandafansystem.The4sensorsareplacedin4differentpositionsinthewarehouse.Thedisplaydisplaysthetemperatureofthe4sensorsandputsitoutsidethewarehouse.Arelayisusedtocontroltheopeningandclosingofthefan.Thetestresultsshowthatthesystembasicallymeetstherequirements.KeywordstemperaturedetectionanddisplaytemperatureadjustmentAT89C52microcontrollerKeywords:temperaturedetection;display;temperatureregulation;AT89C52MCU目录第一章引言························································11.1研究的背景及其意义············································11.2在国内外的发展状况············································2第二章系统硬件设计···············································52.1仓库介绍·······················································62.2系统硬件总体设计················································72.3单片机·························································82.4LCD1602液晶显示················································92.5DS18B20温度传感器··············································102.6电磁继电器····················································112.7硬件总体结构··················································12第三章系统软件设计··············································133.1软件总体设计··················································143.2DS18B20子程序设计·············································153.3LCD1602显示子程序设计········································163.4继电器控制子程序设计·········································17第四章系统调试·················································17结论·····························································18致谢·····························································19参考...