基于单片机的水温控制系统设计论文
摘要
温度控制系统可以说是无所不在,热水器系统、空调系统、冰箱、电饭煲、电风扇等家电产品以至手持式高速高效的计算机和电子设备,均需要提供温度控制功能。本系统的设计可以用于热水器温度控制系统和饮水机等各种电器电路中。它以单片机AT80C51为核心,通过3个数码管显示温度和4个按键实现人机对话,使用单总线温度转换芯片DS18B20实时采集温度并通过数码管显示,并提供各种运行指示灯用来指示系统现在所处状态,如:温度设置、加热、停止加热等,整个系统通过四个按键来设置加热温度和控制运行模式。
关键词: 单片机、数码管显示、单总线、DS18B20.
Abstract
Temperature control system can be said to be ubiquitous, water heaters, air conditioning systems, refrigerators, rice cookers, electric fans and other home appliances as well as high-speed and efficient hand-puters and electronic equipment are required to provide temperature control. The system design can be used for drinking water heater temperature control systems and other electrical circuits. AT80C51 microcontroller as the core of it, through the three temperature digital display and 4 keys to achieve man-machine dialogue, the use of single-chip bus temperature conversion temperature DS18B20 real-time acquisition and through the digital display and offers a variety of operating light to indicate system now live in the state, such as: temperature setting, heating, and stop heating, the entire system through the four buttons to set the heating temperature and control the operating mode.
KEY WORDS: Microcontroller, digital display, single bus, DS18B20
目录
摘要 I
Abstract II
目录 III
1 系统总体设计 1
绪论 1
硬件总体设计 1
2
软件总体设计 2
2 硬件系统设计 3
3
3
键盘电路 4
数码管及指示灯显示电路 5
温度采集电路 6
电源电路 11
12
3 系统总设计 14
14
各个模块的流程图 16-
读取温度DS18B20模块的流程 16
键盘扫描处理流程 17
报警处理流程 18
4 系统调试 20
硬件电路调试 20
软件调试 20
系统操作说明 21
数据测试 21
总结 22
致谢 23
参考文献 24
附录1:系统源程序 25
附录2:系统硬件总图 35
1 系统总体设计
绪论
及时准确地得到温度信息并对其进行适时的控制,,例如冶金、机械、食品、化工各类工业中,广泛使用的各种加热炉、热处理炉、反应炉等,对工件的水处理温度要求严格控制。对于不同控制系统,其适宜的水质温度总是在一个范围。超过这个范围,系统或许会停止运行或遭受破坏,所以我们必须能实时获取水温变化。对于,超过适宜范围的温度能够报警。同时,我们也希望在适宜温度范围内可以由检测人员根据实际情况加以改变。
基于单片机的水温控制系统设计论文_毕业设计论文 来自淘豆网m.daumloan.com转载请标明出处.