1、 I 摘 要 随着现代信息技术的飞速发展,温度测量控制系统在工业、农业及人们的日 常生活中扮演着一个越来越重要的角色,它对人们的生活具有很大的影响,所以 温度采集控制系统的设计与研究有十分重要的意义。本次设计的目的在于学习基 于 51 单片机的多路温度采集控制系统设计的基本流程。本设计采用 STC89C52 单 片机作为数据处理与控制单元,采用温度传感器 PT100 进行温度的采集把温度的 物理量转化为电阻值。然后通过 PT100 温度变送器把 PT100 温度传感器的电阻值 转化为 0-5V 的电压值 。 然后通过 PCF8591AD 转化模块把变换后的电压值转化为 数字量。最终传给单片机系
2、统。此设计有两个按键控制两路温度的显示切换。从 而达到多路监测的目的。而且本次设计设有两个 LED 显示等分别表示正常温度和 非正常温度两种形式。正常温度转化为非正常温度的临界值可由键盘设定来达到 实际工作的要求。 关键词:单片机,温度传感器,温度变送器,AD 转化模块,I2C 总线 II ABSTRACT With the rapid development of modern information technology, temperature measurement and control system in industry, agriculture and peoples dail
3、y life plays an increasingly important role in peoples daily life, it has a great impact, so the temperature of the control system design and research are very important. This design aims to study based on 51 single-chip temperature acquisition and control system design of the basic flow. This desig
4、n adopts STC89C52 chip as the data processing and control unit, with the temperature sensor PT100 gathering the temperature physical quantity into a resistance value. Then through the PT100 temperature transmitter PT100 temperature sensor resistance value into a 0-5V voltage value. Then through PCF8591 AD conversion module to transform the voltage value is converted into digital quantity. Finally to the microcontroller system. This design has two buttons control the two temperature display to