提出一种基于DS18B20和AT89C51的多路温度监测系统,详细介绍了系统的硬软件设计。该设计通过DS18B20单总线结构与单片机多路并行输入相结合的硬件改进方式,克服了DS18B20采用单总线结构时温度数据读取慢、单总线驱动能力不足的问题,实现了多路温度实时快速读取和巡回监测。该系统还具有超温报警,与上位机通讯等功能。最后,利用Proteus与Keil C51软件联合仿真实现了设计的仿真调试。%A multi⁃channel temperature monitoring system based on DS18B20 and AT89C51 is presented. The system's hardware and software design methods are described in detail. By the improved mode combining DS18B20 1wire⁃bus structure with multiple parallel input of AT89C51,the deficiencies such as the slow temperature data acquisition and insufficient 1⁃wire bus driving ability were overcome,and then the functions of real⁃time multi⁃channel temperature reading and tour temperature monitoring were realized. The system also has the functions of high⁃temperature alarm and communication with PC. The simula⁃tion debugging was realized by Proteus and Keil C51 softwares.
展开▼