目 录
1 引言 .................................................................1
2 系统概述 .............................................................1
2.1 简述 ...........................................................1
3 设计思路分析 .........................................................2
4 方案论证 .............................................................2
4.1 温度传感器 .....................................................2
4.2 显示部分 .......................................................2
4.3 输出控制 .......................................................3
5 硬件设计及工作原理 ...................................................3
5.1 系统功能及工作流程介绍 .........................................3
5.2 功能模块 .......................................................5
5.3 系统硬件设计 ...................................................5
5.3.1 DS18B20测温电路 ..........................................5
5.3.2 DS18B20的特点介绍 ........................................6
5.3.3 单线(1-wire)技术 .........................................6
5.3.4 DS18B20的引脚及功能介绍 ..................................7
5.3.6 输出控制电路 .............................................9
5.3.7 温度越线报警电路 ........................................10
6 系统的应用软件设计 ..................................................10
6.1 软件描述 ......................................................10
6.1.1 键盘管理模块 ............................................10
6.1.2 显示模块 ................................................11
6.1.3 控制模块 ................................................11
6.1.4 温度报警模块 ............................................12
6.1.5 主程序和中断服务程序流程 ................................12
7 系统调试与仿真 ......................................................14
7.1 硬件调试......................................................14
7.1.1 脱机检查 ................................................14
7.1.2 仿真调试 ................................................14
7.1.3 检查CPU的时钟电路 .......................................14
7.1.4 对扩展的RAM、ROM进行检查调试 .............................15
7.2 软件调试.....................................................15
7.2.1 交叉汇编 ................................................15
7.2.2 用汇编语言 ..............................................15
7.2.3 手工汇编 ................................................15
7.3 系统仿真.....................................................15
2