摘要随着科技生产力的发展、生活水平的挑高,现代社会对温度测量的范围要求不断增大,同时对温度测量的精度要求也不断提高。因此,对如何方便、精确、实时的测量温度的研究也成为一个重要的研究课题。
本课题设计了一种基于PIC单片机的高精度的数字温度检测系统。通过对各种温度传感器的研究与比较,对不同的方案进行深入论证,设计了包括读温度,写温度,温度采集,温度处理,温度显示等在内的完整系统。本设计的CPU采用以PIC16F877A为主控芯片的单片机系统,主要由DS18B20温度传感器作为信号采集装置,对温度信号进行采集后在LED上显示。51276
本课题主要使用C语言进行程序编写,通过程序与PIC开发板硬件的配合,最终可以实现具有对当前环境温度采集并显示的功能。此外,温度测试系统综合运用了微机原理、自动控制原理等多方面知识,是对所学知识的一次综合测试。
毕业论文关键词 : PIC16F877A,DS18B20,LED液晶显示,温度控制
Abstract
With technological development of productivity, living standards, high-ceilinged, modern society on the temperature measurement range requirements continue to increase, while the temperature measurement accuracy requirements are also rising. Therefore, how convenient, accurate, real-time measurement of the temperature of the study has also become an important research topic.
This topic is designed based on PIC microcontroller precision digital temperature detection system. Through a variety of temperature sensors research and compare different scenarios in-depth feasibility studies, designs, including the temperature reading, writing temperature, the temperature acquisition, processing temperature, temperature display, including a complete system. The design of the CPU uses to PIC16F877A microcontroller chip for the master system, mainly by the DS18B20 temperature sensor as a signal acquisition device, after collection of the temperature signal on the LED display.
The main subject of the use of C language programming, through the program with PIC development board hardware co-ordination can be achieved with the end of the current ambient temperature acquisition and display functions. In addition, the temperature test system integrated use of computer theory, automatic control theory and other aspects of knowledge, is the knowledge of a comprehensive test.
Keywords: PIC16F877A,DS18B20,LED Liquid crystal display,Temperature control
目录
第一章 绪论 1
1.1选题的背景和意义 1
1.2.1、目前国内外常用的温度检测方法: 1
1.2.2、新兴检测技术 2
1.2.3、国内外温度检测技术的发展趋势 3
1.3 DS18B20温度传感器介绍 3
1.4本课题的主要研究内容 4
1.5 本章小结 5
第二章 方案的论证 6
2.1 温度传感器的选择 6
2.2 主控制器选择 6
2.3 系统总体设计方案 6
2.4 本章小结 7
第三章 系统的硬件电路 8
3.1 DS18B20温度传感器电路 8
3.1.1 传感器工作原理 8
3.1.2 DS18B20内部结构与测温原理 9
3.2 PIC单片机开发板