1、 0 基于单片机的水温控制系统设计基于单片机的水温控制系统设计 摘要: 本水温控制系统以 MCS-51 单片机为中心控制器件, 主要由温度传感模块, A/D 转换放大模块,单片机编程模块,显示模块,控制模块等部分组成。温度信 号由温度传感器 AD590 采集,经过放大转化为电压信号进行编码,测温分辨率 0.1。水温实时控制由继电器电热丝和风扇进行升温和降温。显示部分由“人机 交互界面”的 12864 液晶显示,增加可读性。该系统具备较高的测量精度,能较 好的完成设计要求。 关键字:MCS-51 单片机 AD590 水温控制 Abstract: The temperature control s
2、ystem ,which is regarded as the central control device of MCS-51 microcontroller, is constructed by the temperature sensing module, A/D converter amplifier module, control module, microcontroller programming module, display module and other components. Temperature signal is collected byte AD590 temp
3、erature sensor which is amplified into a voltage signal is encoded, temperature resolution is 0.1 . Real-time control temperature can be heated by heating wire and electric fan. Display part is quoted by “man-machine interface” of 12864 LCD to increase the readability. The system features is of high
4、 accuracy, and it can have better complete of the design requirements. Keywords: MCS-51 microcontroller AD590 temperature control 1 目录 1.引言2 1.1设计任务2 1.2设计要求2 2.系统设计方案2 2.1 各模块的电路的方案选择及论证3 2.1.1 主机控制模块 3 2.1.2 温度控制模块 3 2.1.3 温度采集模块 3 2.1.4 显示模块 4 2.2 系统各模块的最终方案4 3.功能模块设计和参数计算4 3.1 温度采集部分4 3.2 单片机控制部分 6 3.3 温度控制电路6 3.4 键盘及数字显示部分 7 4.软件设计 7 4.1 主程序7 4.2 液晶显示模块8 4.3 温度读取及加热散热控制9 5.系统测试及结果分析9 5.1 实用仪器及型号 9 5.2.2 温度数据采集测试记录 9 5.2.3 水温控制测试10 5.2.4 温度突变测试10 6.总结 11 参考文献12 2 1. 引言 在能源日益紧张的今天,电热水器、