文档介绍:摘要
随着电子技术的快速发展,电子产品在人们的生活中得到了广泛的应用。目前,温度计的发展也很快,从原始的玻璃管温度计发展到了现在的热电阻温度计、热电偶温度计、数字温度计等等。其中,数值温度有读取方便,控制灵活等特点而被广泛的应用。计本文将介绍一种基于单片机控制的数字温度计,本温度计的温度采集使用DS18B20温度传感器,温度显示采用LCD1602显示,具有两路温度数据采集功能,能切换测量两路温度并显示路号、温度,可分别设定温度上下限温度值,有过限报警功能。
关键词:数字温度计;DS18B20;两路;过限报警
Abstract
With the rapid development of electronic technology, electronic products had widely used in our lives. Currently, the thermometer developed very rapidly from the original glass thermometer into the current of the resistance thermometer, thermocouple thermometer, digital thermometer, and so on. Among them, the value of temperature reading easy and flexible control features have been widely used. This article introduces a design based on STC89C52RC digital thermometer, the temperature of the thermometer collection using DS18B20 temperature sensor, temperature display with LCD1602 display, with a two-channel temperature data acquisition, can switch two temperature measurement and display the road number, temperature, Temperature can be set on the lower temperature, there was alarm function.
Key words:Digital thermometer; DS18B20; Off alarm
目录
引言……………………………………………………………………3
1 总体设计方案…………………………………………………… 3
数字温度计设计方案论证………………………………………………… 3
总体设计框图………………………………………………………… 3
2 相关器件介绍……………………………………………………4
STC89C52RC 处理器…………………………………………………… 4
DS18B20温度传感器……………………………………………………… 4
1602液晶…………………………………………………………………… 7
3电路原理与功能分析………………………………………………10
电源输入电路……………………………………………………………… 10
………………………………………………………………11
…………………………………………………………………11
…………………………………………………………12
………………………………………………………………………12
4实物接口描述……………………………………………………… 12
…………………………………………………………13
…………………………………………………… 13
总结…………………………………………………………………… 14
致谢………………………………………………………………… 15
参考文献………………………………………………………… 16
附录……………………………………………………………… 17
附录A …………………………………………………………… 17
附录B ……………………………………………………………… 18
引言
随着人们生活水平的不断提高,产品的使用简单便捷是人们所最求的,同时,为了适应各种场合,人们对产品的要求也越来越高。这种需求下,许多产品趋向了数字化、