摘 要本课题设计的是一套基于单片机控制的仓库温度监控系统,主要是对仓库的温度监控,以保证存储物品的安全。系统以单片机 AT89C51 为核心,从 DS18B20 温度检测的数据采集、设定值调整、LED 数码管显示电路、报警与输出控制通风机等几个方面出发,详细讨论和设计了基于单片机的仓库温度监控的各个部分容,设计了单片机与其外围电路,并结合一套经典的程序算法。给出了一套合理的基于单片机的仓库温度监控系统的软硬件解决方案。关键字:温度检测;DS18B20;单片机;温度控制AbstractThis issue is a set of design based on single chip controlled warehouse temperature monitoring system, mainly for warehouse temperature monitoring to ensure the safety of stored items.AT89C51 microcontroller as the core system, from the DS18B20 thetemperature detection data acquisition, set the value of adjustment, LED digital tube display circuit, alarm and output control fan, and several other aspects of starting a detailed study and design of microcomputer-based warehouse temperature monitoring of various parts of the contents of the microcontroller and its peripheral circuit design, combined with a set of procedures for the classic algorithm. Is given a reasonable microcontroller-based warehouse temperature monitoring system hardware and software solution.Keywords: temperature detection ; DS18B20 ; microcomputer temperature control目 录摘要 IAbstract..............................................................................................II引言 11 讨论动态 21.1 讨论的背景与意义 21.2 国外仓库技术现状 21.3 仓库测控系统的进展趋势 31.4 本文的主要工作 42 系统的总体设计 53 系统的硬件部分设计与实现 63.1 单片机介绍 63.1.1 单片机概述 63.1.2 单片机编程语言介绍 73.1.3 系统选择 83.1.4 AT89C51 引脚功能介绍 93.2 温度传感器 DS18B20.............................................................113.2.1 温度传感器分类 113.2.2 DS18B20 简介 133.2.3 DS18B20 的硬件连接 144 温度...