基于单片机的温度及压力智能控制系统设计摘 要本文设计了以 AT89C51 单片机为核心的温度和压力控制系统的工作原理以及设计方法。温度信号由温度传感器 PT100 采集, 再由变送器将信号变换为 0-5V 的信号给 PCF8591 芯片。单片机最后经过 IIC 总线将模拟量信号读回来或者发送出去。压力信号也是由压力传感器采集回来, 再由变送器变换为 0-5V 的电压信号给PCF8591 芯片。PCF8591 芯片是支持 4 路模拟量输入, 1 路模拟量输出的 8 位芯片, 而且支持 IIC 总线, 最大能够同时接 8 个同样的芯片。单片机将采集回来的信号经过计算与处理后将温度和压力值显示在 LCD1602 液晶上, 设计中介绍了控制系统的硬件电路, 包括: 温度、 压力检测电路、 温度控制电路、 压力控制电路、 电源电路、 报警电路、 显示电路、 单片机最小系统电路、 按键电路和其它一些单片机的接口电路。本设计中还介绍了软件程序编写部分, 都采纳模块化的结构编程。软件程序部分主要包括: 主程序、 显示程序、 温度和压力采集子程序、 按键子程序、 控制输出子程序等。关键词: A/D 转换; 单片机; 温度及压力采集; 智能控制AbstractIn this paper, the design of the working principle and designing method of AT89C51 microcontroller as the core to the temperature and pressure control system. Temperature signal from the temperature sensor PT100 acquisition, and then by the transmitter signal into the 0-5V signal to the PCF8591 chip. SCM through IIC bus to analog signals read back or send out. The pressure signal is returned from the pressure sensor, the transmitter is converted to the 0-5V voltage signal to the PCF8591 chip. The PCF8591 chip is supported by 4 analog input, 8 bit chip 1 analog output, and support for IIC bus, the maximum can connect 8 of the same chip. SCM will the collected signals through the calculation and processing after the temperature and pressure values are displayed in the LCD1602 crystal, the design introduces the hardware circuit, control system includes: temperature, pressu...