没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的温度检测系统-毕业论文
需积分: 50 14 下载量 133 浏览量
2013-04-13
10:30:26
上传
评论
收藏 815KB DOC 举报
温馨提示
这是测控专业的本科生毕业论文,题目是:基于单片机的温度检测系统
资源推荐
资源详情
资源评论























毕 业 设 计
设计题目:基于单片机的温度检测系统设计
系 别: 机电工程系
班 级: 06
测控技术与仪器 ( 2 ) 班
姓 名:
指 导 教 师:
2 0 1 0 年 6 月 10 日

基于单片机的温度检测系统设计
摘要
在日常生活及工业生产过程中,经常要用到温度的检测及控制,温度是生产
过程和科学实验中普遍而且重要的物理参数之一。在生产过程中,为了高效地进
行生产,必须对它的主要参数,如温度、压力、流量等进行有效的控制。温度控
制在生产过程中占有相当大的比例。温度测量是温度控制的基础,技术已经比较
成熟。该设计介绍了一种利用单片机 AT89S51 组成的高精度温度控制系统,从硬
件和软件两方面介绍了单片机温度控制系统的设计思路。着重介绍了硬件原理图
和程序框图。阐述了系统的工作原理、设计及实现。由 DS18B20 温度传感器芯片
测量当前的温度,并将结果送入单片机。然后通过 AT89S51 单片机对送来的温度
进行计算和转换,并将此结果送入液晶显示模块。最后,由 1602 液晶显示器将温
度显示出来。它可以实时的显示和设定温度,实现对温度的自动控制,当温度值
超出上、下限时自动报警,实现了系统结构简单、性能可靠、控制精度高。同时
系统具有扩展性好,分辨率高,测量范围宽,抗干扰性强等特点。
关键词:AT89S51单片机 DS18B20温度传感器 温度检测
Design of Temperature Detection System
Based On SCM

Abstract
The detection and control of temperature is often used in daily life and industrial
production process, temperature is one of the important physical parameters of the
production process and scientific experiments generally. During the production process,
in order to carry out the production efficiently, we must control its main parameters well,
such as temperature, pressure and so on .Temperature control in the production processes
a large proportion. Temperature measurement is the basis of temperature-controlling and
a more mature technology. A precision temperature control system used AT89S51 SCM
and the hardware circuit and software of this system are introduced. Schematic diagram
of the hardware and procedures is related in emphasis. Working principle, design and
implementation is elaborated. The current temperature is measured by DS18b20
temperature sensor and the results is transported into SCM .Then ,the temperature is
calculated and the conversion results is transported into the liquid crystal display
modules 1602 on show .It can display current temperature which is set randomly and
controlled flexibility, and the temperature control.When the temperature is beyond the
upper and lower limits of temperature, the alarm system starts automatically. What is
realized in this system is simple structure, reliable performance and high precision
control. The system is in good scalability , high-resolution , wide range , anti-
interference performance and so on.
Key Words:AT89S51 SCM;DS18B20 Temperature sensor;Temperature detection
目 录
毕 业 设 计........................................................................0
1 绪论..............................................................................1
1.1 国内外温度检测技术概述.........................................................................................................1
1.1.1 温度检测技术简介..................................................................1
1.1.2 温度检测技术的发展...............................................................3
1.2 单片机技术的发展及应用.........................................................................................................4

1.2.1 单片机技术的发展..................................................................4
1.2.2 单片机技术的应用..................................................................5
2 方案论证........................................................................6
2.1 题目分析.....................................................................................................................................6
2.2 温度传感器的选择.....................................................................................................................7
2.2.1 采用模拟集成温度传感器........................................................7
2.2.2 采用数字单片智能温度传感器..................................................8
2.3 显示器的选择.............................................................................................................................9
2.3.1 LED 显示器..........................................................................9
2.3.2 LCD 液晶屏..........................................................................9
2.4 单片机的选择.............................................................................................................................9
2.4.1 凌阳单片机...........................................................................9
2.4.2 AT89S51 单片机.................................................................10
2.4.3 单片机选型.........................................................................10
3 温度检测系统的硬件设计................................................13
3.1 复位电路...................................................................................................................................13
3.2 时钟(晶振)电路........................................................................................................................14
3.3 温度测量电路设计...................................................................................................................14
3.3.1 DS18B20 总体简介.............................................................14
3.3.2 DS18B20 接口电路.............................................................18
3.4 键盘电路的设计.......................................................................................................................19
3.4.1 键盘接口电路......................................................................19
3.4.2 键盘使用说明......................................................................20
3.5 温度控制电路和报警电路的设计...........................................................................................20
3.6 显示电路的设计.......................................................................................................................21
3.6.1 LCD1602 显示原理.............................................................21
3.6.2 LCD1602 引脚定义.............................................................23
3.6.3 LCD 显示电路.....................................................................23
3.7 PCB 板设计..............................................................................................................................24
3.7.1 PCB 元件布局.....................................................................24
3.7.2 布线...................................................................................24
3.7.3 硬件抗干扰措施...................................................................25
4 温度检测系统软件设计...................................................25
4.1 系统的主程序设计...................................................................................................................25
4.2 DS18B20 模块程序..................................................................................................................26
4.3 1602 液晶模块程序..................................................................................................................27
4.4 键盘模块程序...........................................................................................................................28
5 全文总结......................................................................29
5.1 经济效益分析...........................................................................................................................29

5.2 社会效益分析...........................................................................................................................29
谢辞...............................................................................30
参考文献.........................................................................30
附录I 系统电路原理图.......................................................32
附录II PCB 板..................................................................33
附录Ⅲ 程序清单..............................................................34
外文资料.........................................................................53
剩余63页未读,继续阅读
资源评论


Aliluyo
- 粉丝: 2
- 资源: 10
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 人工智能&深度学习:PyTorch 实战 - DataLoader 自定义花卉数据集制作资源(源码+数据集+说明)
- 研发效能提升全解析:业界顶尖专家答疑效能度量与实践
- 素材图片文档合集-新空间
- 安徽省创新型中小企业名单(2024年度第二批)
- DeepSeek完全实用手册V1.0+-+至顶AI实验室.pdf
- ihrm接口测试postman脚本
- 汇编语言教程&案例&相关项目资源
- Comsol仿真解析纳米孔超表面的手性响应及其应用探究,纳米孔超表面的手性响应与COMSOL仿真的探讨分析,comsol仿真纳米孔超表面的手性响应 ,关键词:comsol仿真; 纳米孔超表面; 手性响
- 哪吒之魔童闹海-ts文件
- 【火绒-2025研报】“火绒终端安全管理系统1.0版”.pdf
- 【Workday-2025研报】探索银行中AI驱动技术转型的投资回报率。.pdf
- 【科智咨询-2025研报】deepseek对算力产业的影响.pdf
- 【未知机构-2025研报】3D 打印行业发展研究报告.pdf
- 【莱坊-2025研究报告】Melbourne CBD Office Market February 25.pdf
- 【YOYI悠易-2025研报】突破传统奢侈品营销模式:数变奢侈品营销新增长.pdf
- 【360-2025研报】2025年1月勒索软件流行态势分析.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
