目 录
摘要................................................................I
ABSTRACT...........................................................II
1 绪论..............................................................2
1.1 选题的背景 ..................................................2
1.2 数字温度计简介 ..............................................2
1.2.1 数字温度计的特征.......................................2
1.2.2 设计实现的目标.........................................3
2 数字温度计的方案设计..............................................4
2.1 设计方案论证与比较 ..........................................4
2.1.1 显示电路方案...........................................4
2.1.2 测温电路方案...........................................4
2.2 系统总体方案 ................................................4
3 数字温度计的硬件电路设计..........................................5
3.1 控制电路 ....................................................5
3.1.1 MCU 简介 ...............................................5
3.2.2 最小系统模块...........................................6
3.3 温度传感器设计 ..............................................7
3.3.1 DS18B20 简介 ...........................................7
3.3.2 温度传感器与单片机的连接...............................9
3.3.3 复位信号及外部复位电路................................10
3.4 单片机与报警电路 ...........................................10
3.5 显示电路 ...................................................10
4 软件设计.........................................................12
4.1 DS18b20 的读操作............................................12
4.2 DS18b20 的温度数据处理......................................13
4.3 1602 显示部分...............................................14
5 运行测试.........................................................16
5.1 温度测试 27
5.2 报警设置 28
5.3 报警测试 29
参考文献...........................................................30