1、I 基于基于 18B20 温度报警系统毕业设计温度报警系统毕业设计 摘要摘要 温度的检测与控制是工业生产过程中比较典型的应用之一, 随着传感器在生 产和生活中的更加广泛的应用, 利用新型单总线式数字温度传感器实现对温度的 测试与控制得到更快的开发, 本文设计了一种基于 AT89C51 的温度检测及报警系 统。该系统将多个单总线温度传感器 DS18B20 并接在控制器的一个端口上,对各 个传感器温度进行循环采集,将采集到的温度值与设定值进行比较,当超出设定 的上限温度时,通过 ISD1420 语音电路给出语音提示及报警信号。文中给出了单 根数据线上扩展多个温度传感器的设计方法,并给出了系统实现的
2、硬件原理图及 软件流程图。经实验测试表明,该系统测量精度高、抗干扰能力强、报警及时准 确,具有一定的参考价值。该系统设计和布线简单,结构紧凑,体积小,重量轻, 抗干扰能力强,性价比高,扩展方便,在大型仓库,工厂,智能化建筑等领域的 多点温度检测中有广阔的应用前景。 关键词关键词:数字温度传感器;单总线;通信协议;DS18B20;AT89C2051;LED 显示 器;报警信号。 II Based on the 18B20 temperature alarm system design Abstract Temperature detection and control of industrial
3、 production process, one of the more typical applications, with sensors in production and life is more widely used, using a new single-bus digital temperature sensor to achieve the test and control the temperature more rapidly development, this paper is designed based on AT89C51 temperature detectio
4、n and alarm systems. The system will be more than a single-bus temperature sensor DS18B20 and connected to a port on the controller, the temperature sensors on each loop collection, the temperature will be collected to compare with the set value, when the temperature exceeds the upper limit set , through the ISD1420 voice circuit gives voice prompts and alarm signal. In this paper, a single data lines extend multiple temperature sensor design methods and gives the system implementation of hard