- 0
- 0
- 约 37页
- 2016-11-26 发布于辽宁
- 举报
本科生毕业设计(论文)
题 目: 基于单片机的数字温度计的设计
学生姓名:
系 别: 机械与电气工程系
专业年级:
指导教师:
2013年 6 月 20 日摘要
本文主要介绍了一个基于AT89C51单片机的测温系统,详细描述了利用数字温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,对各部分的电路进行了介绍,该系统可以方便的实现温度采集和显示,并可以根据需要,任意设定上下限报警温度,它适合我们日常生活和工农业生产中的温度测量,也可以当做温度处理模块嵌入其他系统中,作为其他主系统的辅助扩展。DS18B20和AT89C51结合实现最简温度检测系统。本温度计属于多功能温度计,可以设置上下限报警温度,当温度不在设置范围内时,可以报警。
关键词:单片机;数字控制;温度计; DS18B20;AT89C51
ABSTRACT
This paper introduces a temperature measurement system based on AT89C51 microcontroller, a detailed description of the process of using digital temperature sensor DS18B20 temperature measurement system development, focusing on the sensor under the SCM hardware connection, software programming and system flow of each module were analyzed in detail on the part of the circuit, the system can realize temperature acquisition convenient and display, and can according to need, set the alarm temperature, it is suitable for our daily life and industrial and agricultural production in the temperature measurement, it can also be used as a temperature processing module embedded in other systems, as other auxiliary system. DS18B20 and AT89C51 combine to achieve the most simple temperature detection system. The multi-purpose thermometer, you can set the alarm temperature, when the temperature is not in the set range,it can alarm.
Keywords: single chip microcomputer; digital control; thermometer; DS18B20; AT89C51
目录
前 言 6
第一章 硬件设计 7
1.1 AT89C51芯片功能简介 7
1.1.1 AT89C51芯片简介 7
1.1.2 引脚功能 7
1.2 数字温度传感器模块 8
1.2.1 DS18B20性能 8
1.2.2 DS18B20引脚说明 9
1.2.3 DS18B20测温原理 9
1.2.4 DS18B20的工作时序 10
1.3测温电路设计 11
1.4 按键模块设计 12
1.5 报警电路设计 12
1.6 显示电路设计 13
1.7 串口电路设计 13
第二章 系统软件设计 14
2.1 各模块的程序设计 14
2.1.1主程序流程图 14
2.1.2 读出温度子程序 14
2.1.3 温度转换命令子程序 15
2.1.4 计算温度子程序 16
2.1.5 显示数据刷新子程序 17
2.1.6 报警子程序 17
2.1.7 按键扫描处理子程序 18
2.2 Keil C5
您可能关注的文档
- 毕设论文__高速列车受电弓结构及动力学参数优化设计.doc
- 毕设论文__丹东佰福汽车销售管理系统的设计与实现 .doc
- 毕设论文__二级分流式减速器计算说明书 机械设计基础课程设计.doc
- 毕设论文__基于单片机的气压传感器研制.doc
- 毕业设计论文__3吨叉车液压系统设计 .doc
- 毕设论文__关于汽车内室清理护理.doc
- 毕设论文__高温灭菌控制系统设计.doc
- 毕设论文__管材直线度检测机系统设计.doc
- 毕业设计论文__10kv线路微机保护装置软件设计.doc
- 毕设论文__铝锂合金高温塑性变形流变应力行为研究.doc
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
最近下载
- 2025年省考超大杯刷题-申论套卷四.pdf VIP
- 小学学校总务处的工作计划.pptx VIP
- 大学毕业论文__小型液压挖掘机的设计.doc VIP
- 食材配送人员配置与资质要求.docx VIP
- 2025年山东省济南市中考英语试卷试题真题(精校打印版).pdf VIP
- 一种能够在太阳光下快速固化的可剥离去污复合膜及制备方法.pdf VIP
- 骨科临床诊疗指南及操作规范(2025版).docx
- 2025-2026学年小学信息技术(信息科技)四年级下册浙教版(2023)教学设计合集.docx
- 沪科版九年级(上) 中考题同步试卷:22.5 二次函数的应用(18).doc VIP
- 中国的刺腹牙甲属、脊胸牙甲属和凹基牙甲属昆虫鞘翅目牙甲科牙甲族研究.pdf VIP
原创力文档

文档评论(0)