摘 要:作为被受人们关注的环境参量,温度一直以来都是与我们的生活休戚相关。温度的测量和控制不仅极大的运用在工业生产过程中,而且在农业生产中也要对其进行最有益的运用和掌控,因此对于多功能数字温度的进一步研究显得极为有必要。82439
较之传统的温度计,该多功能温度计凸显了其更加简便的优势,由于减少了外部的硬件电路,设计成本将大大降低。除此之外DS18B20温度计的研究和应用将延伸到更多方面。高温报警装置有很大的发展前景在多点远程监视和控制等方面。本文还讨论了故障排除和性能分析,以及其他各个方面的相关系统。
本文对于要展开研究的数字体温计将主要由硬件和系统程序都设计的研究中,它包括一个主控制器的硬件电路,监测和控制电路和显示电路。
毕业论文关键词:单片机;AT89C52;温度传感器;DS18B20
The Design of The Multi-function Digital Thermometer
Abstract: As has been affected by attention parameters ambient temperature has always been solidarity with our lives, covering all aspects of our lives。 Temperature measurement and control not only of great use in industrial processes, but also in agricultural production should be the most beneficial use and control, in order to obtain the maximum benefit, so for further study multifunction digital temperature appears to extremely necessary。
Research for this article to be a study of the digital thermometer mainly of hardware and system programs are designed, which includes a master controller hardware circuit, monitoring and control circuit and display circuit。 The main controller, temperature sensor, display AT89C52 microcontroller used in the circuit, DS18B20,8 common cathode LED。 The system is composed of two main program and subprograms, subroutines including temperature and display routines programming。 Set interface is simple, high precision, anti-jamming performance, stable, and many other advantages in a new DS18B20 single-bus digital temperature sensor is a temperature measurement and A / D converter in one direct digital output wire digital temperature sensor。
Compared with the traditional thermometer, this multifunction thermometer highlights its strengths easier, by reducing the external hardware circuit design costs will be greatly reduced。 In addition DS18B20 thermometer research and applications will be extended to more aspects。 As high temperature alarm device, multi-point remote monitoring and control and other aspects have great development prospects。 Additionally, this article describes the various aspects of debugging and performance analysis, and other related systems。
Key Words: Microcontroller Unit;AT89C52;Temperature Sensor;DS18B20
目 录
摘要 1
引言 2
1。 设计任务及方案分析 2
1。1 设计任务及要求 2
1。2 整体方案设计和方案论证 3
1。3 分析方案和温度测量 3
2。 硬件功能介绍 4
2。1 单片机AT89C52 4
2。2 温度传感器DS18B20 5
3。 系统硬件电路的设计 9
3。1 电路原理 9
3。2 驱动电路模块原理 9
3。3 显示模块原理 9
4。 软件程序分析 10
4。1 主程序流程 10