数字式温度控制器设计----论文- (李艳婷).doc
文本预览下载声明
毕业设计(论文)
题 目 数字式温度控制器
专 业 电子信息工程
班 级 10级电信一班
学 生 李艳婷
指导教师 田 杰
职 称 高 工
高科学院
2014 年
摘 要
信息科学和微电子技术的飞速发展给控制领域带来了巨大的飞跃,控制技术更加趋向自动化和智能化,为无数的使用者带来了方便。在控制领域里,温度是一个常见的名词,然而它所带来的技术问题和所起的作用却是非同一般的。本文研制的数字式定时温控系统是一个基于单总线数字式温度传感器DS18B20,以单片机芯片为核心的系统。采用单片机作为主要部分。它的主要组成部分有:AT89C52单片机、DS18B20温度传感器、LCD1602显示模块。它可以实时的温度显示和温度门限报警。本设计简单、性能稳定、灵敏度高、抗干扰能力强、使用方便等优点,广泛应用于养殖业及冰箱、空调器、粮仓等日常生活中温度的测量。
关键词:温度测量、AT89C52单片机、DS18B20温度传感器、LCD1602
Abstract
To the control areas, the rapid development of information science and microelectronics technology a huge leap forward control techniques tend to be more automated andintelligent, and has brought convenience for many users. In the control area, thetemperature is a common term, however, technical issues and the role it brings unusually.The digital time temperature control system developed in this article is a single bus-based digital temperature sensor DS18B20 single chip as the core system. Usingthe microcontroller as the main part. Its main components: AT89C52 microcontrollerDS18B20 temperature sensor, LCD1602, the display module. It can be real-timetemperature display and temperature threshold alarm. The design is simple, stable performance, high sensitivity, strong anti-jamming capability, easy to use, widely used inthe measurement of temperature in the daily life of the farming industry and refrigerators, air conditioners, silos and other.
Keywords: Temperature measurement. AT89C52 microcontroller. DS18B20 temperature sensor. LCD1602
目 录
摘 要 1
Abstract 2
目 录 1
第一章 绪论 2
1.1研究背景和意义 2
1.2目的及意义 4
1.3思路和主要内容 5
第二章 芯片功能简介 6
2.1单片机的发展情况和应用 6
2.2单片机的结构和性能 7
2.3单片机的选择 8
2.3.1管脚说明 9
2.3.2片上资源 12
2.4温度传感器的选择 17
2.4.1 DS18B20的外形和内部结构 18
2.4.2 DS18B20的测温原理 19
2.4.3 DS18B20的外部电路图 20
2.4.4 DS18B20的各个ROM命令 20
2.4.5 DS1820使用中注意事项 22
2.5 显示器的选择 23
第三章 硬件设计 28
3.1时钟震荡电路 28
3.2显示电路 28
3.3温度采集电路 29
第四章 软件设计 30
4.1主程序设计 30
4.2 DS18B20工作流程 31
4.3数据测试 32
显示全部