摘 要.............................................................................................................................I
ABSTRACT ................................................................................................................. II
引言................................................................................................................................1
1 智能热水器控制系统的总体设计方案....................................................................1
1.1 方案的分析与选择 ............................................................................................1
1.2 系统总体设计概述 ............................................................................................2
1.3 各功能模块介绍 ................................................................................................3
1.3.1 控制模块 ..................................................................................................3
1.3.2 显示模块 ..................................................................................................3
1.3.3 输入模块 ..................................................................................................4
1.3.4 其它模块 ..................................................................................................5
1.4 本章小结 ............................................................................................................6
2 硬件电路的设计与实现..........................................................................................6
2.1 单片机最小系统硬件电路设计 ........................................................................6
2.2 显示模块硬件电路设计 ....................................................................................7
2.3 温度传感器 DS18B20 电路设计 ......................................................................7
2.4 电子式水位开关硬件电路设计 ........................................................................8
2.5 时钟芯片电路设计 ............................................................................................8
2.6 声光报警电路设计 ............................................................................................9
2.7 按键设置模块电路设计 ..................................................................................10
2.8 电源和开关模块设计 ......................................................................................10
2.9 本章小结 ..........................................................................................................11
3 热水器控制系统的软件设计与算法实现..............................................................11
3.1 软件总体流程图 ..............................................................................................11
3.2 显示模块程序设计 ..........................................................................................12
3.2.1 写命令子函数 ........................................................................................12
3.2.2 写数据子函数 ........................................................................................13
3.3 温度传感器模块程序设计 ..............................................................................14
3.4 时钟芯片相关程序设计 ..................................................................................14